Image processing apparatus, image capturing apparatus, image processing method, and storage medium
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.
Claims
exact text as granted — not AI-modified1 .- 15 . (canceled)
16 . 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.
17 . The image processing apparatus according to claim 16 ,
wherein the edge selecting unit uses different patterns as the predetermined one or more patterns depending on a region of the target edge signal in the image.
18 . The image processing apparatus according to claim 16 , wherein the program further causes the image processing apparatus to function as:
a line segment selecting unit configured to select, from the detected line segments, a line segment present in a right-side region of the image and having an upward-left slope, and a line segment present in a left-side region of the image and having an upward-right slope, as line segments for vanishing point detection, and wherein the vanishing point detecting unit detects the vanishing point of the image on a basis of the line segments for vanishing point detection.
19 . The image processing apparatus according to claim 16 , wherein the program further causes the image processing apparatus to function as:
a correcting unit configured to carry out a correction process on the image on a region-by-region basis at a correction strength based on a distance from the vanishing point.
20 . The image processing apparatus according to claim 19 ,
wherein the correction process includes a process of correcting at least one of a brightness, a contrast, a hue, and a saturation of the image.
21 . 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.
22 . The image capturing apparatus according to claim 21 , wherein the program further causes the image capturing apparatus to function as:
an obtainment unit configured to obtain movement information indicating movement of the image capturing apparatus when the image is generated, and wherein in a case where the movement information indicates that a vehicle in which the image capturing apparatus is installed is moving forward, the edge selecting unit uses different patterns as the predetermined one or more patterns depending on whether a region of a target edge signal in the image is a left-side region of the image or a right-side region of the image.
23 . 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.
24 . 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.Join the waitlist — get patent alerts
Track US2019156489A1 — get alerts on status changes and closely related new filings.
We store only your email — no account needed. See our privacy policy.