Distance detecting apparatus, image capturing apparatus, distance detecting method, and storage medium
AssigneeCanon Kabushiki Kaisha
InventorShin Tanaka
Life of this patent
Estimating the term…
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.
Claims17
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.
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.
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.
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.
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.
Dependencies are inferred from the claim text.