• About
  • Write For Us
  • Contact
  • Top 50 Photography Blogs
  • Resources
  • Forum

IndustryDev

  • Design
    • Photoshop
    • Lightroom
    • Camera Raw
    • Bridge
  • Development
    • HTML
    • CSS
    • Javascript
    • PHP
    • Dev Tools
    • WordPress
  • Photography
  • Blogging
  • Technology
  • Inspiration
You are here: Home / Photoshop / How to Focus Stack Your Images For Better Photography

How to Focus Stack Your Images For Better Photography

January 26, 2019

This is a very exciting post to share with you. Believe it or not, I’ve actually been having multiple conversations with various people lately on the topic of depth of field as it pertains to photography. Basically, the conversations go something like this:

THEM: I would love to solve the issue of not being able to take sharp photographs, from front to back.

ME: What do you mean? Can’t you just reduce your aperture size so your depth of field is very deep?

THEM: Well, that would work in theory, but sometimes I’m too close to something and the depth of field becomes shallow because of that. Also, I like large apertures because of all the light and clarity I’m able to capture. I feel like I’m being hamstrung because of some sort of limitation.

ME: You are. There’s only so much you can accomplish with your camera. There’s always going to be a trade-off. That’s what post-processing it for. Don’t worry, I’ll soon write a post that will solve all your problems.

You see? It’s that easy. Basically, because of the limitations of how cameras and lenses work, it’s not always possible to take crisp, clear photos that are sharp from front to back. Actually, it’s nearly impossible, unless you’re a decent distance away and are focusing on infinity. But really, a lot of the time, people want to take photos of things that are up-close and would like the entire image to be sharp. Unfortunately, that’s just not possible, even if you set your aperture to a very small size, such as f/18 or even smaller. So what to do?

In today’s post, I’m going to share a technique that top photographers use when they’re in situations like the one I described above. Since these photographers understand the capabilities of their cameras as well as how their cameras actually work, they prepare ahead of time. They bring the necessary gear to the location of their shoot and they capture photographs that they’ll use later on to create the perfect image. The best part is, the technique I’ll show you today is so easy, pretty much anyone can do it, granted they have the necessary software. You’re going to love it.

Down below, I’ll talk about taking multiple photos of the same scene while focusing on different planes of the scene, so you capture each plane in focus. After that, I’ll explain how to modify those images in Adobe Camera Raw and then how to import them into Photoshop as layers. Finally, I’ll show you how to use the Auto-Blend Layers command in Photoshop to “stack” the photos so only the sharp sections of each shows in the final image. Again, you’re going to love this technique because it’ll allow you much more flexibility in your photography. Imagine not having to worry so much about the exact perfect shot every single time you press your shutter button because you know you’ll be able to merge a few different ones later on. It’s liberating, to say the least.

Capturing The Images

Okay, what I’m going to discuss today will be about taking photographs of objects that aren’t moving. Think flower photos or macro photography. A shoot you’ll need a tripod for because trust me, you aren’t going to be able to pull this technique off holding the camera in your hands. You need your camera to be absolutely still and if you have a remote shutter, you might want to use it. Your subject needs to be stationary as well. For my example, I took some pictures of a few bottles of hard cider I recently purchased for a recipe I was preparing. I had to think of something I could scatter on a table and these bottles came to mind. They worked out well enough.

To take the photos, I set my camera to Aperture Priority mode. Then, I set the aperture to f/4.5 because that’s as wide as my lens allows. I set the camera on a tripod and then made a few adjustments so the scene looked good. Overall, I took five photos. I began by focusing on the front bottle and then for every one after that, I focused on the second bottle back, the third bottle back and so on. Here are the five images. Please note the focal points of each.


First Bottle

Second Bottle

Third Bottle

Fourth Bottle

Fifth Bottle


To alter the focus, I used the magnify feature on my camera and then focused that way. I also use back button auto focus, so that was helpful as well. My goal was to capture multiple images that were taken with different focal distances that will ultimately give me a resulting image that displays a far greater depth of field than any one image in particular.

Enhancing the Images in Adobe Camera Raw

