Local Lab build

I added a “clarity and sharp mask” function in the “Local contrast / wavelet” module.

it’s the same approach as in the “wavelenh” branch, but simplified.

The selection between “sharp mask” and “clarity” is realized by the choice of “wavelet level”
If you choose level 2, 3, 4 ==> sharp mask
if you choose level 5, 6, 7, 8, 9 ==> clarity

I add a “guidedfilter” radius to reduce halos and too big gaps.

With use of scope and low levels, you can for example, “sharpen” as you want :slight_smile:

BTW : I have change (it’s code!) the manner to use “guidedfilter”, now instead of “L” (Lab), for “guid”, I use “Y” (XYZ). in fact “Y” is the same as “L” but without the gamma of 3, so linear

jacques

5 Likes