Stacking Photos for Greater DOF in Photoshop
Text and photography copyright © Richard Higgins. All rights reserved.


Many photographers have used macro photography in their careers at one point, and a few have used it extensively. The one plague when shooting macro is the very shadow DoF (Depth of Field) that can cause a large portion of the subject to be out of focus. There are many techniques and methods discussed such as photo blending and photo stacking and many different methods discussed to get that perfect shot.

When shooting insects, photo blending and stacking techniques most of the time will not work. So you only have one chance to get a good shot and try to get much of your subject in focus as possible. Shooting flowers and plant life allow you to use these techniques and get great results, as long as the wind is not blowing. There’s one technique that I want to discuss in further detail, and that’s a photo stacking method that some photographers are not aware of. The photo image shown below is the same image shown above with this photo stacking method used. As you can see, everything is in focus from front to back.

For this discussion I will be using Photoshop CS6 and the steps taken to get the greater DoF many of us want.Here is some advice for getting setup for the shoot:

Now it’s time to take all the images you shot and place them in Photoshop. Here is a step-by-step photo stacking method I use:

  1. In Photoshop click on the File tab, scroll down to Scripts and select "Load files into stack" as shown in Figure 1
  2. When the Load Layers opens, click on Browse and locate the photos you want to include. Check the box below "Attempt to Automatically Align Source Images" as shown in Figure 2 and then click ok. Photoshop does an excellent job in aligning your images, this may take a few minutes.
  3. Here is a screen shot of what will be displayed in Figure 3
  4. Highlight all photos displayed on right as shown in Figure 4
  5. Click on the Edit tab and scroll down to "Auto-Blend Layers" and click that as shown in Figure 5
  6. The Auto Blend Layers dialog box will open, select "Stack Images" and make sure the "Seamless Tones and Colors" box is checked at the bottom as shown in Figure 6
  7. Photoshop will then convert each image into mask layers selecting parts of the image that are in complete focus, this may take a few minutes depending on the number of images as shown in Figure 7
  8. After this has completed, Photoshop will display your final image with everything in sharp focus that you shot
  9. Then select the "Layer" tab and "Flatten Image" at the bottom
  10. Then I personally save this image as a TIFF image, or you can save it any format you desire

I use Bridge to reopen the image into the Camera RAW Converter and do any cropping of the edge if needed and post-editing process like setting the White and Black Points, Exposure, and adjusting Contrast, Highlights, Shadows and other settings.

The final image shows a greater DoF than you can get with a single shot even at an aperture of f/22. There are other software packages out there that can be used like Helicon Focus and Helicon Remote that perform excellently for Focus Stacking.

Richard Higgins - NPN 3977

Comments on this instructional nature photography article? Send them to editor@naturephotographers.net.
Members of the Nature Photographers Network™ may log in and leave their feedback in the comments section below.

Richard Higgins has been a professional nature photographer for over 20 years. Living in Northwest Florida, he travels regularly around the country for stock and on assignment. Mr. Higgins has had his images have been featured in numerous books, magazines, newspapers and has published articles worldwide.

Richard holds an advance degree in Physics and undergraduate degree in Wildlife Biology while studying in Colorado. He has won several rewards internationally on photographs he has taken. He also offers photo workshops and tours throughout Florida under his company’s name Nature’s Vision Photography. For further information, please visit www.naturesvision-photography.com