Easy Focus Stacking Technique Using Photoshop for Maximum Depth of Field.

Dave_W

The Dude
Focus stacking is a very easy way to produce an image with the maximum depth of field and doesn't require anything more than a copy of Photoshop.

First you need to set your camera up on a tripod and turn off auto-focus (and VR, if you have it). Now using the manual focus, bring the closest part of your subject into focus and release the shutter. Now gently move the focus ever so slightly forward and release the shutter again. (*Note - if you're doing this technique with a landscape photo you will not need to take as many individual photos as you will a macro stacking like the one I'm doing). Continue doing this process until you reach the furthest portion of your subject that you want to be in focus.

I use Lightroom and so I'm going to load my images from Lightroom to Photoshop, however, you can load these directly to Photoshop, if you prefer.

Starting with your photos in Lightroom, export them to Photoshop by highlighting the photos as shown below and into Photoshop


Untitled-2.jpg




Now that you're in Photoshop and all your photos that you want to blend together are present, go to Edit and pull down to Scripts and then to Load Files Into Stack...

Untitled-3.jpg





That will bring up a window that looks like this and choose the option Add Open Files

Untitled-4.jpg





Now you will see all your files listed in the window. *Be sure to check the option "Attempt to Auto Align Source Images" and then click Okay

Untitled-5.jpg




It will then churn through your images and you'll see something like this below as it's working through your photos

Untitled-6.jpg




In the end you'll have all the images in one file. Note that all your images can be seen on the right hand window.

Untitled-7.jpg





Now highlight all the image layers on the right so they're all grayed as shown below

Untitled-8.jpg




Then with the layers highlighted go under Edit and pull down to "Auto-Blend Layers..." option

Untitled-9.jpg




When you choose the "Auto-Blend Layers..." option it will bring up a window like this one below

Untitled-10.jpg




Choose "Stack Images" and press "Okay". It will blend the images together while masking portions that are not in focus. Giving you something like this below

Untitled-11.jpg




Now to convert your layers into a single image go to "Layers" and pull down to "Merge Layers" as shown below

Untitled-12.jpg




And now you have a single image file of all your blended images in one place as shown below

Untitled-13.jpg



And Viola! You have a single image with a very large depth of field. Pretty easy, huh?
 

Attachments

  • Untitled-1.jpg
    Untitled-1.jpg
    100 KB · Views: 1,428

AxeMan - Rick S.

Senior Member
Like to add that if you find an area that is out of focus and you want it in focus, find the layer that your out of focus area is in, then you can go in and edit the layers mask and "paint" in the focus. This is done better at 1:1 and before you flatten your image

Thanks Dave!
 

Dave_W

The Dude
Interesting! I didn't think about that aspect but sure, that would work very well. You know, I can't help but marvel at all the different things that Photoshop can do, most of which we, as photographers, never even scratch the surface of. I've been re-reading my CS6 books in an effort to incorporate more PS in my work flow. So much power in that program that goes unused.
 

BackdoorArts

Senior Member
I'm assuming when you're done you just save it as a new tiff/jpeg file correct? Given that the original files are somewhat useless on their own you're not looking to preserve anything, so merging the layers isn't "destructive" as much as it is "constructive", but I suppose you could simply save the object unmerged for later tweaking if you want and then just export the image file from that, allowing you to adjust after the fact if you notice something you didn't necessarily like.
 

Marcel

Happily retired
Staff member
Super Mod
Wow Dave, I never thought PS could do "auto blend". I tried to mask by hand and it ended up as a mess, so I kind of stopped my experiments with focus stacking.

Your blog opens many opportunities for me.

Thanks a million!
 

stmv

Senior Member
and you did an excellent job of providing a step by step procedure.. I just redid a manual one effort form last week using the batch,, faster.
 
Top