-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft: Fix #17178 JzCzhz color picker #17209
base: master
Are you sure you want to change the base?
Conversation
you will notice while playing with the pickers in the blending gui that there are more conversions requiring support.
|
I can start working on it on 1 August, but just a little bit every day (I'm supposed to be on vacation then). I not done by the 7th, I won't be able to touch it for a week (will be away from my computer). |
This is something new for 5.0 so no reason to make haste |
8970637
to
abc23e9
Compare
@jenshannoschwalm I only got some time to sit down and have another look now. With your suggested formatted debug message, I get: With that fix, I do get a usable mask: I don't yet get how to implement your suggestion regarding RGB, but I'll check more later. Regarding comments like // FIXME: the mean calculation of hue isn't always right, use circular mean calc instead? Wouldn't it be better to convert the whole selected area into linear RGB, calculate the mean there, and convert that to the picker space? |
The problem here is the "range" calculation around hue zero. So if the picker finds data around red the range should be marked correctly. You will find code in the area picker representation in color equalizer. |
Are you still working on this or would you want me to take over? |
I have not touched it in a while. I hope to get back to it. Give me two weeks, and if still nothing, please take over. |
Hi @jenshannoschwalm , I need a bit of help: do you mean I should use |
I think i may have put you on a not-so-good track. For the RGB it's probably fine to convert each pixel (as you did for the Jz stuff) via dt_XYZ_to_Rec709_D50() after dt_Lab_to_XYZ(). |
abc23e9
to
6cbd22d
Compare
No description provided.