USPatent applicationPatented

Apparatus and method for estimating distance using dual off-axis color filter aperture

Granted 1 Nov 2016 · 1 office action

Life of the application

8 dated events
⤢ drag to zoom20142016201820202022202420262028203020322034ProsecutionOwnershipTerm & fees
ProsecutionOwnershipTerm & feeshover for detail · click to open

Abstract

Disclosed are an apparatus and method for estimating a distance using a dual off-axis color filter aperture (DCA). An object detection unit is configured to detect an object from an image taken by a camera having the DCA equipped with a first filter having a first color and a second filter having a second color complementary to the first color. A color shifting value calculation unit is configured to calculate a color shifting value (CSV) using a color shift property between color channels of the image in a region corresponding to the detected object. A distance estimation unit is configured to estimate a distance from the camera to each point of the object based on the calculated CSV and camera parameters including a focal distance of the camera, a focal plane of the camera, and a position of the aperture.

Description

10 parts
›CROSS-REFERENCE TO RELATED APPLICATION

This application claims priority to and the benefit of Korean Patent Application No. 10-2014-0067443, filed on Jun. 3, 2014, the disclosure of which is incorporated herein by reference in its entirety.

›BACKGROUND

1. Field of the Invention

The present invention relates to an apparatus and method for estimating a distance using a dual off-axis color filter aperture (DCA), and more particularly, to an apparatus and method for estimating a distance from a camera to a subject using a DCA.

2. Discussion of Related Art

In the computer vision field, object detection is widely used in an intelligence monitoring system, a robot vision, a driving monitoring, and the like. A two-dimensional (2D) image extracted by a camera has many difficulties in controlling an autonomous mobile robot in a robot vision or an overlap between objects in an intelligence monitoring system. To overcome these difficulties, research is being conducted to extract three-dimensional information from an image.

Stereoscopic vision that has been studied for tens of years obtains distance information by performing matching between two images that are acquired from two cameras. Since this method acquires two images simultaneously and performs matching between the images, the amount of information may increase, calculation complexity may increase, and an error may be amplified during a disparity calculation process.

Recently, various calculation cameras for acquiring additional information from images using optical characteristics and image processing have been developed. With such additional information acquired from optical characteristics of a camera, a limitation of stereo cameras may be overcome using various methods, such as refocusing, increasing a dynamic range, and depth-induced editing. However, the above-described methods may have a lot of calculations or cannot accurately estimate a distance from a camera to a subject.

›REFERENCE DOCUMENTS

(Patent document 1) Korean Patent No. 10-1216668 entitled “Apparatus and Method for Estimating Object Information of Image Taken by Multiple Color Filter Aperture Camera” discloses an apparatus and method for estimating object information of an image taken by a camera having a multiple color filter aperture.

(Patent document 2) Korean Patent No. 10-1290197 entitled “Apparatus and Method for Estimating Depth Information of Image” discloses an apparatus and method for calculating a motion vector of each color channel of an image taken using a camera having a multiple color filter aperture and estimating a distance from a camera to an object on the basis of the calculated motion vector.

›SUMMARY OF THE INVENTION

The present invention is directed to an apparatus and method for estimating a distance from a camera to respective objects from an image taken using a dual off-axis color filter aperture (DCA), with simple calculation.

The present invention is also directed to a computer-readable recording medium recording a program for executing a method for estimating a distance from a camera to respective objects from an image taken using a dual off-axis color filter aperture (DCA) with simple calculation.

According to an aspect of the present invention, there is provided an apparatus for estimating a distance using a dual off-axis color filter aperture (DCA), the apparatus including: an object detection unit configured to detect an object from an image taken by a camera having the DCA equipped with a first filter having a first color and a second filter having a second color complementary to the first color using a predetermined method; a color shifting value calculation unit configured to calculate a color shifting value (CSV) using a color shift property between color channels of the image in a region corresponding to the detected object; and a distance estimation unit configured to estimate a distance from the camera to each point of the object based on the calculated CSV and camera parameters including a focal distance of the camera, a focal plane of the camera, and a positions of the aperture.

