摘要 |
<p>The method includes changing a focal length of a camera device while capturing one or more frames of sensor data from a sensor array of the camera device by sequentially reading signals from different areas of the sensor array, such that different sections of each of the one or more frames corresponds to sensor data captured at different focal lengths of the camera device. The method further includes deriving focus statistics from the one or more captured frames, each focus statistic providing a measure of an extent to which a section of a frame to which the focus statistic relates is in focus at a given focal length; identifying from the focus statistics an optimal focal length at which an optimally focused image can be captured; and adapting the focal length of the camera device in accordance with the optimal focal length.</p> |