SNAPSBYMYLO™

SnapsByMylo Photography Academy

STACKING

Turn dozens of ordinary frames into one extraordinary photograph.

Image stacking is one of the most powerful techniques available to digital photographers. By capturing multiple photographs of the same subject and mathematically combining them, we can reduce noise, reveal faint detail and produce levels of clarity that would be extremely difficult to achieve from a single exposure.

Lesson 01 · Fundamentals

What is Image Stacking?

Image stacking involves taking multiple photographs of the same scene and combining those photographs into one final image.

Each photograph contains two important things:

  1. Real information about the subject.
  2. Random noise generated by the camera and environmental conditions.

Real detail appears consistently across multiple photographs. Noise does not.

When software aligns and averages multiple photographs, consistent information is reinforced while random noise is increasingly cancelled out. This creates a cleaner image with a much stronger signal-to-noise ratio.

Signal-to-Noise Improvement

The improvement in signal-to-noise ratio approximately follows the square root of the number of frames.

1 frame

baseline

4 frames

≈ 2× improvement

9 frames

≈ 3× improvement

16 frames

≈ 4× improvement

25 frames

≈ 5× improvement

100 frames

≈ 10× improvement

This does not mean the photograph literally becomes ten times sharper. Instead, reducing noise allows genuine fine detail to become easier to resolve — and allows considerably stronger sharpening during editing before artefacts become visible.

Lesson 02 · Sharpness

Why Does Stacking Produce More Detail?

Photographers often describe a stacked photograph as “sharper”, but what is actually happening is more complicated. To understand it, separate these concepts:

Optical sharpness

How cleanly your lens resolves fine detail at a given aperture.

Resolution

How much detail your sensor can actually record.

Microcontrast

The local contrast that makes edges and textures appear defined.

Noise

Random variation that obscures genuine fine detail.

Atmospheric distortion

Moving air that bends and blurs light between you and the subject.

Motion blur

Subject or camera movement during the exposure.

Digital sharpening

Software contrast enhancement applied after capture.

Stacking improves the visibility of legitimate detail because random noise is reduced. For moon and planetary photography, stacking also allows software to select the moments when atmospheric turbulence temporarily produces the clearest view — a technique often known as Lucky Imaging.

Lucky Imaging

Even on a perfectly clear night, the atmosphere is constantly moving.

Warm and cold air masses bend light slightly differently, causing lunar and planetary detail to shimmer or distort from frame to frame.

If you capture hundreds or thousands of frames, some will inevitably be sharper than others. Specialist stacking software can analyse those frames, rank them by quality, keep only the sharpest percentage and combine them into an extremely detailed final image.

Lesson 03 · The Golden Rule

Before You Stack

Stacking cannot rescue bad focus.

The most important photograph in a stack is every photograph.

If the subject is badly out of focus, heavily blurred or incorrectly exposed, combining more photographs will not magically recover missing detail. Your individual frames should already be technically sound. Stacking takes good photographs and extracts more information from them — it does not turn bad photographs into good ones.

Before shooting a stack

  • Achieve critical focus
  • Use a stable shooting platform
  • Avoid clipping highlights
  • Maintain consistent exposure
  • Shoot RAW whenever appropriate
  • Keep white balance consistent
  • Capture enough frames
  • Minimise unnecessary camera movement

Lesson 04 · The Moon

Moon Stacking

One of the best ways to reveal serious lunar detail.

The Moon is extremely bright compared with most astronomical subjects, meaning photographers can use fast shutter speeds and capture large bursts of photographs. This makes the Moon ideal for stacking.

Camera Setup

Mode
Manual
File format
RAW for burst stacking; high-quality video for high-frame-rate planetary workflows
Aperture
Around f/5.6–f/8 depending on lens sharpness
Shutter speed
Approx. 1/250 to 1/1000s depending on focal length, phase and conditions
ISO
As low as practical while maintaining a fast shutter speed
White balance
Manual / fixed
Focus
Manual focus using magnified live view
Metering
Do not rely on auto metering — expose for lunar highlights
Image stabilisation
On a solid tripod, test whether disabling it is more consistent
Electronic shutter
Useful for reducing vibration where rolling shutter is not an issue
Tripod
Highly recommended
Remote shutter / timer
Recommended for individual frames
Burst mode
High-speed continuous shooting works extremely well

