The current RT dev branch has a reviewed and enhanced Haze removal module.
On my system it’s ~2.5x speed now and memory usage of Haze removal is also reduced. It also got the Luminance mode from ART.
That was a nice ping-pong between Alberto and me. I stole some of his code (for example the Luminance mode), but also showed him some speedups and we found and fixed some bugs.
Just perfect
Here’s an example of the new Luminance mode I stole from ART
First screenshot left without Haze removal, right Haze removal in standard mode
I learnt something from your discussion on kernels but we all know that the G’MIC filter will never be at those speeds. I can only make it relatively fast given the constraints of the interpreter.
I tried the new luminosity dehaze and it worked well.
I have no idea how the coding is done, but would it be easy to separate dehaze into 2 different sliders? One for the old method and one for luminosity? I think that using primarily the luminosity one and then a touch of the old method would yeild nice results.
Thoughts?