Patent attributes
For obtaining an good yet easy to use luminance dynamic range conversion, we describe an image color processing apparatus (200) arranged to transform an input color (R,G,B) of a pixel of an input image (Im_in) having a first luminance dynamic range into an output color (Rs, Gs, Bs) of a pixel of an output image (Im_res) having a second luminance dynamic range, which first and second dynamic ranges differ in extent by at least a multiplicative factor 2, comprising: a maximum determining unit (101) arranged to calculate a maximum (M) of color components of the input color, the color components at least comprising a red, green and blue component;—a uniformization unit (201) arranged to apply a function (FP) to the maximum (M) as input, which function has a logarithmic shape and was predetermined to be of a fixed shape enabling to transform a linear input to a more perceptually uniform output variable (u); a function application unit (203) arranged to receive a functional shape of a function, which was specified previously by a human color grader, and apply the function to the uniform output variable (u), yielding a transformed uniform value (TU); a linearization unit (204) arranged to transform the transformed uniform value (TU) to a linear domain value (LU); a multiplication factor determination unit (205) arranged to determine a multiplication factor (a) being equal to the linear domain value (LU) divided by the maximum (M); and a multiplier (104) arranged to multiply at least three linear color components (R,G,B) by the multiplication factor (a), yielding the output color.