CIELab-gamut-tools / gamut-volume-m

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

Distortion of Gamut Ring Intersection Rendering #6

Closed kenichiro-masaoka closed 3 years ago

kenichiro-masaoka commented 3 years ago

The gamut rings of sRGB.txt have small bumps at some hue angles with the intersectionPlot true, whereas there are no bumps for the gamut rings without the intersection.

The following is a sample m-script:

sRGB = CIELabGamut('sRGB.txt');
lcd = CIELabGamut('lcd.txt');
figure
PlotRings(lcd,sRGB,'RingReference','intersection','intersectionPlot',true);
figure
PlotRings(sRGB)

sRGB_intersection ) sRGB _

euan-smith commented 3 years ago

Confirmed this as a bug - thanks for spotting and reporting it! I will have a look and see what I can find, it is most likely a bug with the intersection rather than with the intersection ring plotting.