A type of autofocus that analysis subject image data from the image sensor and chooses the lens position that produces the greatest contrast.