Patent ID: 11863868
Assignee: APPLE INC.
Field: Audio-visual technology (Electrical engineering)
Classification: CPC H  G | IPC G  H

Claim 7:
8. A device, comprising:
a camera having at least one lens and an image sensor;
a computer processor configured to implement operations on images captured by the camera;
a memory configured to store one or more of the images captured by the camera; and
circuitry coupled to the camera, wherein the circuitry is configured to:
capture, using the image sensor, an image of a diffraction pattern of light objects in a structured light beam at each of a plurality of predetermined focus positions for the at least one lens relative to the image sensor, wherein the diffraction pattern of light objects are imaged at predefined spatial locations by the camera;
assess a location and a sharpness score of each of the light objects in image space at each of the predetermined focus positions;
determine a focal length, a distortion and a camera orientation based on the assessed location of each of the light objects at each of the predetermined focus positions;
determine best focus positions for each of the light objects based on the assessed sharpness score of each of the light objects at each of the predetermined focus positions; and
generate a map of the best focus positions for each of the light objects, wherein the map of the best focus positions corresponds to a field curvature of the at least one lens.