Conficker - 2 months ago 16

C++ Question

I don't understand how to convert sRGB to CIELab and backward. Help me please. it's desirable in с++ code

Answer

Convert from sRGB to RGB by applying inverse gamma, convert RGB to XYZ using 3x3 matrix, convert XYZ to Lab using standard formula and D6500 white point

References:

The rest... you can do on your own :-)