Eliminating Light Pollution From Night Sky Photography

how to remove light pollution from image

Light pollution is a common issue in astrophotography, where the glow of light can ruin images. This phenomenon is usually caused by light pollution in urban and suburban areas, resulting in an unsightly red-brown or greenish hue in the foreground sky. To remove this, image-editing software offers various techniques, such as adjusting hue/saturation, using gradient and radial tools, blurring, and subtracting the light pollution layer. While these methods can effectively reduce light pollution, they may also remove fine details and colours in the image, requiring careful adjustments to preserve the desired elements.

Characteristics Values
Tools Adobe Lightroom, Adobe Photoshop, GIMP, Paint.net, PixInsight, Photoshop GradientXTerminator plug-in, Dynamic Background Extraction tool
Techniques Gradient removal, Gaussian Blur, Subtract blend, Vignetting, Hue/Saturation
Image type Astro-photography
Light pollution type Sky glow, orange glare, red-brown colour
Other Long exposures can worsen light pollution

shunwaste

Using editing software

Image editing software can be used to remove light pollution from images. The process varies depending on the software used, but there are some general principles that can be applied across different programs. Here is a step-by-step guide on how to remove light pollution using editing software:

Prepare the Image

Before opening the image in your chosen editing software, it is important to ensure that it is in the correct format. Converting the image to an uncompressed file format, such as bitmap, will preserve the details and prevent quality loss when saving the file. This step is especially important if you plan on making significant changes to the image. Remember to duplicate the background layer before making any adjustments, so you can always refer back to the original image.

Adjust the White Balance

The 'white balance' setting on your camera or editing software can help compensate for the 'sky glow' caused by light pollution. By setting a custom white balance, you can achieve more natural-looking colours in your image. Pointing your camera directly at the sky and adjusting the white balance will help counteract the orange or reddish hues typical of light pollution.

Use the Hue/Saturation Tool

Once you have addressed the white balance, you can fine-tune the colours further using the Hue/Saturation tool. This tool allows you to select the colour range you want to adjust. For example, if your sky has a yellow tint, you can select the yellow colour range and adjust the saturation and lightness sliders to reduce the light pollution. Be cautious when using this tool, as adjusting the saturation may also remove the colour from stars or other desired elements in your image.

Work with Layers

Utilising layers in your editing software can help you isolate and remove light pollution while preserving other parts of the image. Duplicate your background layer and experiment with blending modes such as 'Subtract' or 'Difference'. These blending modes can help remove the light pollution layer from the layers underneath, resulting in a cleaner image.

Fine-Tune with Filters and Adjustments

To further enhance your image, you can use filters such as 'Dust and Scratches' to remove stars or other bright regions. Applying a Gaussian Blur can also smooth out the image and reduce the impact of light pollution. Additionally, you can use the gradient tool to adjust the exposure of specific portions of the image, selectively brightening or darkening areas as needed.

Flatten and Save

Once you are satisfied with your adjustments, flatten the image to merge all the layers into one. Save your edited image as a new file to preserve the original.

It is important to note that the effectiveness of these techniques may vary depending on the severity of the light pollution and the content of your image. While editing software can help reduce light pollution, it may not completely eliminate it, especially in wide-area images of the night sky.

shunwaste

Hue/Saturation tool

To remove light pollution from an image, you can use the Hue/Saturation tool in your editing software. This tool allows you to adjust the hue (colour), saturation (purity), and lightness of the entire image or specific colour components.

Accessing the Hue/Saturation Tool

To access the Hue/Saturation tool, open your image in your chosen editing software. Then, navigate to "Image" in the menu bar, select "Adjustments", and choose "Hue/Saturation". This will open the Hue/Saturation tool, and you can now start making adjustments to your image.

Adjusting Hue and Saturation

The Hue/Saturation tool will present you with sliders that allow you to tweak the hue and saturation levels. Start by identifying the colour causing the light pollution cast in your image. Then, use the Hue slider to select a new colour or adjust the range of colours in the affected portion of your image. For example, you can use the slider to change the colour of a vivid red sweater in a portrait to a more muted tone.

Next, use the Saturation slider to make the colours in the image more vivid or muted. Adjusting the saturation can help tone down the intensity of the light pollution while preserving the colour of the stars in your astrophotography images.

Adjusting Lightness

The Hue/Saturation tool also allows you to adjust the lightness or brightness of the image or specific portions of it. Use the Lightness slider in conjunction with the other adjustments to lighten or darken areas of the image. This can be particularly useful for balancing out the exposure of your image, especially if there is more light pollution in one portion of the image.

Using Layers

To avoid losing the colour of the stars in your astrophotography images, you can utilise layers in your editing software. Duplicate your background layer and ensure that the new layer is above the original in the palette's stacking order. Apply a Gaussian Blur to this new layer until no stars are visible, aiming for a radius of about 50 pixels. With the stars blurred out, you can now use a Subtract blend to remove the remaining light pollution. Adjust the opacity of the top layer if you find the black background too stark, bringing back a touch of colour. Finally, flatten the image and save it as a new file.

By following these steps and making adjustments specific to your image, you can effectively utilise the Hue/Saturation tool to remove light pollution from your astrophotography images.

shunwaste

Gradient removal

One method is to use the Gradient Exterminator tool, which can help remove uneven illumination and gradients from images. However, it may sometimes overcorrect, resulting in darkening around the object in the image. Another option is Astro Flat Pro, which not only removes gradients but also reduces noise. However, it may remove some of the desired objects in the image or introduce noise when adjusted to prevent object removal.

