# US 11,119,201 B2 · Distance detecting apparatus, image capturing apparatus, distance detecting method, and storage medium

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

- Number: US 11,119,201 B2
- Document ID: US11119201B2
- Status: Granted
- Kind: B2
- Application number: 16/162,547
- Filed: 2018-10-17
- Published: 2019-04-25
- Granted: 2021-09-14
- Earliest claimed: 2017-10-24
- Assignees: Canon Kabushiki Kaisha
- Applicants: Canon Kabushiki Kaisha
- Inventors: Shin Tanaka
- Web page: https://patentgrep.com/patent/US11119201B2

## CPC

- G01S 11/12: using electromagnetic waves other than radio waves
- G01C 3/08: Use of electric radiation detectors
- G02B 7/34: using different areas in a pupil plane
- G06T 7/32: using correlation-based methods
- G06T 7/593: from stereo images
- H04N 23/67: Focus control based on electronic image sensor signals
- H04N 23/672: {based on the phase difference signals}
- H04N 25/702: SSIS architectures characterised by non-identical, non-equidistant or non-planar pixel layout
- H10F 39/182: {Colour image sensors}
- G03B 13/36: Autofocus systems
- G06T 2207/10012: Stereo images
- G06T 2207/10024: Color image
- H04N 25/611: Correction of chromatic aberration
- H10F 39/8053: {Colour filters}
- H10F 39/8057: {Optical shielding}
- H10F 39/8063: {Microlenses}
- G01S: RADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
- G01C: MEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY (measuring liquid level G01F; radio navigation, determining distance or velocity by use of propagation effects, e.g. Doppler effects, propagation time, of radio waves, analogous arrangements using other waves G01S)
- G02B: OPTICAL ELEMENTS, SYSTEMS OR APPARATUS
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION
- H10F: INORGANIC SEMICONDUCTOR DEVICES SENSITIVE TO INFRARED RADIATION, LIGHT, ELECTROMAGNETIC RADIATION OF SHORTER WAVELENGTH OR CORPUSCULAR RADIATION
- G03B: APPARATUS OR ARRANGEMENTS FOR TAKING PHOTOGRAPHS OR FOR PROJECTING OR VIEWING THEM; APPARATUS OR ARRANGEMENTS EMPLOYING ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ACCESSORIES THEREFOR (optical parts of such apparatus G02B; photosensitive materials or processes for photographic purposes G03C; apparatus for processing exposed photographic materials G03D)

## Abstract

There is provided a distance detecting apparatus. An acquisition unit acquires a first image captured from a first point of view and a second image captured from a second point of view that is different from the first point of view A selection unit configured to select a representative pixel from the first image, based on a color of an object. A detection unit configured to detect a position in the second image corresponding to the representative pixel and thereby to detect a distance to the object corresponding to the position of the representative pixel.

## Claims

### Claim 1

A distance detecting apparatus comprising one or more processors and a memory storing a program which, when executed by the one or more processors, causes the distance detecting apparatus to function as:
an acquisition unit configured to acquire a first image captured from a first point of view and a second image captured from a second point of view that is different from the first point of view;
a dividing unit configured to divide the first image into a plurality of regions such that a boundary of a first region in the plurality of regions includes a boundary of a color of an object;
a selection unit configured to select a representative pixel from each of the plurality of regions in the first image, based on the color of the object;
a detection unit configured to detect a position in the second image corresponding to the representative pixel and thereby to detect a distance to the object corresponding to the position of the representative pixel; and
a correction unit configured to correct an error of the distance to the object corresponding to the position of the representative pixel, the distance being detected by the detection unit, and the error being caused by chromatic aberration in an optical system employed to capture the first image and the second image,
wherein, when selecting the representative pixel from the first region, the selection unit is configured not to select the representative pixel from a neighborhood of the boundary of the first region.

### Claim 2 (depends on 1)

The distance detecting apparatus according to claim 1, wherein the selection unit is configured to select the representative pixel based on the color of the object such that a chroma of the object corresponding to the position of the representative pixel is not greater than a threshold value.

### Claim 3 (depends on 1)

The distance detecting apparatus according to claim 1, wherein the acquisition unit is further configured to acquire information which indicates a particular color having small chromatic aberration, in an optical system employed to capture the first image and the second image, and wherein the selection unit is configured to select the representative pixel based on the color of the object such that a difference between the particular color and the color of the object corresponding to the position of the representative pixel is not greater than a threshold value.

### Claim 4 (depends on 1)

The distance detecting apparatus according to claim 1, wherein the selection unit is configured to select the representative pixel and a second representative pixel from the first image, based on the color of the object, such that a difference between the color of the object corresponding to the position of the representative pixel and a color of the object corresponding to a position of the second representative pixel is not greater than a threshold value, and wherein the detection unit is further configured to detect a distance to the object corresponding to the position of the second representative pixel.

### Claim 5 (depends on 4)

The distance detecting apparatus according to claim 4, wherein the program further causes the distance detecting apparatus to function as a dividing unit configured to divide the first image into a plurality of regions including a first region and a second region, and wherein the selection unit is configured to select the representative pixel from the first region and to select the second representative pixel from the second region.

### Claim 6 (depends on 1)

The distance detecting apparatus according to claim 1, wherein the selection unit is configured to select the representative pixel from a region of the first image where contrast is not less than a threshold value.

### Claim 7 (depends on 1)

The distance detecting apparatus according to claim 1, wherein the selection unit is configured to select the representative pixel such that a pixel pattern similar to a third region, which contains the representative pixel in the first image, is not present in a neighborhood of the third region.