Lesson 05 · Focusing

Critical Focus

Focus is everything.

Do not simply rotate the lens to the infinity symbol and assume the image is focused. Infinity markings are not always perfectly calibrated and temperature can also affect focus.

Recommended method

01
Switch to manual focus.
02
Magnify live view as far as practical.
03
Position the magnification box over a high-contrast crater edge or the lunar terminator.
04
Slowly adjust focus.
05
Find the point where crater boundaries look maximally defined.
06
Move slightly beyond focus.
07
Move back through focus.
08
Repeat until confident you have found the true point of maximum sharpness.
09
Do not touch the focus ring afterwards.

PRO TIP

The terminator — the boundary between lunar daylight and darkness — often contains far more visible surface relief than the fully illuminated centre of the Moon, because the low Sun angle creates deep shadows around craters and mountains.

Lesson 06 · Frame Count

How Many Frames Should You Capture?

Basic stack

20–30 frames

Good

50–100 frames

Advanced

100–500 frames

Lucky imaging

500–5000+ frames or high-frame-rate video

More frames give the software more opportunities to find moments of excellent atmospheric seeing. However, quality matters more than blindly stacking every frame. Sometimes stacking the sharpest 20% of 500 frames will produce a considerably better result than stacking all 500.

Lesson 07 · Workflow

Moon Stacking Workflow

01

Capture

Shoot a long burst or several bursts of the Moon. Avoid changing focus, zoom or exposure between frames.
02

Import

Import photographs onto your computer. Do not aggressively sharpen or denoise them before stacking.
03

Review

Discard obviously blurred photographs, frames affected by severe atmospheric distortion or accidental camera movement.
04

Align

The Moon will move slightly between frames. Stacking software must align features such as crater edges before combining the images.
05

Quality analysis

For specialist lunar software, allow the program to analyse each frame and rank it based on sharpness.
06

Select best frames

Experiment with stacks containing the best 10%, 20%, 30% and 50%.
07

Stack

Combine the selected frames.
08

Sharpen

Only after stacking should strong detail enhancement begin.
09

Final edit

Finish colour, contrast, shadows, highlights and tonal adjustments in Lightroom, Photoshop or another RAW editor.

Lesson 08 · Software

Recommended Software

AutoStakkert!

Best for

Moon · Planets · Sun · High-frame-count astrophotography.

AutoStakkert can analyse image quality, align surface features and stack the strongest frames — useful for serious lunar work.

Siril

Best for

Astrophotography · Deep-sky · Star alignment · Calibration · Stacking.

An excellent free astrophotography platform with extremely powerful processing tools.

Photoshop

Best for

Small manual stacks · General photography · Landscapes · Wildlife.

Use File → Scripts → Load Files into Stack, enable Attempt to Automatically Align Source Images, then convert layers to a Smart Object and choose a Stack Mode.

Mean

Averages pixel values. Extremely effective at reducing random noise when frames are clean and correctly aligned.

Median

Rejects temporary differences more aggressively. Useful when objects appear in some frames but not others — aircraft, people, cars, some hot pixels, certain transient artefacts.

Note

Median stacking can remove moving subjects when they only appear in a minority of frames.

Lesson 09 · The Milky Way

Milky Way Stacking

Cleaner stars. Deeper colour. More detail.

Milky Way stacking works differently from Moon stacking because Earth rotates beneath the stars. Even when the camera remains completely stationary, the stars move slightly from one exposure to the next. Therefore, specialist software must align the stars before averaging them.

Example Capture Sequence

Exposures
10–30
Shutter speed
5–20 seconds depending on focal length and sensor resolution
Aperture
Wide open, or approx. one stop down depending on lens performance
ISO
Typically ISO 1600–6400 depending on camera, light pollution and exposure length
White balance
Fixed
Focus
Manual focus on a bright star
RAW
Yes
Interval between frames
As short as possible

Lesson 10 · Focus

How to Nail Star Focus

Do not trust the infinity mark.

01
Find a bright star.
02
Magnify live view.
03
Manually focus until the star appears as small as possible.
04
If the star becomes larger, you have moved away from true focus.
05
Move back and forth through focus several times.
06
Lock or tape the focus ring if necessary.
07
Take a test photograph.
08
Magnify the recorded image and confirm stars are genuinely crisp.

PRO TIP

