OpenColorIO icon indicating copy to clipboard operation
OpenColorIO copied to clipboard

ocioview: Chromaticity inspector

Open michdolan opened this issue 2 years ago • 2 comments

ocioview currently has inspectors for curves (#1845 ) and color volumes ( #1875 ).

This task would involved building a QGraphicsScene or OpenGL viewport which displays an interactive CIE chromaticity diagram, and plots the primaries of the currently viewed transform (if known) as a triangle, with the option to scatter plot all or some of the current image's transformed pixels into their xy coordinates over the diagram.

michdolan avatar Oct 06 '23 00:10 michdolan

Hello,

I have done that with Vispy a few years ago: colour-analysis and another similar variant with threejs: colour-analysis-three.js, https://www.colour-science.org:8020 image

I was actually rewriting colour-analysis using WebGPU via pygfx: image

which brings me to the following question and point:

  • Is there an interest consolidating forces and having me contributing some of my code and continuing in ocioview? This would probably add some more dependencies, e.g. Colour, Pygfx, wgpu-py, etc...
  • OpenGL is on the way out, and I'm thinking that it would be future proof to embrace Vulkan and Metal via WebGPU.

Cheers,

Thomas

KelSolaar avatar Oct 06 '23 01:10 KelSolaar

That awesome @KelSolaar ! I think it would be great to consolidate these projects. I have no objections to introducing new Python package dependencies for ocioview. I used Qt3D for #1875 , but could see that being moved to another GPU implementation too.

michdolan avatar Oct 06 '23 02:10 michdolan