# US 2012/0249816 A1 · Focus direction detection confidence system and method

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

- Number: US 2012/0249816 A1
- Document ID: US20120249816A1
- Status: Published application
- Kind: A1
- Application number: 13/078,397
- Filed: 2011-04-01
- Published: 2012-10-04
- Earliest claimed: 2011-04-01
- Assignees: Sony Corporation
- Inventors: Pingshan Li; Kensuke Miyagi; Florian Ciurea; Masato Watanabe; Mamoru Sugiura
- Web page: https://patentgrep.com/patent/US20120249816A1

## CPC

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

## Abstract

An apparatus and method for determining confidence in focus direction detection, including the steps of capturing a plurality of images, calculating sets of matching errors and blur difference estimations relating to the images, capturing a plurality of object images; calculating sets of matching errors and blur difference estimations relating to the images, calculating a confidence indicator as a function of either the matching errors or blur difference estimations, and automatically adjusting a focus control element in response to said confidence indicator exceeding a threshold value.

## Claims

### Claim 1

An apparatus for electronically capturing images, comprising:
an imaging device;
a focus control element coupled to the imaging device;
a processor coupled to the imaging device and the focus control element;
memory coupled to the computer processor and configured for retaining images captured from the imaging device and for retaining programming executable by the computer processor; and
programming executable by the computer processor for carrying out steps comprising:
capturing a plurality of object images;
calculating sets of matching errors and blur difference estimations relating to the images;
calculating a confidence indicator as a function of either the matching errors or blur difference estimations; and
automatically adjusting the focus control element in response to said confidence indicator exceeding a threshold value.

### Claim 2 (depends on 1)

An apparatus as recited in claim 1, wherein the confidence indicator is a function of only matching errors.

### Claim 3 (depends on 1)

An apparatus as recited in claim 1, wherein the confidence indicator is calculated according to the equation:
E
=
E
1
-
E
2
k
E
·
(
E
1
+
E
2
)
+
1
where E is the confidence indicator, E1 and E2 are estimations of error for first and second directions, and kE is a non-negative constant.

### Claim 4 (depends on 3)

An apparatus as recited in claim 3, wherein kE is chosen so that the ratio between standard deviations of wrong data sets associated with the captured images is maximized.

### Claim 5 (depends on 1)

An apparatus as recited in claim 1, wherein the confidence indicator is calculated according to the equation:
I
=
I
1
-
I
2
k
I
·
(
I
1
+
I
2
)
+
1
where I is the confidence indicator, I1 and I2 are blur difference estimation iteration numbers for first and second directions, and kI is a non-negative constant.

### Claim 6 (depends on 3)

An apparatus as recited in claim 3, wherein the confidence indicator Is further calculated according to the equation:
C
=
E
k
·
I
+
1
where C is the combined confidence indicator,
I
=
I
1
-
I
2
k
I
·
(
I
1
+
I
2
)
+
1
,
I1 and I2 are blur difference estimation iteration numbers for first and second directions, and kI is a non-negative constant.

### Claim 7 (depends on 1)

An apparatus as recited in claim 1, wherein automatically adjusting the focus control element comprises scanning in one direction associated with the calculated confidence indicator.

### Claim 8 (depends on 1)

An apparatus as recited in claim 1:
wherein the calculated sets of matching errors and blur difference estimations relating to the images are evaluated against an iteration number bound; and
wherein the confidence indicator is only calculated if the iteration number bound is not exceeded.

### Claim 9 (depends on 1)

An apparatus as recited in claim 1, wherein the imaging device comprises a still image camera, a video image camera, or a combination still and video image camera.

### Claim 10

A method electronically capturing images, comprising:
capturing a plurality of object images;
calculating sets of matching errors and blur difference estimations relating to the images;
capturing a plurality of object images;
calculating sets of matching errors and blur difference estimations relating to the images;
calculating a confidence indicator as a function of either the matching errors or blur difference estimations; and
automatically adjusting a focus control element in response to said confidence indicator exceeding a threshold value.

### Claim 11 (depends on 10)

A method as recited in claim 10, wherein the confidence indicator is calculated according to the equation:
E
=
E
1
-
E
2
k
E
·
(
E
1
+
E
2
)
+
1
where E is the confidence indicator, E1 and E2 are estimations of error for first and second directions, and kE is a non-negative constant.

### Claim 12 (depends on 11)

A method as recited in claim 11, wherein kE is chosen so that the ratio between standard deviations of wrong data sets associated with the captured images is maximized.

### Claim 13 (depends on 11)

A method as recited in claim 11, wherein the confidence indicator is further calculated according to the equation:
I
=
I
1
-
I
2
k
I
·
(
I
1
+
I
2
)
+
1
where I is the confidence indicator, I1 and I2 are blur difference estimation iteration numbers for first and second directions, and kI is a non-negative constant.

### Claim 14 (depends on 11)

A method as recited in claim 11, wherein the confidence indicator is further calculated according to the equation:
C
=
E
k
·
I
+
1
where C is the combined confidence indicator,
I
=
I
1
-
I
2
k
I
·
(
I
1
+
I
2
)
+
1
,
I1 and I2 are blur difference estimation iteration numbers for first and second directions, and kI is a non-negative constant.

### Claim 15 (depends on 10)

A method as recited in claim 10, wherein automatically adjusting the focus control element comprises scanning in one direction associated with the calculated confidence indicator.

### Claim 16 (depends on 10)

A method as recited in claim 10:
wherein the calculated sets of matching errors and blur difference estimations relating to the images are evaluated against an iteration number bound; and
wherein the confidence indicator is only calculated if the iteration number bound is not exceeded.

### Claim 17

A computer-readable media containing a computer program executable on a processer which is configured for automatically estimating camera focal depth of an object in response to steps comprising:
capturing a plurality of object images;
calculating sets of matching errors and blur difference estimations relating to the images;
calculating a confidence indicator as a function of either the matching errors or blur difference estimations; and
automatically adjusting a focus control element in response to said confidence indicator exceeding a threshold value;
wherein the confidence indicator is calculated according to the equation:
E
=
E
1
-
E
2
k
E
·
(
E
1
+
E
2
)
+
1
where E is the confidence indicator, E1 and E2 are estimations of error for first and second directions, and kE is a non-negative constant.

### Claim 18 (depends on 17)

A computer-readable media as recited in claim 17, wherein kE is chosen so that the ratio between standard deviations of wrong data sets associated with the captured images is maximized.

### Claim 19 (depends on 18)

A computer-readable media as recited in claim 18, wherein the confidence indicator is further calculated according to the equation:
I
=
I
1
-
I
2
k
I
·
(
I
1
+
I
2
)
+
1
where I is the confidence indicator, I1 and I2 are blur difference estimation iteration numbers for first and second directions, and kI is a non-negative constant.

### Claim 20 (depends on 17)

A computer-readable media as recited in claim 17, wherein the confidence indicator is further calculated according to the equation:
C
=
E
k
·
I
+
1
where C is the combined confidence indicator,
I
=
I
1
-
I
2
k
I
·
(
I
1
+
I
2
)
+
1
,
I1 and I2 are blur difference estimation iteration numbers for first and second directions, and kI is a non-negative constant.
