Focus Measure

A function to measure the relative degree of focus of an image.
10.4K Downloads
Updated 31 Aug 2017

View License

This function measures the relative degree of focus of an image. Several up-to-date focus measuring algorithms have been implemented and the function supports uint8 or double images. For futher details on each focus measuring algorithm the reader is referred to [1] and the references therein. For further information and datasets, see https://sites.google.com/view/cvia/focus-measure
[1] S. Pertuz et al., Analysis of focus measure operators for shape-from-focus. Pattern Recognition, 46(5):1415:1432, 2013.

Cite As

Said Pertuz (2024). Focus Measure (https://www.mathworks.com/matlabcentral/fileexchange/27314-focus-measure), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2008b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Denoising and Compression in Help Center and MATLAB Answers
Acknowledgements

Inspired: Extended depth-of-field, Shape from focus

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
2.2.0.0

Fixed a bug in the function AcMomentum

2.1.0.0

- Bug fixed in GDER focus operator
- Description updated

2.0.0.0

- Some bugs have been fixed (Brenner's and GDER's focus measure operators)

1.3.0.0

- The function no longer requires the floating-point toolbox.

1.0.0.0