Color Zones: tweak blending to increase usuable hue range
When using "Color zones" plugin, I noticed that the hue modification doesn't actually work very good when selecting "by hue". The modification was more or less "halfway" to the point where it should be, e.g. hue couldn't be rotated for full 180 degrees (simplified: "you couldn't shift green to red").
The behavior is caused by "blending" of changes for low-chroma areas, which is done to avoid artifacts on gray (where computed hue varies wildly among pixels). This is currently done too strong, even for colors that wouldn't be affected by the artifacts.
My suggestion is to completely avoid the "blending" on hue channel - the artifacts that are created by that are not as extremely bad as those created by messing with luminance (chroma is already low on grey, so there's nothing big to break anyway), and in the bad cases (I wasn't able to imagine any..) they shall be easily avoided by using any reasonable denoise.
Git branch with simple fix&explanation is here:
Thanks for comments on this,
#1 Updated by Mirek Kratochvil about 6 years ago
I could add direct link to compare...
#3 Updated by Mirek Kratochvil about 6 years ago
Nope, sorry about that -- I'm pretty new to darktable so I did just the smallest thing that fixed it for me. :D
Okay, what's the best method to do this correctly?
I was also thinking about other color-bending features and result is that several new controls in the plugin would be probably needed (also with separated control for the "blend" fixup from here...), do you think that a new plugin would be better here?
On IRC, I also heard something about that the widgets should change their shape a bit as well, I guess that'd certainly require new plugin.