Lens position based on focus scores of objects
AssigneeHewlett-Packard Development Company, L.P.
InventorsJohn Mick, Shane D. Voss, Jason Yost
Life of this patent
Estimating the term…
Abstract
Embodiments herein relate to setting a lens position based on focus scores. A plurality of initial positions of a lens are determined. Each of the initial positions may correspond to a position of the lens at which one of a plurality of objects has a highest quality. A focus score may be determined at each of the initial positions for the corresponding object having the highest quality. A final position of the lens between two of the initial positions may be calculated based on the focus scores.
Claims15
A device comprising:
- a position module to determine a plurality of initial positions of a lens projecting an image, each of the initial positions to correspond to a position of the lens at which one of a plurality of objects of the image projected through the lens has a highest quality;
- a scoring module to determine a focus score at each of the initial positions for the corresponding object having the highest quality, the focus score to be a measurement of quality;
- and
- a calculation module to calculate a final position of the lens between two of the initial positions based on the focus scores.
A method for focusing an image, comprising:
- determining focus scores of a plurality of objects viewed through a lens, the focus score of each of the objects to be measured at one of a plurality of initial positions of the lens at which the quality is greatest for the corresponding object;
- correlating each of the initial positions of the lens to one of the measurements;
- and
- selecting a final position of the lens based on the determining and the correlating, wherein
- the final position is not one of the initial positions.
A non-transitory computer-readable storage medium storing instructions that, if executed by a processor of a device, cause the processor to:
- receive image data to determine initial positions of a lens at which each of a plurality of objects of an image has a highest quality;
- assign a focus score to each of the plurality of objects when each of the objects has the highest quality, the focus score to provide a quality measurement;
- and
- set a final position of the lens to be between two of the initial position based on the focus scores.
Dependencies are inferred from the claim text.