contrastdetect
Contrast-detect autofocus (contrast-detect AF) is an autofocus method used in digital cameras and image sensors. It adjusts lens focus to maximize image contrast on the sensor, based on the principle that sharp focus increases local contrast and edge definition.
Operation: The camera analyzes a focusing region and computes a contrast metric. The lens is moved and
Advantages: It uses only image data, so it works with any lens and does not require phase-detection
Limitations: CDAF can be slower than phase-detect autofocus, especially in low-contrast scenes or during continuous AF.
Hybrid approaches: Some cameras combine contrast-detect with phase-detect sensors to gain speed while preserving the accuracy
See also: autofocus, phase-detect autofocus, hybrid autofocus, live view.