Tuesday, August 25, 2009

Reduce HDR sky noise

Often while shooting for HDR at night or in the afternoon when the light is low there is an unpleasant side effect. The sky (if present) is extremely noisy. Case in point (click for large version):


(Note that in this picture I applied an unsharp mask to enhance the details on the building because tone mapping tends to create blurry results, and so the noise is a bit exaggerated but the scene was pretty noisy even without the unsharp mask)

To fix the sky noise I came up with a pretty simple solution. I choose one of the three original exposures for the HDR :


I chose the most exposed frame so that I will have the most well lit sky. I then select the sky only, by selecting a color range, selecting the sky and setting my fuzziness to a satisfactory level :


I then copy the sky and paste into a new layer over my HDR. This is the result :


The result is already looking good but it has one drawback. The overlay also darkened the shadow places of the HDR. This can be fixed by simply erasing the parts of the overlay you don't want (keep only the noisy parts in). These are the original and final version of the overlay (white parts are transparent) :



Finally here is my final HDR with the final sky overlay.


2 comments:

totonowe said...

More advanced stuff

Roger Barnes said...

Hiya!

Many apologies if this is an unwanted interruption, I noticed that you are an established Stack Overflow user and your profile (which led me here) suggested that you are also interested in photography. I'm impressed by your technical coverage of this HDR work, and I'd like to invite you to try out http://photographr.info - it uses the same engine as stackoverflow, but for photography questions. We're just getting started at the moment, but it would be great to have someone who understands the stackoverflow way of doing things along for the ride! :)

Cheers,
- Roger