Focus Stacking in Macro Photography
2 Focus Stacking in Macro Photography
The second task is to combine (or stack) all the pictures from the series into one image. While there are lots of good stacking software out there, I’ve chosen to show how it’s done using Photoshop. It’s far from being the best in this department, but it is undoubtedly the best known editing program. Stacking might sound difficult, but Photoshop gives us automatic tools that make it surprisingly easy and fast.
I’ll show the process with a series of 4 images of a robber fly I’d like to stack. The series was taken with Canon's MP-E 65mm macro lens, at about 4X magnification and an aperture value of f/10. As is clearly visible, with these magnification and aperture settings, the depth of field in each image is, by far, too small for it to be useable on its own, at least if I want to show all the detail on this fly. Image number 1 is focused on the front of the fly’s proboscis, leaving its eyes (the part whose sharpness is the most critical in wildlife photography), the front of its head and everything else out of focus. Image 2 shows the hairs on the front of the face in focus, as well as those near the antenae. Image 3 and 4 have different parts of the eyes in focus. All in all, we have all the desired parts of the fly’s head in focus, each in different shots.
|Here are four images of a robber fly I’d like to focus stack. All shot at 1.3sec, ISO 100, f/10. Canon EOS 40D, Canon MP-E 65mm f/2.8 1-5X macro lens.|
To obtain the image series, I shot using a tripod and after every shot I gently changed the lens' focal distance, to get sharp focus on different parts of the fly's head: on the first image the proboscis is focused, and so on until the last picture is focused on the farthest body part I need focused. It’s very important to mention that I usually do not strive to have all parts of a subject in focus, even when I focus stack. The reason is that shots of tiny subjects all focused appear very strange to the eye and lack the “natural” macro look I desire. Therefore I usually leave a small part of the subject out of focus, to maintain a natural look.
Now we can start combining all the pictures into one.
There are a few ways of applying the stacking in Adobe Photoshop. I’ll show the simplest one.
We go to File -> Automate -> Photomerge and get the following menu:
In this menu we select the pictures we want to stack or a folder that contains them. We should also deselect the 'Blend Images Together' option. Next we press OK.
We have to wait for the operation to finish (the process duration depends on the number of pictures, their size and format and your computer's processing power), but when it does, we get a new Photoshop project with all the images arranged in layers and aligned in relation to one another. Photoshop compensates for slight movement and even for the difference in magnification resulting from focus shifting in extreme magnifications. Pretty impressive stuff.
By the way, if you find it more convenient, blending can be done manually in Photoshop by loading all the pictures into layers (with the Adobe Bridge software, for example), selecting all the layers and using Edit -> Auto-Align Layers. After that you can keep working as described.
When we have the stack series on different layers, all that’s left to do is to select all the layers and go to Edit -> Auto Blend Layers (making sure the 'Stack Images' option is selected), press OK and wait again.
When we apply auto layer blending, Photoshop detects the focused regions of every picture and unites the best-focused parts into one layered project. But now, the layers are masked to only show the focused parts selected by Photoshop. When we merge the layers, we get a focus-stacked image.
Usually, the result isn’t perfect. Sometimes you have to crop white edges resulting from automatic alignment or fix places where the software couldn’t recognize the layer it should have used, but after a few adjustments we can achieve a shots with a depth of field unobtainable in any other way. After stacking, we can apply all the post-processing we usually do on our macro images.
Some final notes:
- You might find that it’s better to change the focal point by moving the lens physically back and forth rather than using the focus ring. This is because changing the focal distance in extreme magnification ranges will affect subject magnification drastically, resulting in compositional changes across the series. Note though, that a focusing rail isn't always sturdy enough to allow sufficient stability in field conditions (especially when shooting at extreme magnifications), so use it with great caution. Nowadays, I personally prefer focus-shifting to using a rail, for both convenience and stability reasons. Photoshop’s auto align option makes up for all shifts in magnification and composition.
- One can rightfully think of focus stacking as an equivalent to the HDR technique, with focus bracketing instead of exposure bracketing. I agree, and consider these techniques to be members of the image-combination family, so prevalent in the digital photography process today. I even use both simultaneously in landscape photography, when very high contrast appears in conjunction with near and far subjects, requiring focus stacking.
- Many people ask me if I think focus stacking is 'natural'. I’ve thought quite a bit about this question, and I can now say that I do think it’s natural, at least as much as flash photography, high-ISO shooting or any other kind of digital photography technique is natural. Your camera sensor never sees like your eye does, and I suppose if the eye had the same close-focusing abilities as the macro lenses, it might have been able to see something close to the results we get through focus stacking.
For more information on macro photography take a look at Erez's other articles:
- The what and why of wildlife macro photography
- What we want in a macro shot - Detail
- What we want in a macro shot - Background
- What we want in a macro shot - POV and special scenes
- Macro photography: Understanding magnification
- Depth of Field in Macro Photography
- Composition Basics in Macro Photography
- Finding Macro Wildlife
Erez Marom is a professional nature photographer and photography guide based in Israel.
In July 2013, Erez will lead his 'Macro and More' Costa Rica workshop, where he'll share his techniques and experience to help you shoot incredible macro, wildlife and landscapes in one of the most fascinating and biodiverse locations on earth. See Erez' amphibian gallery here.
You can follow Erez on his Facebook page, 500px and deviantArt.
Wonder of nature: Eight winning photos from the 9th International Garden Photographer of the Year competition
Feb 21, 2016
Jan 23, 2016
Mar 17, 2016
Dec 1, 2015
|Global Reach by cjf2|
|Maligne Lake by Pete of Oz|
from - Mountain Lake - (Full Colours only + A Border)
Photographer Rick Wenner recently captured an odd event called the Race of the Gentlemen with a rather odd camera: The Phase One XF IQ3 Achromatic, the world's only 101MP black-and-white digital back.
Buying used is a good way to save some dough, and with the right precautions you can protect yourself from falling victim to a scam.
This two-part video series takes a deep dive into the world of dynamic symmetry and geometric composition, using iconic photographer Henri Cartier-Bresson's brilliant photographs as a guide.
Award-winning photographer Jeremy Cowart tells the moving story behind this drone photograph, captured in the aftermath of the devastating wildfire in Gatlinburg, TN in 2016.
Happy 2017 World Photo Day! We asked everyone on staff at DPReview to share one photo that they took within the last year that makes them jazzed on photography. Here's what we chose.
French President Emmanuel Macron has lodged a legal complaint against a paparazzo who snuck onto the president's private vacation property to take pictures.
Ever wonder what the difference is between compressed, uncompressed and lossless compressed Raw files? Photography Life's Nasim Mansurov breaks it down for you in this informative article.
The oldest known portrait of a US president was just discovered after over a century in storage. It's going up for auction in October, where it's expected to fetch between $150,000 and $250,000.
If you're using the popular Sigma 24-70mm F2.8 Art lens with Sigma's MC-11 converter, listen up: you'll want to update your lens and converter firmware ASAP.
If you've heard it once, you've probably heard it a thousand times: never check in your camera gear when flying. This shattered $11,000 lens is what can happen when you do.
Lensrentals just did its first Cine lens comparison, pitting five top-notch 35mm primes against each other: the Zeiss CP.2 35mm T2.1, Canon CN-E 35mm T1.5, Sigma 35mm T1.5 FF, Rokinon Xeen 35mm T1.5 and Schneider Xenon 35mm T2.1.
A team of Google researchers have found that slightly warping watermarks when embedding them into images can help prevent automatic removal.
You don't have to empty your savings account to take your photography to the next level. These cheap buys cost about $50 or less, and come with outsized benefits for your photography.
Joey L, Dani Diamond, Brandon Woelfel and Jessica Kobeissi go head-to-head in an episode of "4 photographers shoot the same model."
The latest flagship phone from Asus combines a 12MP 1/2.55" Sony IMX362 main sensor with a smaller Sony IMX351 chip for 2x zoom and a background-blurring portrait mode.
The company behind popular photo editor Picktorial 3 just released the X-Pack: a preset package that allows you to add Fuji's in-camera film simulation profiles to your RAF files in post.
Photoshop. GoPro. Every once in a while a product emerges that defines a category. And sometimes, it vanishes just as quickly as it arrived on the scene. This week's Throwback Thursday remembers the Flip, the pocket camcorder everyone had – until they didn't.
The Nokia 8's dual-cam combines the image data from a 13MP RGB sensor and a 13 monochrome chip for better detail, improved dynamic range and lower noise levels.
The company behind retail giant B&H Photo has agreed to pay out $3.2 million in monetary relief and back wages to settle a discrimination and harassment case from 2016.
After a popular Facebook teaser and some studio portrait samples, Godox has finally officially released the Godox A1 smartphone flash and flash trigger. Cheap, versatile and innovative, color us intrigued.
Canon’s EOS 5D Mk IV has won the European Imaging and Sound Association’s Professional DSLR of the Year award, making this the third year in a row that the brand has beaten Nikon to the top spot in the professional camera category.
A photograph and quote tweeted out by former president Barack Obama has officially become the most popular tweet of all time, receiving over 1.3 million retweets and 3.4 million likes.
Edward Weston was one of the most influential photographers of the 20th century, and in this episode of Advancing Your Photography we learn the extreme technique he used to capture one of his most famous still life photos.
Instagram just released a small update that will make a huge difference if you're active on the photo sharing app: threaded comment replies.
Venus Optics has announced the price and delivery date of the second lens to join its Zero-D line up: the 15mm F2 for Sony’s E mount. A lens they've dubbed, "the world's fastest 15mm rectilinear lens for full-frame."
Cinnac is a new social network for photographers that will help you separate your good photos from your great ones through a Tinder-like community-based rating system.
The Canon EF 35mm F2 IS USM is an understated jewel of a lens, and one that we've enjoyed on a variety of cameras since its release almost five years ago. Its relatively small size and image stabilization make it a versatile tool for a variety of photography - check out our sample gallery.
You don't need a fancy studio or tons of gear to capture the kind of classic product photography you see in magazines. In this video, Dustin Dolby shows you how to do it with just a couple of speedlights and some know-how.
The life-logging camera is trying to make a comeback. Say hello to FrontRow, a live-streaming enabled life-logging camera from Ubiquiti that hangs on a necklace like a pendant.
When a prospective client approaches you, don't just say "yes" right away. Here's a useful list of questions you should be asking before you decide to take the job and name your price.