Allow hot pixel module fusion like other modules
- Editing a photo in darktable.
- Sometimes image has a few actual hot pixels to fix, but also some areas where there aren't actually hot pixels, yet "hot pixels" modules muddles them.
- Area wrongly picked by "hot pixels" module are mostly sun or flash reflections in tiny elements (jewelry, gemstones, sometimes zippers).
- The problem is when hot pixels module does not catch all actual hot pixels, but damages pixels that should be left as is.
- Other situations I could fix by tuning "hot pixels" parameters, but in this case no tuning worked.
- Indeed, tiny reflections are bright near-isolated pixels, but they make sense in the photograph. Jewelry makes a number of tiny reflections. Some pixels are suppressed by "hot pixels" module, which looks unnatural.
"Hot pixels" module uses a simple local algorithm and it's good this way. IMHO there's no point in aiming to make it perfect.
A more flexible solution: let "hot pixels" modules to allow blend modes, just like other modules. Then the user can easily use "drawn mask" to include or exclude areas.
This lets "hot pixels" module do a nice job where it belongs and not damage other areas, keeping the user in control.
Currently, the only choice I see is to disable hot pixels module and manually fix the actual hot pixels with spot removal or low pass.
#2 Updated by Stéphane Gourichon 3 months ago
Offered pull request https://github.com/darktable-org/darktable/pull/1627 .