SkillAgentSearch skills...

FocusStacking

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

Install / Use

/learn @rAum/FocusStacking
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

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

View on GitHub
GitHub Stars9
CategoryEducation
Updated11mo ago
Forks8

Languages

C++

Security Score

77/100

Audited on Apr 19, 2025

No findings