# US 2025/0097575 A1 · Systems and methods of adaptive phase detection autofocus offset correction

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2025/0097575 A1
- Document ID: US20250097575A1
- Status: Published application
- Kind: A1
- Application number: 18/729,665
- Filed: 2022-03-24
- Published: 2025-03-20
- Earliest claimed: 2022-03-24
- Assignees: QUALCOMM Incorporated
- Applicants: QUALCOMM Incorporated
- Inventors: Wen-Chun FENG; Hsuan-Ming LIU; Mian LI
- Web page: https://patentgrep.com/patent/US20250097575A1

## CPC

- H04N 23/672: {based on the phase difference signals}
- H04N 23/673: {based on contrast or high frequency components of image signals, e.g. hill climbing method}
- H04N 23/675: {comprising setting of focusing regions}
- H04N 25/704: Pixels specially adapted for focusing, e.g. phase difference pixel sets
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

Imaging systems and techniques are described. An imaging system receives image data captured by an image sensor according to one or more image capture settings, for instance according to an aperture size, temperature, lux, lens position, and/or region of interest. The image data includes image pixel data and focus pixel data. The imaging system determines a first focus setting based on phase detection using the focus pixel data. The imaging system determines a focus offset based on use of the one or more image capture settings as inputs to a trained model (e.g., decision tree, random forest, neural network). The imaging system determines a second focus setting at least in part by adjusting the first focus setting according to the focus offset, and causes a focus control mechanism to set a focus parameter to the second focus setting.

## Claims

### Claim 1

An apparatus for imaging, the apparatus comprising:
at least one memory; and
one or more processors coupled to the at least one memory, the one or more processors configured to:
receive image data captured by an image sensor according to one or more image capture settings, wherein the image data includes focus pixel data;
determine a first focus setting based on phase detection using the focus pixel data;
determine a second focus setting at least in part by adjusting the first focus setting according to a focus offset that is based on the one or more image capture settings; and
cause a focus control mechanism to set a focus parameter to the second focus setting.

### Claim 2 (depends on 1)

The apparatus of claim 1, wherein the one or more processors are configured to:
determine the focus offset based on use of the one or more image capture settings as inputs to a trained model.

### Claim 3 (depends on 2)

The apparatus of claim 2, wherein the trained model includes focus offset maps that include respective focus offsets corresponding to different regions of interest to focus on.

### Claim 4 (depends on 2)

The apparatus of claim 2, wherein the trained model includes a linear regression.

### Claim 5 (depends on 2)

The apparatus of claim 2, wherein the trained model includes a decision tree.

### Claim 6 (depends on 2)

The apparatus of claim 2, wherein the one or more processors are configured to:
periodically retrain the trained model according to a schedule.

### Claim 7 (depends on 2)

The apparatus of claim 2, wherein the trained model is trained using training data that indicates one or more respective differences between one or more phase detection autofocus (PDAF) focus settings that are determined using PDAF and one or more corresponding contrast detection autofocus (CDAF) focus settings that are determined using CDAF with the one or more PDAF focus settings as respective starting points.

### Claim 8 (depends on 2)

The apparatus of claim 2, wherein the trained model is trained using training data that is generated based on prior focus settings for the focus control mechanism that are determined by the one or more processors based on prior image capture settings for image capture using the image sensor.

### Claim 9 (depends on 1)

The apparatus of claim 1, wherein, to determine the first focus setting based on phase detection using the focus pixel data, the one or more processors are configured to identify a phase difference between a first focus dataset of the focus pixel data and a second focus dataset of the focus pixel data, wherein the first focus dataset is associated with a first focus pixel of the image sensor, wherein the second focus dataset is associated with a second focus pixel of the image sensor.

### Claim 10 (depends on 1)

The apparatus of claim 1, wherein the one or more image capture settings include a third focus setting that is distinct from the second focus setting, wherein, to cause the focus control mechanism to set the focus parameter to the second focus setting, the one or more processors are configured to cause the focus control mechanism to adjust the focus parameter from the third focus setting to the second focus setting.

### Claim 11 (depends on 1)

The apparatus of claim 1, wherein, to cause the focus control mechanism to set the focus parameter to the second focus setting, the one or more processors are configured to cause actuation of a linear actuator of the focus control mechanism to move a lens from a first lens position to a second lens position that corresponds to the second focus setting, wherein the image data is captured based on light passing through the lens and reaching the image sensor.

