Creating extended depth of field image through focus stacking

Version 1.0.0.0 (3.26 KB) by CY Y
This function merges a stack of images taken at multiple focal planes into an all-in-focus image.
881 Downloads
Updated 19 Aug 2016

This script is a polished version of the codes posted at this link : http://www.magiclantern.fm/forum/index.php?topic=11886.0 It works on the sample dataset found at the link as well. For each dataset, parameter has to be tuned carefully.
Input must be a cell array of images taken at different focal planes, with each cell containing a single color or grayscale image.

Cite As

CY Y (2024). Creating extended depth of field image through focus stacking (https://github.com/joe-of-all-trades/fstack), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2015b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Images in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Versions that use the GitHub default branch cannot be downloaded

Version Published Release Notes
1.0.0.0

Updated description.
linked to github
Updated comments in the code.

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.