### Claim 8 (depends on 1)

The distance detecting apparatus according to claim 1, wherein the first point of view corresponds to a first pupil region of an exit pupil in an optical system employed to capture the first image and the second image, wherein the second point of view corresponds to a second pupil region of the exit pupil, wherein the acquisition unit is further configured to acquire a color image generated from a ray of light passing through the first pupil region and a ray of light passing through the second pupil region, and wherein the selection unit is configured to distinguish the color of the object, based on the color image.

### Claim 9 (depends on 1)

An image capturing apparatus comprising:
the distance detecting apparatus according to claim 1; and
one or more processors and a memory storing a program which, when executed by the one or more processors, causes the image capturing apparatus to function as an image capturing unit configured to capture the first image and the second image.

### Claim 10

A distance detecting method executed by a distance detecting apparatus, comprising:
acquiring a first image captured from a first point of view and a second image captured from a second point of view that is different from the first point of view;
dividing the first image into a plurality of regions such that a boundary of a first region in the plurality of regions includes a boundary of a color of an object;
selecting a representative pixel from the first image, based on the color of the object, from each of the plurality of regions;
detecting a position in the second image corresponding to the representative pixel and thereby detecting a distance to the object corresponding to the position of the representative pixel; and
correcting an error of the distance to the object corresponding to the position of the representative pixel, the distance being detected in the detecting step, and the error being caused by chromatic aberration in an optical system employed to capture the first image and the second image,
wherein, when selecting the representative pixel from the first region, said selecting step does not select the representative pixel from a neighborhood of the boundary of the first region.

### Claim 11

A non-transitory computer-readable storage medium which stores a program for causing a computer to execute a distance detecting method comprising:
acquiring a first image captured from a first point of view and a second image captured from a second point of view that is different from the first point of view;
dividing the first image into a plurality of regions such that a boundary of a first region in the plurality of regions includes a boundary of a color of an object;
selecting a representative pixel from the first image, based on the color of the object, from each of the plurality of regions;
detecting a position in the second image corresponding to the representative pixel and thereby detecting a distance to the object corresponding to the position of the representative pixel; and
correcting an error of the distance to the object corresponding to the position of the representative pixel, the distance being detected in the detecting step, and the error being caused by chromatic aberration in an optical system employed to capture the first image and the second image,
wherein, when selecting the representative pixel from the first region, said selecting step does not select the representative pixel from a neighborhood of the boundary of the first region.

### Claim 12

A distance detecting apparatus comprising one or more processors and a memory storing a program which, when executed by the one or more processors, causes the distance detecting apparatus to function as:
an acquisition unit configured to acquire a first image captured from a first point of view and a second image captured from a second point of view that is different from the first point of view;
a dividing unit configured to divide the first image into a plurality of regions, such that a boundary of a first region in the plurality of regions includes a boundary of a color of an object;
a selection unit configured to select a representative pixel from each of the plurality of regions in the first image, based on the color of the object such that influence of chromatic aberration is reduced;
a detection unit configured to detect a position in the second image corresponding to the representative pixel and thereby to detect a distance to the object corresponding to the position of the representative pixel,
wherein, when selecting the representative pixel from the first region, the selection unit is configured not to select the representative pixel from a neighborhood of the boundary of the first region.

### Claim 13 (depends on 12)

The distance detecting apparatus according to claim 12, wherein the selection unit is configured to select the representative pixel based on the color of the object such that a chroma of the object corresponding to the position of the representative pixel is not greater than a threshold value.

### Claim 14 (depends on 12)

The distance detecting apparatus according to claim 12, wherein the acquisition unit is further configured to acquire information which indicates a particular color having small chromatic aberration, in an optical system employed to capture the first image and the second image, and wherein the selection unit is configured to select the representative pixel based on the color of the object such that a difference between the particular color and the color of the object corresponding to the position of the representative pixel is not greater than a threshold value.

### Claim 15

A distance detecting apparatus comprising one or more processors and a memory storing a program which, when executed by the one or more processors, causes the distance detecting apparatus to function as:
an acquisition unit configured to acquire a first image captured from a first point of view and a second image captured from a second point of view that is different from the first point of view;
a dividing unit configured to divide the first image into a plurality of regions, such that a boundary of a first region in the plurality of regions includes a boundary of a color of an object;
a selection unit configured to select a representative pixel from each of the plurality of regions in the first image, based on the color of the object;
a detection unit configured to detect positions in the second image corresponding to the representative pixels selected from the plurality of regions and thereby to generate a distance distribution, to the object corresponding to the positions of the representative pixels, in which influence of chromatic aberration is corrected,
wherein, when selecting the representative pixel from the first region, the selection unit is configured not to select the representative pixel from a neighborhood of the boundary of the first region.

### Claim 16 (depends on 15)

The distance detecting apparatus according to claim 15, wherein the program further causes the distance detecting apparatus to function as a dividing unit configured to divide the first image into the plurality of regions.

### Claim 17 (depends on 15)

The distance detecting apparatus according to claim 15, wherein the first point of view corresponds to a first pupil region of an exit pupil in an optical system employed to capture the first image and the second image, wherein the second point of view corresponds to a second pupil region of the exit pupil, wherein the acquisition unit is further configured to acquire a color image generated from a ray of light passing through the first pupil region and a ray of light passing through the second pupil region, and wherein the selection unit is configured to distinguish the color of the object, based on the color image.
