Just use masked dodging and burning, like in the old days in the darkroom. If it worked then, it should work better now.
That’s out of topic. All tests of using Intel OpenCL we have done have failed, so the GPU codepath is not portable, and since dt is already optimized for CPU with SSE2 and SSE4/AVX/AVX2 support is incoming, there is no point investing effort to fix Intel OpenCL since it will not bring additionnal performance and does not prevent to use dt on CPU.
There is one rule with base curve : don’t use base curve.
I don’t know what enfuse does and how it does it, but the theory is pretty clear now. Use light transport models, aka encodings proportionnal to light emissions energy.
Everytime you convolve, you need to respect the conservation of energy. Convolving on non-linear data breaks the conservation of energy. Every kind of weighted average (blurring or else), is a convolution.
That’s utterly wrong, since all you try to do is remap camera dynamic range to display dynamic range. RGB encode light emissions, you can’t treat them as black boxes of numbers. Please stop trolling out-of-topic and read https://medium.com/the-hitchhikers-guide-to-digital-colour