Image processing apparatus, image capturing apparatus, image processing method, and storage medium
AssigneeCanon Kabushiki Kaisha
InventorKenji Onuki
Life of this patent
Estimating the term…
Abstract
There is provided an image processing apparatus. A line segment detecting unit detects line segments from an image. An obtainment unit obtains distance information indicating a distance in a depth direction of the image. A selecting unit selects a line segment for vanishing point detection from the line segments detected by the line segment detecting unit. A vanishing point detecting unit detects a vanishing point of the image on a basis of the line segment for vanishing point detection. For each line segment detected by the line segment detecting unit, the selecting unit selects the line segment in a case where the distance indicated by the distance information is in a monotonically changing trend along the line segment.
Claims10
-15. (canceled)
An image processing apparatus comprising one or more processors and a memory storing a program which, when executed by the one or more processors, causes the image processing apparatus to function as:
- an edge detecting unit configured to detect edge signals from an image;
- an edge selecting unit configured to select, from the detected edge signals, an edge signal that meets a predetermined condition;
- a line segment detecting unit configured to detect line segments from the selected edge signals;
- and
- a vanishing point detecting unit configured to detect a vanishing point of the image on a basis of the detected line segment,
- wherein the predetermined condition is a condition in which presence/absence of an edge signal in each of pixels in a peripheral region surrounding a target edge signal corresponds to at least one of a predetermined one or more patterns.
An image capturing apparatus comprising 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 generate an image;
- an edge detecting unit configured to detect edge signals from the image;
- an edge selecting unit configured to select, from the detected edge signals, an edge signal that meets a predetermined condition;
- a line segment detecting unit configured to detect line segments from the selected edge signals;
- and
- a vanishing point detecting unit configured to detect a vanishing point of the image on a basis of the detected line segment,
- wherein the predetermined condition is a condition in which presence/absence of an edge signal in each of pixels in a peripheral region surrounding a target edge signal corresponds to at least one of a predetermined one or more patterns.
An image processing method comprising:
- detecting edge signals from an image;
- selecting, from the detected edge signals, an edge signal that meets a predetermined condition;
- detecting line segments from the selected edge signals;
- and
- detecting a vanishing point of the image on a basis of the detected line segment,
- wherein the predetermined condition is a condition in which presence/absence of an edge signal in each of pixels in a peripheral region surrounding a target edge signal corresponds to at least one of a predetermined one or more patterns.
A non-transitory computer-readable storage medium which stores a program for causing a computer to execute an image processing method comprising:
- detecting edge signals from an image;
- selecting, from the detected edge signals, an edge signal that meets a predetermined condition;
- detecting line segments from the selected edge signals;
- and
- detecting a vanishing point of the image on a basis of the detected line segment,
- wherein the predetermined condition is a condition in which presence/absence of an edge signal in each of pixels in a peripheral region surrounding a target edge signal corresponds to at least one of a predetermined one or more patterns.
Dependencies are inferred from the claim text.