Re: [pyOpenColorIO] get LUT type ?
Jeremy Selan <jeremy...@...>
toggle quoted messageShow quoted text
The issue that makes this complex is that some lut files (such as csp) can contain both 1D and 3D luts together. So the distinction between what should be considered 1-D, vs 3-D isn't always clear. From OCIO's perspective even a CDL transform (.cc) is considered a 'LUT'. Which would that be?
One alternative idea that may suffice for your needs would be to get the processor object (specific to the LUT file), and then call:
I believe this is appropriately answered for all the lut types, and would let you accurately determine whether a 1-D plot is sufficient to graph the color transform. It would also 'just work' then for all the underlying transform types, even those that use CDLs, log allocations, etc.
On Wed, Aug 21, 2013 at 7:38 AM, Marie Fétiveau <m...@...> wrote: