back

focus stacking

links
Some images, including highly magnified, want more depth of focus.
Other than by retaking with smaller aperture
(increasing noise, motion blur and/or diffraction),
combining sharper parts of multiple images of a scene
captured at overlapping focal distance increments
is called focus stacking and involves two parts:

  • capturing those images (AKA focus bracketing)
  • combining them

Some cameras support focus bracketing
using so-called autofocus lenses which include mechanisms
by which cameras can change their focus.

Focus bracket by incrementing camera and lens distance to scene object[s].
WeMacro automates both

Focus stacking software

Two well-regarded commercial image stacking software offerings:

  • Helicon favors those wanting a completely automated approach
  • Zerene supports more tweaking and touching up stacked images.
    Zerene macro step size tables:
      magnification vs frame width, magnification vs aperture
    • magnification m = sensor width / subject frame width
    • DoF (mm) = 0.0022*(((m+1)*f/#)/m)**2
    • DoF (mm) = 0.00055/(N.A.**2)

CombineZP, Auto-Montage, Helicon Focus and Zerene Stacker (2014)

Free solutions includes Canon’s DPP 4,
  which works only for their lenses and cameras with focus bracketing support,
CombineZP, which does not support 16-bit images,
Picolay, ImageJ, TuFuse,
Chasys Draw IES supports CR2/3 and Focus Stacking,
  seemingly without alignment, when stacking for image averaging.

5 Open Source Focus Stacking Software(+ 2 Paid Options)

PICOLAY

Works internally on bitmaps; loads but cannot save TIFFs.

ON1 Photo RAW 2022 - free trial

focus stacking is on the right corner of the photo editing toolbar.
Good stacking parameter documentation
Moving GIFs with perspective shift(?!)

ImageJ

DPP4 Depth Compositing tool (Focus Stacking)
Comments / Observations

Focus Stacking with Hugin and Enfuse - YouTube
Hugin now with enfuse

maintained by blekenbleu