Astrophotography

Astrophotography

How to Stack Astrophotos: A Beginner's Workflow

Learn how to stack astrophotography images to reduce noise and reveal faint detail. Covers calibration frames, DeepSkyStacker, and a clear beginner workflow.

How to Stack Astrophotos: A Beginner's Workflow

Stacking multiple exposures of the same target is the single biggest improvement you can make to a beginner astrophoto. One frame shows a noisy, grainy result; thirty frames stacked together reveals structure you simply cannot see any other way.

Why Stacking Improves Your Images

Every photograph you take contains two things: signal (the actual light from the nebula or galaxy) and noise (random, unwanted variation in pixel brightness). In a single exposure the noise can easily overwhelm faint signal.

When you stack many frames, the signal is consistent from frame to frame because the same photons are hitting the same part of the sensor each time. Noise, by contrast, is random. When you average random values together, they cancel each other out. The result: signal stays strong while noise shrinks. This relationship is called the signal-to-noise ratio, or SNR, and stacking is how you raise it.

In practical terms:

  • 1 frame: grainy, little colour, faint nebulosity invisible
  • 10 frames stacked: noticeably smoother, some colour and structure visible
  • 30 frames stacked: real detail starts to emerge, background sky becomes uniform
  • 60+ frames: fine structure, gradients, and faint outer regions become clear

You do not need an expensive tracker or a long focal-length scope to benefit from this. A DSLR on a simple star tracker or even a fixed tripod shooting wide-angle can produce respectable stacked results. If you are just starting out with gear choices, see our guide to astrophotography on a budget.

The Four Frame Types and What Each Does

Image stacking is not just about combining your light frames. Calibration frames correct for imperfections in your camera and optics. You do not need all four types every time, but understanding them lets you decide when each is worth the effort.

Light Frames

These are your actual exposures of the target. Everything else exists to improve them. Shoot as many as you can manage in a session, at a consistent ISO and shutter speed. A common beginner approach for a tracked setup: ISO 800 to 1600, 60 to 120 seconds per frame, 20 to 40 frames minimum.

Dark Frames

Darks capture thermal noise from your camera sensor. You shoot them with the lens cap on, at exactly the same ISO, shutter speed, and sensor temperature as your lights. The stacking software subtracts the dark pattern from each light frame before combining them.

If your nights are cold (below about 10 degrees C), darks matter less because cooling reduces thermal noise naturally. In warm weather they make a clear difference.

Flat Frames

Flats correct for two problems: vignetting (the darker corners most lenses produce) and dust spots on your sensor or filters. You take them by pointing your camera at an evenly lit surface, usually a white panel or a cloudy daytime sky, at the same lens position and aperture you used for your lights. Exposure should land roughly in the middle of the histogram.

Flats are one of the highest-value calibration frames for untracked wide-angle work because vignetting is usually severe at wide apertures.

Bias Frames

Bias frames capture the baseline readout pattern of your sensor at zero exposure time. They are very short exposures taken with the lens cap on. Many stacking programs can generate a synthetic bias from your darks, so you can skip dedicated bias capture until you want to fine-tune results.

Free Software Options: DeepSkyStacker and Siril

Two programs cover most beginner needs without cost.

DeepSkyStacker (Windows)

DeepSkyStacker, often abbreviated DSS, is the traditional entry point for beginners. It has a straightforward interface, handles most common camera raw formats, and automates registration (aligning the frames) and stacking in a single process. The output is a 16-bit TIFF ready for further processing in software like GIMP or PixInsight.

For a basic DeepSkyStacker tutorial:

  1. Open DSS and click Open picture files to load your light frames.
  2. Use Dark files, Flat files, and Offset/Bias files to load calibration frames if you have them.
  3. Click Check all to queue everything, then Register checked pictures. DSS aligns all frames automatically.
  4. Click Stack checked pictures. In the stacking parameters dialog, Kappa-Sigma Clipping is a reliable rejection method for most beginners. Leave kappa at the default of 2.0.
  5. Save the output TIFF when DSS finishes.

