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  and the references therein. For further information and datasets, see https://sites.google.com/view/cvia/focus-measure
 S. Pertuz et al., Analysis of focus measure operators for shape-from-focus. Pattern Recognition, 46(5):1415:1432, 2013.
Said Pertuz (2021). Focus Measure (https://www.mathworks.com/matlabcentral/fileexchange/27314-focus-measure), MATLAB Central File Exchange. Retrieved .
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!