• bobn2panorama_fish_eye
    2 years ago

    I've been playing around with some focus stacking. Tried a few tools, mostly produced poor results or needed heavy adjustment after. Then I tried focus-stack. First time through with no fiddling it produced this:

    output.jpg

    This was 38 frames at f/16, 1/25s, ISO 500 on a Nikon Z6, with a Nikkor 50/1.4G on an FTZ with a 12mm extension tube.
    I was impressed, it's a command-line tool, but since it actually does the job, in the end a load simpler than quite a few of the GUI tools I tried.

    output.jpg

    JPG, 5.9 MB, uploaded by bobn2 2 years ago.

  • DonaldBpanorama_fish_eye
    2378 posts
    2 years ago

    did a great job. side note you have a couple of hot pixels.

  • 2 years ago

    Agreed with the first comment. I think the strategic dust and scratches camouflage any hot pixels!

    David

  • bobn2panorama_fish_eye
    2 years ago

    Thanks Don, got them spotted, will map them out.

  • bobn2panorama_fish_eye
    2 years ago

    That the catch with this close-up stuff. I went over it with an IPA wipe before taking the photo.

  • DonaldBpanorama_fish_eye
    2378 posts
    2 years ago

    no they are a pain shooting stacks and so is dust. i dont know why they move in a line ๐Ÿคจ

    Screenshot 2023-07-06 071848.jpg

    Screenshot 2023-07-06 071848.jpg

    JPG, 70.0 KB, uploaded by DonaldB 2 years ago.

  • fredkpanorama_fish_eye
    173 posts
    2 years ago

    I also played around with focus stacking a bit. A lot of the 'guides' don't really talk about how much cleanup work there is in a good stack.

    When I have time (if/when I retire?๐Ÿ˜Ÿ) I may give this one a go.

  • bobn2panorama_fish_eye
    2 years ago

    Geometry correction for focus stacking - same place in the original shots, get moved as the shots are corrected for stacking.

  • bobn2panorama_fish_eye
    2 years ago

    Which was why I was surprised that this one produced a result like this straight off.

  • DonaldBpanorama_fish_eye
    2378 posts
    2 years ago

    thanks. never knew what caused there inconsistancy throughout the image. had to clean my a74 sensor today it was so dirty ,cleaned it twice.
    did get a few good shots. took all day ,and then let the little spider free at the end of the session. bit out of practice and waiting for my new 10x to arrive.

    spider 1.jpg

    spider2.jpg

    spider2.jpg

    JPG, 15.0 MB, uploaded by DonaldB 2 years ago.

    spider 1.jpg

    JPG, 16.9 MB, uploaded by DonaldB 2 years ago.

  • JimStirlingpanorama_fish_eye
    196 posts
    2 years ago

    Thanks for the link to focus-stack , I have used a number of focus stacking options with various degrees of success or failure ๐Ÿ˜€ I will give this a try it looks promising. Would you not have got even better results using a more optimal aperture

  • bobn2panorama_fish_eye
    2 years ago

    Try focus-stack. I've only done one image with it - but nothing else I tried got it close to acceptable.

  • bobn2panorama_fish_eye
    2 years ago

    Interesting. Possibly I could have gone lower. Bare DOF wasn't a lot even at f/16, and I didn't know when I shot it exactly how much the Z6 would step each photo. Here's one member of the stack:

    _DSC5139.JPG

    _DSC5139.JPG

    JPG, 10.8 MB, uploaded by bobn2 2 years ago.

  • JohnSheehyRevpanorama_fish_eye
    549 posts
    2 years ago

    I haven't personally tried any focus stacking, but my guess is that ultimate sharpness must also be accompanied by very fine steps in focus distance, otherwise you can wind up with visible periodic functions of sharpness vs distance. Shallow DOF also makes a more abrupt beginning and end of focus, depth-wise. That may be desirable in some cases, but not in others. One could conceivably use a mix; fine steps with very shallow DOF over the middle range, with tapered f-numbers at the end of the range, like so:

    f/32
    f/16
    f/8
    f/4
    f/4
    ...
    f/4
    f/4
    f/8
    f/16
    f/32

    The higher f-numbers at the ends shouldn't soften any depths except their own, because the focus stacking software chooses the sharpest frame for any point on the subject.

    That might give a more natural look, when the range of focus does not cover a subject completely. Some of the examples I've seen of focus stacking show the focus starting or ending abruptly on a subject. Of course, if the range of focus completely engulfs the subject against a distant background, then there is no point in tapering the ends of the range.

  • bobn2panorama_fish_eye
    2 years ago

    You're right, John, of course ideally the f-number doesn't want to be the same for each shot. However, it would be a real pain adjusting it for each one. My Z6 has a stacking function which takes a burst racking focus as it goes. It doesn't allow to rack the aperture as well. Of course, if you were building a custom macro camera as @JimKasson is, then you could organise that.

  • JimKassonpanorama_fish_eye
    1738 posts
    2 years ago

    Maybe, but tricky. The lenses I'm using for macro mostly don't have electronically controlled diaphragms. At high magnification, you don't want to touch the camera or lens -- or even breathe hard if you're nearby -- during the exposure sequence.

  • IliahBorgpanorama_fish_eye
    976 posts
    2 years ago

    Take a few sequences, setting different apertures for each one?

  • bobn2panorama_fish_eye
    2 years ago

    You can put a stepper motor drive on the diaphragm ring ๐Ÿ˜‰
    Moving during the sequence might not be such an issue, since the frames need to be aligned and transformed to correct magnification differences as you focus anyway.