This is just a bonus section, as it has nothing to do with the process of focus stacking. But, since we all want our photos to look as good as possible, I figured I’d add it in. Basically, I selected all five photos inside of Adobe Bridge and then opened them up in Camera Raw. Once there, I edited the first one and then copied those edits to the others. When I was finished and when I thought the photos looked appealing, I pressed the Done button in Camera Raw to return to Bridge. I’ll leave links below for each of these steps.

How Can I Open Multiple Photos From Adobe Bridge Into Camera Raw?

How To Edit More Than One Photo at a Time in Adobe Camera Raw

How To Make A Photo “Pop” With Adobe Camera Raw

Loading the Photos as Layers into Photoshop

So far, I’ve taken the photos with different focal distances and I’ve cleaned them up in Camera Raw. The next step is to move them into Photoshop. The thing is, I would like each of the five files I’ve got to load into the same file in Photoshop as individual layers. There are multiple methods for accomplishing something like this, but I’ll show you the easiest. To move these photos from Adobe Bridge into Photoshop as layers, I’ll select all five image thumbnails in Bridge. Then, I’ll head up to the Tools > Photoshop > Load Files into Photoshop Layers and click. After a bit of working, Photoshop will open up and each of the photographs will be in their own layer. For a more thorough description of the process I just described, please take a look at the first part of this post.

Here’s a screenshot of the Layers panel in Photoshop with the images as layers.

Layers Panel in Photoshop

Auto-Blending the Layers

The next step is to blend the photos together, so a spectacular overall image is formed. I’ll go ahead and select all five layers in the Layers panel and then head over to the Edit > Auto-Blend Layers menu item and click.

Edit > Auto-Blend Layers Menu Item in Adobe Photoshop

When I do that, the Auto-Blend Layers dialog box will appear. In that dialog, I’ll choose the Stack Images option as well as the Seamless Tones and Colors and Content Aware Fill Transparent Areas options.

Auto-Blend Layers Dialog

Stacking the images is the primary operation I’ll be performing. I’ll choose the seamless tones and colors option because I used Aperture Priority mode when shooting, and due to that, my camera changed some of the other settings as I focused differently on the various areas of the scene. They’re slightly varied in their brightness levels. Also, Photoshop will auto-align the images during this process because, again, I wasn’t in full Manual mode when I shot the scene. And finally, because there may be some shifting of the layers due to the alignments that may be necessary, Photoshop will fill any gaps with content.

When I’m ready to go, I’ll click on the OK button.

The Final Result

After pressing the button, a few seconds will pass and then the process will be complete. Let’s take a look at the Layers panel now.


Final Layers Panel After Blending Images in Photoshop

Do you see what I see? Masks. Essentially, Photoshop has analyzed each layer and masked out any areas that aren’t sharp. It kept the areas that are sharp and combined them to form one complete image. Let’s take a look at each individual layer to see what went on. I’ll start with the bottom layer (the one where I focused on the bottle all the way in the back) and then I’ll work my way forward.

Fifth Final Layer

Fourth Final Layer

Third Final Layer

Second Final Layer

And here’s the final image composite.

Final Sharp & Blended Photograph

Pretty crazy, right? Do you see how the bottles are sharp from front to back now? And the best part is, the process is very simple. All you need to do is take the photos with varied focal points and then merge them together in Photoshop. Photoshop does all the work, so it’s rather painless.

I hope I clearly explained how to capture multiple photographs with different focus points and then how to blend the images together in Photoshop for a sharp image overall. If you have any questions regarding this post or topic, please ask down below in the comment section or in the Photoshop discussion forum. Thanks for reading!


Related posts:

  1. How to Get the Sharpest Shots with Long Exposure Photography
  2. Photography Composition Tip: Simplify Your Images
  3. Use a Focus Rail For Better Macro Photography
  4. Canon Rebel T7i One-Shot Focus vs. Continuous Auto Focus
  5. When to Use Manual Focus Instead of Auto Focus with Your Camera

Filed Under: Photoshop

What’s Next? Email Updates!

If you enjoyed reading this post, why not consider signing up to receive others like it by email? It's so easy and you can unsubscribe at any time.

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Connect With Me

  • Facebook
  • Instagram
  • Pinterest
  • RSS
  • Twitter

Copyright © 2021 · IndustryDev.com Web Design & Photography Blog · About · Write For Us · Contact · Privacy / Terms · Sitemap