Method for determining scattered disparity fields in stereo vision

- Telecom Italia S.p.A.

In a system for stereo vision including two cameras shooting the same scene, a method is performed for determining scattered disparity fields when the epipolar geometry is known, which includes the steps of: capturing, through the two cameras, first and second images of the scene from two different positions; selecting at least one pixel in the first image, the pixel being associated with a point of the scene and the second image containing a point also associated with the above point of the scene; and computing the displacement from the pixel to the point in the second image minimizing a cost function, such cost function including a term which depends on the difference between the first and the second image and a term which depends on the distance of the above point in the second image from a epipolar straight line, and a following check whether it belongs to an allowability area around a subset to the epipolar straight line in which the presence of the point is allowed, in order to take into account errors or uncertainties in calibrating the cameras.

Skip to: Description  ·  Claims  ·  References Cited  · Patent History  ·  Patent History
Description
CROSS REFERENCE TO RELATED APPLICATION

This application is a national phase application based on PCT/IB2005/003598, filed Nov. 30, 2005, the content of which is incorporated herein by reference.

TECHNICAL FIELD

The present invention deals, in general, with a method for automatically analysing images for stereo vision, in particular with a method for determining scattered disparity fields when the epipolar geometry is known.

A frequent problem to be solved in automatically analysing images is determining the disparity existing between two frames showing the same scene, acquired from different points of view with one or more cameras. Disparity is related to the position of the two frames of the same scene element. There are algorithms computing the disparity for every image pixel, as well as others which are limited to a subset of pixels, namely a group of points. The former case deals with dense disparity fields, the latter case deals with scattered disparity fields. The present invention is pertaining to the second category.

A widespread technique for determining the scattered disparity field existing between two frames consists in identifying and associating related relevant points, namely points describing characteristic image areas. There are several algorithms for such purpose, which are based on identifying angles, edges, outlines or any other feature, which can be plausibly associated between frames, namely reducing the ambiguity. Such algorithms have been made for tracking points between generic frames, also taken by a single camera in different time instants.

In the “computer vision” field, there are numerous documents dealing with the problem of the search for correspondence between different frames. In particular, in stereo vision, one of the main objectives is determining the distance of portrayed objects starting from n different views, with n≧2. In case of n=2, for determining the correspondence, the so-called fundamental matrix is used, which describes the relationship existing between two images related to the same scene, taking into account the parameters describing the vision system (namely camera features and positions). Such relationship implies that, taken a point on the first image (frame), its corresponding point on the second image (frame) will lay on a straight line, called epipolar line.

One of the best known algorithms which can be used for computing a scattered disparity field, based on identifying and tracking features being present in images, is the one described in the article by Carlo Tomasi and Takeo Kanade “Shape and Motion from Image Stream—Part 3—Detection and Tracking of Point Features”, Technical Report CMU-CS-91-132, April 1991, and known in the art as KLT (Kanade-Lucas-Tomasi) technique. As such article states, there are two important problems to be solved for a correct point tracking between frames: how to select the features to be tracked (“feature selection”) and how to track them frame by frame (“tracking”). Such article describes in particular an algorithm for performing the tracking, through a 2×2 linear system (which can be translated in a cost function to be minimised) whose unknown is the two-dimensional displacement vector of the point feature between two frames (disparity vector). The KLT technique, though if related to sequences of images, can be efficiently used also in case of simultaneous images of the same scene.

The article by J. Shi and C. Tomasi, “Good Features to Track”, IEEE Conference on Computer Vision and Pattern Recognition (CVPR94), Seattle, June 1994, being based on the KLT technique, proposes a selection criterion of features on which tracking can be done.

The article by J. Mendelsohn, E. Simoncelli, and R. Bajcsy, “Discrete-Time Rigidity-Constrained Optical Flow”, 7th International Conference on Computer Analysis of Images and Patterns, Sep. 10-12, 1997, deals with the computation of dense fields and imposes that disparity vectors (which constitute dense fields) point to positions lying on epipolar straight lines. With this constraint, it is possible to improve the results that can be obtained, if the epipolar straight lines are accurately known.

