How to Remove Light Pollution from Your Astro Images

Last month I discussed white balance settings for astronomical images recorded with DSLR cameras. Now let’s look at the second step alluded to in the column: subtracting the light pollution from your results to get a natural color image.

Orion Nebula image with red-brown light pollution

This shot of M42 was taken from a reasonably dark observing site. It is compromised by light pollution in the "foreground sky," which produces the red-brown color.

The Color of the Night Sky

Contrary to what you might think, the night sky is not black.  Even at the darkest observing site in the world, you can still easily distinguish between the sky and the horizon. The sky is actually quite bright at observing sites with even mild light pollution.

For deep-sky astrophotography, we need to expose long enough to get the faintest detail up out of the noise of the camera. In these results, the sky will not be black. Indeed, if you expose so that the sky is black, or even adjust it to be black later in processing, you’ll lose the faintest details in deep-sky objects that are just above the brightness of the sky background.

The problem is, these long exposures reveal the true color of the nighttime sky, which is usually an ugly red-brown color. This color comes from what I call the “foreground sky.”  The foreground sky color is created in Earth’s atmosphere, usually due to light pollution at urban and suburban observing locations. Even at the darkest observing sites in the world, the sky can be a reddish-brown or sometimes green color due to airglow, a naturally occurring emission of light from Earth’s atmosphere. The images of deep-sky objects must pass through Earth’s atmosphere, and the color of the foreground sky is added to them.

Subtracting Light Pollution

To correct this foreground sky in our images, we can subtract it in Adobe Photoshop. Technically, subtracting this colorcast should be done to linear (unedited) data, though I’ve found that it doesn’t make much difference if it’s done after non-linear adjustments are performed.

Remove light pollution from your astro images

Adjusting the black point in Adobe Photoshop. Double click on the eyedropper tool and set it to 35,35,35, then click it in a blank area of sky background.

Here is how you do it.

  1. Select the eyedropper tool from the tool palette and change the sample size to 31 by 31 average.
  2. Call up the levels dialog from the pull-down menu (Image > Adjustments > Levels).
  3. Double click on the black-point eyedropper at left.
  4. In the Color Picker (Target Shadow Color) window, set the R,G,B values to 35,35,35 and click OK.
  5. Now simply click on an area of blank sky background with no stars or nebulosity.

That’s it!

This method will remove that ugly red-brown color of the foreground sky by subtracting it from the image, resulting in a nice dark-gray sky background.

Corrected image of Orion Nebula

The same image of M42 as above with light pollution subtracted.

All comments must follow the Sky & Telescope Terms of Use and will be moderated prior to posting. Please be civil in your comments. Sky & Telescope reserves the right to use the comments we receive, in whole or in part, and to use the commenter’s username, in any medium. See also the Terms of Use and Privacy Policy.

COMMENT