Skip to main content
Tech Radar TechRadar the technology experts
Sign in
  • View Profile
  • Sign out
RSS
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
  • 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 News
  • Computing
    • Laptops
      • Chromebooks
      • MacBooks
      • Windows Laptops
      • Gaming Laptops
    • PCs
      • Desktop PCs
      • Macs
      • Gaming PCs
    • Software
      • Windows
      • macOS
    • 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 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
      • Earbus & 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
  • More
Tech Radar Pro Tech Radar Gaming
  • Phones
    • View 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 News
  • Computing
    • View Computing
    • Laptops
      • View Laptops
      • Chromebooks
      • MacBooks
      • Windows Laptops
      • Gaming Laptops
    • PCs
      • Desktop PCs
      • Macs
      • Gaming PCs
    • Software
      • View Software
      • Windows
      • macOS
    • 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
    • Popular Computing Brands
      • Dell
      • HP
      • Lenovo
      • Acer
    • More from Computing
      • Computing Reviews
      • Computing Buying Guides
      • Computing Deals
      • Computing News
  • AI
    • View AI
    • AI Platforms & Assistants
    • OpenAI
    • ChatGPT
    • Gemini
    • Apple Intelligence
    • Claude
  • TVs
    • View 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
    • View Streaming
    • Entertainment
    • Netflix
    • Prime Video
    • Disney+
    • Apple TV+
    • HBO Max
    • Hulu
    • Paramount+
    • How to Watch
  • Fitness
    • View 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
    • View Audio
    • Headphones
      • View Headphones
      • Earbus & 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
    • More from Audio
      • Audio News
      • Audio Reviews
      • Audio Buying Guides
      • Audio Deals
  • VPN
    • View VPN
    • VPN Services
    • VPN Security
    • ExpressVPN
    • NordVPN
  • Cameras
    • View 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
    • 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
    • Home Brands
      • Dyson
      • Philips Hue
      • Ring
      • Shark
      • Ninja
    • More from Home
      • Home Reviews
      • Home Buying Guides
      • Home Deals
      • Home News
  • EVs
  • Browse
    • View Browse
    • By Type
      • News
      • Best
      • Reviews
      • Deals
      • Versus
      • How To
      • Opinion
      • Coupons
    • Popular Brands
      • Samsung
      • Sony
      • Microsoft
      • Apple
Tech Radar Pro Tech Radar Gaming
Trending
  • Best VPN
  • Back to school
  • Best laptop
  • ChatGPT
  • Nintendo Switch 2
  • NYT Wordle today
  • Best web hosting
Recommended reading
Google Pixel 9 Pro XL review camera
Google Pixel Phones Google Pixel 10 tipped to get a big upgrade for macro photography – and it could convince me to upgrade
Android Photography
Phones Supercharge your Android phone photography with my 5 easy tips
Three iPhones on a red and orange background showing the new Photoshop app
Software & Services How to focus on an object in Photoshop
iMicro Q3p fingertip smartphone microscope
Camera Accessories I tried a fingertip lens that claimed to gave my iPhone a 1200x zoom – but it won’t replace my microscope any time soon
The OM System OM-1 camera on a wooden table
Mirrorless Cameras Photography and hiking are my idea of a dream weekend – this is the perfect camera system I take into the great outdoors
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.
Websites & Apps The best photo book services, all tested and compared by our experts
PolarPro LightLeak Lens, 28mm, attached to a Nikon mirrorless camera
Camera Lenses Fabulous flare, light leak and dreamy soft edges – I tested PolarPro's unique lenses, and they’re so bad they’re good
  1. Cameras
  2. Photography

How to combine macro images for amazingly sharp photographs

How-to
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
Google Pixel 9 Pro XL review camera
Google Pixel 10 tipped to get a big upgrade for macro photography – and it could convince me to upgrade
Android Photography
Supercharge your Android phone photography with my 5 easy tips
Three iPhones on a red and orange background showing the new Photoshop app
How to focus on an object in Photoshop
iMicro Q3p fingertip smartphone microscope
I tried a fingertip lens that claimed to gave my iPhone a 1200x zoom – but it won’t replace my microscope any time soon
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
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
Latest in Photography
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
Northern Lights taken with the Nikon Z6 II
Missed the northern lights? Don't worry, scientists predict 50 years of intense activity – here's how to plan your next photo trip
Latest in How Tos
Puzzle pieces representing memory.
ChatGPT’s best hidden feature is a true game changer – here’s how to turn it on
Jonas Vingegaard riding ahead of the 2025 Vuelta a Espana
How to watch the Vuelta a España 2025: free streams, broadcaster info, race schedule
Dominic Solanke of Tottenham Hotspur celebrates scoring his team's second goal during the Premier League match between Tottenham Hotspur FC and Aston Villa FC at Tottenham Hotspur Stadium on November 03, 2024 in London, England.
Premier League 2025/26 Week 2 - Stream it *FREE* with these trial offers
Lego Masters Jr. contestants meet the judges during a construction.
How to watch LEGO Masters Jr. on Fox — it's *FREE*
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
OpenAI unveils GPT-4o
ChatGPT-4o is back - here’s how to use the older OpenAI model instead of GPT-5
LATEST ARTICLES
  1. 1
    Spotify is offering three months of Premium for free – here’s how to get it, plus 3 other ways to score a free Spotify trial
  2. 2
    Hate your smartphone photos? Google’s Pixel 10 could have your back – here’s how
  3. 3
    This chip designer you've never heard of reveals first thermodynamic silicon in a bid to reduce AI's unsustainable energy consumption
  4. 4
    The Pixel 10 just dropped 7 wild new AI tricks, and they'll make your current phone feel dumb – here's why
  5. 5
    Google releases the all-new Pixel Watch 4, and Best Buy already has a $200 discount

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...