A method for automatic focus for an image capture device comprising a
lens, the method comprising, for a first lens position, processing image
data generated at a plurality of local focus positions of the lens in
order to generate first metric data representing a focus measure for the
first lens position, adjusting the lens position on the basis of the
first metric data, and generating corresponding second metric data for at
least one local focus position at the new lens position, and determining
an estimated point of true focus for the lens on the basis of the first
and second metric data.