combines differently focused images imagei of the same scene to obtain a single well-focused image.

Details and Options

  • ImageFocusCombine is also known as focus stacking or Z-stacking. It is typically used for combining multiple images of the same scene taken at different focus distances and creates an image with a higher depth of field (DOF).
  • ImageFocusCombine assumes all imagei are aligned.
  • ImageFocusCombine takes a PerformanceGoal option. Possible settings include:
  • "Quality"optimize for quality of final results
    "Speed"optimize for speed of getting results


open all close all

Basic Examples  (1)

Combine images of a scene with two different regions in focus:

Click for copyable input

Scope  (1)

Options  (2)

Applications  (1)

Properties & Relations  (1)

Possible Issues  (2)

Introduced in 2015