# US 6,731,868 B2 · Distance measuring apparatus

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

- Number: US 6,731,868 B2
- Document ID: US6731868B2
- Status: Granted
- Kind: B2
- Application number: 10/313,042
- Filed: 2002-12-06
- Published: 2003-07-03
- Granted: 2004-05-04
- Earliest claimed: 2001-12-07
- Assignees: Fuji Photo Optical Co., Ltd.
- Inventors: Hideo Yoshida; Yoshikazu Mihara
- Web page: https://patentgrep.com/patent/US6731868B2

## CPC

- G02B 7/285: {including two or more different focus detection devices, e.g. both an active and a passive focus detecting device}
- G02B: OPTICAL ELEMENTS, SYSTEMS OR APPARATUS

## Abstract

In the distance measuring apparatus, it is determined whether or not a pair of AF data obtained by a pair of employed sensors indicate a first predetermined necessary contrast, and a correlation value calculation is performed only when the contrast is detected. Then, it is determined whether or not the AF data in a pair of window ranges where the highest correlation is obtained in a correlation value calculation indicate a second predetermined necessary contrast. Only when it is determined that there is the contrast, the subsequent process such as a calculation of the distance from a distance measurement object is performed. Thus, an unnecessary correlation value calculation can be possibly omitted at a low contrast level. Furthermore, erroneous measurement of distance can be avoided.

## Claims

### Claim 1

A distance measuring apparatus, comprising:
an AF data generating device which forms images of light from a distance measurement object on a pair of line sensors comprising a plurality of light-receiving elements and generates a pair of AF data for correlation value calculation according to signals obtained from the plurality of light-receiving elements;
a first AF data obtaining device which obtains a pair of AF data from a pair of employed sensor ranges for use in distance measurement in the pair of line sensors;
a second AF data obtaining device which determines a pair of window ranges for obtaining the pair of AF data for use in the correlation value calculation in the pair of employed sensor ranges, and sequentially obtains the pair of AF data for use in the correlation value calculation while shifting the pair of window ranges to obtain a highest correlation in the pair of employed sensors;
a first contrast determining device which determines whether or not the pair of AF data obtained by the first AF data obtaining device have a first predetermined necessary contrast for a distance measurement;
a correlation value calculating device which calculates correlation between the pair of AF data obtained by the second AF data obtaining device only when the first contrast determining device determines that there is the first predetermined necessary contrast;
a second contrast determining device which determines whether or not the AF data in the pair of window ranges when a highest correlation is obtained in the correlation obtained by the correlation value calculating device have a second predetermined necessary contrast for the distance measurement; and
a distance measurement object distance calculating device which calculates a distance from the distance measurement object according to a shift amount of the pair of window ranges when the highest correlation is obtained only when the second contrast determining device determines that there is the second predetermined necessary contrast.

### Claim 2 (depends on 1)

The distance measuring apparatus according to claim 1, wherein the pair of employed sensors are sensors for the entire measurement area of the pair of line sensors.

### Claim 3 (depends on 1)

The distance measuring apparatus according to claim 1, wherein the entire measurement area of each of the pair of line sensors is divided into a plurality of subareas, and the pair of employed sensors are sensors for the subareas.

### Claim 4 (depends on 1)

The distance measuring apparatus according to claim 1, wherein the first contrast determining device comprises:
a contrast detecting device which obtains a difference between a largest value and a smallest value of the AF data obtained by the first AF data obtaining device; and
a determining device which determines presence/absence of the contrast depending on whether or not the difference obtained by the contrast detecting device is equal to or larger than a predetermined reference value.

### Claim 5 (depends on 1)

The distance measuring apparatus according to claim 1, wherein the second contrast determining device comprises:
a contrast detecting device which obtains a difference between a largest value and a smallest value of the AF data obtained by the second AF data obtaining device; and
a determining device which determines presence/absence of the contrast depending on whether or not the difference obtained by the contrast detecting device is equal to or larger than a predetermined reference value.

### Claim 6

