Observes

Stargazing how-to: telescopes, binoculars and observing tips

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Process Astrophotography Without Losing Detail

· 6 min read · Astrophotography

Stacking and stretching astrophotography images often leaves you with a choice: reduce noise or preserve faint detail. This guide shows you how to process your deep-sky images using a workflow that keeps real signal—like faint nebula wisps and small galaxy features—while still cleaning up noise. You'll learn to use masking, selective stretching, and noise reduction techniques that target only the background, not the stars or nebulosity. No special software is required beyond a standard astro-processing tool like DeepSkyStacker, Siril, or Photoshop.

What You'll Need

  • Stacked image (FITS or TIFF) from your astrophotography session
  • Processing software: Siril (free), DeepSkyStacker (free), or Photoshop (paid)
  • Optional: a star mask or a way to create one (e.g., StarNet++ or a simple threshold mask)
  • A calibrated monitor (so you see true brightness)

Step-by-Step

  1. Start with a linear image. Do not stretch the image before you begin processing. Most stacking software outputs a linear (unstretched) image. If you're using Siril, open the FITS file in the "Linear" mode. If you're using Photoshop, keep the image in 32-bit mode.
  2. Remove gradients and calibrate background. Use a background extraction tool (e.g., Siril's "Background Extraction" or Photoshop's "Gradient Exterminator" plugin) to subtract sky gradients. Set the background level to a neutral gray (e.g., 0.1% of full range) so that the background is not pure black—this preserves faint details that sit just above the noise floor.
  3. Create a star mask. A star mask protects stars from noise reduction and stretching artifacts. In Siril, use the "Star Mask" tool with a low threshold to include faint stars. In Photoshop, you can create a mask by selecting the stars with a threshold adjustment and then expanding the selection by 2-3 pixels.
  4. Apply a gentle stretch to the whole image. Use a non-linear stretch like the "Asinh" or "Arcsinh" stretch in Siril, or a curves adjustment in Photoshop. The goal is to bring out the faint nebula without clipping the background. Go slowly—apply 10-20% of the final stretch, then check the histogram to ensure you're not clipping the left side.
  5. Protect the stars with the mask. Load the star mask as a selection or a layer mask. For the next steps, any adjustments you make will only affect the non-star areas (the background and nebulosity).
  6. Reduce noise only on the background. Apply noise reduction (e.g., a median filter or a wavelet denoise) to the masked area. Use a small radius (1-2 pixels) to avoid smearing faint details. In Siril, use the "Wavelet Denoise" tool with a threshold of 2-3 sigma. In Photoshop, use the "Reduce Noise" filter with strength 5 and preserve details 80%.
  7. Stretch the background further, but not the stars. With the star mask still active, apply another curves stretch—this time, push the background to a mid-gray level. This reveals faint outer shells of nebulae. If the background becomes too bright, adjust the black point to bring it back to a natural level.
  8. Unmask the stars and enhance them separately. Remove the star mask and select the stars (invert the mask). Apply a slight stretch to the stars to make them pop, but do not overdo it—you want to keep star colors natural. Use a curves adjustment to increase saturation slightly.
  9. Apply a final mild stretch to the whole image. Now that the background and stars are processed separately, do a final global stretch to bring the image to a pleasing contrast. Keep the histogram tails inside the limits to avoid clipping.
  10. Save in a lossless format. Save the final image as a 16-bit TIFF or PNG. Do not use JPEG for the final version because it introduces artifacts that look like noise.

Common Mistakes

  • Over-stretching early. If you stretch the image too much at the start, you'll amplify noise and clip faint details. Always stretch in small increments.
  • Applying noise reduction to the whole image. This will blur the stars and smooth out fine nebula filaments. Always mask the stars and apply noise reduction only to the background.
  • Clipping the black point. Setting the black point too high removes faint data. Keep the background slightly above zero (e.g., 5-10 on a 0-255 scale) until the final step.
  • Using a strong wavelet denoise. High thresholds can remove small-scale details like dust lanes. Use a low threshold and check the result at 100% zoom.
  • Forgetting to calibrate the monitor. If your screen is too bright, you'll think the image is fine when it's actually overexposed.

Tips

  • Use a luminance mask to protect bright areas (like the core of a galaxy) from over-stretching. In Photoshop, create a mask from the luminance channel.
  • For narrowband images, process each channel (Ha, OIII, SII) separately with the same workflow, then combine. This preserves the fine structure in each channel.
  • When using a star mask, expand the selection by 2-3 pixels to avoid a bright halo around stars after noise reduction.
  • Always process in 32-bit float (or 16-bit) to avoid rounding errors that lose detail.
  • Take breaks. Staring at the image for too long makes it hard to judge detail. Come back after an hour and you'll notice things you missed.

Troubleshooting

  • Image looks blotchy after noise reduction. You likely used too high a threshold. Reduce the strength or use a smaller radius. Also, try using a luminance mask to protect bright areas.
  • Faint nebula is still invisible after stretching. Your original stack may have too few frames. Consider capturing more data, or use a more aggressive stretch (but watch for noise). Also, check that you didn't clip the background during gradient removal.
  • Stars have dark halos. This happens when the star mask is too tight. Expand the mask by a few more pixels, or feather the mask edge.
  • Background is too bright after final stretch. Use a curves adjustment to lower the left side of the histogram, but do not clip it. You can also use a background extraction again to even it out.
  • Colors are wrong. If your stars look green or magenta, you may have a color balance issue. Use a color calibration tool (e.g., Siril's Photometric Color Calibration) before stretching.

Frequently Asked Questions

What does "linear" mean in astrophotography?

Linear means the image has not been stretched—the brightness values are directly proportional to the light captured. Stretching makes faint details visible but also amplifies noise.

How many frames do I need to get enough detail?

It depends on your target and light pollution. For faint nebulae, 30-60 frames of 2-5 minutes each is a common starting point. More frames reduce noise, which allows you to stretch more without losing detail.

Can I use this workflow on planetary images?

No. Planetary imaging uses a different process (lucky imaging and sharpening) because planets are bright and small. This workflow is for deep-sky objects like nebulae and galaxies.

Why do my stars look bloated after processing?

Bloated stars usually come from over-stretching or applying noise reduction to the whole image. Using a star mask and stretching the stars separately helps keep them small.

Is it better to stretch in linear or non-linear space?

Always stretch in non-linear space (after applying a stretch function). Linear space is for calibration and stacking. Stretching in linear space compresses the faint details too much.

What is the best format to save my final image?

Save as a 16-bit TIFF or PNG. JPEG is lossy and will introduce artifacts that look like noise, defeating the purpose of careful processing.