The article by H. Najafi and G. Klinker, “Model-based Tracking with Stereovision for AR”, Proceedings of the Second IEEE and ACM International Symposium on Mixed and Augmented Reality (ISMAR), 2003, proposes to use the fundamental matrix downstream of the KLT technique to remove those features for which corresponding points in the second frame do not rest on epipolar straight lines. Consequently, the disparity vectors, which are in conflict with the configuration of the two cameras, are removed.

BRIEF DESCRIPTION OF THE INVENTION

The Applicant observed that the KLT technique does not exploit the fundamental matrix knowledge, which is often available above all in case of two or more cameras.

Moreover, the Applicant observed that the disparity computation techniques which exploit the fundamental matrix constrain the points to stay on the epipolar lines and that such constraint brings about correct results only assuming an accurate camera calibration. However, the calibration is typically obtained through estimations and is therefore subjected to errors or inaccuracies.

The Applicant found that, by suitably modifying the KLT method in order to take into account information pertaining to the fundamental matrix, which can be computed through a calibration process, it is possible to improve the quality of the extracted disparity field. In particular, the Applicant found that, by modifying the point tracking process in order to take into account the fundamental matrix, but without setting absolute constraints, it is possible to affect at will the process, in order to compensate for errors in calibrating the system.

In particular, the Applicant found that, by allowing the arrangement to deviate from the epipolar straight line, through the introduction, in the KLT technique cost function, of a term proportional to the square of the distance between epipolar line and searched point, it can be possible to obtain accurate results also when there is an approximate calibration. The thereby obtained results can be better both than those which can be obtained by applying the original KLT technique, and than those which can be obtained by constraining the identified points to rest only on the epipolar straight lines.

Preferably, in order to determine the point of the second image associated with the pixel of the first image, the cost function minimising step is iterated many times, using every time the update of the cost function obtained in the previous cycle.

Moreover, the Applicant found that it is possible to further limit the validity area with respect to the epipolar straight line. Such restriction is represented by a half line (subset of the epipolar straight line), which brings about the elimination of all disparity vectors which do not point to positions near such half line.

The preferred field of application of the present invention is computer vision, in particular in case of shooting from many points of view.

BRIEF DESCRIPTION OF THE FIGURES

The present invention will be described below with reference to the enclosed figures, which show a non-limiting application example thereof. In particular:

FIG. 1 schematically shows a system for video shooting comprising two cameras and blocks composing the process described in the invention; and

FIG. 2 schematically shows images taken by the two cameras, pointing out on one of them the epipolar line associated to a pixel of the other image;

FIG. 3 shows the above image pointing out the above epipolar line and an allowability area for disparity vectors;

FIGS. 4 and 5 show a pair of frames of the same scene taken from different angles, for a comparative test between the inventive technique and the KLT technique carried out in the original way;

FIG. 6 shows the result of the KLT tracking technique carried out in the original way;

FIG. 7 shows the result obtained by means of the technique of the present invention; and

FIGS. 8 to 9 show comparative details of the results shown in FIGS. 6 and 7.

DETAILED DESCRIPTION OF THE INVENTION

With reference to FIG. 1, 100 designates as a whole a system for video shooting with many cameras. In particular, the system 100 is capable to shoot from different positions of the same scene and to determine the scattered disparity fields between the thereby shot images.

The system 100 comprises a first camera T1 and a second camera T2, both capable to generate respective digital images (or frames) IM1, IM2 of the same scene. The two cameras T1, T2 can be oriented towards the scene as mutually parallel or mutually slanted.

The system 100 further comprises a processing unit PU, connected to both cameras T1, T2, and capable to process digital images IM1 and IM2 received from the two cameras T1, T2 to obtain a scattered disparity field according to the method described below. Moreover, the system 100 comprises a camera calibration module CM, preferably a software module being present in the processing unit, or in a separate unit, capable to supply the processing unit with calibration data, to be used for the processing according to the inventive method.

The relationship existing between two simultaneous images of the same scene is similar to the relationship existing in a sequence of consecutive images taken by a single camera. The problem of determining the displacement of image features can therefore be solved referring to the KLT tracking technique, with a choice of features as suggested by Shi and Tomasi in the previously mentioned article.

