# US 12,523,846 B1 · Measuring optical power of a lens using a variable focus camera

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

- Number: US 12,523,846 B1
- Document ID: US12523846B1
- Status: Granted
- Kind: B1
- Application number: 18/611,106
- Filed: 2024-03-20
- Granted: 2026-01-13
- Earliest claimed: 2023-04-25
- Assignees: Apple Inc.
- Applicants: Apple Inc.
- Inventors: Matthew D Hollands; James E Pedder
- Web page: https://patentgrep.com/patent/US12523846B1

## CPC

- G02B 7/36: using image sharpness techniques {, e.g. image processing techniques for generating autofocus signals (image data processing per se G06T; in cameras having a solid state image sensor H04N23/67)}
- G01M 11/0228: {by measuring refractive power}
- G06T 7/0004: {Industrial image inspection}
- G06T 7/97: {Determining parameters from multiple pictures (depth or shape recovery from multiple images G06T7/55; stereo camera calibration G06T7/85)}
- H04N 23/67: Focus control based on electronic image sensor signals
- G06T 2207/10148: Varying focus
- G06T 2207/30208: Marker matrix
- G02B: OPTICAL ELEMENTS, SYSTEMS OR APPARATUS
- G01M: TESTING STATIC OR DYNAMIC BALANCE OF MACHINES OR STRUCTURES; TESTING OF STRUCTURES OR APPARATUS, NOT OTHERWISE PROVIDED FOR
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

An electronic device may include a variable focus camera that is used during lens measurement operations. During the lens measurement operations, the variable focus camera may capture images of one or more targets with and without an intervening lens. Focus information obtained by the variable focus camera may be used to determine the spherical power, the cylindrical power, and the cylindrical axis of the lens. The focus information may be obtained using a frequency sweep while capturing images of a single target. Alternatively, the focus information may be obtained by performing autofocus operations while focusing on different targets. Based on the determined spherical power, cylindrical power, and cylindrical axis of the lens, the electronic device may output lens information using a display, a speaker, or communications circuitry.

## Claims

### Claim 1

A method of operating an electronic device with a variable focus camera, the method comprising:
while a lens is interposed between the variable focus camera and a target, capturing at least a first image of at least one target;
determining first optical power information for the lens based on the at least first image;
while the lens is not interposed between the variable focus camera and a target, capturing at least a second image of the at least one target;
determining second optical power information for the lens based on the at least second image; and
determining a spherical power, a cylindrical power, and a cylindrical axis for the lens using the first optical power information and the second optical power information.

### Claim 2 (depends on 1)

The method defined in claim 1, wherein the at least one target comprises a single target and wherein determining first optical power information for the lens based on the at least first image comprises determining first optical power information for the lens based on one or more images of the single target.

### Claim 3 (depends on 2)

The method defined in claim 2, wherein the single target comprises a plurality of concentric rings.

### Claim 4 (depends on 1)

The method defined in claim 1, wherein capturing at least the first image of the at least one target comprises sweeping a focus of the variable focus camera between two optical powers using a plurality of discrete steps.

### Claim 5 (depends on 4)

The method defined in claim 4, wherein determining the first optical power information for the lens based on the at least first image comprises:
for each discrete step, determining respective focus scores for at least three meridians; and
for each of the at least three meridians, determining a respective optical power of the variable focus camera associated with a respective peak focus score.

### Claim 6 (depends on 1)

The method defined in claim 1, wherein the at least one target comprises first, second, and third targets.

### Claim 7 (depends on 6)

The method defined in claim 6, wherein the first, second, and third targets are presented sequentially on a display that is external to the electronic device.

### Claim 8 (depends on 6)

The method defined in claim 6, wherein the first target comprises horizontal stripes, wherein the second target comprises vertical stripes, and wherein the third target comprises diagonal stripes.

### Claim 9 (depends on 6)

The method defined in claim 6, wherein determining the first optical power information for the lens based on the at least first image comprises:
determining a first optimal optical power associated with the first target based on at least one image of the first target;
determining a second optimal optical power associated with the second target based on at least one image of the second target; and
determining a third optimal optical power associated with the third target based on at least one image of the third target.

### Claim 10 (depends on 9)

The method defined in claim 9, wherein determining the first optimal optical power associated with the first target based on at least one image of the first target comprises performing autofocus operations for the variable focus camera while capturing the at least one image of the first target using the variable focus camera, wherein determining the second optimal optical power associated with the second target based on at least one image of the second target comprises performing autofocus operations for the variable focus camera while capturing the at least one image of the second target using the variable focus camera, and wherein determining the third optimal optical power associated with the third target based on at least one image of the third target comprises performing autofocus operations for the variable focus camera while capturing the at least one image of the third target using the variable focus camera.

### Claim 11 (depends on 1)

The method defined in claim 1, wherein the electronic device comprises a display and wherein the method further comprises:
outputting information regarding at least one of the spherical power, the cylindrical power, and the cylindrical axis using the display.

### Claim 12 (depends on 1)

The method defined in claim 1, further comprising:
based on at least one of the spherical power, the cylindrical power, and the cylindrical axis, outputting tuning information for a tunable lens in a head-mounted device.

### Claim 13 (depends on 12)

The method defined in claim 12, wherein outputting the tuning information comprises wirelessly transmitting the tuning information to the head-mounted device.

### Claim 14 (depends on 1)

The method defined in claim 1, further comprising:
based on at least one of the spherical power, the cylindrical power, and the cylindrical axis, identifying a removable lens element that is configured to be attached to a head-mounted device.

### Claim 15

A method of operating an electronic device with a variable focus camera, the method comprising:
using the variable focus camera, capturing at least one image of at least one target through a lens;
using the at least one image of the at least one target, determining a first optimal optical power associated with a first meridian, a second optimal optical power associated with a second meridian, and a third optimal optical power associated with a third meridian; and
using the first, second, and third optimal optical powers, determining a spherical power, a cylindrical power, and a cylindrical axis for the lens.

### Claim 16 (depends on 15)

The method defined in claim 15, further comprising:
using the variable focus camera, capturing at least one additional image of the at least one target without the lens interposed between the variable focus camera and the at least one target.

### Claim 17 (depends on 15)

The method defined in claim 15, further comprising:
using the at least one additional image of the at least one target, determining a fourth optimal optical power associated with the first meridian, a fifth optimal optical power associated with the second meridian, and a sixth optimal optical power associated with the third meridian.

### Claim 18 (depends on 15)

The method defined in claim 15, wherein determining the spherical power, the cylindrical power, and the cylindrical axis for the lens comprises determining a first difference between the first and fourth optimal optical powers, a second difference between the second and fifth optimal optical powers, and a third difference between the third and sixth optimal optical powers.

### Claim 19

An electronic device, comprising:
a display;
a speaker;
a variable focus camera; and
control circuitry configured to:
use the variable focus camera to capture at least one image through an external lens;
using the at least one image, determine a spherical power, a cylindrical power, and a cylindrical axis for the lens; and
using at least one of the display and the speaker, output lens information based on the spherical power, the cylindrical power, and the cylindrical axis.

### Claim 20 (depends on 19)

The electronic device defined in claim 19, wherein the lens information comprises an identity of a removable lens element for a head-mounted device.
