Sphinx.
![]() |
Not sure what it outputs in "Lightness" mode, but it isn't B from HSB model (which indeed would be useful in there, along with min. rgb and med. rgb, so we don't have to set up switches etc for multiple grayscale method selections..see this request).. EDIT: Further inspection tells me that the Lightness output is "med. rgb", i.e. (min(r,g,b) + max(r,g,b)) / 2 |
|||
Posted: October 25, 2011 9:24 am | ||||
Dmitry Sapelnikov |
Yes, you're right.
It's a mistake in the manual. Desaturate uses the HLS model in the "Lightness" mode. Lightness in the HLS model is calculated as (max(R, G, B) + min(R, G, B)) / 2, while the HSB model uses max(R, G, B) It seems you've received another 'bug point' ![]() |
|||
Posted: October 26, 2011 10:37 am | ||||
Sphinx.
![]() |
Nah, share that amongst the programmers (first time is free). Each scripting issue fixed will be rewarded with new points from my account ![]() Btw now that I have your attention.. how about adding some more grayscale output modes to that Desat. component and thereby make it more useful? |
|||
Posted: October 26, 2011 10:55 am | ||||
Dmitry Sapelnikov |
I could say "probably".
Actually it seems really strange that the HSY has been chosen and the HSB model hasn't been added. I bet there was a good reason not to include HSB. So the issue needs a little investigation. |
|||
Posted: October 26, 2011 2:04 pm |
Filter Forge has a thriving, vibrant, knowledgeable user community. Feel free to join us and have fun!
33,711 Registered Users
+18 new in 30 days!
153,531 Posts
+39 new in 30 days!
15,347 Topics
+72 new in year!
27 unregistered users.