According to another aspect of the present invention, there is provided a method of estimating a distance using a dual off-axis color filter aperture (DCA), the method including: detecting an object from an image taken by a camera having the DCA equipped with a first filter having a first color and a second filter having a second color complementary to the first color using a predetermined method; calculating a color shifting value (CSV) using a color shift property between color channels of the image in a region corresponding to the detected object; and estimating a distance from the camera to each point of the object based on the calculated CSV and camera parameters including a focal distance of the camera, a focal plane of the camera, and a position of the aperture.

›BRIEF DESCRIPTION OF THE DRAWINGS

The patent or application file contains at least one drawing executed in color. Copies of this patent or patent application publication with color drawing(s) will be provided by the Office upon request and payment of the necessary fee. The above and other objects, features and advantages of the present invention will become more apparent to those of ordinary skill in the art by describing in detail exemplary embodiments thereof with reference to the accompanying drawings, in which:

FIG. 1 is a block diagram showing a configuration of an apparatus 100 for estimating a distance using a dual off-axis color filter aperture (DCA) according to an embodiment of the present invention;

FIG. 2 is a view showing a general imaging system using a thin-type lens having an aperture arranged in an optical axis;

FIG. 3 is a view showing an optical system having two off-axis apertures;

FIG. 4 is a view showing an image forming principle of a general thin-type lens;

FIG. 5 is a view showing an image forming principle using one off-axis aperture;

FIG. 6 is a view showing an imaging system having one off-axis aperture;

FIG. 7 is a graph showing a change in a color channel movement value Δy with respect to z for a 150 mm lens;

FIG. 8 is a view showing a geometric structure of a DCA camera;

FIG. 9 is a graph showing a resolution R with respect to z and a graph showing accuracy of distance estimation using a percentage of distance;

FIG. 10 is a view showing objects detected by a background subtraction method;

FIG. 11 is a view showing a color shift that is obtained when an object is positioned at a distance between 40 cm and 500 cm in a case in which f=50 mm and z 0 =115 cm;

FIG. 12 is a view showing a matching result caused by color channel shift;

FIG. 13 is a graph showing a color shifting value as a function of a distance according to a relation between Δy and z that are given in Equation (16);

FIG. 14 is a view showing a cross pattern used in the experiment;

FIG. 15 is a graph of a color shifting value measured at a distance for an object having a position changed in units of one meter from 5 meters to 30 meters using a 180 mm lens; and

FIG. 16 is a flowchart showing a distance estimation method using a dual off-axis color filter aperture (DCA) according to an embodiment of the present invention.

›DETAILED DESCRIPTION OF EXEMPLARY EMBODIMENTS · 1 of 5

Exemplary embodiments of the present invention will be described in detail below with reference to the accompanying drawings. While the present invention is shown and described in connection with exemplary embodiments thereof, it will be apparent to those skilled in the art that various modifications can be made without departing from the spirit and scope of the invention.

Hereinafter, an apparatus and method for estimating a distance using a dual off-axis color filter aperture according to an embodiment of the present invention will be described in detail with reference to the accompanying drawings.

FIG. 1 is a block diagram showing a configuration of an apparatus 100 for estimating a distance using a dual off-axis color filter aperture (DCA) according to an embodiment of the present invention.

Referring to FIG. 1 , the apparatus 100 for estimating a distance using a dual off-axis color filter aperture (DCA) according to an embodiment of the present invention includes an object detection unit 110 , a color shifting value calculation unit 120 , a unit conversion unit 130 , a distance estimation unit 140 , and a object division unit 150 .

The object detection unit 110 detects an object from an image taken by a camera (hereinafter, referred to as a DCA camera) including a DCA equipped with a filter having a first color and a filter having a second color complementary to the first color. In this case, the object detection method may include, but is not limited to, an optical flow technique, an edge detection technique, and the like. A method well known to a person skilled in the art may be used to detect an object in an embodiment of the present invention. Accordingly, the description thereof will be omitted. Preferably, the first color may be red, and the second color may be cyan.

The color shifting value calculation unit 120 calculates respective color shifting values of color channels corresponding to the first color and the second color with respect to the detected object.

