A method comprises receiving a focusing image and shifting the focusing
image to obtain a shifted focusing image. In the method, a focus metric
of the focusing image is calculated from the focusing image and the
shifted focusing image, where the focus metric is configured for use as a
factor in making an automatic focus adjustment determination. An
automatic focusing apparatus includes a controller configured to
implement the method.