Method to determine auto focus of a digital camera
AssigneeDigital Imaging Systems GmbH
InventorLothar Muench
Life of this patent
Estimating the term…
Abstract
An image is focused onto an image sensor array by efficient movement of an adjustable focus lens by a lens focus motor. A minimum of three focus positions is required to determine an estimated best focus position of the lens focus motor. After which a sweep of the focus positions surrounding the estimated best focus position is performed to verify and determine the best actual focus position of the lens focus motor. A sharpness value of the image being focused comprising a Sobel edge detection or other detections means provide sharpness data to evaluate image sharpness at various lens focus motor positions.
Claims16
A method for fast auto focus of a digital camera, comprising:
- a) adjusting an auto focus lens of a digital camera to at least three focus positions, wherein said focus positions equidistant apart;
- b) measuring a value of sharpness and focus motor position at each of the “at least three” focus positions, wherein at least one focus position is before a best focus position of the focus motor and at least one focus position is after the best focus position of the focus motor;
- c) determining a focus trend from said sharpness values at said focus positions;
- d) determining an estimated best focus position of said lens by an interpolation;
- wherein the estimated best focus position determined by adding together one half a value of the focus motor position before the best focus position to one half the value of the focus motor after the best focus position and one half the value of a calculated offset, wherein the calculated offset determined by whether a first angle established by ascending focus measurement data points or a second angle established by descending focus measurement data points is larger, wherein the calculated offset is a positive value when the angle between descending focus measurement data points is larger, and wherein the calculated offset is a negative value when the angle between ascending focus measurement data points is larger;
- e) verifying said estimated best focus position as actual best focus position;
- and
- f) adjusting said auto focus lens to said actual best focus position.
An auto focus system, comprising:
- a) a focus motor coupled to a moveable lens element of a digital camera, wherein said focus motor moved from a close focus position to a distant focus position by a controller, wherein focus motor stopped at a focus measurement position to allow a frame grabber of said controller to capture an image and evaluate sharpness of the image at the focus measurement position;
- b) said focus motor moved to subsequent focus measurement positions to allow said digital camera to evaluate sharpness of said image and to detect a focus trend, wherein at least one focus measurement position before a best focus position of the focus motor and at least one focus position after the best focus position;
- c) said digital camera estimates a best focus position of said motor with a calculation using interpolation of position data from three of the focus measurement positions, wherein the estimated best focus position determined by adding together one half a value of the focus motor position before the best focus position to one half the value of the focus motor after the best focus position and one half the value of a calculated offset, wherein the calculated offset determined by whether a first angle established by ascending focus measurement data points or a second angle established by descending focus measurement data points is larger, wherein the calculated offset is a positive value when the angle between descending focus measurement data points is larger, and wherein the calculated offset is a negative value when the angle between ascending focus measurement data points is larger;
- d) said digital camera performs a verification sweep of focus positions surrounding the estimated best focus position to detect an image sharpness greater than obtained from the estimated best focus position;
- and
- e) said focus motor positioned at an actual best focus position determined from the verification sweep.
Dependencies are inferred from the claim text.