An aperture used in an optical system is a device for controlling a size of an opening of a camera to control an amount of light that is incident on an image sensor. In a general image system, a center of the aperture is aligned with a center of an optical axis. Referring to (a) of FIG. 2 , a convergence pattern of an object that is positioned in focus in an image is formed as one point. However, as shown in (b) of FIG. 2 , when the object is moved from an in-focus position (Ai) to a far-focus position (Af), a point of the object is spread in an image plane to form a circle of confusion (COC).

As shown in (a) of FIG. 3 , if a dual off-axis color filter aperture (DCA) is formed by blocking a center of the aperture, a movement pattern occurs by projecting one point to two points that are separated from each other when the object is not positioned in the in-focus point. If the object is moved from the far-focus position (Af) to the in-focus position (Ai), two projection points are gradually converged into one point on an image plane. In addition, when the object is moved to a near-focus position (An), the one point is separated back into the two projection points in a direction opposite to the above-described direction.

As shown in (b) of FIG. 3 , the DCA may measure disparity between the two projection points to estimate a distance between the object and the camera since a red projection point and a cyan (green and blue) projection point are separately formed on an image plane according to the distance between the object and the camera when a red color filter and a cyan color filter are provided to respective openings. A distance between two separated convergence patterns is determined according to the distance between the object and the camera. Accordingly, the red color filter is equipped in one aperture of a lens and the cyan color filter is equipped in the other aperture. Thus the two convergence patterns may be separately acquired by a red sensor and a cyan sensor. A functional relation between a disparity obtained from the two red and cyan points and an object distance may be geometrically induced, and the geometric disparity may be estimated from a color deviation value between the two projection points.

The color shifting value calculation unit 120 calculates color shifting values (CSVs) of a first color channel and a second color channel corresponding to the first color and the second color, respectively, using characteristics of the DCA. An image sensor of the DCA camera provides geometrical information such as color shifting between color channels according to a distance in addition to color and intensity information. When an object is positioned at an in-focus position, objects on an image plane are converged and thus a color shift is not generated. However, when the object is far from the in-focus position, a color shift between a red color channel and a green or blue color channel is generated. On the contrary, when the object is close to the in-focus point, the color shifting is generated in an opposite direction to the far-focus point. Thus, a distance of an object may be estimated from a single image of a single sensor camera using the CSV estimated through the convergence pattern.

In order to estimate the CSV between red and green (R-G) or between red and blue (R-B) in an image acquired from the DCA camera, the present invention uses a L 1 norm minimization method of an energy function for depth estimation. An early optical flow algorithm assumes brightness constancy in finding motion between adjacent images. However, since the image acquired from the DCA camera has different intensities in respective color channels, the characteristic of brightness constancy between three channels is not satisfied. Accordingly, an embodiment of the present invention uses an optical flow estimation algorithm that includes a data term considering gradient consistency in addition to the brightness consistency. In order to adapt this function to an image of the DCA camera to which the optical flow estimation algorithm that performs estimation along only an x-axis has been applied, an energy function for an R(red)-G(green) data term is defined as the following equation (1).

›DETAILED DESCRIPTION OF EXEMPLARY EMBODIMENTS · 2 of 5

Where, E data rg denotes an energy function for a red (R) and green (G) data term, s denotes a channel shifting value (CSV) between a red channel and a green channel, Ω denotes any region in an image, ψ denotes a concave function, I r (x) and I g (x) denote R (red) and G (green) color channel images, respectively, and I x r (x) and I x g (x) denote partial derivatives of the R (red) and G (green) color channels with respect to x. In this case, a modified L 1 norm minimization method of energy is induced using ψ(s 2 )=√{square root over (s 2 +ε 2 )} (here, ε is a small constant and ε=0.001). The modified L 1 norm minimization method is used to solve an outlier problem that occurs at a boundary of a discrete signal.

The definition of an energy function E data rb (u) for red (R) and blue (B) data terms may be obtained by substituting I g (x) with I b (x) in equation (1). In addition, since a CSV between R and G and a CSV between R and B have the same disparity, the two data terms may be considered as one term.