A distance measuring apparatus, comprising:
an AF data generating device which forms images of light from a distance measurement object on a pair of line sensors comprising a plurality of light-receiving elements and generates a pair of AF data for correlation value calculation according to signals obtained from the plurality of light-receiving elements;
an AF data obtaining device which determines a pair of window ranges for obtaining the pair of AF data for use in the correlation value calculation in a pair of employed sensor ranges for use in distance measurement in the pair of line sensors, and sequentially obtains a pair of AF data for use in the correlation value calculation while shifting the pair of window ranges to obtain a highest correlation in the pair of employed sensors;
a contrast determining device which determines for each of shift amounts of the pair of window ranges whether or not the pair of AF data obtained by the AF data obtaining device has predetermined necessary contrast for a distance measurement;
a correlation value calculating device which calculates correlation between the pair of AF data obtained by the AF data obtaining device only when the contrast determining device determines that there is the predetermined necessary contrast in at least one of the shift amounts of the pair of window ranges; and
a distance measurement object distance calculating device which calculates a distance from the distance measurement object according to the shift amount of the pair of window ranges when the highest correlation is obtained in the correlation obtained by the correlation value calculating device.

### Claim 7 (depends on 6)

The distance measuring apparatus according to claim 6, wherein the pair of employed sensors are sensors for the entire measurement area of the pair of line sensors.

### Claim 8 (depends on 6)

The distance measuring apparatus according to claim 6, wherein the entire measurement area of each of the pair of line sensors is divided into a plurality of subareas, and the pair of employed sensors are sensors for the subareas.

### Claim 9 (depends on 6)

The distance measuring apparatus according to claim 6, wherein the contrast determining device comprises:
a contrast detecting device which obtains a difference between a largest value and a smallest value of the AF data obtained by the AF data obtaining device; and
a determining device which determines presence/absence of the contrast depending on whether or not the difference obtained by the contrast detecting device is equal to or larger than a predetermined reference value.

### Claim 10

A distance measuring apparatus, comprising:
an AF data generating device which forms images of light from a distance measurement object on a pair of line sensors comprising a plurality of light-receiving elements and generates a pair of AF data for correlation value calculation according to signals obtained from the plurality of light-receiving elements;
a first AF data obtaining device which obtains a pair of AF data from a pair of employed sensor ranges for use in distance measurement in the pair of line sensors;
a second AF data obtaining device which determines a pair of window ranges for obtaining the pair of AF data for use in the correlation value calculation in the pair of employed sensor ranges, and sequentially obtains the pair of AF data for use in the correlation value calculation while shifting the pair of window ranges to obtain a highest correlation in the pair of employed sensors;
a first contrast determining device which determines whether or not the pair of AF data obtained by the first AF data obtaining device have a first predetermined necessary contrast for a distance measurement;
a second contrast determining device which determines for each of shift amounts of the pair of window ranges whether or not the pair of AF data obtained by the second AF data obtaining device have a second predetermined necessary contrast for the distance measurement only when the first contrast determining device determines that there is the first predetermined necessary contrast;
a correlation value calculating device which calculates correlation between the pair of AF data obtained by the second AF data obtaining device only when the second contrast determining device determines that there is the second predetermined necessary contrast in at least one of the shift amounts of the pair of window ranges; and
a distance measurement object distance calculating device which calculates a distance from the distance measurement object according to the shift amount of the pair of window ranges when the highest correlation is obtained in the correlation obtained by the correlation value calculating device.

### Claim 11 (depends on 10)

The distance measuring apparatus according to claim 10, wherein the pair of employed sensors are sensors for the entire measurement area of the pair of line sensors.

### Claim 12 (depends on 10)

The distance measuring apparatus according to claim 10, wherein the entire measurement area of each of the pair of line sensors is divided into a plurality of subareas, and the pair of employed sensors are sensors for the subareas.

### Claim 13 (depends on 10)

The distance measuring apparatus according to claim 10, wherein the first contrast determining device comprises:
a contrast detecting device which obtains a difference between a largest value and a smallest value of the AF data obtained by the first AF data obtaining device; and
a determining device which determines presence/absence of the contrast depending on whether or not the difference obtained by the contrast detecting device is equal to or larger than a predetermined reference value.

### Claim 14 (depends on 10)

The distance measuring apparatus according to claim 10, wherein the second contrast determining device comprises:
a contrast detecting device which obtains a difference between a largest value and a smallest value of the AF data obtained by the second AF data obtaining device; and
a determining device which determines presence/absence of the contrast depending on whether or not the difference obtained by the contrast detecting device is equal to or larger than a predetermined reference value.