A sequence of images can be represented with a function F(x,y,t) in which F designates the intensity (scalar one in monochrome case), x and y are the space coordinates (position in the frame) and t is the time. A common approximation, on which the KLT technique is also based, expresses the image variation, between times t and t+τ only as space distortion
F(x,y,t)=F(x+u(x,y),y+v(x,y),t+τ)  (1)
where u(x,y) and v(x,y) are the displacement amounts in the two space directions. Formula (1) is known in literature as “brightness change constraint equation” (BCCE).

This means that an image in time t+τ can be obtained by moving every image point in time t by a suitable amount, called displacement. By knowing the displacement of every pixel in an image, it is possible to build the disparity field of the image itself, namely a set of vectors which, applied to the relevant frame, allow building the frame in the other time.

In practice, the BCCE is not exactly observed. Suffice it to think about partially hidden objects in one of the images: such objects do not “move” from one frame to the following, but simply appear or disappear. The same problem can be found on the image edges, in which objects go in or out of the scene. In any case, the KLT technique takes into account some features and not all pixels, and for the features it is possible to obtain an estimation of the BCCE correctness downstream of the displacement computation.

The technique of the present invention computes the disparity field existing between two (or more) frames independently for different features belonging to the scene, which therefore produce a scattered field.

Briefly, as shown in FIG. 1, the method of the present invention comprises the following steps, which will be described more in detail as follows:

    • calibrating the cameras T1, T2, by computing intrinsic parameters (such as focal length and projection centre) and extrinsic parameters (roto-translation matrix) of the same (block 110);
    • extracting features of the image IM1 (block 120);
    • tracking features on the second image IM2, taking into account the calibration parameters (block 130); and
    • removing from computation the points which do not fall within allowability areas in the second image IM2, defined below (block 140);

The removing step must be deemed as preferred but not mandatory in the method of the present invention. The method outputs are the matches between features of the first image IM1 and corresponding points of the second image IM2.

As already previously stated, the problem of computing the scattered disparity field can be divided into two parts; how to choose objects to be tracked, namely image features, and how to track chosen objects. The present invention affects the tracking operation.

The above function F for the two time instants t and t+τ can be expressed as two functions I and J in the following way:
I(x)=F(x,y,t)  (2)
and
J(x+d)=F(x+u,y+v,tτ)  (3)

where d is a displacement vector associated with the pixel with coordinates x=(x,y) and containing the two components u and v. By inserting this replacement, it is possible to rewrite the BCCE expressed by equation (1) in the following way:
I(x)=J(x+d).  (4)

Since the method is applied independently on every selected point, it is possible to take into account a window of pixels W, centered on the object whose movement has to be computed (namely on pixel x). Equation (4), in window W, is valid apart from a residual error which can be expressed as:

ɛ = W [ I ( x ) - J ( x + d ) ] 2 x . ( 5 )

The optimum displacement vector d is obtained by minimising the error in equation (5). Equation (5) is not linear, and to solve it, it is preferable to transform it into a linear one. This is possible when the displacement vector d is small, by using the Taylor approximation truncated at its first order:
J(x+d)=J(x)+gTd  (6)

where g is the gradient of function J evaluated in x=(x,y),
g(x)={right arrow over (∇)}J(x).  (7)

By making equation (6) discrete for all pixels falling within window W, the following system of equations is obtained:

