Skip to main content
TechRadar TechRadar the technology experts
Asia
flag of Singapore
Singapore
Europe
flag of Danmark
Danmark
flag of Suomi
Suomi
flag of Norge
Norge
flag of Sverige
Sverige
flag of UK
UK
flag of Italia
Italia
flag of Nederland
Nederland
flag of België (Nederlands)
België (Nederlands)
flag of France
France
flag of Deutschland
Deutschland
flag of España
España
North America
flag of US (English)
US (English)
flag of Canada
Canada
flag of México
México
Australasia
flag of Australia
Australia
flag of New Zealand
New Zealand
RSS
Sign in
  • View Profile
  • Sign out
  • Phones
    • Popular Phone Brands
      • iPhone
      • Samsung Galaxy
      • Google Pixel
      • Nothing
      • Motorola
      • OnePlus
      • Xiaomi
      • Honor
      • Oppo
      • Huawei
    • Operating Systems
      • Android
      • iOS
    • More from Phones
      • Network Carriers
      • Phone Accessories
      • Phone Reviews
      • Phone Buying Guides
      • Phone Deals
      • Phone Coupons
      • Phone News
  • Computing
    • Laptops
      • Chromebooks
      • MacBooks
      • Windows Laptops
      • Gaming Laptops
    • PCs
      • Desktop PCs
      • Macs
      • Gaming PCs
    • Software
      • Windows
      • macOS
      • Windows 10 End of Life
    • Components
      • CPUs
      • GPUs
      • Storage
      • Nvidia
      • Intel
    • Internet
      • Websites & Apps
      • Wi-Fi & Broadband
      • Social Media
      • Wordle
    • Security
      • Antivirus
      • Cyber Security
    • Tablets
      • eReaders
      • iPad
    • VR & AR
    • Peripherals
      • Monitors
      • Keyboards
      • Webcams
      • Mice
    • Popular Computing Brands
      • Dell
      • HP
      • Lenovo
      • Acer
    • More from Computing
      • Computing Reviews
      • Computing Buying Guides
      • Computing Deals
      • Computing Coupons
      • Computing News
  • AI
    • AI Platforms & Assistants
    • OpenAI
    • ChatGPT
    • Gemini
    • Apple Intelligence
    • Claude
  • TVs
    • TV Insights
      • TV Reviews
      • TV Buying Guides
      • TV Deals
      • TV News
    • More for your TV
      • Home Theatre
      • Soundbars
      • Streaming Devices
      • Projectors
      • Blu-ray
  • Streaming
    • Entertainment
    • Netflix
    • Prime Video
    • Disney+
    • Apple TV+
    • HBO Max
    • Hulu
    • Paramount+
    • How to Watch
  • Fitness
    • Fitness
      • Smartwatches
      • Fitness Trackers
      • Exercise Equipment
      • Fitness Headphones
      • Fitness Apps
      • Smart Rings
    • Watch Brands
      • Apple Watch
      • Fitbit
      • Garmin
      • Google Pixel Watch
      • Samsung Galaxy Watch
    • Wellbeing
      • Sleep
      • Oral Health
    • More from Fitness
      • Fitness News
      • Fitness Reviews
      • Fitness Buying Guides
      • Fitness Deals
  • Audio
    • Headphones
      • Earbuds & AirPods
      • Wireless Headphones
    • Speakers
      • Wireless Speakers
      • Sonos
    • Hi-Fi
      • Turntables
      • Portable Players
      • DACs
    • Audio Streaming
      • Spotify
      • Apple Music
    • More from Audio
      • Audio News
      • Audio Reviews
      • Audio Buying Guides
      • Audio Deals
  • VPN
    • VPN Services
    • VPN Security
    • ExpressVPN
    • NordVPN
  • Cameras
    • Camera Types
      • Mirrorless
      • DSLRs
      • Compact
      • Action
      • Video
      • Drones
      • 360 Cameras
      • Dash Cams
    • Camera Brands
      • Canon
      • DJI
      • Fujifilm
      • Nikon
      • GoPro
      • Insta360
    • More from Cameras
      • Camera Accessories
      • Camera Lenses
      • Camera Reviews
      • Camera Buying Guides
      • Camera Deals
      • Camera News
      • Photography
  • Home
    • Smart Home
      • Home Security
      • Smart Speakers
      • Smart Lights
      • Smart Scales
      • Smart Thermostats
      • Amazon Echo
    • Small Appliances
      • Air Fryers
      • Air Quality
      • Coffee Machines
      • Hair Care
      • Vacuums
      • Robot Vacuums
    • Home Brands
      • Dyson
      • Philips Hue
      • Ring
      • Shark
      • Ninja
    • More from Home
      • Home Reviews
      • Home Buying Guides
      • Home Deals
      • Home News
  • EVs
  • Browse
    • By Type
      • News
      • Best
      • Reviews
      • Deals
      • Versus
      • How To
      • Opinion
      • Coupons
    • Popular Brands
      • Samsung
      • Sony
      • Microsoft
      • Apple
