Open agriggio opened 6 years ago
@agriggio The current implementation of the contrast-based mask can be used everywhere to blend before/after Lab L-channels. In your use case that would be before/after luminance denoise detail. Just try it. It's easy to use ;-)
The mask is built here: https://github.com/Beep6581/RawTherapee/blob/dev/rtengine/rt_algo.cc#L193
And here's how it's applied: https://github.com/Beep6581/RawTherapee/blob/dev/rtengine/ipsharpen.cc#L207
Just a quick idea: would it be possible to use a contrast-based mask for modulating the luminance denoise amount, similarly to what is done for sharpening and dual demosaicing? For example, it could control the effect of the "detail" slider in the denoise module. What do you think @heckflosse? Does this make sense?