{ J x ( p 1 ) u + J y ( p 1 ) v = I ( p 1 ) - J ( p 1 ) J x ( p N ) u + J y ( p N ) v = I ( p N ) - J ( p N ) ( 8 )

where Jx(pn) and Jy(pn) are the two elements of the gradient vector in the generic pixel pn and N is the number of pixels contained in window W.

The system (8) can be expressed in matrix form in the following way:

[ J x ( p 1 ) J y ( p 1 ) J x ( p N ) J y ( p N ) ] [ u v ] = [ I ( p 1 ) - J ( p 1 ) I ( p N ) - J ( p N ) ] . ( 9 )

Equation (9) can be rewritten in the compact form Ad=b. Matrix A is composed of brightness gradients of the second frame in pixels which fall within the applied window. Vector b is composed of brightness differences between pixels of the two frames in the same window. Vector d is the displacement to be computed. It can be appreciated that the displacement is not necessarily towards a pixel (having therefore discrete coordinates) but more generically towards a point of the second image, which could also be intermediate between two adjacent pixels.

It can be advantageous to assign a relative importance to every pixel belonging to a window, by multiplying each equation by a weight, in the following way:

VAd = Vb where V = [ w 1 w N ] . ( 10 )
The weight assigned to the generic pixel pn is therefore equal to wn. The weights are used to give greater importance to pixels being present at the window centre.

The system is over-determined, since it is composed of N equations (N>2) and two unknowns and can be solved through normal equations representing the minimum square approximation:
ATWAd=ATWbGd=e  (11)
in which

    • W=VTV,
    • G=ATWA,
    • e=ATWb.

The KLT technique further comprises a criterion for choosing points to be tracked. Such choice can be made with a known technique, for example according to the teaching of Shi-Tomasi. The chosen criterion must anyway guarantee the invertibility of matrix G.

All previously stated remarks are also valid for a pair of frames showing the same scene and which are simultaneously taken, like frames IM1 and IM2 in FIG. 1. In this case, in fact, the two functions I and J are associated with the first image IM1 and the second image IM2, respectively. A necessary condition so that the two frames IM1, IM2 can satisfy equation (1) is that the two cameras T1, T2 are placed one near enough to the other and that they shoot the same scene portion.

The relationship between two shootings of the same scene is expressed through the epipolar geometry. Every element in the scene, which is visible in both shootings is projected in the two frames IM1, IM2 in positions which comply with a simple equation. The coefficients of such equation are contained in the fundamental matrix F, composed of 3×3 elements. The positions of projections in the two frames, specified in homogeneous coordinates, are

m 1 = [ x 1 y 1 1 ] and m 2 = [ x 2 y 2 1 ] ,

in which x1, y1, x2, y2 are the coordinates of the two pixels in the two frames showing the shot element. The coordinates must comply with the equation
m2TFm1=0.  (12)
Therefore, given a point m1 in the first one of the two frames, point m2 in the second frame must reside on a straight line whose coefficients are determined by product Fm1. Symmetrically, given a point m2 in the second frame, point m1 resides on the straight line with coefficients contained in product m2TF. These straight lines are called epipolar. These relationships compose the epipolar geometry, which is completely represented by the fundamental matrix F.

In the present specification, both intrinsic and extrinsic camera calibration parameters, which determine the fundamental matrix, are supposed known. However, the Applicant observed that, since calibration can be affected by estimation errors, it can be incorrect to use information provided thereby as an absolute constraint.

In order to associate information deriving from the knowledge of the calibration parameters, it is useful to interpret the KLT technique as a minimisation of a certain function obtained from equation (9). This equation is over-determined and can be solved by a least squares approximation; its solution corresponds to finding the minimum of the so-called residue norm, given by Ad-b. It is therefore possible to re-state the previously described problem in the following way:
d=argmin∥Ad−b∥2,  (13)
namely as a cost function to be minimised. Taking into account the weights introduced in equation (10), equation (13) becomes
d=argmin∥Gd−e∥2.  (14)

In practice, it occurs that the thereby obtained vector is not always correct, namely it does not always correspond with the displacement of objects from one frame to the other. For example, this can occur when the linear approximation, on which the KLT algorithm is based, is not valid.

In case of two cameras, it is possible to take into account information related to calibration, and therefore to improve the results. The epipolar geometry provides indications about the area in the second frame in which the feature has to be searched for computing the displacement vector d.

The present invention exploits calibration data by translating them into a constraint to be added to those already contained in equation (14). The constraint is translated into a cost term linked to the epipolar information. If the geometry is exactly known, the searched point should lie on the epipolar straight line. Taking into account that calibration is obtained through estimations, and therefore it is subjected to errors or inaccuracies, it is more appropriate to assign a valence related to calibration information. Consequently, it is necessary to allow that the solution deviates from the epipolar straight line, and this is obtained in the present invention by introducing a term in the cost function (14), proportional to the square of the distance between the epipolar line and the searched point.

Equation (14) therefore assumes the form
d=argmin{∥Gd−e∥22ρ(z+d,L)2},  (15)
where ρ is a function expressing the Euclidean distance between point z+d, namely point z=[x y]T translated by amount d=[u v]T, and L, namely the epipolar straight line associated with point z. The λ factor must be established beforehand and can be determined heuristically, also depending on the reliability assigned to the fundamental matrix. The higher the value of λ, the more the fundamental matrix correctness is relied upon. λ can be increased until it constrains de facto the solution to lie onto the epipolar straight line.

The epipolar straight line is obtained through the fundamental matrix F. Within the second frame, the distance of the straight line from point z+d can be expressed as

ρ ( z + d , L ) = a ( x + u ) + b ( y + v ) + c a 2 + b 2 , ( 16 )
where coefficients a, b and c are given by product

[ a b c ] = F z , ( 17 )
so that any point m=[xm ym 1]T on the line complies with equation
axm+bym+c=0.

The solution to equation (15) can be obtained through normal equations

[ G λ p T ] T [ G λ p T ] d = [ G λ p T ] T [ e λ r ] , ( 18 )
where vectors p and r are defined as

p = 1 a 2 + b 2 [ a b ] and ( 19 ) r = - ( ax + by + c ) a 2 + b 2 . ( 20 )

Equations (11) and (14) can be extended to obtain a more accurate result through an iterative computation which provides, at every step, an update of the Taylor series. In this case, the disparity vector is composed of many terms. At every step, a term is added, and the final solution can be expressed as

d = m = 1 K d m , ( 21 )
where every term is a vector

d m = [ u m v m ] ( 22 )

Equation (9) in step number M becomes

[ J x ( p 1 + m = 1 M - 1 d m ) J y ( p 1 + m = 1 M - 1 d m ) J x ( p N + m = 1 M - 1 d m ) J y ( p N + m = 1 M - 1 d m ) ] [ u m v m ] = [ I ( p 1 ) - J ( p 1 + m = 1 M - 1 d m ) I ( p N ) - J ( p N + m = 1 M - 1 d m ) ] ( 23 )
or, more compactly
AM-1dM=bM-1.  (24)

Consequently, equation (11) becomes, at iteration number M
AM-1TWAM-1dM=AM-1TWbM-1

GM-1dM=eM-1  (25)

The iteration is initialised at M=1, with d0=0. The total number of iterations can be set beforehand or determined depending on the norm of the last added term.

Normal equations (18) providing the solution to equation (15) can be adapted to the above iterative process, through a modification to vector r, described in equation (20). Such vector will assume the form

r = - ( a ( x + m = 1 M - 1 u m ) + b ( y + m = 1 M - 1 v m ) + c ) a 2 + b 2 , ( 26 )
at iteration number M.

The process so far described adds information about the displacement vector direction, which has to be computed, namely that equation (15) produces displacement vectors, which agree with the epipolar geometry. However, this cannot be enough to correctly characterise the vector itself, since the constraint on the epipolar straight line leaves a degree of freedom. This degree of freedom derives from the fact that the second term in equation (15) takes the solution towards the epipolar straight line but not necessarily towards the real feature position in the second frame. It is possible to reduce such problem by introducing an allowability area of the epipolar straight line and therefore transforming it into a half line.

This check is based on the fact that, with reference to FIG. 2, it is possible to associate to feature A in the first frame IM1 a point P, which can be found at an infinite distance in the taken scene. Therefore, a point B can be located on the epipolar straight line L, associated with the second frame IM2, which is the projection of point P. Since any object of the scene, which is projected on point A lies on half line AP, the projection of such object in the second frame must lie on half line S, which is the projection of half line AP. Such half line is therefore a subset of the epipolar straight line.

Taking into account the possibility of deviating from the epipolar straight line, due to the uncertain calibration reliability, the allowable subset can be extended to an allowability area Z containing half line S, with point B as vertex, as can be seen in FIG. 3.

Depending on such observations, it is possible to carry out a check, which allows efficiently removing the displacement vectors, which are not complying with the scene geometry. The check, useful in cases in which point B is within the second frame IM2, allows thereby removing all candidates {z,d} (feature and displacement vector) for which point z+d does not lie within the allowability area Z. Area Z can have different shapes. It is necessary that Z is a subset of the plane, delimited by a curve passing by point B o next to it, and which contains half line S.

Half line S can be expressed as follows:
S={B+κ·{right arrow over (e)}:κ≧0},  (27)
where K is a non-negative factor and {right arrow over (e)} is a directional vector parallel to the epipolar straight line.

The elements, which are used for defining the half line S, can be obtained through knowledge of the camera calibration parameters. Among them, the intrinsic parameters of the two cameras are contained in matrices K1 and K2, while the rotation matrix and the translation vector (extrinsic parameters) associated with the second machine are called R and t. For more details, refer to the text by Richard Hartley and Andrew Zisserman, Multiple Vision Geometry, Cambridge University Press, 2000, on pages 153-156 and 244. Matrix R and vector t transform the system of coordinates belonging to the second camera into the one belonging to the fist. Feature A in the first frame can be expressed in homogeneous coordinates:

A = [ x y 1 ] .

Point B (projection of the point P that resides at infinity) can be expressed through A and calibration parameters as:

B = K 2 Rw R 3 w , ( 28 )
where R3 denotes the third row of the rotation matrix R. Vector w is obtained from point A as

w = K 1 - 1 A K 1 - 1 A . ( 29 )
The directional vector {right arrow over (e)} can be expressed as
{right arrow over (e)}=K2((R3w)t−t3Rw),  (30)
where t3 is the third element of the translation vector t.

As an example, the allowability area can be defined in the following way, with reference to FIG. 3. The position of the point whose correctness has to be verified is given by the sum z+d. The point belongs to the allowability area if the half line starting from B and crossing z+d makes an angle with half line S which is less than a certain threshold. In this case, the check whether it belongs is expressed in vector terms in verifying the following relationship

( z + d - B ) T e z + d - B e θ , ( 31 )
in which an inner product between standardised vectors exceeds a threshold θε[0,1], to be set. The minimum threshold value is 0, in which case the allowability area is the half plane delimited by the straight line perpendicular to the epipolar straight line in point B and which contains half line S. The more the threshold value increases towards value 1, the more the allowability area gets restricted. FIG. 3 shows an allowability area corresponding to an intermediate threshold value between 0 and 1, and an example of unacceptable point z+d′ is shown, depending on the above criterion.

As output from the processing unit PU, as result of the above processing, associations are obtained between features extracted from the first frame IM1 and corresponding points found in the second frame IM2 and therefore displacement vectors d linked to the points themselves.

Some examples can be observed in FIGS. 4-9. FIGS. 4 and 5 contain a pair of frames of the same scene taken from different angles, for which the algorithm composing the invention has been applied.

FIG. 6 shows the result of the KLT tracking technique performed in the original way, while FIG. 7 shows the result obtained through the technique of the present invention. Both figures point out as segments the displacement vectors of the features chosen for tracking. As can be observed, in FIG. 7 the segments are mutually oriented much more coherently, this being an index of a lower presence of errors.

FIGS. 8 and 9 show some significant details in which the benefits given by the invention are more evident. In each one of these latter images, the top left box (8a, 9a) is centered on the feature extracted by the first frame; the top right box (8b, 9b) is centered on the point in the second frame obtained through the original KLT technique; the bottom right box (8c, 9c) is centered on the point in the second frame obtained through the present invention. In both right boxes, the epipolar straight line associated with the relevant feature is shown, which allows appreciating the strong improvement obtained.

Claims

1. A method for determining scattered disparity fields in stereo vision, comprising the steps of:

capturing a first and a second image of a same scene from two different positions, so that at least one set of pixels of said first image is associated with a corresponding set of points on said second image;
selecting at least one pixel in said first image; and
determining a point of said second image associated with said pixel, wherein determining said point comprises minimising a cost function having as a variable a disparity vector between said pixel and said point and depending on a difference between the first and the second image in a window centered on said pixel and in a corresponding window centered on the point to be determined, said cost function comprising a term which depends in a monotonously increasing way on the distance of said point to be determined from an epipolar straight line in said second image associated with said pixel.

2. The method according to claim 1, wherein said first and second images are captured through a first camera and a second camera, respectively, and said term depends on calibration parameters of said first and second cameras.

3. The method according to claim 2, wherein said term is weighed depending on an uncertainty of camera calibration data.

4. The method according to claim 1, wherein said term is proportional to the square of the distance between said point and the epipolar line.

5. The method according to claim 1, wherein the step of determining the point of said second image associated with said pixel comprises delimiting in said second image an allowability area of said point around said epipolar straight line.

6. The method according to claim 5, wherein said allowability area is contained in a half plane delimited by a straight line perpendicular to said epipolar straight line.

7. The method according to claim 1, wherein said cost function comprises parameters comprised of brightness gradients in the pixels of said window centered on said pixel in said second image, and of brightness differences between pixels of said window centered on said pixel and pixels of said second image in the same window.

8. The method according to claim 1, wherein the step of determining the point of said second image associated with said pixel comprises associating a relative weight to all pixels contained in said window centered on said pixel.

9. The method according to claim 8, wherein the weight associated with pixels in a central area of said window centered on said pixel is greater than the weight associated with pixels in an external area of said window.

10. The method according to claim 1, wherein the step of determining said point comprises said step of minimising the cost function.

11. A system for stereo vision, comprising a first and a second shooting cameras adapted to shoot a same scene and a processing unit adapted to receive from said first and second cameras respective simultaneous images of said scene, said processing unit capable of being configured for:

capturing a first and a second image of a same scene from two different positions, so that at least one set of pixels of said first image is associated with a corresponding set of points on said second image;
selecting at least one pixel in said first image; and
determining a point of said second image associated with said pixel, wherein determining said point comprises minimizing a cost function having as a variable a disparity vector between said pixel and said point and depending on a difference between the first and the second image in a window centered on said pixel and in a corresponding window centered on the point to be determined, said cost function comprising a term which depends in a monotonously increasing way on the distance of said point to be determined from an epipolar straight line in said second image associated with said pixel.
Referenced Cited
U.S. Patent Documents
5179441 January 12, 1993 Anderson et al.
5383013 January 17, 1995 Cox
5432712 July 11, 1995 Chan
5727078 March 10, 1998 Chupeau
7444013 October 28, 2008 Chen
7512250 March 31, 2009 Lim et al.
7512262 March 31, 2009 Criminisi et al.
7570803 August 4, 2009 Criminisi et al.
8009897 August 30, 2011 Xu et al.
20020012459 January 31, 2002 Oh
Foreign Patent Documents
2005-140623 June 2005 JP
Other references
  • Tomasi, et al., “Shape and Motion from Image Streams: a Factorization Method—Part 3—Detection and Tracking of Point Features”, Technical Report CMU-CS-91-132, pp. i-ii and 1-20, (Apr. 1991).
  • Shi, et al., “Good Features to Track”, IEEE Conference on Computer Vision and Pattern Recognition (CVPR94), Seattle, pp. 1-7, (Jun. 1994).
  • Mendelsohn, et al., “Discrete-Time Rigidity-Constrained Optical Flow”, 7th International Conference on Computer Analysis of Images and Patterns, Kiel, Germany, pp. 1-8, (Sep. 10-12, 1997).
  • Najafi, et al., “Model-based Tracking with Stereovision for AR”, Proceedings of the Second IEEE and ACM International Symposium on Mixed and Augmented Reality (ISMAR), pp. 1-2, (2003).
  • Hartley, et al., “Camera Models”, Multiple Vision Geometry, Cambridge University Press, pp. 153-156 and 244 (2000).
  • Shen, et al., “Error Propagation from Camera Motion to Epipolar Constraint”, British Machine Vision Conference, Bristol, UK, XP-002399764, pp. 1-10, (Sep. 14, 2000).
Patent History
Patent number: 8275195
Type: Grant
Filed: Nov 30, 2005
Date of Patent: Sep 25, 2012
Patent Publication Number: 20090207235
Assignee: Telecom Italia S.p.A. (Milan)
Inventors: Gianluca Francini (Turin), Skjalg Lepsoy (Turin), Giovanni Presti (Turin)
Primary Examiner: Sheela Chawan
Attorney: Finnegan, Henderson, Farabow, Garrett & Dunner, L.L.P.
Application Number: 12/085,763
Classifications
Current U.S. Class: 3-d Or Stereo Imaging Analysis (382/154); Range Or Distance Measuring (382/106); Registering Or Aligning Multiple Images To One Another (382/294); Stereoscopic (348/42); Including Motion Vector (348/413.1)
International Classification: G06K 9/00 (20060101); G07K 9/32 (20060101); H04N 13/00 (20060101); H04N 7/12 (20060101);