Author Topic: Focus stacking gone awry  (Read 1609 times)

Ian Watson

  • NG Supporter
  • **
  • Posts: 561
Focus stacking gone awry
« on: July 28, 2023, 01:24:29 »
Good evening everyone,

I found this example of hymenoptera on the patio. It was deader than the parrot in a certain Monty Python sketch. So I decided to try stacking focus. One lesson learned is that one has to be more careful with distance. A Micro-Nikkor 105mm f/4 with PN-11 extension tube should have worked closer if I had done so. This image was cropped to compensate.

My main question, though, is what is causing the artefacts you can see? I checked and nothing moved between all 21 frames. Is this a demonstration of the limits of Photoshop for this sort of thing?

Birna Rørslett

  • Global Moderator
  • **
  • Posts: 5583
  • A lesser fierce bear of the North
Re: Focus stacking gone awry
« Reply #1 on: July 28, 2023, 08:00:08 »
You need a better stacking software. Zerene or Helicon Focus are better options. Your dead parrot oops fly  should be an easy target.

Do note that stacking mercilessly exposes minor flaws with the individual frames.

Ian Watson

  • NG Supporter
  • **
  • Posts: 561
Re: Focus stacking gone awry
« Reply #2 on: July 29, 2023, 02:21:00 »
Thanks for the advice, Birna. I shall investigate.

Ian Watson

  • NG Supporter
  • **
  • Posts: 561
Re: Focus stacking gone awry
« Reply #3 on: August 17, 2023, 22:57:02 »
Here is the result of running my frames through Zerene Stacker. It was my first time using the software and is a simple PMax output. The artefacts that Photoshop introduced have gone but detail in the body seems less clear. I must tinker further.

pluton

  • NG Supporter
  • **
  • Posts: 2687
  • You ARE NikonGear
Re: Focus stacking gone awry
« Reply #4 on: August 18, 2023, 07:22:23 »
Cool shot.  I'm not an expert on Zerene having only used the free trial, but could there have been camera or subject movement between exposures?
Keith B., Santa Monica, CA, USA

Birna Rørslett

  • Global Moderator
  • **
  • Posts: 5583
  • A lesser fierce bear of the North
Re: Focus stacking gone awry
« Reply #5 on: August 18, 2023, 11:01:26 »
Many times, the Dmax algorithm provides better results in Zerene .... PMax might exacerbate image noise in the quest for better rendition of overlapping fine details.

Ian Watson

  • NG Supporter
  • **
  • Posts: 561
Re: Focus stacking gone awry
« Reply #6 on: August 18, 2023, 22:46:54 »
Birna, thank you for the tip!

Keith, I am sure that the camera did not move. The subject apparently didn't, as far as I can tell.

Reading some of Zerene's documentation, I had a hunch. The software apparently does not mind whether it stacks from front to back or vice versa. What if a rookie photographed from front to back and then forward some in case he missed a few spots? Would that cause trouble? It turns out that it would! Here is the result using DMax on the frames that start at the front and stop at the back.


Birna Rørslett

  • Global Moderator
  • **
  • Posts: 5583
  • A lesser fierce bear of the North
Re: Focus stacking gone awry
« Reply #7 on: August 19, 2023, 00:20:09 »
The retouching tools of Zerene can come in handy .... sometimes the DMax version might be overall better, but  overlapping details can fail to render satisfactorily. Then try brushing in from the PMax version, using a small brush size. 

Never go back and forth with focus in a single stack.

bobfriedman

  • NG Supporter
  • **
  • Posts: 1263
  • Massachusetts, USA
Re: Focus stacking gone awry
« Reply #8 on: August 20, 2023, 16:12:28 »
I start with PMAX and then use DMAX for corrections/retouching.. sometimes it is best to use a process called slabbing to isolate certain problematic areas for use in retouching.

generally it is best to isolate the subject relative to the background.. so I would recommend using a pin or needle in the thorax to orient the specimen from the background.

here is an example from years ago.. at 2x mag  https://pbase.com/bobfriedman/image/160249699
Robert L Friedman, Massachusetts, USA
www.pbase.com/bobfriedman

Michael Erlewine

  • Close-Up Photographer
  • NG Supporter
  • **
  • Posts: 2067
  • Close-Up with APO
    • Spirit Grooves
Re: Focus stacking gone awry
« Reply #9 on: August 20, 2023, 17:00:23 »
I have extensively used Zerene Stacker. I alwasy do both PMax and DMax, and then use the DMax image and touch up with PMax for details. Most artifacts can be fixed with a little work. DMax has the color, PMax the finer details. Together, they work well, IMO.

A stacked photo with the NOCT 95.


Grew these indoors myself.
MichaelErlewine.smugmug.com, Daily Blog at https://www.facebook.com/MichaelErlewine. main site: SpiritGrooves.net, https://www.youtube.com/user/merlewine, Founder: MacroStop.com, All-Music Guide, All-Movie Guide, Classic Posters.com, Matrix Software, DharmaGrooves.com

Ian Watson

  • NG Supporter
  • **
  • Posts: 561
Re: Focus stacking gone awry
« Reply #10 on: August 20, 2023, 19:25:22 »
Thank you all for the advice.

I revisited a stack that I did with Photoshop last year. There was some effort involved. Zerene Stacker made short work of it. I wish that I had tried it sooner instead of waiting until I thought I was doing enough stacking.


bobfriedman

  • NG Supporter
  • **
  • Posts: 1263
  • Massachusetts, USA
Re: Focus stacking gone awry
« Reply #11 on: August 21, 2023, 03:34:58 »
for flowers I use just PMAX.. 85-stack https://pbase.com/bobfriedman/image/173428368
Robert L Friedman, Massachusetts, USA
www.pbase.com/bobfriedman