Share Email Print

Proceedings Paper

An extensive empirical evaluation of focus measures for digital photography
Author(s): Hashim Mir; Peter Xu; Peter van Beek
Format Member Price Non-Member Price
PDF $17.00 $21.00

Paper Abstract

Automatic focusing of a digital camera in live preview mode, where the camera’s display screen is used as a viewfinder, is done through contrast detection. In focusing using contrast detection, a focus measure is used to map an image to a value that represents the degree of focus of the image. Many focus measures have been proposed and evaluated in the literature. However, previous studies on focus measures have either used a small number of benchmarks images in their evaluation, been directed at microscopy and not digital cameras, or have been based on ad hoc evaluation criteria. In this paper, we perform an extensive empirical evaluation of focus measures for digital photography and advocate using three standard statistical measures of performance— precision, recall, and mean absolute error—as evaluation criteria. Our experimental results indicate that (i) some popular focus measures perform poorly when applied to autofocusing in digital photography, and (ii) simple focus measures based on taking the first derivative of an image perform exceedingly well in digital photography.

Paper Details

Date Published: 7 March 2014
PDF: 11 pages
Proc. SPIE 9023, Digital Photography X, 90230I (7 March 2014); doi: 10.1117/12.2042350
Show Author Affiliations
Hashim Mir, Univ. of Waterloo (Canada)
Peter Xu, Univ. of Waterloo (Canada)
Peter van Beek, Univ. of Waterloo (Canada)

Published in SPIE Proceedings Vol. 9023:
Digital Photography X
Nitin Sampat; Radka Tezaur; Sebastiano Battiato; Boyd A. Fowler, Editor(s)

© SPIE. Terms of Use
Back to Top
Sign in to read the full article
Create a free SPIE account to get access to
premium articles and original research
Forgot your username?