Skip to content

Guide

What is focus stacking?

The closer you get to a subject, the thinner the slice of it that is in focus. Focus stacking is how macro photographers get the whole subject sharp.

The problem: depth of field runs out

At ordinary distances, stopping the lens down brings more of the scene into focus. In macro work that stops being enough. At life size, even at f/11, the zone of sharp focus can be well under a millimetre deep. Stop down further and diffraction softens the whole picture. A fly's eye can be sharp while its wing, a few millimetres behind, is a blur.

The answer: many frames, one image

Instead of one photograph, you take a series. Each frame is focused slightly further into the subject than the last, so that between them every part of the subject is sharp in at least one frame. Software then lines the frames up and builds a single image from the sharp part of each.

A stack can be five frames of a flower or three hundred of a beetle's head under a microscope objective.

What the software has to do

  1. Align. Changing focus changes the size of the image slightly, and a handheld camera moves between shots. The frames must be matched up precisely before anything else.
  2. Find what is sharp. For every part of the picture, the software works out which frame holds the most detail.
  3. Fuse. The sharp parts are combined. Different methods do this differently, and each has subjects it suits. SeeStacking methods.
  4. Repair. Where hairs cross or something moved, no method gets it right every time. Those areas are retouched from the source frames.

Shooting a stack

  • Overlap your steps. Each frame's sharp zone should overlap the next. Gaps show up as soft bands in the result.
  • Start before the subject and finish behind it. A few spare frames at each end cost nothing.
  • Keep the light the same. Flash or steady light; avoid auto exposure changing between frames.
  • On a rail or handheld. A rail gives even steps. Handheld is quicker and works for live subjects; your camera's focus bracketing does the stepping.
  • Shoot RAW if you can. A stacker that keeps the RAW data lets you set colour and tone afterwards.

Where Stacro fits

Stacro does all four jobs on a Mac: it aligns handheld and rail stacks, offers four fusion methods including one that mixes two automatically, has retouching built in, and can hand the result on as a linear DNG. See the features.

Bring your sharpest work into focus.

Join the beta list. We invite photographers in small groups, and it is free while we test.