AcademySoftwareFoundation / OpenColorIO

A color management framework for visual effects and animation.
https://opencolorio.org
BSD 3-Clause "New" or "Revised" License
1.76k stars 434 forks source link

ocioview: Chromaticity inspector #1879

Open michdolan opened 10 months ago

michdolan commented 10 months ago

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.

KelSolaar commented 10 months ago

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:

Cheers,

Thomas

michdolan commented 10 months ago

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.