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

Claim 13:
14. A non-transitory machine-readable medium having stored thereon machine-readable instructions executable to cause circuitry coupled to a camera having at least one lens and an image sensor to perform operations comprising:
capturing, 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;
assessing a location and a sharpness score of each of the light objects in image space at each of the predetermined focus positions;
determining 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;
determining 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
generating 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.