Tech Radar Pro Tech Radar Gaming
  • Phones
    • View Phones
      • iPhone
      • Samsung Galaxy
      • Google Pixel
      • Nothing
      • Motorola
      • OnePlus
      • Xiaomi
      • Honor
      • Oppo
      • Huawei
      • Android
      • iOS
      • Network Carriers
      • Phone Accessories
      • Phone Reviews
      • Phone Buying Guides
      • Phone Deals
      • Phone Coupons
      • Phone News
  • Computing
    • View Computing
    • Laptops
      • View Laptops
      • Chromebooks
      • MacBooks
      • Windows Laptops
      • Gaming Laptops
      • Desktop PCs
      • Macs
      • Gaming PCs
    • Software
      • View Software
      • Windows
      • macOS
      • Windows 10 End of Life
    • Components
      • View Components
      • CPUs
      • GPUs
      • Storage
      • Nvidia
      • Intel
    • Internet
      • View Internet
      • Websites & Apps
      • Wi-Fi & Broadband
      • Social Media
      • Wordle
    • Security
      • View Security
      • Antivirus
      • Cyber Security
    • Tablets
      • View Tablets
      • eReaders
      • iPad
    • VR & AR
    • Peripherals
      • View Peripherals
      • Monitors
      • Keyboards
      • Webcams
      • Mice
      • Dell
      • HP
      • Lenovo
      • Acer
      • Computing Reviews
      • Computing Buying Guides
      • Computing Deals
      • Computing Coupons
      • Computing News
  • AI
    • View AI
    • AI Platforms & Assistants
    • OpenAI
    • ChatGPT
    • Gemini
    • Apple Intelligence
    • Claude
  • TVs
    • View TVs
      • TV Reviews
      • TV Buying Guides
      • TV Deals
      • TV News
      • Home Theatre
      • Soundbars
      • Streaming Devices
      • Projectors
      • Blu-ray
  • Streaming
    • View Streaming
    • Entertainment
    • Netflix
    • Prime Video
    • Disney+
    • Apple TV+
    • HBO Max
    • Hulu
    • Paramount+
    • How to Watch
  • Fitness
    • View Fitness
      • Smartwatches
      • Fitness Trackers
      • Exercise Equipment
      • Fitness Headphones
      • Fitness Apps
      • Smart Rings
      • Apple Watch
      • Fitbit
      • Garmin
      • Google Pixel Watch
      • Samsung Galaxy Watch
      • Sleep
      • Oral Health
      • Fitness News
      • Fitness Reviews
      • Fitness Buying Guides
      • Fitness Deals
  • Audio
    • View Audio
    • Headphones
      • View Headphones
      • Earbuds & AirPods
      • Wireless Headphones
    • Speakers
      • View Speakers
      • Wireless Speakers
      • Sonos
    • Hi-Fi
      • View Hi-Fi
      • Turntables
      • Portable Players
      • DACs
    • Audio Streaming
      • View Audio Streaming
      • Spotify
      • Apple Music
      • Audio News
      • Audio Reviews
      • Audio Buying Guides
      • Audio Deals
  • VPN
    • View VPN
    • VPN Services
    • VPN Security
    • ExpressVPN
    • NordVPN
  • Cameras
    • View Cameras
      • Mirrorless
      • DSLRs
      • Compact
      • Action
      • Video
      • Drones
      • 360 Cameras
      • Dash Cams
      • Canon
      • DJI
      • Fujifilm
      • Nikon
      • GoPro
      • Insta360
      • Camera Accessories
      • Camera Lenses
      • Camera Reviews
      • Camera Buying Guides
      • Camera Deals
      • Camera News
      • Photography
  • Home
    • View Home
    • Smart Home
      • View Smart Home
      • Home Security
      • Smart Speakers
      • Smart Lights
      • Smart Scales
      • Smart Thermostats
      • Amazon Echo
    • Small Appliances
      • View Small Appliances
      • Air Fryers
      • Air Quality
      • Coffee Machines
      • Hair Care
      • Vacuums
      • Robot Vacuums
      • Dyson
      • Philips Hue
      • Ring
      • Shark
      • Ninja
      • Home Reviews
      • Home Buying Guides
      • Home Deals
      • Home News
  • EVs
  • Browse
    • View Browse
      • News
      • Best
      • Reviews
      • Deals
      • Versus
      • How To
      • Opinion
      • Coupons
      • Samsung
      • Sony
      • Microsoft
      • Apple
