In Altami Studio 3.1.0 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.
Multifocus tool is necessary for building a sharp photo from several blurry photos.
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).
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.
Original images (only part of the images is shown):
Please find more information on settings and the use of filter in the step by step instruction Tutorial on the use of Multifocus filter.
Altami software products work under the most popular modern operating system such as Windows, Linux и Macintosh.
If our products do not solve your problems, we are ready to develop "from scratch" or modify existing applications.
Tired of the slow camera work? Keep up with progress! The camera on USB 3.0! operates at a speed of up to 180 fps.