• Aucun résultat trouvé

Relative 3D Reconstruction Using Multiple Uncalibrated Images

N/A
N/A
Protected

Academic year: 2023

Partager "Relative 3D Reconstruction Using Multiple Uncalibrated Images"

Copied!
26
0
0

Texte intégral

(1)

HAL Id: inria-00548434

https://hal.inria.fr/inria-00548434

Submitted on 31 May 2011

HAL is a multi-disciplinary open access archive for the deposit and dissemination of sci- entific research documents, whether they are pub- lished or not. The documents may come from teaching and research institutions in France or abroad, or from public or private research centers.

L’archive ouverte pluridisciplinaire HAL, est destinée au dépôt et à la diffusion de documents scientifiques de niveau recherche, publiés ou non, émanant des établissements d’enseignement et de recherche français ou étrangers, des laboratoires publics ou privés.

Relative 3D Reconstruction Using Multiple Uncalibrated Images

Roger Mohr, Long Quan, Françoise Veillon, Boubakeur Boufama

To cite this version:

Roger Mohr, Long Quan, Françoise Veillon, Boubakeur Boufama. Relative 3D Reconstruction Using Multiple Uncalibrated Images. [Technical Report] RT 84-IMAG- 12 LIFIA, 1992, pp.25. �inria- 00548434�

(2)

Centre Nalional de la Recherche Scientifique, URA 394 - lnstitut National Polylechnique de Grenoble

RAPPORT TECHNIQUE

Relative 3D reconstruction using multiple uncalibrated images

R. Mohr, L.

Quan,

F. Veillon & B. Boufarna

RT 84-IMAG- 12 LIFIA Juin 1992

Laboratoire d'lnformatique Fondamentale et d'lntelligence Artificielle

Telephone (33) 76 57'45 00

(3)

Relative 3D Reconstruction Using Multiple Uncalibrated Images

R. Mohr L. Quan F. Veillon B.

Boufama

(RT 84-IMAG 12-LIFIA 1992)

LIFIA -

IRIMAG,

46, avenue

Felix

Viallet,

3803

1 Grenoble, France

Abstract

I n this paper, we show how relative 3D reconstruction from multiple uncali brated images can be achieved through reference points. The original contributions with respect t o other related works in the field are mainly a direct non linear method for relative 3D reconstruction, a geometrical method to select the set of reference points among all image points and a geometrical interpretation of the linear reconstruction method. Experimental results from both simulated and real image sequences are presented.

1 Relative positioning

From a single image, no depth can be computed without a priori informa- tion. Even more, no invariant can be computed from a general set of points [3]. This problem becomes feasible using multiple images. T h e process is composed of two major steps. First image features are matched in the dif- ferent images.

Then,

from such a correspondence, depth is easily computed using standard triangulation. This kind of classical technique needs careful calibration of the imaging system and usually it is performed by computing each camera parameters in a n aboslute reference frame.

This approach suffers from several drawbacks: firstly t h e calibration pro- cess is a n error sensitive process, secondly it cannot always be performed off line, particularly when the imaging system is obtained by a dynamic

(4)