A piecewise smoothness constraint is applied including a penalty term defined as shown in equation (2).

E smooth ( s )=∫ Ω ψ( s x ( x,y ) 2 +s y ( x,y ) 2 ) dxdy   [Equation 2]

Where, s x and s y denote partial derivatives of a color shift map with respect to x and y. Accordingly, a total energy function is a sum of weights among the two data terms and the smoothness term and is defined as the following equation (3).

E ( s )= E data rt ( s )+ E data rb ( s )+α E smooth ( s )  [Equation 3]

Where, α is a regulation parameter and α>0. A CSV may be estimated by minimizing E which is the total energy function. A result of a CSV that is estimated using the modified optical flow method is shown in FIG. 5 .

In order to detect an object from an image acquired by the DCA camera, an adaptive background modeling method is used. At a first stage, a motion vector is estimated using the optical flow method. I i (x,y) and I i−1 (x,y) are taken as a current frame and a previous frame, respectively, and an optical flow of each pixel (x,y) may be obtained by minimizing a Euclidean distance, as shown in equation (4) below.

Where, (d x ,d y ) that minimizes F(x,y) denotes a displacement of a pixel (x,y). When F(x,y)<T F (here T F is a threshold that is previously specified in the Euclidean distance), the pixel (x,y) is assumed to be in a background, and a background image is updated corresponding to a defined pixel as shown in equation (5) below.

B t ( x,y )=(1−β) I t ( x,y )+β B t-1 ( x,y )  [Equation 5]

Where, B t and B t-1 are background images at time t and time t−1, respectively, and β is a mixing ratio in a range [0, 1].

FIG. 4 shows an image forming principle using a general lens. A case in which an object is positioned in a focal plane is shown in (a) of FIG. 4 , and a case in which an object is positioned at a point far from the focal plane is shown in (b) of FIG. 4 .

Referring to FIG. 4 , if a center c of a lens having a focal distance f positioned on an optical axis is (0,0,0) and an image plane of a camera is separated from the center of the lens by v 0 , then a distance from the center of the lens to a focal plane z 0 using the Gauss lens equation may be obtained by the following equation.

Accordingly, the distance from the center of the lens to the object is obtained by the following equation as shown in (a) of FIG. 4 .

Similarly, when the object is separated by z from the center of the lens, the image plane v is at a distance calculated by the following equation, that is, at an in-focus point.

However, when the image plane is positioned at v 0 , as shown in (b) of FIG. 4 , the object is blurred, and a diameter of a blurred area is calculated by the following equation.

Where, b is a diameter of a blurred area, d is a diameter of an aperture, f is a focal distance of a lens, z 0 is a distance from a center of a lens to a focal plane, and z is a distance from a center of a lens to an object.

FIG. 5 shows an image forming principle using a lens equipped with an off-axis aperture.

Referring to FIG. 5 , the center of the aperture is positioned at (0, c y , 0) that is separated from the center of the lens. When the center of the aperture is positioned on an optical axis, light passing through the center of the aperture from the point p is projected at a point π 0 y (v 0 ) on an image plane through a point π y (v). However, when the aperture is moved to c=(0, c y , 0), light moves from a point π 0 y (v 0 ) on the image plane to a point π y (v 0 ). A shifting value of the point is determined by c y . A position π y (v 0 ) where light is projected may be obtained by the following equation.

When equation (10) is solved with respect to π y (v 0 ), the following equation is obtained.

Since

π y ⁡ ( v ) = - y z ⁢ v

in equation (11), thus, equation (11) is summarized as the following equation.

Equation (12) is a projection location of a point p in a y-axis direction when the center of the aperture is positioned at (0, c y , 0).

In an actual imaging system, as shown in FIG. 6 , the aperture is not on the plane of the lens and is positioned at a position separated from the lens by a certain distance c z . As the off-axis aperture is moved from the lens, an equivalent position c eq y of the aperture is represented by a position function of a point p as shown in the following equation.

When equation (13) is solved with respect to c eq y , the following equation is obtained.

When c y in equation (12) is substituted with c eq y in equation 14 and solving for π y (v 0 ), the following equation is obtained.

