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

Claim 0:
1. A method, comprising:
providing a structured light beam towards a camera system, the camera system including an image sensor and at least one lens, wherein the light beam includes a diffraction pattern of light objects imaged at predefined spatial locations by the camera system;
capturing, using the image sensor, an image of the diffraction pattern of light objects at each of a plurality of predetermined focus positions for the at least one lens relative to the image sensor;
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.