Re: Converting Primaries
Troy Sobotka <troy.s...@...>
toggle quoted messageShow quoted text
Not sure if you got help here Markel.
I managed to craft up a spreadsheet that should work. Should being that it hasn't been tested extensively and that you'll need to manually make your OCIO stanzas from the provided entries. This isn't nearly as terrific as Colour, but I realize not everyone has Python handy, and a sort of "online calculator" probably couldn't hurt as I found myself doing the adaptation frequently.
I've input the values you gave along with ACES AP0 primaries. The chromatic adaptation is the Bradford CAT. The OpenColorIO stanzas appear on the final three lines. Those should be suitable to copypasta into a configuration as part of a group transform. Note that your source buffer will need to be linearized however appropriate for your encoded image.
Let me know if anyone spots a mistake.
On Wed, Mar 7, 2018 at 8:26 AM Troy Sobotka <troy.s...@...> wrote:
Convert the xy coordinates to XYZ, with red being the first column, then green, then blue. That forms a 3x3 matrix for taking linearized RGB to the XYZ domain.