Equation (15) is a general expression for a y-axis of a projection of a point p=(x, y, z) on an image plane that is separated by v 0 from a center of a lens with respect to an aperture having a center positioned at c=(0, c y , c t ). With symmetry, when the center of the aperture is positioned at c=(c x , 0, c z ), the general expression for a y-axis of projection of a point p=(x, y, z) is equal to the following equation.

In a special case, when p=(x, y, z 0 ), that is, the point p is positioned on a focal plane, v=v 0 , the projection on a center c of any aperture is defined as the following equation, which is the same as the equation for the general aperture described with reference to FIG. 4 .

›DETAILED DESCRIPTION OF EXEMPLARY EMBODIMENTS · 3 of 5

However, when the point p is not positioned on the focal plane, the position of the projection point is a function for a position of an aperture. Furthermore, the point p forms a blurred area having a diameter given by equation (7) around a projection point π(p).

If it is assumed that the first color filter is positioned at c 1 =(c x , c y , c z ) and the second color filter is positioned at c 2 =(c x , c y +Δc y , c z ) that is moved by Δy along a y-axis, the point p is separated by Δy along the y-axis as shown in the following equation when the point p is projected on an image plane through the two color filters, from equation (15).

When the point p is positioned on the focal plane, v=v 0 and Δy=0. However, if z>z 0 , that is, the point p is positioned farther than the focal plane, then v<v 0 and Δy<0. On the contrary, if z<z 0 , that is, the point p is positioned closer than the focal plane, then v>v 0 and Δy>0.

On the other hand,

v 0 = fz 0 z 0 - f ⁢ ⁢ and ⁢ ⁢ v = fz z - f ,

and thus equation (18) is summarized as the following equation through substitution.

Equation (19) represents a shifting value between projection points by a DCA in which respective apertures equipped with color filters having different colors are separated by Δc y .

As a result, the color shifting value calculation unit 120 calculates a displacement (that is, a color shifting value) between projection points on the image plane corresponding to the two color channels of the p=(x, y, z) that are caused by the DCA, using equation (19).

The unit conversion unit 130 converts a unit of the displacement between the projection points that is calculated by the color shifting value calculation unit 120 . Since c z , z, and z 0 are in units of millimeters, the displacement between projection points calculated by the color shifting value calculation unit 120 is also in units of millimeters. The color channel shifting value is in units of pixels, the units of Δy need to be converted from millimeters to pixels. A specification of an image sensor used in a camera is needed for the unit conversion. To this, specification information of the image sensor used in the image sensor is previously stored in the unit conversion unit 130 or provided from the outside. Accordingly, for a camera including an N 1 ×N 2 pixel array and a CMOS array having a size of W×H mm, a distance α between the two pixels is obtained by the following equation.

In equation (20), the unit of α is mm.

For example, for a 12 megapixels (4272×2848 pixels) camera having an APS-C sensor (22.2×14.8 mm), the calculated distance α between the two pixels is 0.0052 mm.

Accordingly, when the right side of equation (19) is divided by a, a color channel shifting value Δy may be obtained in units of pixels, as shown in the following equation.

FIG. 7 is a graph showing a change in a color channel shifting value Δy with respect to z for a 150 mm lens when a distance from the center of the lens to a focal plane is 20 m, a distance Δc y between apertures is 20 mm, and a distance c z from the center of the lens to an aperture in a z-axis direction is 0 m. Referring to FIG. 7 , it can be seen that the variation Δy of the color channel shifting value with respect to z increases significantly as the object approaches the lens.

The distance estimation unit 140 estimates a distance from a camera to each point of the object on the basis of a color shifting value Δy caused by the DCA and camera parameters including a focal distance of the camera, positions of the apertures, and a focal plane of the camera.

