Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 1.01 KB

README.md

File metadata and controls

20 lines (13 loc) · 1.01 KB

FocusStacking

Simple and mini project done in a week after hours, a tool for focus stacking. Aside of experimenting a bit with algorithm and code, it's purpose was also to learn how one can connect C++ with C#, by using C++CLI.

Focus stacking enables to merge sorted, multiple images that has focus on different depth, to get one in focus image. Application is quite fast (but not optimized much) and has some parameters to play with, resulting in different quality. It also tries to estimate a grayscale depth map, which can be then used to make 3d gif (see example below)

The bug picture was taken from http://grail.cs.washington.edu/projects/photomontage/

This is how the program looks like: Tool preview image

Here is 3D gif generated using output of the tool: 3D gif reconstructed from bug images

Below are pictures of sample results(sobel, maxWeight: 20, edge: 130). Big image of bug Big depth image of bug