Skip to content

ThroughTheCode/Focus-Stacking

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 

Repository files navigation

Focus-Stacking

This program was realized for a university project at Sorbonnes Université. It mainly is inspired from : A Multi-focus Image Fusion Method Based on Laplacian Pyramid, Chang and Wang.

Method

Using the focal stack, we generate maps representing globally the focused pixels by computing the gaussian gradient and the wieght-map, doing a threshold on the weight-map (to have a binary map) and dilating this threshold. Then we compute the laplacian pyramid of each image and the gaussian pyramid of the maps which are multiplied to the corresponding laplacian pyramid. In this way, we do a pre-selection of the focused pixels. Finally, we apply the Wang and Chang fusion criteria for the pyramid and we get a focused image.

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages