Identify which parts of the image contain high-contrast details, like edges and textures, which usually indicates that those areas are in focus.

Enable focus peaking from the bottom toolbar in the darkroom, or via Overlay focus peaking in the lighttable display options. The sharp parts of the image are highlighted with a yellow, green and blue overlay:

Focus peaking works by filtering out most of the image noise, measuring the intensity gradients in the image and calculating average and standard deviation statistics. When the gradient of an edge differs significantly from the mean, the associated pixels are marked with a “heat map” indicating how sharp the edge is.

  • yellow represents a large (6σ) jump in gradient, indicating a very sharp edge.
  • green represents a medium (4σ) jump in gradient, indicating a reasonably sharp edge.
  • blue represents a small (2σ) jump in gradient, indicating a slightly sharp edge.

image

On an image shot with a wide aperture and shallow depth of field, the overlay clusters on the plane the lens focused on (and on any other details that happen to fall within the zone of acceptable sharpness around it), which makes it easy to see where focus actually landed.