ImageFocusCombine

ImageFocusCombine[{image1,image2,}]

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

Examples

open allclose all

Basic Examples  (1)

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

In[3]:=
Click for copyable input
Out[3]=

Scope  (1)

Options  (2)

Applications  (1)

Properties & Relations  (1)

Possible Issues  (2)

See Also

ImageCompose  ImageExposureCombine  Blend  ColorCombine  ImageAlign

Introduced in 2015
(10.2)