The shifting value caused by projection of a point passing through two apertures that are separated by Δy in a y-axis direction is obtained from equation (19). FIG. 8 shows a geometric structure of a DCA camera. Referring to FIG. 8 , a red color filter and a cyan color filter are separated by Δc y . When a digital camera equipped with a Bayer color filter array is used, a red plane image is formed by light passing through an aperture equipped with a red color filter while a green plane image is formed by light passing through an aperture equipped with a green color filter. Due to a change between the two apertures, objects deviated from the focal plane of the camera are moved by Δy between a red plane and a green plane and between a red plane and a blue plane. Accordingly, there are correspondences of points between the red plane and the green plane or between the red plane and the blue plane, and the correspondences may be used to estimate a distance between objects in a scene. More specifically, when equation (21) is solved with respect to z, the following equation is obtained.

Accordingly, a distance z from a camera to a point p=(x, y, z) on an object may be obtained from a color shifting value Δy by a DCA in addition to camera parameters including a focal distance of the camera, positions of the apertures, and a focal plane of the camera. A method of acquiring values of the camera parameters will be described below.

Before a distance of an object from a shifting value Δy is estimated by equation (22), camera parameters, such as a focal distance f of a camera, a conversion coefficient α in conversion of a shifting value in units of millimeters into a shifting value in units of pixels, a distance Δc y from a center of a lens to an aperture in a z-axis direction, positions c z of apertures in a z-axis direction, and a focal plane z 0 , need to be determined. The focal distance f may be seen from a lens specification. If a zoom lens is used, an additional adjustment procedure is needed. The conversion coefficient α may be derived from a specification of an image sensor. The positions c z of apertures in a z-axis direction are obtained through the following simple adjustment process. It is assumed that two objects are positioned at known distances z 0 and z 1 from a camera. The camera is focused on an object positioned at z 0 , and the focal plane is set to a known value z 0 . Next, when a shifting value Δy for an object positioned at z 1 is obtained and equation (22) is solved with respect to c z , the following equation may be obtained.

›DETAILED DESCRIPTION OF EXEMPLARY EMBODIMENTS · 4 of 5

The distance Δc y between the two apertures, which is a final aperture parameter, may be obtained by a simple physical measurement or an additional adjustment process. The remaining variable needed to obtain a distance z from a shifting value Δy is the focal plane z 0 . One method for this is to setting a camera focal point to infinity or a very large value. When z 0 >>0, equation (22) may be approximated to the following equation.

Another approximation method is to set a focal plane to an object or a point positioned at a known distance z 0 from a camera.

Equation (22) may be used to obtain a distance of an object from a shifting value Δy between two projection points that are generated by the DCA. In order to determine a resolution of such an estimate, Δy is partially differentiated with respect to z, as shown in the following equation.

is the number of pixels where points projected when the point p moves on the object move on an image plane in units of millimeters. Accordingly, as shown in the following equation, the resolution may be defined as a magnitude of the inverse of the partial derivative.

R(z, Δc y ) is a distance by which the object needs to move in order to change one pixel at Δy. When z 0 >>0 and z>>f, the resolution defined in equation (26) may be approximated to the following equation.

As the distance of the object increases, the resolution decreases. Accordingly, in order to maintain a certain resolution as the distance z increases, the focal distance should increase. FIG. 9 is a graph showing a resolution R with respect to z and a graph showing accuracy of distance estimation using a percentage of distance. In an example shown in (a) of FIG. 9 , when Δc y =20, c z =0, f=150, and α=0.00525 (in units of mm), an object positioned at 15 meters should move by 0.5 meters in order to move by one pixel. Accordingly, when the shifting value Δy may be estimated with an accuracy of ¼ pixel, the distance estimation achieves an accuracy of 0.125 meters. An object positioned at 45 meters should move 3.5 meters in order to move one pixel, which means needing a distance estimation having an accuracy of less than one meter in order to estimate a shifting value Δy with an accuracy of less than ¼ pixels. In (b) of FIG. 9 , a graph showing an accuracy of distance estimation using a percentage of distance is shown. For example, an estimation for 50 meters has an accuracy of less than or equal to 9%, and an estimation for an object positioned at 10 meters has an accuracy of less than or equal to 2% for one pixel resolution.

The object separation unit 150 classifies the detected objects by using the eight-directional labeling method in case that a plurality of objects are detected. And the object separation unit 150 clusters the distance of each object based on the color shifting value (CSV) histogram calculated for each labeled object region and separates the overlapped objects. The object separation unit 150 clusters the overlapped objects by using the multi-modal histogram decomposition method and separates the overlapped objects by using a predetermined threshold value in the histogram.