A star that appears extremely bright but slightly bloated is often less accurately focused than a smaller, dimmer point. The goal is the smallest possible star.

Lesson 11 · Exposure Limits

Avoiding Star Trails

The traditional 500 Rule: 500 ÷ focal length = approximate shutter speed in seconds.

But the 500 Rule was developed in an era of lower-resolution photography and is often too generous for modern high-resolution cameras.

The NPF Rule accounts for aperture, pixel pitch, focal length and the declination of the stars. When using modern high-resolution cameras, inspect stars at 100% — if stars appear elongated, shorten the shutter speed.

PRO TIP

For extremely high-resolution cameras, an exposure that appears perfectly acceptable on Instagram may show visible trailing when printed large. Shoot for the final output size you intend to produce.

Lesson 12 · Workflow

Milky Way Workflow

01

Compose

Compose the scene.
02

Focus

Focus manually on a bright star.
03

Lock settings

Lock exposure and white balance.
04

Capture sky

Capture approximately 10–30 exposures without moving the camera.
05

Dark frames

Capture several dark frames if your chosen workflow uses them.
06

Import

Import files.
07

Minimal corrections

Apply very minimal RAW corrections before stacking. Avoid heavy sharpening, AI denoise, strong contrast, clarity, texture, or lens-distortion changes that may complicate alignment.
08

Align stars

Align stars.
09

Stack

Stack using mean or averaging algorithms.
10

Export

Export the stacked sky as a high-bit-depth TIFF where appropriate.
11

Final edit

Perform final colour and contrast editing.

Lesson 13 · Software

Milky Way Software

Sequator — Windows

Excellent for

Milky Way landscapes · Sky stacking · Separating foreground and sky.

Sequator can freeze the landscape while aligning stars.

Starry Landscape Stacker — Mac

Excellent for

Night landscapes.

Can align stars while preserving a stationary foreground.

Siril — All platforms

Excellent for

More advanced astrophotography processing.

Photoshop — All platforms

Excellent for

Can be used manually but requires more work.

Lesson 14 · Sky & Foreground

Advanced Night Landscape Stacking

One of the strongest techniques is to treat the sky and landscape as completely separate photographic problems.

The sky moves. The Earth does not appear to move relative to your tripod. Therefore the optimum exposure for each is different.

Sky

  • 20 × 10-second exposures
  • Wide aperture
  • Higher ISO

Foreground

  • 1–10 longer exposures
  • Lower ISO
  • Potentially narrower aperture
  • Longer shutter speed

Stack the sky separately. Process the foreground separately. Blend both carefully using masks.

Transparency

This is still a photograph built from frames captured at the same location and session, but photographers should be transparent about compositing techniques when documentary accuracy matters.

Lesson 15 · Deep Sky

Deep-Sky Astrophotography

Deep-sky stacking can involve hundreds of exposures, tracking mounts, calibration frames and several hours of integration time.

Light Frames

The actual photographs of the astronomical target.

Dark Frames

Photographs taken with the same exposure time, ISO/gain and sensor temperature but with no light reaching the sensor. They measure sensor noise and hot pixels.

Flat Frames

Evenly illuminated exposures designed to reveal vignetting, dust shadows and optical illumination patterns.

Bias Frames

Extremely short dark exposures used to measure sensor readout noise in certain workflows.

Dark Flats

Dark frames matched to flat-frame exposure settings.

Modern workflows vary, and not every camera/software combination requires every calibration frame type.

Lesson 16 · Integration Time

Integration Time Matters

Deep-sky photographers often measure total exposure in hours rather than individual shutter speed.

60 × 60s

= 60 minutes total integration

240 × 60s

= 4 hours total integration

A longer total integration time generally produces cleaner data and reveals fainter structures. However, light pollution, moonlight, atmospheric transparency, optical quality, tracking accuracy, focus and sensor characteristics all affect the final result.

Lesson 17 · Landscapes

Stacking Is Not Just for Astrophotography

Multiple landscape frames can be stacked to reduce noise. Photograph a dark woodland scene from a tripod, capture 10 identical frames, align them and average the images. The resulting photograph may contain considerably cleaner shadow information than a single photograph.

This can be particularly useful for:

  • Blue hour
  • Woodland
  • Caves
  • Waterfalls
  • Architecture
  • Night cityscapes
  • Low-light landscapes

Lesson 18 · Wildlife

