Hello,

humm... Just whahou :) !
Many thanks for all your details.
I wasn't aware of all the complexity of pixel color formats conversion.

I don't know if I will have time to try your transformation suggestion (at
some point I guess I will).
I was wondering if this kind of transformation may alter the linearity of
the image (just because of application of gamma)?
Moreover, I thought about something/feature already available into OIIO or
OCIO.

I tried with imageMagick  to display the CR2, and it seem to display well
in the viewer but when I save back the image into PNG, the linearity of the
image is completely broken.
With OIIO the linearity is kept but I still have blue predominance (I guess
the colorspace is still untouched sRGB).

So, as my main goal is to process linear images, is it possible to convert
my CR2 file into a PNG or a TIFF file keeping the linearity but with a
different colorspace (to get rid of blue predominance) ?

Many thanks again.

Jerome

2015-04-20 22:05 GMT+02:00 Mark Visser <[email protected]>:

> Good point, I assumed Jerome's CR2 files were in AdobeRGB (D65 white
> point). If they're in Adobe "Wide Gamut" RGB colour space (D50 white
> point), they'll require an additional transform between the two matrices:
>
> [CIE XYZ to sRGB] x [Von Kries D50 to D65] x [AdobeWideGamutRGB to CIE
> XYZ]
>
>
>
> On Mon, Apr 20, 2015 at 1:21 PM, Kevin Wheatley <
> [email protected]> wrote:
>
>>
>> ​I'd like to add that you may also need to consider a Von Kries Ives
>> style chromatic adaptation if moving between colour spaces with different
>> white points see
>> http://www.brucelindbloom.com/index.html?Eqn_ChromAdapt.html for an
>> introduction.
>>
>> Kevin
>>
>> _______________________________________________
>> Oiio-dev mailing list
>> [email protected]
>> http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org
>>
>>
>
> _______________________________________________
> Oiio-dev mailing list
> [email protected]
> http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org
>
>
_______________________________________________
Oiio-dev mailing list
[email protected]
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

Reply via email to