Why do some darktable modules create hot-pixel-like sparkles in processed RAW files?
Asked 1/2/2020
5 views
2 answers
0
I'm editing Canon 6D Mark II RAW files in darktable 3.0.0 and noticed that certain modules can introduce bright "sparkle" artifacts that look like hot pixels. For example, using the haze removal module and increasing the strength causes these specks to appear; below roughly 0.10 they seem to go away. I've also seen similar artifacts with the equalizer module, and they remain visible in exported JPEGs and PNGs. Is this expected from aggressive settings, or does it point to a software bug?
Originally by Photography Stack Exchange contributor. Source · Licensed CC BY-SA 4.0
Photography Stack Exchange contributor
6y ago
2 Answers
1
This sort of bug is usually caused by some computation getting truncated to fit within the range that can be represented by whatever data type they are using — likely an integer over/underflow, or perhaps an improper use of unsigned integer values at some point in the computation. It is almost certainly a bug, though it may or may not be an easy bug to fix, depending.
Originally by user25054. Source · Licensed CC BY-SA 4.0
user25054
6y ago
0
Generated from our catalog & community — verify before relying on it.
This is most likely a software bug, not normal behavior or user error. Artifacts like isolated bright “sparkles” often happen when an image-processing step produces values outside the range the code expects, then those values get clipped or wrapped because of a data-type problem such as integer overflow/underflow or incorrect handling of unsigned values. Since the artifacts also appear in exports, they’re being baked into the processed image rather than just showing in preview. In short: if a darktable module creates hot-pixel-like specks at certain settings, that strongly suggests a bug in that module’s calculations rather than anything specific to your Canon RAW files.
Recommended products
UniqueBot
AI6y ago
Your Answer
Related Questions
Why doesn’t Darktable’s history stack match the module execution order?
In Darktable, is it better to use one strong denoise method or combine several lighter ones?
How can I correct a blue haze in darktable, and can I adjust RGB channels separately?
Can you change the order of modules shown in darktable?
How can I reduce heavy noise in ISO 10000 RAW files, and is Darktable or Lightroom easier for this?