FIG. 10 is a view showing objects detected by a background subtraction method. As shown in (c) of FIG. 10 , color shifting is occurred at a boundary of each object and the detected regions corresponding to each object are classified by using eight-directional labeling method. CSVs of the detected regions are estimated from the rectangle regions of the labeled objects by minimizing equation 3. If the estimation is performed for a single object, the histogram of CSV of the object excluding the background has a characteristic of uni-modal and CSV of the object is determined by detecting maximum probability value. However, the regions of overlapped objects have the characteristic of multi-modal and it is not possible to determine a single value of maximum probability as a distance of each region. Therefore, the distances of the overlapped objects should be clustered by analyzing the multi-modal. The general parametic based clustering method estimates the given number of parameters for the given number of cluster to be classified. But, it is impossible to know how many objects are overlapped in a real image.

Therefore, the number of clustering should be estimated from CSV histogram and the histogram should be clustered according to the estimated number of cluster. To solve the afore-mentioned problem, modality of the histogram is estimated and each object of the overlapped regions is separated by clustering the distances of the overlapped objects using the multi-modal histogram decomposition method and by applying the threshold value. The histogram decomposition method has low computational complexity since it does not employ conventional iterative parameter refinement. Furthermore, the CSV histogram is smoothed by a Gaussian filter for prevention the detection of multiple fake local minima and maxima. The predetermined number of parameters, such as means and variances, are estimated after calculating the number of clusters using the estimated local maximum and minimum in the CSV histogram. Optimal threshold values for clustering objects are estimated using a maximum-likelihood-based decision criterion from parameters in the CSV histogram for separating objects.

Hereinafter, an effect of an apparatus and method for estimating a distance using a DCA according to an embodiment of the present invention is evaluated, and an off-axis aperture image relation is analyzed. In the experiment, the Canon 12.2 megapixel DSLR camera equipped with an APS-C CMOS sensor has been used. An EF-S 18-55 mm lens available from Canon Inc. is used in a camera in order to estimate a short distance of less than 5 meters, and an AF 55-200 mm lens available from Tamron Co. Ltd. is used in order to estimate a long distance from 5 meters to 20 meters. Each of the two lenses is equipped with the DCA including both the red color filter and the cyan color filter. A size of the apertures and a distance Δc y between the apertures in addition to the camera specification are described in the following table.

›DETAILED DESCRIPTION OF EXEMPLARY EMBODIMENTS · 5 of 5

For short distance estimation, a white LED light is used as the object. FIG. 10 is a view showing color shift that is obtained when an object is positioned at a distance between 40 cm and 500 cm in a case in which f=50 mm and z 0 =115 cm. When the object is closer than a focal position (z<115 cm), as shown in (a) and (b) of FIG. 10 , a red channel is moved leftward with respect to a cyan channel. When the object is farther than the focal position (z>115 cm), as shown in (c) to (h) of FIG. 10 , a red channel is moved rightward with respect to a cyan channel.

In order to estimate the distance of the object, the color shifting value Δy needs to be estimated. The color shifting value may be automatically obtained in various methods, but in this experiment, the color shifting value was determined by moving the red channel along the y-axis until color misalignment had disappeared. FIG. 11 is a view showing a matching result, and FIG. 12 is a graph showing a color shift value as a function of a distance according to a relation between Δy and z that are given in Equation (21). It can be seen from FIG. 12 that the experiment result and the theoretical value are significantly consistent.

In order to evaluate performance of the DCA camera with respect to an object positioned at a long distance, a position of an object is changed and photographed in units of one meter from 5 meters to 30 meters using a printed cross pattern shown in FIG. 13 . According to equation (27), resolution of estimating a distance with respect to a fixed focal distance decreases as the distance z increases. Accordingly, in the experiment, the Tamron AF 55-200 mm lens having a long focal distance was used. FIG. 14 is a graph of a color shifting value measured at a distance for an object having a position changed in units of one meter from 5 meters to 30 meters using a 180 mm lens. It can be seen from FIG. 14 that a value given by equation (21) is consistent with the experiment result.

