Looks like I have to get into python – I knew I’d have to come to python to
support my work sooner or later…
Thanks!
/ Roger
From: argyllcms-bounce@xxxxxxxxxxxxx <argyllcms-bounce@xxxxxxxxxxxxx> On Behalf
Of Thomas Mansencal
Sent: Monday, April 22, 2019 6:54 AM
To: argyllcms@xxxxxxxxxxxxx
Subject: [argyllcms] Re: Touch question...
Hi Roger,
Colour, which I maintain, can do that!
https://colour.readthedocs.io/en/develop/#chromaticities
https://colour.readthedocs.io/en/develop/colour.plotting.html#cie-chromaticity-diagrams
Cheers,
Thomas Mansencal - colour-science.org <https://www.colour-science.org> -
thomasmansencal.com <http://www.thomasmansencal.com>
Le ven. 19 avr. 2019 à 06:38, <graxx@xxxxxxxxxxxx <mailto:graxx@xxxxxxxxxxxx> >
a écrit :
I would like to be able to generate a CIE 1931 Chromaticity Diagram in code.
Something I can generate at different sizes and resolutions, in which ,
ultimately, I’d like to be able to show typical RGB gamuts.
I once ran into a person who told me all I needed was the Chromaticity
Coordinates?
Easy enough to find them BUT that’s not enough, is it?
Say I only want to calculate the Spectral Locus, which is only what the CIE
15-2 Table 2.1 provides?
Then, it isn’t enough to use CIE x and y for conversion? Does one also needs
Y! And some “realistic” value for Y (Luminance Factor)?
Maybe base those on the 1924 Standard Photometric Observer?
Otherwise, I don’t see how can one convert from CIE xy to some RGB color space
for plotting?
P.S. I saw a function to create this using Mathematica… but I don’t want to go
there – not now.
Maybe the Python color library?
Best / Roger