Focus Stacking
In macro photography or microscopy images, the depth of field (DOF) is generally very small. This makes it impossible to capture a single image in which objects at different distances are all sharp. With ImageFocusCombine, you can combine several images at different focus distances to generate an all-sharp image.
In[1]:=
![Click for copyable input](assets.en/focus-stacking/In_11.png)
In[2]:=
![Click for copyable input](assets.en/focus-stacking/In_12.png)
ImageFocusCombine[list]
Out[2]=
![](assets.en/focus-stacking/O_7.png)