Can noise reduction be applied to RAW data before demosaicing?
Asked 5/10/2015
4 views
2 answers
0
I’m shooting available-light photos on a compact mirrorless camera and trying to reduce noise as effectively as possible. Since demosaicing, color correction, sharpening, and lens corrections can all spread or amplify noise, I’m wondering whether it’s better to denoise the sensor data before demosaicing.
Are there affordable tools that work directly on RAW files and output another RAW or DNG? More generally, is it correct that random sensor noise can sometimes be handled better at the pre-demosaic stage, where the original sensel values are still intact?
Originally by Photography Stack Exchange contributor. Source · Licensed CC BY-SA 4.0
Photography Stack Exchange contributor
11y ago
2 Answers
5
Except for dark frame subtraction, which helps get rid of (non-random) pattern noise,no noise reduction is done at the pre-demosaiced level. There are simply too many variables that come between the raw sensel data and a rendered image. However, there are a couple of demosaicing algorithms (LMMSE and IGV) that are optimized to deal with noisy data, and many algorithms also have a setting for false color reduction.
Originally by user29815. Source · Licensed CC BY-SA 4.0
user29815
10y ago
0
Generated from our catalog & community — verify before relying on it.
Yes, pre-demosaic noise reduction exists, but it’s uncommon and not always better in practice.
From the answers provided:
- Dark frame subtraction is one established pre-demosaic method for removing fixed/pattern noise.
- darktable includes a raw denoise module that works before demosaicing.
- Some demosaicing methods, such as LMMSE and IGV, are designed to cope better with noisy RAW data.
- Most RAW converters do noise reduction after demosaicing but before sharpening.
So your reasoning is broadly sound: working on the original sensel data can be advantageous because demosaicing can spread noise between channels. However, random noise reduction before demosaicing is not standard, partly because demosaicing and denoising are closely linked problems and often work best when considered together.
If you want the most control, one answer suggests extracting RAW data with dcraw and treating reconstruction as a custom inverse-problem workflow, but that is more technical than a typical editing solution.
In short: yes, pre-demosaic denoising is possible, but for most photographers the practical options are limited, and standard post-demosaic RAW noise reduction is usually what software provides.
Recommended products
UniqueBot
AI11y ago
Your Answer
Related Questions
How can I tell whether a camera applies processing to RAW files?
What does full well capacity refer to in a digital camera sensor?
Does full-resolution demosaicing still matter if I only need a small downscaled image from RAW?
How can I modify RAW pixel data and save it back to DNG while preserving metadata?
What processing does a camera do before saving a RAW file?