Author |
Topic |
|
klausdoege
Germany
389 Posts |
Posted - Dec 27 2016 : 08:48:26
|
Hello, I believe the function ImageEnProc.HSLvar works with values> 0 faulty. In the example Testbild1 = Original, Testbild2 = Correct work Saturation = 100 in Photoshop, Testbild3 = Erroneous with function ImageEnProc.HSLvar (0,100,0) Can you please check this, and correct if necessary.
Klaus www.klausdoege.de |
|
klausdoege
Germany
389 Posts |
Posted - Dec 31 2016 : 04:06:35
|
Hi Nigel, i think the function RGB2HSL running not correct. RGB2HSV it's better by my tests. Regards Klaus
Klaus www.klausdoege.de |
|
|
xequte
38611 Posts |
Posted - Jan 09 2017 : 15:54:34
|
Some combinations of HSL or HSV values create invalid (out of gamut) colors in the RGB color space. This is the case when you increase Saturation in gray scale pixels.
To confirm, try to setting Lightness=50 and increase Saturation here: http://www.rapidtables.com/convert/color/hsl-to-rgb.htm
You will see RED colors. The same happens in ImageEn.
We have made some changes to improve the behaviot with gray scale pixels, which helps in our test image (including bild-test). It sets Sat=0 when source pixels are grayscale.
But it won't help when "out of gamut" colors are used (i.e. some combinations of offsets in HSLvar or HSVvar).
Nigel Xequte Software www.xequte.com nigel@xequte.com
|
|
|
klausdoege
Germany
389 Posts |
Posted - Jan 13 2017 : 04:52:00
|
Hi Nigel, Ok, is this included in the next version? Or could I get a pre-release? My problem are only the gray values.
Klaus www.klausdoege.de |
|
|
xequte
38611 Posts |
|
|
Topic |
|