CIELab-gamut-tools / gamut-volume-m

CIELab gamut volume calculation and visualisation in matlab/octave
MIT License
25 stars 1 forks source link

Provide means to display intersection gamut-rings plots #4

Closed euan-smith closed 3 years ago

euan-smith commented 3 years ago

Existing provision for gamut rings comparison

Explicit comparison to reference gamuts is limited at present. The outer ring of up to two references can be plotted, however this shows no detail of where on the lightness range a test gamut may differ from the reference.

There is a property RingReference, however this just provides two different ways of showing where a test gamut exceeds a reference gamut, to deal with the case where the test gamut is generally smaller than the reference gamut, but exceeds it in places (one place where the rings plot is not intuitive to some is that although a set of rings is entirely inside the displayed reference, this does not mean that it is uniformly so). This is set via the RingReference property:

Proposal

I would like to add a property or option to plot the rings of the reference and show the intersection of the test gamut within that.

I would suggest four new properties:

So, by default, if ‘ShowRefBands’ is set to true then what will be plotted are rings indicating the ref gamut with the intersected area colourful and outside that grey, with the solid lines around the colourful (intersected test) bands.

This, I think, is consistent with the properties we have so far.

If we also want to enable plots such as those shown here, with the orange (or some other) block fill colour, then I suggest we add two more properties:

This fits with how things are defined at the moment (i.e. you can already control the Chroma and Lightness, now you can also set the Hue) and gives flexibility.

Finally given the shear number of options I also suggest (eventually?) adding the following: