ShareThis

Friday, August 21, 2009

Diffraction Softness and Focus Stacking

There are a few softwares for focus stacking. CombineZ is a great focus stacking freeware that you can use to merge the in-focus areas of different images with same FOV (but different DOF zone) in order to achieve bigger DOF (Depth of Field). I have only used it in macro photography/macro images but I am sure it can be used in landscapes as well.

You can also use CS4/5/6 for focus stacking. File - Scripts - Load files into stack. Once the images are aligned, highlight all the layers, then Edit - Auto Blend Layers. Be sure to check your images for any stacking artefacts.

Other stacking softwares you might want to consider are Zerene Stacker and Helicon Focus.

DOF is like real estate in macro photography, especially so when you go into higher magnification!

In macro,

DOF = 2 N c x [ (m+1)/m^2]

N - f number, c - circle of confusion, = 0.018mm for aps-c, m - magnification

Let's say we shoot at F11 at 1X, the DOF = 2 * 11 * 0.018 [ 2/1] = 0.792 mm

At 2X and F11, DOF = 0.297 mm

At 3X and F11, DOF = 0.176 mm

At 4X and F11, DOF = 0.123 mm

At 5X and F11, DOF = 0.095 mm

However, according to the DOF table in the MPE65 booklet:

At 1X and F11, DOF = 1.584 mm

At 2X and F11, DOF = 0.594 mm

At 3X and F11, DOF = 0.352 mm

At 4X and F11, DOF = 0.247 mm

At 5X and F11, DOF = 0.190 mm

You might notice that the DOF numbers in the booklet are two times the values i calculated using the DOF equation.  Probably has something to do with pupil magnification? http://en.wikipedia.org/wiki/Depth_of_field

Can we use big F number to get big DOF?

To make matter worse, you know you can't shoot at F11 beyond 3X. The diffraction softness will be so pronounced that it severely compromises the image sharpness!


I photographed the scroll wheel of my mouse with the MPE65 at 2X. First at F9 (left), then F16 (right). After that, I did a 100% crop as shown by the yellow boxes above. You can see the 100% crop images below.

Compare the image on the left (F9, 2:1) to the one on the right (F16, 2:1). The image on the right is obviously very very soft (not out of focus) due to diffraction.


Note: at 1X, i sometimes shoot at F16, which gives me a DOF of 2.240 (as opposed to 1.584 at F11 -
that's a huge difference!!!) with reasonable sharpness. However, it all depends on your personal preference and tolerance on DOF vs Diffraction Softness. You can't have both. You need to choose a balance that you can live with.

When the subject is willing and you're up for a challenge, you can try taking multiple shots for focus stacking. Focus on different DOF planes of the subject, provided the subject is stationary and you don't change the FOV much.

I was lucky with this handsome jumping spider as it allowed me to take four shots of him up close.

Notice all four images have different DOF planes..ie focused at different planes of the jumping spider

All images taken with a Canon 40D, Canon MPE65 1X-5X Macro Lens and Canon MT24EX Twin Flash.

IMG_7647stk1 copy

IMG_7648stk2 copy

IMG_7649stk3 copy

IMG_7650stk4 copy

You can try to stack these manually in Adobe Photoshop by using layer mask and selectively reveal the in-focus areas but it's quite a chore when there are too many donor images. Luckily, this can be automated using Focus Stacking software such as CombineZ

Just go File - New, then select all the images for focus stacking. Then Macro - Do Stack and wait.

Once it's done, just go File - Save Frame/Picture As. Pay attention to the edges as CombineZ almost always adds canvas the the frame, which needs to be cropped off. Also check for other stacking artifacts like halos, duplicated hairs etc.

Here's the outcome.

IMG_7647890stk copy

Auto Focus stacking can be done in CS4 as well but i've never tried that so i can't comment much on that.

You should also try manual focus stacking in Adobe Photoshop. It's really easy once you get the hang of it. There is a tutorial here.

Other examples of stacked images:

Green crested lizard, Bronchocela cristatella. Stacked from 9 natural light, handheld shots.
green crested lizard focus stacked IMG_0598stk copy

Jumping spider, stacked from 2 images in CombineZP:
jumping spider focused stacked IMG_7440 7441 stk edited copy

Dragonfly, stacked from 2 images:
dragonfly focus stacked IMG_3058stk copy

LinkWithin

Related Posts with Thumbnails