Tech Radar Pro Tech Radar Gaming
Trending
  • Windows 10 end of life
  • iPhone 17 Pro Max review
  • Best laptop
  • iPhone 17 review
  • Best VPN
  • ChatGPT
  • Best web hosting
  • NYT Wordle today
Don't miss these
Top plate of theFujifilm X100VI in the hand
Compact Cameras The best compact cameras for 2025
A hand holds up a pair of black binoculars with a cypress tree in the background
Cameras I tried the world’s first AR smart binoculars – and they’re a game-changer for adventure tech lovers
Nikon Z6 III camera in the hand with no lens attached and full-frame sensor on display
Cameras The best Nikon cameras for 2025, following in-depth testing
Canon EOS R5 II mirrorless camera
Cameras The best Canon camera for 2025
Brinno TLC Timelapse Camera
Cameras The best timelapse cameras 2025, based on in-depth testing
Nikon Z6 III camera in the hand with no lens attached and full-frame sensor on display
Mirrorless Cameras The best mirrorless camera for 2025
DJI Mini 4K beginner drone in flight with soft focus tree foliage in the background
Drones The best beginner drones for 2025
GoPro Max 2 and Insta360 X5 360 cameras
360 Cameras GoPro Max 2 vs Insta360 X5: two top 360 cameras compared in hands-on tests
Insta360 X5 action camera
360 Cameras Best 360 camera 2025
GoPro Hero 13 Black in the hand
Action Cameras The best action camera you can buy in 2025, based on in-depth testing
The Canon EOS R10 camera sitting on a wooden bench
Cameras The best camera for beginners 2025, all rigorously tested
Panasonic Lumix S5 II camera on a table with view of the front
Video Cameras The best video cameras for 2025, based on in-depth testing
Nikon Z6 III camera in the hand, front on
Cameras The best camera for photography 2025
Peter McKinnon VND II filter
Camera Accessories PolarPro Peter McKinnon VND Edition II filter review
DJI Osmo Pocket 3 camera in the hand (left), Sony ZV-E1 shooting a selfie with its screen flipped out (right)
Video Cameras The best cameras for vlogging 2025 following in-depth testing
  1. Cameras
  2. Photography

How to combine macro images for amazingly sharp photographs

How Tos
By Hollie Latham published 7 July 2016

Stack 'em up

When you purchase through links on our site, we may earn an affiliate commission. Here’s how it works.

Step by step: how to get pin-sharp macro images

Step by step: how to get pin-sharp macro images

Focus stacking is a handy technique used to extend the depth of field in your images. This technique is commonly used in extreme close-up photography as depth of field is so limited.

