Add new comment

Color Space definition of LibRAW coefficients

Hi guys,

can somebody help me with problem around convert camera RGB values (as shot, white point) to known color space.

When I converting As shot coefficients to sRGB I use:
RawProcessor->imgdata.color.cam_mul[] then use matrix
RawProcessor->imgdata.color.rgb_cam[][] to convert as sRGB. But I don't know if it is D65 or D50 illuminant or other?

White point rawProcessor->imgdata.color.pre_mul[] is with which color space? Camera or sRGB and which illuminant?

I can not find this information anywhere. Currently I am suppose that both coefficients are in camera space and conversion with rgb_cam[][] convert it to D65.

Thank you for help