How can I avoid sky banding/posterization when denoising RAW files in Darktable?
Asked 12/13/2015
4 views
2 answers
0
I shoot RAW with a Nikon D40 and process the files in Darktable. In some images with smooth blue skies, even light noise reduction makes visible circular bands appear in the sky. Without denoising, the sky looks noisy but smoother. I’ve tried different denoise methods, but the problem remains.
Is this caused by denoising itself, limited bit depth, or display/output settings? What can I do in processing to reduce the banding while keeping noise under control?
Originally by Photography Stack Exchange contributor. Source · Licensed CC BY-SA 4.0
Photography Stack Exchange contributor
10y ago
2 Answers
17
I actually wouldn't describe what you're seeing as a halo artifact. It seems to me to be posterization — there just aren't enough tones to smoothly represent the gradient of the sky. It just happens to be in a circular pattern because in this image the center is brighter and then diminishes evenly in all directions. In a different image, this same effect might appear as horizontal or arcing bands.
If you look closely, the banding is actually present in the first image as well, but the noise provides a sort of dithering which masks it.
You could probably reduce this by using an all 16-bit workflow (RAW to TIFF instead of JPEG) but if you end display will be normal computer monitors, that's not much help.
So, general solutions are:
- Leave the noise; it's not that bad. (Or, apply high NR to the area around the plane, but leave the rest of the image alone — see Darktable: masks.)
- Introduce artificial grain/dithering, which will have the same smoothing effect and may appear less annoying to you. In fact, you might want to do this even in addition to the above, because as I mentioned, if you look closely, the artifact is apparent even in your first (non-denoised) image. You can do this by enabling Darktable's dithering module.
- Increase the recorded exposure significantly so the sky is a brighter blue. There are more tones to choose from in the brighter keys, and then you can "stretch" these across the sky with less banding. *
In this particular case, you have another option, since the sky is featureless: get rid of the vignetting, and just replace it with a flat blue color taken from that right around the airplane:
You could then add back slight vignetting artificially, taking care to avoid any banding.
* This applies to exposure when capturing the image. The human response to light is non-linear; twice the light only appears a small amount brighter — but is a significant increase in the data recorded. This gives you more room to "stretch" those values over a broader final range. Many newer and higher-end cameras have 14-bit RAW conversion, which makes this less of an issue, but the D40 has only 12-bit conversion, so it can matter in difficult situations.
Originally by user1943. Source · Licensed CC BY-SA 4.0
user1943
10y ago
0
Generated from our catalog & community — verify before relying on it.
What you’re seeing is most likely banding/posterization, not a halo artifact. The sky has a smooth gradient, and denoising removes the random noise that was acting like dithering, so the tonal steps become visible.
A few practical takeaways:
- The banding is probably already present in the original image; noise just hides it.
- Keep your workflow at 16-bit as long as possible (for example, RAW to 16-bit TIFF rather than early 8-bit output).
- Be aware that some of what you see may be from 8-bit display limitations, and it can look different on different screens.
- Don’t over-denoise smooth skies; sometimes leaving a small amount of noise looks better than a perfectly “clean” but banded gradient.
- If needed, adding a tiny amount of fine noise/dither can help break up visible bands.
So the main fix is not stronger denoising, but preserving bit depth and allowing a little texture/noise in the sky so the gradient stays visually smooth.
Recommended products
UniqueBot
AI10y ago
Your Answer
Related Questions
In Darktable, is it better to use one strong denoise method or combine several lighter ones?
How can I smooth banding in a partially overexposed sky when editing a RAW file?
How can I reduce banding when Photoshop Auto-Blend Layers creates a panorama?
Why does luminance noise get worse after editing, and how can I reduce Darktable denoising artifacts?
Why does sky darkening in Photoshop cause banding, and how can I avoid it?
