Date
1 - 2 of 2
[pyOpenColorIO] get LUT type ?
Jeremy Selan <jeremy...@...>
Not directly. 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: > processor.hasChannelCrosstalk()
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.
-- Jeremy On Wed, Aug 21, 2013 at 7:38 AM, Marie Fétiveau <m...@...> wrote:
|
|
Marie Fétiveau <m...@...>
Thanks, that did the trick ! ++ Marie On Wed, Aug 21, 2013 at 8:03 PM, Jeremy Selan <jeremy...@...> wrote:
|
|