I have recently found CS5 has a very easy process to make this happen. It is most useful on subjects with no movement. The images I used here were shot during a slight breeze and with low light. A higher ISO to be able to use a faster shutter speed would have made for a better finished product.
Camera settings:
- ISO 200, 1/50 second at f.11.
- It always helps to have a camera set on a sturdy tripod, with mirror lock up on and a cable release.
- Manual setting with the first image focusing on the foreground and the second focusing on the background.
- After making adjustments in on first image in Camera Raw, apply the same setting to the second image. Then select both images. To do this select your first image by clicking on the thumbnail. Then while holding the Ctrl button select each thumbnail to include. In my case I had only 2 images but you can use several images with varying focal point front to back.
- Select Tools>Photoshop>Load Files into Photoshop Layers.
- If as in my example you know there was movement in the subjects, select both layers by holding down the Ctrl button and clicking on all layers.
- Select Edit>Auto-Align Layers which will bring up a dialog box where you click on the Auto button, then OK.
- Now to work the focus blend magic you select Edit>Auto-Blend Layers selecting the Stack Images button and clicking the Seamless Tones and Colors box. Then click OK.