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
"With only a few hundred of these lenses still in existence, and the inability to get them serviced and repaired if damaged, one can only assume that finding one of these will only become more and more difficult as time goes on..."
Google's Pixel 2 might have the 'world's highest rated smartphone camera', but the phone's display is causing serious headaches for the company. From 'dull' colors to reports of burn-in and blue tint, some troubling reports are haunting the tech giant this week.
The WiBotic PowerPad is a three-foot by three-foot landing pad that, according to its makers, is capable of charging almost any drone wirelessly.
Hear what Adobe director of product management Tom Hogarty and Lightroom product manager Sharad Mangalick have to say about the new Lightroom CC, and the future of Lightroom Classic CC.
Phase One has released a new, 15-preset Film Styles Pack for Capture One users that gives you a total of 45 different analog 'Styles' to choose from—33 in color and 12 in black & white.
"Everyone was wearing essentially the same outfits, doing the same poses, and felt like they needed 37 versions of each pose. As irritated as I was by this, it wasn’t what annoyed me the most."
With features like full-sensor-width 4K recording, Nikon has made its most video-friendly DSLR to date in the D850. That said, there's a difference between offering a feature and implementing it well.
If you're set on investing in a seriously capable compact, no doubt these two cameras will be on your list. Here's how they square up.
Adobe's experimental Project 'Deep Fill' is an incredibly powerful and impressive, AI-powered version of Content Aware Fill. Watch the demo to see this amazing tool in action.
LEE has released a new series of Reverse ND filters that are most opaque in the middle and become progressively clearer towards the top. This makes them ideal for capturing scenes where the sun is close to the horizon.
A former New York Times photographer is suing both the newspaper and its photography director Michele McNally for over $500,000 for age discrimination and unfair classification as a freelancer for nearly a decade.
"CPS Platinum members will now enjoy next-day service, with equipment serviced and shipped the business day after an estimate is approved. For repairs that will take longer, Canon will offer next-day loaner equipment."
Irix is introducing a new filter system called the Irix Edge 100. The ultra-light, ultra-thin system is build specifically for wide angle lenses like Irix's own 15mm F2.4.
After conducting a series of safety tests, the FAA is recommending that all airlines ban cameras and other electronics with Lithium Ion batteries from checked baggage. The agency believe the risk of a catastrophic fire and explosion is too great.
The Pixentu jackets keep you and your gear warm and dry, offering useful features like lens and tripod pockets, in addition to some quirky ones like an extended hood to protect your camera from the rain.
Adobe gave the audience at MAX a sneak peek at some exciting new technology its developing. It's called Adobe Cloak: a highly capable Content Aware Fill-like feature for video editors.
Earlier today, Flickr moved its photo book printing service over to a third party services, and stopped offering any wall art options entirely.
The patent details a flipping rear LCD screen so large, Canon has had to hide the rear dial and several buttons underneath.
We've added a selection of extra images to our Nikon D850 gallery. As part of the process of rounding off the review we made sure a number of us had shot the camera in a variety of situations, we've added those shots to the gallery to give a broad cross section of how the camera performs.
Wiral LITE is an affordable, easy-to-use cable cam system that can do things a portable slider simply can't do, and go places no slider would dare go.
Not happy with the recent demise of Lightroom as a stand-alone, subscription free service? Macphun's got your back... or they will in 2018.
Once connected to a PC, Mac, tablet or smartphone, Pholio automatically searches through the device storage and backs up all images and videos—complete with auto-tagging and intelligent search capabilities.
The 360 Round uses eight horizontally positioned camera pairs and one upward-pointing single lens to capture and livestream panoramic 4K 3D content.
Introduced just three years ago, the Samsung NX1 was both a technological tour-de-force and a great camera to use, earning one of the highest scores we've ever awarded and winning our 2015 Innovation Award. But its short-lived run in the photo world leaves us wondering what could have been.
The Fujifilm X-E3 is styled like a classic rangefinder, but features a built-in touchscreen, AF joystick, and electronic viewfinder – truly an old school meets new type of camera. Lay some eyes on our sample gallery to see how it performs in the real world.
Like it or not, Adobe is embracing a cloud-centric, AI-rich future with the introduction of Lightroom CC. And that's a great thing, though you may not see it now, argues Rishi Sanyal.
The announcement of a more cloud-integrated Lightroom product sees the death of the company's standalone version. This need to make payments in perpetuity (whether you choose Lightroom Classic or CC), chips away at the idea that your Lightroom library is a long-term solution, argues Richard Butler.
The XPro-C 2.4GHz wireless flash trigger that Godox released for Canon users last month now has a Nikon equivalent—the aptly named XPro-N. Sony, Fujifilm and MFT versions are in the works.
In the aftermath of hurricanes Harvey, Irma and Maria, camera and lens maker Sigma is extending its standard product warranty to cover damage caused by these three natural disasters.
The F4 Plus can can capture 360° stills, videos and broadcast livestream footage at 8K resolution... that's 7680 x 3840 pixels!