# US 2011/0211107 A1 · Method to perform sobel calculations and normalization for auto-focus in a digital camera

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

- Number: US 2011/0211107 A1
- Document ID: US20110211107A1
- Status: Published application
- Kind: A1
- Application number: 12/660,560
- Filed: 2010-03-01
- Published: 2011-09-01
- Earliest claimed: 2010-03-01
- Assignees: Digital Imaging Systems GmbH
- Inventors: Lothar Muench
- Web page: https://patentgrep.com/patent/US20110211107A1

## CPC

- H04N 23/67: Focus control based on electronic image sensor signals
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

A focus motor of a digital camera is moved to a point of focus from which image data is integrated and evaluated for sharpness and luminance. When the focus motor is stopped, a delay is initiated to allow integration of the image data from which a Sobel value and a luminance value are determined to allow the calculation of a focus value to be calculated from the ratio of the Sobel value to the luminance value. Once the focus value is calculated, the next motor position is determined from which a next focus value is determined.

## Claims

### Claim 1

A method for determining the focus of an adjustable lens of a digital camera; comprising:
a) stopping a motor that adjusts a lens set for focus;
b) integrating an image focused by said lens;
c) waiting for at least an integration time when said motor stopped;
d) setting up a focus window within said image;
e) fetching focus data from said image, comprising a focus value and a luminance value;
f) determining a value of focus by calculating the ratio of the focus value to the luminance value;
g) calculating a new position of said motor using said ratio; and
i) moving motor to a new adjustment setting and return to step a).

### Claim 2 (depends on 1)

The method of claim 1, wherein stopping said motor is done when the motor reaches a previous calculated lens adjustment point.

### Claim 3 (depends on 1)

The method of claim 1, wherein integrating said image comprises collecting together pixel data of an image for focus analysis.

### Claim 4 (depends on 1)

The method of claim 1, wherein waiting for at least the integration time controlled by a first and second IRQ to allow time for completion of the integrating of said image.

### Claim 5 (depends on 1)

The method of claim 1, wherein setting up of said focus window comprises establishing a region of said image for focus analysis.

### Claim 6 (depends on 1)

The method of claim 1, wherein said focus value is a Sobel value indicating a sharpness of an edge within the focus window.

### Claim 7 (depends on 1)

The method of claim 1, wherein calculating said new position of the motor comprises the relative difference between said focus value and that focus value calculated for a previous motor position.

### Claim 8

A lens focusing system; comprising:
a) a digital camera with an adjustable focus lens;
b) a focus motor coupled to said lens;
c) said focus motor moved to a point of focus; and
d) a delay initiated at said point of focus to allow time to integrate said image data from which a focus value is calculated and a next point of focus determined, where after the focus motor moved to the next point of focus.

### Claim 9 (depends on 8)

The system of claim 8, wherein said focus value is the ratio of image sharpness to image luminance.

### Claim 10 (depends on 9)

The system of claim 9, wherein said focus value indicating image sharpness is determined by a Sobel value calculation.

### Claim 11 (depends on 10)

The system of claim 10, wherein said focus value comprises data for sharpness and luminance that is shifted into a given range to increase sensitivity and resolution of a calculation of focus value.