system with zooming, focusing and moving. Similarly stereo vision with a moving camera is impossible as t h e standard tool for locating the position of a camera with translation a n d rotation does not reach the required pre- cision for calibrating such a multistereo system. Introducing in each image beacons with exact known position m a y overcome these drawbacks: calibra- tion and reconstruction are then solved in t h e same process [2, 11. But for many problems it is impossible t o provide such carefully positioned reference points.

T h e alternative approach is to use points in t h e scene as reference frame without knowing their coordinates nor t h e camera parameters. This has been investigated by several researchers these past few years. It is also t h e goal of this paper.

Using parallel projection for t h e imaging system, Kcenderink and van Doorn [lo] were able t o choose 4 points a s a n affine reference frame in t h e scene and reconstruct ail other points seen in a t least two images. Using also parallel projection but with a very different approach, Tomasi and Kanade [17] were able t o reconstruct a scene from images. Dealing with real images, their results were satisfactory as t h e imaging system was equipped with a long focal lens. Their contribution is also a nice way t o deal with erroneous d a t a using SVD1 for filtering noise from information.

Approaching t h e problem for real perspective projection implies t o leave t h e affine geometry for the projective geometry. T w o major orientations were developed these two last years. Sparr [16, 151 developed a n affine shape descriptor; such a descriptor contains the affine information of the relative position of this group of points; it is related to its perspective projection by a major theorem which allows t o recover relative depth or shape. This approach is particularly well suited when affine information can be used like observing parallelograms, of when the imaging system has a known affine reference frame.

Using the more standard tool of projective geometry, we proposed t o generalize the Koenderink and Doorn's method with additional reference points [ l l , 131. T h e right way t o approach the problem was first described by Faugeras [4]. T h i s paper is largely inspired by his paper and uses t h e epipolar geometry reconstruction method he provides.

T h e origina.1 contributions of this paper are a geometrical way t o choose among the set of points those which can be selected as reference points, a geometrical interpretatiori of t h e reconstruction, a direct solution of t h e

.

.

'

Singular Value Decorn posi tion

(5)

system of equations a n d a discussion around experimental results.

First the paper describes how reference points in the scene provide us a way t o reconstruct t h e scene, and why this solution can only be defined up t o a projective transformation, i.e. a collineation. Then Faugeras' met hod for computing t h e epipolar geometry is presented. From t h e epipolar geom- etry it is shown how to solve t h e basic equations. Section 3 provides basic results on t h e location of the projection of coplanar points. This result

d-

lows t o provide a geometrical interpretation of the relative reconstruction, as Kcenderink [lo] did it in t h e affine case. I t allows also t o derive a computa- tional way t o choose among the points present in t h e scene, those which can be selected for the reference frame. Finally we describe a n implementation which allows t o solve t h e problem in presence of noise using redundant data.

This is done by an implementation of t h e parameters estimation theory us- ing Levenberg-Marquardt algorithm. Robustness of this implementation is discussed from the results obtained on both synthetic and real data.

T w o basic assumptions are made here. First we assume t h a t the reader is familiar with elementary projective geometry, as it can be found in t h e first chapters of [14] (see also [5]). We also assume throughout this paper t h a t t h e imaging system is a perfect perspective projection, i.e. t h e camera is a perfect pinhole. However this point will be discussed with t h e interpretation of t h e experimental results.

2 Using scene references points

This section provides t h e basic equations of

3D

reconstruction problem, to- gether with the self calibration problem. This derivation was developed independently from these recently published by Faugeras in [4]. T h e basic starting point is similar to this work, however t h e way t o solve it was in- fluenced by the way photogrametrists simutaneously calibrate their camera and reconstruct the scene, by using carefully located beacons (cf. [I]).

We consider rn views of a scene ( m

2

2); it is assumed t h a t n points have been matched in all the images, thus providing n x rn image points. T h e assumption t h a t the scene points appear in all the images is not essential but simplifies the explanation here.

{ M ; ,

i

= 1 , . . .

,

n } is the (unknown) set of 3D points projected in each image, represented by a column vector of its four yet unknown homogeneous coordinates.

(6)

2.1

The basic

equations

For each image j , t h e point

M i ,

represented by a column vector of its homo- geneous coordinates (xi, y;, z;, or its U S U ~ non homogeneous coordinates (Xi, Yi,

z ; ) ~

=

(?, g, z ) ~ ,

is projected as t h e point m;j, represented by a

column vector of its three homogeneous coordinates (uij, uij, w ~ or its ~ ) ~ usual non homogeneous coordinates

(xi;,

yij)T- Let Pj be t h e 3 x 4 projec-

tion matrix of the j t h camera.

We have for homogeneous coordinates

where pij is a n unknown scaling factor (different for each image point).

Equation 1 is usually written in the following way, hiding the scaling factor, using the non homogeneous coordinates of the image points:

These equations express nothing else than t h e collinearity of t h e space pojn t s and their corresponding projection points.

As we have n points and m images, this leads us t o 2 x n x rn equations.

T h e unknowns are 1 l

x

rn for t h e P, which are defined up t o a scaling factor, plus 3

x

n for the

Mi. So

if rn and n a r e large enough w e have a redondant set of equations.

I t is easy t o understand t h a t the solution for t h e equation 1 is not unique.

For instance, if the origin is translated, all the coordinates will be translated and this will induce new matrices Pj satisfying 1. More generally, let A be a spatial collineation represented by its 4 x 4 invertible matrix.

If

Pj? j =

1,. . .

,

rn and

M i , i

= 1 , . .

.,

n are a solution t o 1, so are obviously PjA-' a n d A M ; , as

Therefore is esta.blis11ed t h e first result :

Theorem: the solution of the system 1 can only be defined u p to a cot lineation.

(7)

As a consequence of this result, a basis for any 3 D collineation can be arbitraryly chosen in the 3D space. For a projective space

P3,

5 algebraically free points form a basis, t h a t is a set of

5

points, no four of them coplanar.

We will come back t o how t o choose for such a basis later in 3.1. For convenience, w e assume here that t h e first five points

M i

can be chosen t o form such a basis; their coordinates can be assigned t o the canonical ones:

T h e remaining p a r t of this section is devoted t o the problem of building from these n o w fixed reference points an explicit solution.

2.2 Direct n o n h e a r reconstruction

From t h e above section, the most direct way is t o try t o solve this system of non linear equations. As the projective coordinates of t h e spatial points a r e defined up t o a constant, so for each point, t h e constraint X ? - + - ~ ? + Z ? + ~ ? = 1 can b e added. Since t h e system is a n overdetermined one, we can hope to solve it by standard lea.st squares technique. T h e problem can be formulated as minimizing over

( j 1

( ~ ; , i / i , z ; , t ~ , m , ~

,...

~ 1 2 5 ) ) for i = 1

,.-.,

n ~ , j = I , .

.

. , n ;

where

f k ( - )

is either

(i) ( j ) ( 3 ) . ( j )

3?221 Xi

+

77222

Yi +

m2-3 zt

+

mZ4 ti

Y i j - b')

( j (i)

In31 X i

+

m3, pi

+

m,, zi

+

mg)ti

(8)

at is the standard deviation of each image measure, xij or yij.

On

the other hand, it can also be considered as the weight for each function.

So

the problem is a general weighted least squares estimation.

The

only known measures are the

image

points ( z i j , y i j )

All

others are unknown parameters t o estimate. In addition, as each projection matrix is equally defined up t o a constant

,

we can for example impose m,,

0

= 1.

This can be solved by the standard nonlinear least squares algorithm due t o Levenberg-Marquardt [12]. It has t o be mentioned that this system leads t o rn

+

2 x n x rn equations in 11 x n

+

4 x n unknowns, which is quite large. More technical discussions about it will be found in section 4.

2.3 Linear reconstruction

by

Faugeras

Faugeras presented in

[5]

an elegant linear reconstruction method with the tricky use of the epipolar geometry. T h e basic idea is that he first tries to determine the projection matrix up t o a collineation. Once five general points are selected as the reference points and are assigned the standard basis projective coordinates, this is equivalent t o have 5 image points and space points matches. Thus in each projection matrix remains only one unknown parameter. Now the author supposes that the epipolar geometry has been established, for example by the matching of a t least

8

points.

Since the epipoles are intrinsically related t o the projection matrix, thanks t o the known epipoles, each projection matrix is entirely determined up t o a collineation (or determined projectively). Once each projection matrix is known, the reconstruction becomes straightforward resolution of a linear equations set.

We can note that Faugeras still performs a planar collineation t o obtain the projection matrix in a simpler form. This basis change in image plane is not essential.

It

only makes the projective matrix to be simpler. And also it is important t o note that this linear reconstruction is essentially based on the previous establishment of epipolar geometry, in the absence of which the linear reconstruction is not possible. We will have a more detailed discussion below.

2.4

Solving t h e

epipolar geometry

The epipolar geometry plays the most fundamental role for motion analysis.

Knowing this geometry is equivalent t o knowing the relative orientation of two cameras. This consideration has been largely discussed in [7]. With

(9)

Sturm7s algorithm, the epipolar geometry is determined with seven points, the solutions a r e obtained from t h e intersection points of cubics curves. This approach becomes quickly prohibitive when real image points a r e concerned.

However, recently, Faugeras et al. pointed out t h a t this geometry can b e computed in a Linear way when at least 8 point matches between the two images a r e available. T h e equation is formally t h e same as t h a t has been proposed by Longuet-Higgins a few years ago, well known as 8-point algo- rithm, but this equation admits a nice projective iuterpretation. So this section is largely inspired from (41. We will get t h e same equation.

We

rephrase t h e demonstration here, but with some highlights o n geometrical and algebraic interpretation of the equations.

Let m = (x, y , t ) be a point in the first image and let e = (u, v, w ) be t h e epipole point with respect t o image 2. T h e three homogeneous coordinates ( a , b , c ) of the epipo1a.r line

1

going through e and m are m x e where x denotes the cross product: obviously 1 mT = 1. eT = 0. T h e mapping

m ---* m

x

e is linear and cam be represented by a. skew symmetric matrix C of rank 2:

T h e mapping of ea.ch epipolar line

1

from image 1 t o its corresponding epipo- lar line

1'

in image 2 is a collineation defined in t h e dual space of lines in

P2.

Let A be one such collineation:

ljT

= ~ 1 ~ .

It

is defined by the correspondence of 3 distinct epipolar lines. T h e first two correspondences provide four constraints as t h e degree of freedom of a

1

is 2 As the third line i n correspondence belongs t o t h e pencil defined by the two first ones, the third correspondence only adds one more constraint.

So

A only has five constraints for eight degrees of freedom.

Let E = A C . Using (5) w e get

As A has rank 3 and C has r a n k 2, E has rank 2. As the kernel of C is obviously Xe =- e , the epipole is t h e kernel of E.

Let now m' be the corresponding point of rn. Using

5

the epipolar constraint rntT

1'

= 0 can be rewritten r n f T ~ r n = 0.

So

each matching between the two images provides a constraint on

E,

and as

E

is defined u p t o a scaling factor. T111is 8 independant constra.ints will allow us to compute

(10)

linearly E and therefore t o get the epipolar geometry. Notice t h a t E is determined by 7 parameters: C has

2

( t h e epipole position) and A has

5.

But allowing a redondant set of constraints provides a unique solution which can be linearly computed. Faugeras et al. [6]

has

pointed o u t t h a t for a n accurate estimation of

E,

a non linear technique has to be used. In fact, the epipolar geometry provides only o n e point to line transformation in

P2.

This is known as a correlation, also a linear transformation, which, instead of c o h e a t i o n transforming points t o points, systematically dualizes it. T h e equation derived above is just the concept of conjugacy of a pair of points with respect t o the correlation: a point p is said t o be conjugate with respect t o

E

t o a point p' if p' lies on the line

1'

= Ep from t h e point p, thus we obtain the basic bilinear equation X ~ E X = 0. Get transposed t h e equation, we get the other linea-r transformation from t h e second image plane t o t h e first image plane which is t h e transposed

E.

As in our case all transformed lines form a pencil going through t h e epipole, so directly t h e rank of this line space is at most 2 and i n this case t h e kernel of this transformation is the epipole.

This computation can be efficiently done via

SVD.

Firstly, using

SVD,

t h e system of homogeneous equations can be solved in the least squares sense. As our way t o solve the system 4 does not require t h e epipolar geometry, we compute E linearly and efficiently. T h e solution obtained this way is less accurate than t h a t computed by Faugeras et al. [6]; i t is however sufficient t o get epipo1a.r lines for checking t h e matches. We just show in Figures 1 a n example of t h e obtained epipolar geometry with t h e tracked points (discussed later in section 4).

3 Geometrical reconstruction

In

this section, we will show some very interesting geometric properties once t h e epipo1a.r geometry has been established. In particular, we can determine if a n y fourth point is coplanar with the plane defined by any three other points, of course only through operation in the image planes. T h a t leads t o an automatic selection of general reference points from image planes

and point reconstruction in a geometric way, thus providing a geometric interpretation of the linear reconstruction method. We assume through this section t h a t the epipolar geometry has been established using for instance the method described in section 2.4.

(11)

Figure 1:

In

this pair of images, the tracked points a r e marked by a cross and t h e epipolar line of each point is drawn by a dark line.

3.1

The

coplanarity test

As we assume here t h a t the epipolar constraint is known, we know t h e essential matrix

E

which contains all this information 14, 91.

E

is a 3 x 3 matrix such t h a t from the point rn = (I, y,

t)T

in image 1, t h e corresponding epipolar line

I'

in image 2 has its coefficients satisfying

1'

= ( a f , b', c ' ) ~ = Em.

Now, consider figure 2. It displays two images of four

3D

points A ,

B , C, D ,

projected in t h e two images. T h e dashed lines correspond t o some of t h e epipolar lines going through each of the vertices of the quadrangles. T h e epipolar constraint specifies that the epipolar line corresponding t o c passes through c', and conversely.

If A , B , C , D

are coplanar, then the diagonals intersect in this

3D

space plane in a point

il.1

which is projected respectively as m and m'. Therefore m and mf h a v e to satisfy the epipo1a.r constraint too, as it is displayed in Fig. 2.

Conversely consider the case where

A , B , C, D

are not coplanar. The diagonals a r e no more in the same plane and therefore does not intersect in the space. So m is t h e image of two

3D

points,

M I

lying on

( A C ) ,

and N 1 lying on

( L I D ) .

Similarly mf is the image of M2 and N 2 . If the central point 0' of t h e second image is not in the plane defined by

(ACO),

nor in t h e

(12)

Figure 2: Match of diagonal intersections with epipolar constraint

plane ( B D O ) , then the 2 view lines

( O m )

and

(O'nz')

does not intersect, and therefore t h e points m and

n2'

are not in epipolar correspondence.

T h e condition t h a t 0' does not lie in the plane

(OAC)

is equivalent t o t h e condition t h a t t h e epipole in t h e first image does not lay on ( a c ) , which is therefore checked easily. Notice t h a t in such a case, we can choose as diagonals

(AB)

and

( C D )

instead of

( A C )

and

(BD).

Therefore t h e only condition we rea,ch for applying this method is t o have none of the projections a , b, c , d being the epipole.

So we proved t h a t

Theorem: If neihter a , b, c, nor d are the epipole point of image 2 with respect of image 1, then it exists a t least one diagonal intersection m such that nz and its corresponding intersection rn' satisfy the epipolar constraint

if

and only if A, B ,

C , D

are coplanar.

We only had a look on the geometrical problem here. Technical problems like finding t h e points which are as less coplanar as possible and widely spread in the field of view are not a.ddressed here, but can be easily deduced from the geometrical results.

In fact this theorem leads t o a usefull and straighforward construction technique. Observing three points and a line in an image, it is possible to reconstruct t h e intersection of this line with the plane defined by the three points.

Let n , b , c be the projections of A , B , C in image 1, and let 1 be the projection of t h e line L. Let d be a point on 1; the image coordinates of d depend linearly on a single parameter t and will be denoted as d ( t ) .

Its corresponding projection i n image 2, dl(t), is the intersection of l1 and

(13)

Figure 3: Four non coplanar points in space

t h e epipolar line associated with d. So d f ( t ) also depends linearly on t . Finding rn a n d m' as intersection of the diagonals provides coordinates of these t w o points still expressed linearly with respect of t . Stating now t h a t r n ~ r n ' ~ = 0 then leads t o a second degree equation in t . Obviously one solution is t h a t

I

and I' are epipolar line, so the only non trivial remaining solution is the one we are seeking for: t h e value of

t

for which d ( t ) is the image of t h e intersection of

L

w i t h the plane ( A ,

B , C).

This leads t o

Corollary : the intersection of a line with a plane defined b y three points can be algebraically computed from the image of these data, provided the essential matrix.

Such a technical result is particularly useful for computing construction directly in t h e image without going through the 3D reconstruction. It allows for instance t o compute several invariants for stereo images ( c f . [ 8 ] ) .

3.2 Search for a 5 point

basis

T h e above result. can be directly applied to automatically select the necessary reference points from image points for projective reconstruction without any a priori spatial knowledge. Basically, we will be able to get rid of the coplanar reference points i n t h e step 3 with the previous section's results.

(14)

Such a greedy algorithm could be:

1. choose any point for

M1

and M 2

2.

choose for M3 a n y point not aligned with M I M 2

3. choose for M4 any point such t h a t it is not coplanar with

M1 M 2 M 3

4. choose for M5 any point such t h a t it is not coplanar with any face of

the tetrahedron

MI, M 2 , M3, M4

This algorithm will give us a mathematically correct reference points set.

In

practice, reference points selection h a s also t o take into account t h e precision of the measure in t h e image. It's better to take reference points as far as possible from each other. In this case, one improved version of the algorithm ca,n be

1. choose for M I and A& the farthest points pair in one of the image.

2. choose for M3 the farthest point from A12.

3. sort the other points according t o t h e distances t o t h e plane deter- mined by the triangle

Ml M 2 M 3 ,

choose for

Mq

t h e one which has the maximum distance. T h e distance is not the orthogonal distance from t h e point t o the plane as we expect (not possible a t this step), i t is t h e projection on the second image of the distance from the point t o the plane along the first viewing line of t h a t point (see Figure 4).

4 . Sort t h e remaining points according t o t h e maximum distance t o any face of the tetrahedron

MI

: ill2, A&, M4, choose for Ms the point which has the maximum dista.nce.

This improved version of reference points selection will provide us with a reasonably scattered points set.

3.3 Geometrical solution for point position

In this section, w e are providing a geometric solution for relative projec- tive s h p e reconstruction. To get the direct geometric reconstruction of t h e projective coordinates representing t h e projective shape, we s t a r t from t h e geometric definition of projective coordinates (cf. Figure 5). T a k e four reference points

M I , A&, A&

and

M4

as the vertices of t h e tetrahedron of

(15)

Figure 4: T h e distance is defined as tl1a.t between m' and nz".

reference, and the fifth point A& as t,he unit point. For any point

P

whose homogeneous coordinates are ( x , y, z ? t I T , we have one of the non homoge- neous coordina.tes defined as

B

and

R

are the intersection points of M 3 A and M3Q with the line

M I M z

and in their turn A and

Q

are the intersection points of M 4 M 5 and M 4 P with t h e face

MI

A&M3 of t h e tetrahedron of reference.

:,

f and all other ratios representing non homogeneous projective coordinates can be defined in t h e same way.

From this geometric definition, t o reconstruct the projective coordinates of any matched pair of points is t o be able t o perform the basic geometric operation of intersecting a line with a plane only through image operations.

This is possible once tlre epipolar geometry has been established.

Firstly, note t h a t the viewing plane of the M4 M 5 with respect t o t h e first image intersects the plane MlM2A13 in the line

L

t h a t goes through the point A .

The

projection I of L in the first image is confused with t h a t of M 4 M 5 in the first image plane but not in the second. In addition its projection in the second image can be reconstructed.

If

we note t h a t N 4 (resp. N s ) is tlre intersection point of t h e viewing line of t h e M4 (resp.

M 5 ) with respect to the first image and t h e plane M l M Z M 3 . T h e line

L

is determined by Nq and N 5 . 124 and n~ are confused with r n 4 and ms in the first image, and n; and n; can b e reconstructed in the second image with the help of the epipolar geometry. T h u s 1' = n'4 x rnr5 and the projection

(16)

Figure 5: T h e geometric definition of projective coordinates.

a' of A in t h e second image is the intersection of

I'

and

Z i 5

with li5 is t h e

I I

line going through mi and

mi:

= m 4 x n 5 .

Therefore the projection b' of

B

in t h e second image is t h e intersection point of the line atmi and the line

mimi. In

the same way as for

M s ,

we can deal with P t o get the projection r' of

R

in the second image, the cross ratio

of

mi,

m;, b', T I defines one of the non homogeneous projective coordinates

of P , since we a1wa.y~ have

{ I ?n ;T } r

{MI, M 2 ;

B ,

R } .

4 Practical reconstruction

For direct solution of the system 4 by non linear optimisation, as we have mentioned above, Levenberg-Marquardt's method is used. Practical experi- men t ation shows t h a t the algorithm works very well. T h e convergence does not depend too much on the initial starting points, it converges with almost any initialisation although we have n o mean t o formally prove its conver- gence.

(17)

To

have some intuitive ideas of different shape representation, w e will first show some reconstruction on a simulated cubic grid and a simulated glass (from t h e Gnuplot demonstration d a t a ) data.

A

projective shape is defined up t o a collineation, no metric information is present, only projec- tive properties are preserved. For example, aligned points remain aligned, coplanar points remain coplanar and conics are transformed i n t o conics, a circle may be represented by a n hyperpole

. . .

Such a pure projective shape can b e displayed by its non homogeneous coordinates (cf. Figure 6, Figure 7, and Figure 8).

Figure 6:

A

top view of the projec- Figure 7 : Another view of the pro- tive "cubic grid". jective "cubic grid".

Next, a pure project.ive shape can be transformed into its affine or Eu- clidean representation. However t o do this, supplementary a f i n e a n d Eu- clidean information shoud be incorporated. T h a t is, we should determine a collineation A which brings t h e canonical basis e;, i = 1 , . .

. , 5

t o any five points

If

these five points are affinely known, t h a t is 4 of them can be assigned the standard a f i n e coordinates, the fifth point should have its affine coor- dinates with respect to these 4 points, t h a t is t h e 5 points can have the

(18)

Figure 8: A projective pla.ne.

following coordinat-es

Figure 9: .4n affine reconstruction of a. glass

T h a t is, to get t h e affine representation, affine knowledge ( a , /3,7) have t o b e available. T h e n by solving t h e linear equations system 7: we obtain t h e collineation which transforms a p u r e projective shape into a n affine shape.

To

have t h e usual Euclidean shape representation, t h e Euclidean coor- dinates should be known for t h e

5

points, that. should be like

t h e n , solve for the corresponding collineation which transforms a pure projective s h a p e into a n usual Euclidean shape.

Figure

9

shows an affine s h a p e of t h e glass.

W e h a v e also experimented o n real d a t a . AH our experiences a r e con- ducted with a Pulnis 765 camera, a lens of 18mm and FGlSO Imaging technology g r a b board. T h e c a m e r a is assumed to be a perfect pin-hole one, distorsion was not compensated.

The

first d a t a set is obtained from t h e s t a n d a r d calibration pattern. Since t h e geometry of t h e pattern is reg- ular, it makes possible t h e matching of t h e points, a n d the

3 D

measures a r e

(19)

available t o verify the reconstruction results. Since only one planar pattern is available, we create a Yransparent" pattern, t h a t is, once t h e camera is fixed i n a position, t h e pattern plane is then translated. This is equivalent t o have several transparent calibration pattern.

In

our experimentation, we used 3 transparent planes and 3 positions (cf. Figure 10 and Figure 11).

T h e contour points are obtained by a standard gradient based edge detec- tor. T h e n follows t h e edge linking to obtain t h e least squares fitted lines.

T h e image points are computed as t h e intersection points of the lines.

Figure 10: A t o p view of the recon- Figure 11:

A

side view of t h e recon- structed transparent calibration pat- structed transparent calibration pat-

tern tern

Another d a t a set is obtained from a paper house. About 90 images are taken around the house. Then the curvature maxima are tracked by corre- lation operator. About 40 points are tracked over the total sequence. Then, five images of the total sequence are selected t o perform t h e reconstruction.

In Figure 12 ant1 13, the first and the last images of t h e sequence are displayed.

Figures 14, 15 and 16 show the reconstructed house by t h e direct non linear method. Notice in these figures the quality of t h e reconstruction:

windows are allnost perfectly aligned with the wall. T h e boundary of the windows look like not lined u p each other, they are really not in practice!

To estimate the confidence limits of the reconstructed points, we get the

(20)

Figure 12: The first image of t h e se- Figure 13: T h e last image of the se-

quence quence

Figure 13: A top view of the reconstructed house by the direct method

(21)

Figure 15:

A

side view of the reconstructed house by the direct method

Figure 16: A f r o n t view of the reconstructed house by t h e direct method

(22)

covariance matrix from Levenberg-Marquard t's algorithm and w e draw t h e confidence region ellipsoid related t o each point as illustrated by the figures 17, 18 in which each associated ellipsoid is displayed by its corresponding bounding parallelepiped .

Figure 17: A side view of the reconstruction with their confidence region.

5 Discussion

As concluding rernar ks, the relative reconstruction is of high quality, hav- ing very good numerical behavior, this kind of relative approach has many advantages over the tra.ditiona1 approaches both mathematically and exper- imentally.

One

of the most important key points of the approach is t h a t w e have no need t o calibrate cameras. Therefore zooming, focusing

. . .

of a n active moving camera can be fully absorbed by this calibration free process.

Multiple observation mesures a r e natually globally integrated in the estima-

(23)

Figure 18: A front. view of t h e reconst.ruction with their confidence region

(24)

tion process, though scene points should not necessaryly be present in all images, thus provides us with a more precise reconstruction. Moreover t h e mathematical formulation appears in a n extremely simple form thanks t o the elegant projective geometry.

As for non linear least squares estimation, Leven berg-Marquardt's algo- rithm provides actually quite satisfactory results. T h e convergence does not depend on t h e initial starting point and t h e number of iterations necessary is reasonable. However specialied implementation of Levenberg-Marquardt for our problems will improve t h e computing time, and also some more powerful numerical optimisation algorithm such as confidence region can be used to still improve the results.

We are currently beginning on the studies of the precision of t h e re- construction with a full st a t istical model following our first experiments illustrated in Figures 1 7 a n d 18. We are also comparing the method with the others dealing with the similar problems, especially t h e linear method of Faugeras 151: but it is too early for the time being t o make conclusion o n these compa.rative stndies.

Acknowledgement

We are pleased t o acknowledge Horst Beyer for pointing o u t to us t h a t photograrnmetrists use Levenberg-Marquardt for closely related problems, Olivier

D.

Faugeras and his associates for fruitful discussions on t h e topic and R.ardu Hora.nd for helping us t o prepare calibration pattern data.

References

[I]

H.A.

Beyer. Accuraie calibration of

CCD

cameras.

In

Proceedings of the Conference on Computer Vision a n d Pattern Recognition, Urbana- Champaign. IZlinois, USA, page t o appear, 1992.

[2]

D.C.

Brown. Close-range camera calibration. Phtograrnrnetric Engi- neering, 37(8):8.55-SGA, 1 971.

(3)

J.B.

Burns,

R.

Weiss, and

E.M.

Riseman. View variation of point set and line segment features. In Proceedings of

DA RPA

Image Un- derstanding Workshop, Pittsburgh, Pennsylvania,

USA,

pages 650-659, 1990.

(25)

[4]

0.

Faugeras. What can be seen in three dimensions w i t h a n uncalibrated stereo rig? In

G.

Sandini, editor, Proceedings of the 2nd European

Conference on Computer Vision, Santa Margherita Ligure, Italy, pages 563-578. Springer-Verlag, May 1992.

[5] O.D.

Fa.ligeras. S D Computer Vision. M.I.T. Press, 1992.

[6]

O.D.

Faugeras, Q.T. Luong, and

S.J.

Maybank. Camera Self- Calibration: Theory and Experiments. In

G.

Sandini, editor, Pro- ceedings o f the 2nd European Conference o n Computer Vision, Santa Margheritn Ligure. It nly, pages 02 1-334. Springer-Verlag, May 1992.

[7]

O.D.

Fa.ugeras and

S.

Maybank. Motion from point matches: multi- plicity of sol11 tions. In

IEEE

workshop o n Computer Vision, 1989.

[8]

P.

Gros and

L.

Quan. Projective Invariants for Vision. Technical report, IRIMAG-LIFIA

_

Grenoble, France, 1992.

[9]

R.I.

Haxtley. Estimation of relative camera positions for uncalibrated cameras. In

G .

Sa.ndini, editor, Proceedings of the 2nd European Confer- ence o n Computer Vision, Santn Alnrgherita Ligure, Italy, pages 579- 587. Springer-Verlag, 1992.

[lo]

J.J.

Koenderi~tk and A.

J.

van Doorn. Affine structure from motion.

Technical report. Utrecht University, Utrecht

,

T h e Netherlands,

0

cto- ber 1989.

[I 11

R.

Mohr a n d L. Morin. Relative positioning from geometric invari- ants.

In

Proceedings of the Conference o n Computer Vision and Pattern Recognition. Afmri. Hmrw.ii, USA, pages 139-144, June 1991.

[12]

W.H.

Press.

B.P.

Flannery,

S.A.

Teukolsky, and W.T. Vetterling

W.T.

N w n e r i s d recipes in

C

Cambridge University Press, 1988.

[13]

L.

Q u a n and

R.

Moltr. Affine shape representation from motion through reference poi11 ts. Journnl of h4athemnticnl Imaging a n d Vision, 1: 145-

151, 1992,

[14]

J .G.

Semple and

G .T.

1.; neebone. A lgebmic Projective Geometry.

Ox-

ford Science Publica.tion, 1952.

(26)

[15]

G.

Sparr. Projective invariants for affine shapes of point configurations.

In Proceeding of ihe D A R P A - E S P R I T workshop on Applications of In- variants in Computer Vision, Reykjavik, Iceland, pages 15 1-1 70, March 1991.

[16]

G.

Sparr and L. Nielsen. Shape and mutual cross-ratios with applica- tions t o the interior, exterior and relative orientation. In Proceedings of the 1st European Conference on Computer Vision, A ntibes, filmnee, pages 607-609. Springer-Verlag, April 1990.

1171

C.

Tomasi a n d

T.

Kanade. Factoring image sequences into shape and motion. In Proceedings of IEEE Woorbhop on Visual Motion, Prince- ton, New Jersey, pages 21-28, Los Alarnitos, California, October 1991.

IEEE

Computer Society Press.

Références

Documents relatifs

Une théorie de soutien des besoins des proches aidants durant les soins de transition de l’hôpital au domicile − la thématique de développement de cette théorie intègre

Such a strategy is to be based on the LATIN method and, more specifically, on its capacity to reuse the solution to a given problem in order to solve similar problems2.

Néanmoins, l’utilisation abusive ou du fait même de leur composition, les compléments alimentaires peuvent s’avérer dangereux pour la santé du consommateur. Par conséquent et

L’objet de cette note courte est d’explorer à travers une revue de littérature actualisée des recherches académiques et des applications empiriques, la question des

As discussed previously (see Section 1.3) a longstanding hypothesis for why certain peptide syntheses fail is aggregation of the growing polypeptide chain on the

Nous avons analysé la distribution des nanoparticules Np30 et Np300 injectées par voie intraveineuse, par imagerie bimodale (µCT / Fluorescence 3D), dans des

The CV curves recorded in the absence and presence of hydrogen peroxide at the bare carbon screen printed electrode (CSPE) and at the nanostructured carbon

Indeed, a tremendous amount of images acquired at facade level in urban environment are occluded in reasons of urban objects located between the sensor of acquisition and the