Depth of field is determined by three factors: focal length, distance to subject and aperture. Macro lenses tend to have long telephoto focal lengths – like the Sigma 105mm lens we're using – and you have to get in close to your subject to achieve full-size magnification, both of which leave you with a very shallow plane of focus. This is why narrower apertures are typically used in macro photography to ensure the subject is sharp, while blowing out the background into soft focus.

But often this isn't enough to render the entire subject in sharp focus. The solution is to shoot several images, each with tiny adjustments to focus, then merge the sharpest parts together into one seamless, pin-sharp image. All you need is a macro lens, a sturdy tripod to keep your camera in a fixed position for the sequence of exposures, and a subject that will remain perfectly still, too.

It's actually quite a simple, automated process to combine your stacked shots in Photoshop CC or CS. While this is adequate for getting started, you may want to consider using specialist stacking software such as, Zerene Stacker and Helicon Focus when you move on to more complex subjects that require a lot more images to be stacked together.

Page 1 of 21
Page 1 of 21
1. Secure camera

1. Secure camera

The most vital part of the focus stacking technique is to ensure that your camera is locked solidly in place so that it doesn't move between exposures. Set your camera up on a tripod. Even the smallest nudge can cause movement, so use a shutter release cable too.

Page 2 of 21
Page 2 of 21
2. Enable live view mode

2. Enable live view mode

