ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 ImageEnProc.HSLvar faulty ?

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
klausdoege 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
4   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Jan 15 2017 : 18:08:15
Yes, email me.



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
klausdoege 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 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 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