You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
This function generates an extended depth-of-field image (also referred to as all-in-focus image) from a focus sequence using the noise-robust selective all-in-focus algorithm [1]. Input images may be grayscale or color. For color images, the algorithm is applied to each color plane independently. For a demo, just type 'fstackdemo' at the matlab prompt.
References:
[1] Pertuz et. al. "Generation of all-in-focus images by noise-robust selective fusion of limited depth-of-field
images" IEEE Trans. Image Process, 22(3):1242 - 1251, 2013.
Cite As
Said Pertuz (2026). Extended depth-of-field (https://www.mathworks.com/matlabcentral/fileexchange/55115-extended-depth-of-field), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired by: Focus Measure, Shape from focus
General Information
- Version 1.0.0.0 (5.51 MB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 | - Updated sample data and function description |