### Claim 12 (depends on 1)

The apparatus of claim 1, wherein, to cause the focus control mechanism to set the focus parameter to the second focus setting, the one or more processors are configured to cause actuation of a linear actuator of the focus control mechanism to move a lens in a direction that is perpendicular to an image plane of the image sensor.

### Claim 13 (depends on 1)

The apparatus of claim 1, wherein the one or more image capture settings include at least one of aperture size, temperature, lux, lens position, or region of interest.

### Claim 14 (depends on 1)

The apparatus of claim 1, wherein the one or more processors are configured to:
receive secondary image data captured by the image sensor according to the second focus setting; and
output the secondary image data.

### Claim 15 (depends on 14)

The apparatus of claim 14, further comprising:
a display interface, wherein, to output the secondary image data, the one or more processors are configured to cause the secondary image data to be displayed using a display at least in part by sending the secondary image data to the display through the display interface.

### Claim 16 (depends on 14)

The apparatus of claim 14, further comprising:
a communication interface, wherein, to output the secondary image data, the one or more processors are configured to send the secondary image data to a recipient device using the communication interface.

### Claim 17

A method for imaging, the method comprising:
receiving image data captured by an image sensor according to one or more image capture settings, wherein the image data includes focus pixel data;
determining a first focus setting based on phase detection using the focus pixel data;
determining a second focus setting at least in part by adjusting the first focus setting according to a focus offset that is based on the one or more image capture settings; and
causing a focus control mechanism to set a focus parameter to the second focus setting.

### Claim 18 (depends on 17)

The method of claim 17, further comprising:
determining the focus offset based on use of the one or more image capture settings as inputs to a trained model.

### Claim 19 (depends on 18)

The method of claim 18, wherein the trained model includes focus offset maps that include respective focus offsets corresponding to different regions of interest to focus on.

### Claim 20 (depends on 18)

The method of claim 18, wherein the trained model includes a linear regression.

### Claim 21 (depends on 18)

The method of claim 18, wherein the trained model includes a decision tree.

### Claim 22 (depends on 18)

The method of claim 18, further comprising:
periodically retraining the trained model according to a schedule.

### Claim 23 (depends on 18)

The method of claim 18, wherein the trained model is trained using training data that indicates one or more respective differences between one or more phase detection autofocus (PDAF) focus settings that are determined using PDAF and one or more corresponding contrast detection autofocus (CDAF) focus settings that are determined using CDAF with the one or more PDAF focus settings as respective starting points.

### Claim 24 (depends on 18)

The method of claim 18, wherein the trained model is trained using training data that is generated based on prior focus settings for the focus control mechanism that are determined based on prior image capture settings for image capture using the image sensor.

### Claim 25 (depends on 17)

The method of claim 17, wherein determining the first focus setting based on phase detection using the focus pixel data includes identifying a phase difference between a first focus dataset of the focus pixel data and a second focus dataset of the focus pixel data, wherein the first focus dataset is associated with a first focus pixel of the image sensor, wherein the second focus dataset is associated with a second focus pixel of the image sensor.

### Claim 26 (depends on 17)

The method of claim 17, wherein the one or more image capture settings include a third focus setting that is distinct from the second focus setting, wherein causing the focus control mechanism to set the focus parameter to the second focus setting includes causing the focus control mechanism to adjust the focus parameter from the third focus setting to the second focus setting.

### Claim 27 (depends on 17)

The method of claim 17, wherein causing the focus control mechanism to set the focus parameter to the second focus setting includes causing actuation of a linear actuator of the focus control mechanism to move a lens from a first lens position to a second lens position that corresponds to the second focus setting, wherein the image data is captured based on light passing through the lens and reaching the image sensor.

### Claim 28 (depends on 17)

The method of claim 17, wherein causing the focus control mechanism to set the focus parameter to the second focus setting includes causing actuation of a linear actuator of the focus control mechanism to move a lens in a direction that is perpendicular to an image plane of the image sensor.

### Claim 29 (depends on 17)

The method of claim 17, wherein the one or more image capture settings include at least one of aperture size, temperature, lux, lens position, or region of interest.

### Claim 30 (depends on 17)

The method of claim 17, further comprising:
receiving secondary image data captured by the image sensor according to the second focus setting; and
outputting the secondary image data.
