Focus stacking can be accomplished by aligning and combining the individual photo layers in Photoshop, however the best results are achieved using a software program called Helicon Focus which is designed for this specific purpose.
|A total of 15 images with focus beginning on the front edge of the table and progressing with each successive shot to the area with furthest detail. Click here to download a high res version of this image.|
|Heirloom tomatoes with basil, sea salt, and olive oil -- a total of 18 separate exposures, each shot at f/5. 6 with a Nikon D800 and combined with focus stacking in Helicon Focus. Click here to download a high res version of this image.|
Focus stacking in Photoshop is a simple process, but the outcome is not nearly as complete as it is using Helicon Focus. In Photoshop bring all of your images as new layers stacked on top of one another. Then select all of them and go to Edit -> Auto-Align Layers. After that step ends, go to Edit->Auto-Blend Layers. The blending technique is similar to Photoshop's automated panorama assembly process. The results will probably leave some out of focus areas that you will have to tweak manually. That is because the masking method Photoshop uses for combining its layers is not as specifically geared to isolating areas of sharp focus, as is the Helicon Focus software.
|Helicon Focus works buy stacking each focus layer with a series of layer masks like the one shown on the bottom of this screen capture. On the upper right is a list of the images being combined with the current one highlighted.|
|This photo is composed of 16 separate exposures with focus points beginning along the front edge of the table and ending on the back edge. They were combined in Helicon Focus to create one photograph with everything in focus.|
Click here to download a high res version of this image.
|Beginning focus point.|
|Ending focus point. There were 16 separate images in all, each focused at a different spot between the two shown above. The exposure for each image was f/5.6.|
|The bottom half of the screen shot of Helicon Focus shows the completed, stacked image.|
|This scenic photo above is a combination of 23 progressively focused images. Combining them required a bit of tweaking because of the moving water in the stream and the leaves blowing on the trees. Click here to download a high res version of this file.|
|Sometimes you need to use trial and error to determine the exact aperture and the increment between the focus layers. In the close up photo above you can see a soft halo effect from a residual soft focus area around the sharper part of the leaf. Click here to download a high res version of this file.|