When using Astro Photography Tool (APT), the Remove Light Pollution tool can be utilised to address gradients. This tool calculates the average background and replaces it, improving uneven illumination. It is important to carefully place the boxes around the gradient areas to avoid introducing worse gradients. Additionally, the stretching feature can be used to identify areas of uneven illumination, but it should be used cautiously to avoid noise and blotchy areas.

For more complex gradients, a larger number of boxes may be required. It is also crucial to avoid placing boxes on areas with nebulosity, as this can lead to averaging out and loss of detail. The tolerance parameter plays a significant role in determining the range of the background gradient. A higher tolerance results in a wider range.

Another technique for gradient removal is using ABE (Astronomical Background Extractor) and DBE (Dynamic Background Extractor). ABE is preferred by some astrophotographers as it tends to preserve subtle structures in the image, whereas DBE can sometimes destroy them. It is recommended to use a Function Degree of 1 instead of 4 under the interpolation subsection when using ABE. Additionally, it is important to carefully place DBE samples away from nebulae and stars to avoid removing too much signal.

shunwaste

Gaussian blur

Removing light pollution from astrophotography images can be done in a few different ways. One method is to use a Gaussian blur in Photoshop or GIMP. Here is a step-by-step guide on how to use the Gaussian blur technique:

First, open the image in Photoshop or GIMP. It is recommended to use the original, linear (unedited) data, although performing this process on a non-linear adjusted image can also work. Next, duplicate the layer of the image. Then, apply a Gaussian blur to the duplicate layer. Adjust the radius of the blur to completely blur the objects you want to keep, such as stars, nebulas, or galaxies. Ensure that the things you want to remove, such as light pollution, clouds, or fog, are not affected by the blur.

After blurring, select "Subtract" as the layer mode. This will subtract the blurred layer from the original image, removing the light pollution. Finally, merge the layers and continue editing your image as desired. You can also adjust the brightness, opacity, and other settings to your liking.

It is important to note that this technique assumes that the stars are still visible in the image. It will not recover faint objects or details that have been obscured by light pollution. Additionally, this method may require some experimentation to achieve the desired results.

Another approach to reducing light pollution is to use a light pollution filter, such as the IDAS or CLS filters. These filters can help minimize the impact of light pollution, depending on the lighting conditions and the type of sensor used. Adjusting the white balance to daylight and utilizing lens corrections can also help improve the image.

shunwaste

Layers and opacity

When removing light pollution from an image, layers and opacity play a crucial role in achieving the desired result. Here is a detailed guide on how to utilize layers and opacity to effectively remove light pollution from your images:

Duplicating the Layer

The first step is to duplicate the background layer of your image. This creates two identical layers, allowing you to work on a copy while keeping the original intact. In Adobe Photoshop, you can right-click on the background layer and select "Duplicate Layer." For GIMP, you can access the "Duplicate Layer" option within the "Layer" drop-down menu.

Applying Filters and Adjustments

Once you have duplicated the layer, you can start working on reducing the light pollution. Apply the necessary filters and adjustments to the top layer to minimize the impact of light pollution. This may include using tools like "Dust and Scratches" or the Clone Tool to remove bright stars and other unwanted elements. Additionally, a Gaussian Blur can be applied to smooth out the image and further reduce the impact of light pollution. Play around with the blur radius to achieve the desired effect—a range of 50 to 70 pixels is often suggested.

Layer Blending Mode and Opacity

After making the necessary adjustments to the top layer, it's time to fine-tune the layer blending mode and opacity settings. Set the layer blending mode to "Difference" or "Subtract" to start removing the light pollution. This will create a more uniform background while retaining the color of the stars.

Now, adjust the opacity of the top layer. Sliding the opacity to around 50% will usually provide a good balance, allowing you to cancel out a significant amount of light pollution while preserving the details of celestial objects. You can experiment with different opacity levels to see what works best for your specific image.

Flattening the Layers

Once you are satisfied with the adjustments and the light pollution has been sufficiently reduced, it's time to flatten the layers. This merges the two layers together, applying the changes made to the top layer to the original image. In Adobe Photoshop, you can find the "Flatten Layers" option under the "Image" menu. In GIMP, you can access it through the "Layers" menu.

It is worth noting that in some cases, a two-pass process might yield better results. You can first flatten the layers with the opacity set to 50% and then repeat the process with the opacity set to 100% for a more refined outcome.

Further Enhancements

After removing light pollution and flattening the layers, you can make additional enhancements to your image. You can use the curves function to bring out fainter stars or adjust the levels to enhance the overall appearance of the stars. These adjustments can be made to ensure that the celestial objects stand out against the now-darker background.

Remember, the process of removing light pollution may vary depending on the specific image and the software you are using. Experiment with different tools, opacities, and adjustments to find the best approach for your astrophotography needs.

Frequently asked questions

You can use image-editing software such as Adobe Photoshop, GIMP, or Lightroom. First, open the image in the editing software and use the Hue/Saturation tool to select the colour range you want to work with. Then, experiment with the saturation and lightness sliders to remove the light pollution.

You can use the clone tool to clone out any bright regions from nearby regions where the light pollution has a similar brightness. Then, apply a Gaussian Blur of around 40-50 pixels to smooth it out. Finally, select 'Difference' in the Layers box and click 'Flatten layers' from the Image menu.

You can use the gradient tool to lower the exposure for portions of the image with more light pollution. You can also use the temperature and tint sliders to balance the colours. Radial gradients can also be used to darken or brighten specific parts of the image.

Yes, you can use free software such as Paint.net or GIMP. Paint.net offers a basic technique for removing light pollution from astro-photography images. GIMP also has a layer blending mode that can be set to 'Difference' to remove light pollution.

Written by
Reviewed by

Explore related products

Share this post
Print
Did this article help you?

Leave a comment