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:
- Real information about the subject.
- 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
PRO TIP
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
Capture
Import
Review
Align
Quality analysis
Select best frames
Stack
Sharpen
Final edit
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
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.
PRO TIP
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
Lesson 12 · Workflow
Milky Way Workflow
Compose
Focus
Lock settings
Capture sky
Dark frames
Import
Minimal corrections
Align stars
Stack
Export
Final edit
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
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
For difficult subjects, manually mask the strongest subject frame over a stacked background if necessary.
PRO TIP
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.
Recommended workflow
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 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
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
Capture
Remove
Align
Stack
Edit
Goal
A noticeably cleaner and more detailed photograph without an overly processed appearance.
Lesson 32 · Advanced
Advanced Lunar Recipe
Capture
Analyse
Keep
Use
Stack
Process
Final sharpening
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.