FIG. 15 is a flowchart showing a distance estimation method using a dual off-axis color filter aperture (DCA) according to an embodiment of the present invention.

The object detection unit 110 detects an object from an image taken by a DCA camera equipped with a filter having a first color and a filter having a second color that is complementary to the first color in operation S 1500 . Next, the color shifting value calculation unit 120 calculates respective color shift values of color channels corresponding to the first color and the second color with respect to the detected object in operation S 1510 . The unit conversion unit 130 converts a unit of a displacement between projection points that is calculated by the color shifting value calculation unit 120 from millimeters to pixels in operation S 1520 . The distance estimation unit 140 estimates a distance from a camera to each point on an image plane on the basis of a color shifting value caused by the DCA and camera parameters including a focal distance of the camera, positions of the apertures, and a focal plane of the camera in operation S 1530 .

The invention can also be embodied as computer-readable codes on a computer-readable recording medium. The computer-readable recording medium is any data storage device that can store data which can be thereafter read by a computer system. Examples of the computer readable record medium include a ROM, a RAM, a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage. Further, the record medium may be implemented in the form of a carrier wave such as Internet transmission. The computer readable recording medium can also be distributed over computer systems connected through a wired/wireless communication network so that the computer readable code is stored and executed in a distributed fashion.

According to the apparatus and method for estimating a distance using a dual off-axis color filter aperture (DCA) according to an embodiment of the present invention, it is possible to estimate a distance from a camera to each object from an image taken by a camera having the DCA with simple calculation.

While the present invention has been particularly shown and described with reference to preferred embodiments thereof, it should not be construed as being limited to the embodiments set forth herein. It will be understood by those skilled in the art that various changes in form and details may be made to the described embodiments without departing from the spirit and scope of the present invention as defined by the following claims.

›Tables in the description — 3
v=
f⁢
⁢
zz-f
[
Equation⁢
⁢8
]
α=
W⁢
⁢??⁢
⁢H
N1
⁢??⁢
⁢
N2
[
Equation⁢
⁢20
]
TABLE 1 — CAMERA SPECIFICATION
CAMERA TYPEDIGITAL SINGLE LENS REFLEX
(DSLR) - CANON 450D
IMAGE SENSOR22.2 × 14.8 mm APS-C CMOS SENSOR
RESOLUTION12.2 MEGAPIXEL (4272 × 2848)
DCA LENS SPECIFICATION
LENS TYPECANON EF-S 18-55 mmTAMRON AF
3.5-5.655-200 mm F4-5.6
Δc y5 mm8 mm
DISTANCE BETWEEN1 mm5 mm
APERTURES

Claims as granted

17 claims

Log in to read the claims of this application.

Log in to unlock

Classifications

2 codes
IPC · International Patent Classification
Section G — Physics
  • G06T7/00
  • G06T7/40

Claim changes

Soon
Coming soonHow the claims changed between publication and grant

See which claims were amended, added or cancelled during examination, with every added and removed word marked.

AmendedAddedCancelledUnchanged

The published claims of this application are not paired with the granted ones in what we hold.

File wrapper

⤢ drag to zoomOct 2014Jan 2015Apr 2015Jul 2015Oct 2015Jan 2016Apr 2016Jul 2016Oct 2016Jan 2017USPTOApplicantNon-final rejectionResponse after non-final
USPTOApplicanthover for detail · click to open
Pendency
2.1 y
769 days filing → grant
Office actions
1
non-final + final
Responses
1
no RCE
Examiner
Katrina Fujita
art unit 2666 · TC 2600
Citations: 8 back · 0 forward

See the full prosecution history — every USPTO and applicant action on this file, in order.

Log in to unlock

Documents

Log in to open the documents of this file: the application as filed, every office action and response, the notice of allowance.

Log in to unlock

Chain of title

⤢ drag to zoom20142016201820202022202420262028203020322034Owner 1
Titlehover for detail · click to open

See the full assignment history — every owner this patent has passed through, with recordation dates and reel/frame numbers.

Log in to unlock