Move your subject into position and enable Live View; this is invaluable when working in such a controlled environment. Squinting through the viewfinder to set focus is a painful process, whereas Live View will allow you to zoom in to specific areas for more accuracy.

  • 5 essential photography filters (and why you can't live without them!)
Page 3 of 21
Page 3 of 21
3. Switch to manual

3. Switch to manual

To ensure the exposure remains the same for each shot, set Manual mode and the optimum aperture of your lens, usually f/8-f/11. Don't be tempted to select a really narrow aperture to reduce the amount of shots required as diffraction will soften your images.

  • How to take manual control of your camera
Page 4 of 21
Page 4 of 21
4. Focus... and repeat

4. Focus... and repeat

Switch your lens to manual focus (MF). Zoom in to 5x magnification and twist the focus ring until the closest part of your subject is pin sharp.

Fire a shot, twist the focus ring a fraction, take another shot. Repeat until you've focused/shot the furthest point of your flower.

Page 5 of 21
Page 5 of 21
5. Subject

5. Subject

Your subject needs to remain static. Some work better than others due to the complexity of their structure. Smooth, simple objects won't require as many shots. Subjects with overlapping layers will prove much trickier.

  • 77 photography techniques, tips and tricks for taking pictures of anything
Page 6 of 21
Page 6 of 21
6. Light source

6. Light source

A north facing window, offering plenty of diffused light, is ideal. Pop a reflector on the opposite side to bounce light back into the shadows.

If the light is flat, a constant light source, such as an anglepoise lamp, will also work.

Page 7 of 21
Page 7 of 21
7. Composition

7. Composition

It's important to compose slightly wider than what you want the final composition to be as, when you blend your images in Photoshop, you will need to crop out the overlaid areas towards the edges of the frame.

Page 8 of 21
Page 8 of 21
8. Focus overlap

8. Focus overlap

To ensure you get a sharp end result you'll need to overlap the plane of focus for each shot. Make use of the 5x and 10x magnification function in Live View to ensure you don't miss a section when shifting the focus.

  • How to take food photos
Page 9 of 21
Page 9 of 21
9. Cropping

9. Cropping

We mentioned that you should compose slightly wider than you want the final image to be. This is because the Auto-Align Layers command may rotate some frames marginally during the alignment process and you will need to crop in to remove the uneven edges.

We suggest cropping your image after running this command, before using the AutoBlend Layers command.

Page 10 of 21
Page 10 of 21
10. Open your images in Raw

10. Open your images in Raw

Transfer your stack of images (we took 30 shots) onto your computer and save them in a new folder. Open them into Photoshop; if they are Raw files, as ours are, they will automatically open into Adobe Camera Raw so you can make some Raw adjustments.

Page 11 of 21
Page 11 of 21
11. RAW adjustments

11. RAW adjustments

With the topmost image highlighted, scroll down to the bottom image and shift-click it to select all the images. Now any exposure tweaks you make will be applied to all images simultaneously – saving time, as they're slight variations of the exact same shot.

Page 12 of 21
Page 12 of 21
12. Save as JPEGS

12. Save as JPEGS

Merging a large number of files will take a long time, so, to speed up the process, click the Save Images button to batch-convert them as JPEGs.

Set Destination to Save In Same Location, Format to JPEG, Quality to High and hit Save.

Page 13 of 21
Page 13 of 21
13. Load as layers

13. Load as layers

Click Done to exit Camera Raw. Moving to the main Photoshop editor, go to File>Open and select all the newly created JPEG files.

Go to File > Scripts > Load Files Into Stack, and click OK. This will open all the images as individual layers into one file.

Page 14 of 21
Page 14 of 21
14. Align layer

14. Align layer

Once loaded in Photoshop, select the topmost layer in the Layers palette, hold shift and click on bottom-most layer to select them all.

Go to Edit > Auto-Align Layers and ensure Auto is selected and hit OK. This will counter any slight movement between shots.

Page 15 of 21
Page 15 of 21
15. Blend layers

15. Blend layers

With all the layers still highlighted, go to Edit>AutoBlend Layers and ensure Stack Images and Seamless Tone and Colors are selected.

Photoshop will create a series of layer masks that reveal the sharpest bits of each layer, for a pin-sharp shot, from front to back.

  • How to use Photoshop to turn images into drawings
Page 16 of 21
Page 16 of 21
16. Check the focus

16. Check the focus

Photoshop isn't perfect and you may notice some areas it's missed due to misalignment. Locate the layer that has the area of sharpness you want to recover.

The quickest way to view them is by flicking through your sequence in Bridge or Lightroom.

Page 17 of 21
Page 17 of 21
17. Edit the masks

17. Edit the masks

Locate that layer in the Layers panel, drag it to the top of the stack, and click its mask to edit it. Paint with white to bring the area of focus back.

Repeat to other layer masks, if required. Reveal all layers and Hit Ctrl+Shift+Alt+E to create a merged layer.

Page 18 of 21
Page 18 of 21
18. Boost contrast

18. Boost contrast

Zoom in and scroll around the image, using the Spot Healing Brush tool to paint over and remove any imperfections.

Next, add a Levels adjustment layer to boost contrast by dragging the Shadows and Highlights sliders in to the edge of histogram and adjust the Midtones to balance the exposure.

Page 19 of 21
Page 19 of 21
19. Saturate and sharpen

19. Saturate and sharpen

Next, add a Hue/Saturation adjustment layer and increase the Saturation slider to boost the color. Create another merged layer and go to Filter > Sharpen > Unsharp Mask.

For our image, we set Amount to 66%, Radius to 2 pixels and Threshold to 2 levels to sharpen the finished image.

Page 20 of 21
Page 20 of 21
20. Just add water

20. Just add water

If you choose to photograph a flower that doesn't have an overly complex structure and a flat-looking bud, jazz it up by spraying water on it for a different effect. We did this with a bright pink Gerbera to add more interest and detail to the final image.

You can pick up spray bottles from DIY, gardening shops or even your local supermarket for a few quid, if you don't have one.

  • 52 photography projects: a photo idea to try every week of the year
Page 21 of 21
Page 21 of 21
Hollie Latham
See more Camera How Tos
Read more
Closeup of a dew covered flower alongside the lens it was taken with, the Sony FE 100mm F2.8 Macro GM OSS lens
‘Transcending the limits of traditional macro photography’ – Sony unveils its first ever pro-level G Master macro lens
 
 
The OM System OM-1 camera on a wooden table
Photography and hiking are my idea of a dream weekend – this is the perfect camera system I take into the great outdoors
 
 
JustTap Magnetic Phone Tripod
The iPhone 17 Pro’s powerful camera array demands respect, and these MagSafe phone accessories are the perfect companions
 
 
From left to right, the Blurb front cover is noticeably more vibrant and detailed, whereas the detail has been lost on the much darker result of the Snapfish front cover.
The best photo book services, all tested and compared by our experts
 
 
OM System M.Zuiko Digital ED 50-200mm F2.8 IS Pro lens attached to an OM-1 II, outdoors with long grass in the background
Forget full-frame – OM System's latest telephoto zoom proves that Micro Four Thirds is a top choice for macro and wildlife photography
 
 
Apple iPhone 17 Pro Max REVIEW
iPhone 17 lineup photography specs explained: Fusion Camera, Center Stage, and 48MP mode
 
 
Latest in Photography
A brown hyena walks by a ruined building at night, illuminated by artificial light
And the winning Wildlife Photographer of the Year 2025 image was taken with... an eleven-year-old Nikon DSLR
 
 
Two phones on a blue and green background showing the Photopills app planning page for the Perseids meteor shower
How to watch and photograph tonight's Perseid meteor shower
 
 
The cover of TechRadar's Papier photo book, featuring a tree in front of an aurora.
Papier Photo Book review: a simple-to-use photo book service, but it offers limited layouts
 
 
Tim holding a Leica
I'm a photographer and went screen-free for a week – here's how it changed my photography experience
 
 
Images of Luminar Photo Editor in action
Tired of clunky mobile editing? Here’s the AI fix photographers love
 
 
Leica Monopan 50
After 100 years making cameras, Leica finally unveils its first-ever 35mm film – the surprisingly affordable Monopan 50
 
 
Latest in How Tos
Acer’s Swift laptops deliver performance and portability to fit any budget
How to turn a Windows 10 laptop into a Chromebook
 
 
Elvis Merzlikins #90 of the Columbus Blue Jackets makes a save in the second period during the game against the Pittsburgh Penguins at PPG PAINTS Arena on September 27, 2025 in Pittsburgh, Pennsylvania.
NHL 2025/26 - Stream it *FREE* with these trial offers
 
 
BBC Celebrity Traitors Image
The Celebrity Traitors UK LIVE: how to watch, free streams, live updates, Episodes 2 & 3
 
 
Luke Littler of England smiles during the Final match between James Wade of England and Luke Littler of England on day nine of the 2025 Betfred World Matchplay at Winter Gardens on July 27, 2025 in Blackpool, England.
How to watch PDC World Grand Prix of Darts 2025 online: free live streams, schedule
 
 
 Matthew Tkachuk #19 of the Florida Panthers celebrates with the Stanley Cup after defeating the Edmonton Oilers in Game Six of the 2025 Stanley Cup Final at Amerant Bank Arena on June 17, 2025 in Sunrise, Florida.
How to watch NHL 2025/26: live stream every game, TV channels
 
 
Xbox Game Pass
How to cancel Xbox Game Pass on PC, console, and the app – a step-by-step guide to ditching the service if you've had enough of the price rises
 
 
LATEST ARTICLES
  1. 1
    M6 MacBook Pro tipped to get touchscreen OLED redesign next year – and the idea is already splitting opinion
  2. 2
    Amazon has a ton of cheap tech on sale – here are my 17 favorite deals from $8.99
  3. 3
    The Samsung tri-fold phone is tipped to finally appear in public later this month
  4. 4
    Team Ninja founder Tomonobu Itagaki has passed away at 58, but his impact on the gaming industry should not be forgotten
  5. 5
    New Apple TV and Peacock bundle is the perfect choice for NBA season – here’s how to get it

TechRadar is part of Future US Inc, an international media group and leading digital publisher. Visit our corporate site.

  • About Us
  • Contact Future's experts
  • Contact Us
  • Terms and conditions
  • Privacy policy
  • Cookies policy
  • Advertise with us
  • Web notifications
  • Accessibility Statement
  • Careers

© Future US, Inc. Full 7th Floor, 130 West 42nd Street, New York, NY 10036.

Please login or signup to comment

Please wait...