DSS is available free at deepskystacker.free.fr.

Siril (Windows, Mac, Linux)

Siril is more capable than DSS and works on all major platforms. It has a steeper learning curve because it uses a scripting system, but the built-in scripts for DSLR or CCD processing handle the calibration and stacking steps automatically once you point them at your folders of frames.

Siril is the better long-term tool if you want to get serious, but DSS is perfectly fine for your first dozen sessions.

A Step-by-Step Beginner Workflow

Here is a concrete process you can follow start to finish.

Before the session:

  • Decide on your ISO and shutter length and write them down. You will need to match them for darks.
  • Bring a white panel, phone screen at full brightness, or a T-shirt stretched over the lens for flats.

At the telescope:

  1. Shoot your light frames. Keep them in a folder called lights.
  2. With the lens cap on, shoot 15 to 20 darks at the same ISO and shutter speed. Folder: darks.
  3. Take 20 to 30 flat frames against your even light source at the same aperture and lens position. Shutter speed will be different. Folder: flats.

At the computer (using DeepSkyStacker):

  1. Load lights, darks, and flats into their respective slots in DSS.
  2. Check all frames and run Register checked pictures. Look at the star alignment preview to confirm frames registered correctly. Reject any frame where the alignment score is far below average.
  3. Stack with Kappa-Sigma Clipping at kappa 2.0, iterations 5.
  4. Save output as a 32-bit TIFF for maximum editing headroom.

After stacking:

The raw stacked TIFF will look dark and flat. This is normal. You still need to stretch the histogram in GIMP, Photoshop, or Siril to bring out the detail. The stacked image contains the data; stretching is how you make it visible.

A simple stretch in GIMP: use Colors > Levels, drag the midpoint slider left until the nebula or galaxy becomes visible. Do it gradually to avoid blowing out the brighter core.

For moon photography the workflow is simpler and stacking less critical, but the same SNR principle applies. See how to photograph the Moon even with a phone for that approach. And if you started your astrophotography journey with star trails, note that star trail photography uses a stacking technique too, but the goal is the opposite: you want to add the frames rather than average them to preserve the continuous arc.

Realistic Expectations for Your First Stack

A few things to know before you sit down with your first batch of frames:

Frames stackedTypical result
5 to 10Slight noise reduction, mostly useful to confirm the workflow works
20 to 30Clear improvement over a single frame, soft structure visible in bright nebulae
40 to 60Usable result for most targets from a reasonably dark site
80 to 120+Necessary for faint galaxies or targets from light-polluted skies

Registration can fail on very short exposures where stars are faint. If DSS reports low star counts during registration, try increasing your exposure time or ISO slightly on the next session.

Frequently Asked Questions

Do I need a tracking mount to stack images? No, but your maximum useful exposure per frame without tracking is limited to a few seconds before stars trail. With shorter exposures you will need more frames to achieve the same total integration time. Stacking 200 frames of 5 seconds each is perfectly valid and gives you 1000 seconds of total exposure.

How many darks, flats, and bias frames do I actually need? A good rule of thumb: 20 calibration frames of each type is enough for most beginner use. More is always better for flats and darks, but the returns diminish past 30 to 40. Bias frames can usually be skipped entirely at first.

Can I mix exposures of different lengths in one stack? It is possible in some software but not recommended for beginners. Stick to a consistent shutter length per session for clean results.

Why does my stacked image look worse than a single frame? The most common cause is poor registration. Check that your star alignment scores in DSS are consistent. Very short exposures with few stars in frame register badly. Another cause is mixing frames taken at different focus settings or after the camera bumped.

Is DeepSkyStacker still worth using, or should I go straight to Siril? DSS is reliable and much easier to learn. Start there, get a handful of successful stacks under your belt, then move to Siril when you want more control over the calibration process or you are working on a Mac or Linux machine.

← Back to all guides