|Top Previous Next|
Focus stacking is a technique for increasing the depth of field by taking a series of photographs with different focus settings and then combining them together using the areas in focus from each image. This technique is useful for macro and close-up photography, landscapes, product photography and any other image where the depth of field is critical and the subject isn't moving.
The live view display in DSLR Remote Pro for Windows makes it very simple to automate the process of taking a sequence of images with different focus settings by running a script. There is no need to touch the camera and the mirror stays locked up during the sequence which minimizes the chances of camera shake or movement. Once the pictures have been taken they can be combined using free software such as CombineZM or commercial software like Helicon Focus (the example on this page was combined using CombineZM).
Image combined using CombineZM from a series of 40 individual shots shot taken with a Canon EOS 40D and Tamron 90mm macro lens set f/5. This is a full frame image which has been resized to fit on the page and shows the edge effects to the left and right of the image resulting in the text being reflected and also edge effects at the top and bottom. These can easily be cropped from the final image but it is worth noting that it is a good idea not to frame the image too tightly when taking the photos.
How to take the photos using DSLR Remote Pro for Windows
What do you need?
First mount the camera on the tripod, select manual exposure mode and compose the shot, roughly focusing the lens on the subject. Then connect the camera to your PC using the USB cable and run DSLR Remote Pro for Windows. Activate the live view on the PC by typing Ctrl+L and use the mouse wheel or cursor keys focus the lens on the nearest part of the subject. Finally, double click on the focus_stacking.ahk file to run the script to take the photos. DSLR Remote Pro's live view window will appear and a sequence of shots with different focus settings will be taken. Please don't touch you computer while the sequence is being taken otherwise it may not work properly.
By default the focus_stacking.ahk script will take 30 images. This can be changed either by editing the script using a text editor or by running the script from the Windows Command Prompt and specifying the number of images on the command line e.g.
Combining the images (or focus stack)
Run CombineZM and select "New" from the "File" menu. Locate the folder containing the images taken earlier, select all the images in the file open dialog and click "Open". CombineZM will load the images (this may take a few seconds). Then select "Do Stack" from the "Macro" menu to combine the image (this may take a few minutes). When it has finished the combined image will be displayed in CombineZM's main window. The image can be saved by selecting "Save Frame/Picture As" from the "File" menu.