Multifocus in Altami Studio software


In Altami Studio application we realized creating of multifocus image both “live from camera” and on several documents (images), stored at the disk.


Multifocus tool allows to make of images with different values of focus distance a picture in such a way that all its elements were in focus.

Tasks and possibilities

Multifocus tool is necessary for building a sharp photo from several blurry photos.

Calling the panel

Select the Multifocus tool. The window of the Multifocus tool shall be opened (or window of Multfocus image from camera — for the work in real time mode).

Multifocus panel description

Then it is necessary to select the most sharp areas of the images. This can be done by two methods:
Building of laplacian pyramid
Choice of the most contrast pixels
In the first case the so-called laplacian pyramid is built, it characterizes the accuracy of the image at each approximation level.
In the second case a contrast of an area around pixel is calculated. The more is the contrast of this area, the more accurate this pixel at this image is.
Select the files — images of the same object made with different focusing. Successively click on them holding the Ctrl button.
Click the Apply button.
The application shall make all the necessary transformations and show the result in a new document of the application. Close the master window with the Close button.
Attention! For the correct work of the tool it is necessary that the original images were different only in focusing. The images cannot be displaced in relation to one another.
Multiple video examples of the tool Multifocus with source images + result:

Example 1: Multifocus – beetle.


Original images
Multifocus - beetle_1Multifocus - beetle_2Multifocus - beetle_3Multifocus - beetle_4
Multifocus - beetle_5Multifocus - beetle_6Multifocus - beetle_7Multifocus - beetle_8Multifocus - beetle_result
Multifocus - beetle_9Multifocus - beetle_10Multifocus - beetle_11Multifocus - beetle_12


Example 2: Multifocus – screw.


Original images
Multifocus – screw_1Multifocus – screw_2Multifocus – screw_3Multifocus – screw_4Multifocus – screw_5Multifocus – screw_6
Multifocus – screw_7Multifocus – screw_8Multifocus – screw_9Multifocus – screw_10Multifocus – screw_11Multifocus – screw_12
Multifocus – screw_13Multifocus – screw_14Multifocus – screw_15Multifocus – screw_16Multifocus – screw_17Multifocus – screw_18Multifocus – screw_result
Multifocus – screw_19Multifocus – screw_20Multifocus – screw_21Multifocus – screw_22Multifocus – screw_23Multifocus – screw_24
Multifocus – screw_25Multifocus – screw_26Multifocus – screw_27Multifocus – screw_28Multifocus – screw_29


Example 3: Multifocus – shell.


Original images
Multifocus – shell_1Multifocus – shell_2Multifocus – shell_3Multifocus – shell_4Multifocus – shell_5Multifocus – shell_6
Multifocus – shell_7Multifocus – shell_8Multifocus – shell_9Multifocus – shell_10Multifocus – shell_11Multifocus – shell_12
Multifocus – shell_13Multifocus – shell_14Multifocus – shell_15Multifocus – shell_16Multifocus – shell_17Multifocus – shell_18Multifocus – shell_result
Multifocus – shell_19Multifocus – shell_20Multifocus – shell_21Multifocus – shell_22Multifocus – shell_23Multifocus – shell_24
Multifocus – shell_25Multifocus – shell_26Multifocus – shell_27Multifocus – shell_28Multifocus – shell_29