Can You Stack Wildlife Images?

Yes — sometimes. Stacking works best when the subject remains extremely still.

Examples: owls perched motionless, sleeping animals, stationary reptiles, frogs, insects at rest, birds sitting calmly, macro subjects.

The problem

Even tiny movements between frames can create ghosting, double edges, eye artefacts, feather misalignment and fur texture problems.

For difficult subjects, manually mask the strongest subject frame over a stacked background if necessary.

PRO TIP

For moving wildlife, burst selection is usually more useful than conventional image averaging.

Lesson 19 · Don’t Confuse

Image Stacking vs Focus Stacking

Image Stacking

Multiple photographs at approximately the same focus distance. Purpose: reduce noise, increase usable detail and improve signal-to-noise ratio.

Focus Stacking

Multiple photographs focused at different distances. Purpose: increase depth of field. Used in macro, product and landscape photography.

Lesson 20 · Dynamic Range

Stacking vs HDR

Image Stacking

Same exposure across multiple frames. Primary goal: reduce noise and increase signal quality.

HDR

Different exposures (e.g. −2 EV, 0 EV, +2 EV). Primary goal: increase dynamic range. Both techniques can technically be combined.

Lesson 21 · AI Denoise

Why Stack When AI Denoise Exists?

Modern AI denoise software is extremely impressive, but stacking and AI denoising solve noise differently.

AI denoise estimates what clean detail should look like based on learned image patterns. Stacking uses actual information recorded repeatedly by the camera. For critical detail, capture more real information whenever possible.

01

Recommended workflow

Capture clean frames.
02
Stack.
03
Perform tonal adjustments.
04
Use conservative denoise if necessary.
05
Sharpen final detail.

Excessive denoise before stacking can remove genuine micro-detail.

Lesson 22 · Preparation

Preparing Your Images for Stacking

Do

  • Keep exposure consistent
  • Keep colour temperature consistent
  • Correct obvious chromatic aberration when appropriate
  • Remove severely damaged frames
  • Work at maximum bit depth
  • Preserve RAW files
  • Maintain identical image dimensions

Avoid

  • Heavy sharpening
  • Extreme texture
  • Excessive clarity
  • Strong noise reduction
  • Exporting low-quality JPEGs
  • Changing crop between photographs
  • Different lens distortion corrections between frames

Lesson 23 · Alignment

Alignment Is Everything

Before frames can be averaged, the same physical feature needs to occupy approximately the same location in every image.

Misalignment creates softness, double edges, ghosting, blurred stars and false detail. Different software uses different alignment systems — global alignment, star alignment, surface alignment, feature detection, optical flow and control points.

For lunar images, specialist software may divide the surface into many small alignment regions to compensate for local atmospheric distortion.

Lesson 24 · Algorithms

Stacking Algorithms Explained

Mean / Average

All pixel values are averaged. Best for noise reduction with high-quality, consistent frames.

Median

The middle pixel value is selected. Good for removing transient objects and rejecting certain artefacts.

Sigma Clipping

Used heavily in astrophotography. Analyses values statistically and rejects outliers — useful for removing satellite trails, aircraft, cosmic ray artefacts, hot pixels and temporary noise spikes.

Weighted Average

Higher-quality frames receive more influence on the final stack. Used by advanced astrophotography software.

Lesson 25 · Sharpening

Where Serious Sharpness Happens

The reason stacked files tolerate aggressive sharpening is that the underlying noise level has been reduced. However, sharpening should still be controlled.

Methods to understand: capture sharpening, deconvolution, wavelet sharpening, unsharp mask, high-pass sharpening, texture and local contrast.

Wavelet Sharpening

Wavelets allow photographers to target different scales of detail. Very fine scales can reveal tiny lunar features; larger scales affect broader contrast.

Warning

Excessive wavelet sharpening produces bright crater halos, dark edge artefacts, crunchy texture and false, unnatural surfaces. If the first thing you notice is the sharpening, it is probably too strong.

Lesson 26 · Deconvolution

Advanced: Deconvolution

Blur in an optical system can be described mathematically using a point spread function. Deconvolution attempts to reverse some of that blur, recovering apparent fine detail more intelligently than basic contrast sharpening.

However, it requires clean data. Stacking therefore creates an ideal foundation for deconvolution.

Caution

Over-processing can invent edge artefacts. Use carefully.

