Skip to content

rAum/FocusStacking

Repository files navigation

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

About

Simple and weekly mini project to implement focus stacking, learning also how to connect C++ with C# using C++CLI

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published