Focus Measure
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 (2026). Focus Measure (https://www.mathworks.com/matlabcentral/fileexchange/27314-focus-measure), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired: Extended depth-of-field, Shape from focus
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
fmeasure/
| 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
|
||
| 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 |