Lesson 27 · Pitfalls

Common Stacking Mistakes

Lesson 28 · Seeing

The Atmosphere Is Part of Your Optical System

Photographers often obsess over cameras and lenses while forgetting that kilometres of moving atmosphere may sit between the camera and subject. For lunar photography, atmospheric turbulence can become the limiting factor.

Best conditions often include stable air, the Moon high above the horizon, minimal heat shimmer, a clear atmosphere and low wind at different atmospheric layers.

Photographing the Moon low on the horizon means looking through much more atmosphere — more turbulence, more haze, more colour dispersion and less fine detail.

Lesson 29 · Limits

Resolution Has Limits

A 60MP, 100MP or higher-resolution camera cannot record detail that never reaches the sensor cleanly. Final detail is limited by lens resolving power, diffraction, focus, atmospheric seeing, motion, sensor sampling, exposure and noise.

Stacking improves the quality of captured information, but it cannot exceed every physical limit of the imaging system.

Lesson 30 · Checklists

Shooting Checklist

Moon

  • Manual exposure
  • Manual focus
  • Magnified focus check
  • Protect highlights
  • Fast shutter speed
  • Stable tripod
  • Shoot 50–500+ frames
  • Keep framing consistent
  • Review atmospheric seeing
  • Stack only strongest frames

Milky Way

  • RAW
  • Manual focus
  • Wide aperture
  • Consistent exposure
  • Fixed white balance
  • 10–30+ sky frames
  • Avoid star trailing
  • Shoot foreground separately if needed
  • Keep camera stationary
  • Stack before heavy editing

Lesson 31 · Beginner

Beginner Stacking Recipe

01

Capture

50 RAW images.
02

Remove

10 obviously weak frames.
03

Align

Remaining 40.
04

Stack

Best 20–30.
05

Edit

Contrast, highlights, black point, colour and sharpening.

Goal

A noticeably cleaner and more detailed photograph without an overly processed appearance.

Lesson 32 · Advanced

Advanced Lunar Recipe

01

Capture

500–2000+ frames.
02

Analyse

Frame quality.
03

Keep

Best 10–30%.
04

Use

Multiple alignment points.
05

Stack

Specialist lunar software.
06

Process

Deconvolution, wavelet sharpening, local contrast, careful tonal correction and colour calibration.
07

Final sharpening

Performed based on final output resolution.

Final Lesson

Capture More Information.

Photography is ultimately about collecting light. A single photograph represents one short measurement of that light. Stacking lets us make that measurement repeatedly.

Instead of asking one exposure to provide everything, we combine multiple observations and allow the consistent information to rise above the random noise.

The result is not artificial sharpness. Done properly, stacking reveals detail that was already present in the captured data — it simply gives that detail a better chance to be seen.

Mylo Romero

Wildlife Conservationist & Photographer · SnapsByMylo

Reference

Glossary

Alignment
Matching the position of features across frames so averaging produces clean detail rather than blur.
Calibration frame
A supporting frame (dark, flat, bias or dark flat) used to correct sensor and optical imperfections before stacking.
Dark frame
An exposure taken with no light reaching the sensor, used to map sensor noise and hot pixels.
Flat frame
An evenly illuminated exposure used to reveal vignetting, dust shadows and illumination patterns.
Bias frame
A very short dark exposure used to measure sensor readout noise in certain workflows.
Integration time
The total exposure time across all stacked frames.
Lucky imaging
Capturing many frames and keeping only the sharpest, selected by analysis software.
Mean stack
Averages pixel values across frames; excellent for noise reduction.
Median stack
Selects the middle pixel value; rejects transient objects and artefacts.
Noise
Random variation in pixel values that obscures genuine detail.
Pixel pitch
The physical distance between pixel centres on a sensor.
RAW
Unprocessed sensor data preserving maximum bit depth and detail.
Seeing
The steadiness and clarity of the atmosphere.
Signal
Genuine information about the subject recorded by the sensor.
Signal-to-noise ratio
The balance between real information and random noise.
Sigma clipping
A statistical stacking method that rejects outlier pixel values.
Star tracking
Using a mount or software to follow the apparent motion of the stars.
Wavelet sharpening
Sharpening that targets specific scales of detail independently.

Join the SNAPSBYMYLO™ list.

New preset drops, print releases, photography guides and Beautifully British features.