A method of estimating the distance to a subject using image signals
generated by autofocus image sensors of an image capture device comprises
processing image data of each image sensor to detect edges therein and
for each image sensor generating a corresponding edge image, correlating
the edge images to determine the shift of one edge image relative to the
other edge image that yields the best match therebetween, and calculating
a distance estimation based at least on the determined shift.