Copy link to clipboard
Copied
So, I experimented a little with a macro lens, taking 6 photos of a flower, and then focus stacking them in Photoshop CC.
I was very dissappointed to find that parts of the image is blurred at the edges. Notice for instance around the leaf of the lilly, how there is a space of a few milimeters that is completely blurred. What to do?
/Jesper
That, unfortunately is plain optics. There is a transition area between two objects of different distances that a camera can't record things in focus. For example, when the leaf is in focus, the background is blurred. They the bg is in focus, the leaf blurs out into the bg. If you camera can't record a sharp image in that fine area, PS can't create it.
Chuck is right about the optical laws. No software can do anything about that, short of inventing sharp pixels where there aren't any.
But there is one thing that will at least reduce the problem. Instead of focusing the lens with the camera fixed, use a focusing rail to move the camera with fixed focus. The problem with focusing just the lens is that it changes the distance between lens optical center and subject. This changes the whole angle of view slightly. In addition, many lenses are so
...Copy link to clipboard
Copied
That, unfortunately is plain optics. There is a transition area between two objects of different distances that a camera can't record things in focus. For example, when the leaf is in focus, the background is blurred. They the bg is in focus, the leaf blurs out into the bg. If you camera can't record a sharp image in that fine area, PS can't create it.
Copy link to clipboard
Copied
Thank you Chuck, makes sense.
Well, that seems to be a bit of a setback with regard to focus stacking. I used a wide open aperture, F3.2 I think. Perhaps usung a higher DOF by increasing to, say, F8 could reduce the blur?
Copy link to clipboard
Copied
Yes, a smaller f-stop will help. I know some software like Helicon focus says to use a wide f-stop, but I've found that I get less that pleasant results. It all depends on what you're shooting. If you really want a bg to go blurry, then use a wide aperture. You might even try using both a wide and small aperture and see how that works. or do two stacks and blend them with mask.
Copy link to clipboard
Copied
I think you are missing the point of focus stacking. In this case, there would be two images available: one with the leaf in focus, one with the background in focus. The software selects the parts in focus, and masks out the parts out of focus, when stacking the images and creating the output.
I believe that in the OP's case, one problem is that the focus shifting was not fine enough (or there weren't enough images) to make sure that all elements of the composition appeared in focus in at least one image.
It could also be that Photoshop is very good but not great at focus stacking. As others mentioned, there are specialized software packages that do a better job.
Copy link to clipboard
Copied
Chuck is right about the optical laws. No software can do anything about that, short of inventing sharp pixels where there aren't any.
But there is one thing that will at least reduce the problem. Instead of focusing the lens with the camera fixed, use a focusing rail to move the camera with fixed focus. The problem with focusing just the lens is that it changes the distance between lens optical center and subject. This changes the whole angle of view slightly. In addition, many lenses are so constructed that focal length varies with focus distance. This is strictly a flaw, but so expensive to fully correct that it's usually not done.
If you move the whole rig, on a focusing rail, none of this happens.
Even more effective is a bellows system where only the camera body is moved, and the lens stays fixed. That's pretty specialized equipment, though.
A focusing rail can also be used to eliminate parallax error in panos, so it's a very useful investment.
Copy link to clipboard
Copied
As Dag said, camera rails are really nice - bellows even better.
Copy link to clipboard
Copied
Looking closely at your image , I'm not sure that this is a case of simple optics and no sharp pixels available. Go through and view each layer individually with the masks temporarily disabled and check if one of them is sharp in the circled area. Sometimes I find I have to tweak the masks a bit after focus stacking to address any small areas like this.
Dave
Copy link to clipboard
Copied
Photoshop also doesn't do the best job at stacking. It does have a hard time with areas of similar color and density with fine detail. I was shooting a job with hundreds of stacked images and PS was leaving blurred areas where there was good detail. I ended up buying Zerene Stacker, which did a much better job.
Copy link to clipboard
Copied