imColorLuminance2Lightness

Converts Luminance (CIE Y) to Lightness (CIE L*) (all linear). \n * The white point is D65. \verbatim 0 <= Y <= 1 ; 0 <= L* <= 1

Y = Y / 1.0 (for D65) if (Y > 0.008856) fY = pow(Y, 1/3) else fY = 7.787 * Y + 0.16/1.16 L = 1.16 * fY - 0.16 \endverbatim * \ingroup color

version(IM)
nothrow @nogc @safe
float
imColorLuminance2Lightness
(
ref const(float) Y
)

Meta