• Aucun résultat trouvé

Perspective-12-Quadric: An analytical solution to the camera pose estimation problem from conic - quadric correspondences

N/A
N/A
Protected

Academic year: 2021

Partager "Perspective-12-Quadric: An analytical solution to the camera pose estimation problem from conic - quadric correspondences"

Copied!
4
0
0

Texte intégral

(1)

HAL Id: hal-02054882

https://hal.archives-ouvertes.fr/hal-02054882v3

Preprint submitted on 5 Mar 2019

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.

Perspective-12-Quadric: An analytical solution to the camera pose estimation problem from conic - quadric

correspondences

Vincent Gaudillière, Gilles Simon, Marie-Odile Berger

To cite this version:

Vincent Gaudillière, Gilles Simon, Marie-Odile Berger. Perspective-12-Quadric: An analytical solution to the camera pose estimation problem from conic - quadric correspondences. 2019. �hal-02054882v3�

(2)

Perspective-12-Quadric: An analytical solution to the camera pose estimation problem from conic -

quadric correspondences.

Vincent Gaudilli`ere, Gilles Simon, Marie-Odile Berger Inria Nancy Grand - Est / Loria, Nancy, France

{firstname}.{lastname}@inria.fr

Goal: To estimate the pose of a perspective camera given a set of n 3D quadrics in the world and their corresponding 2D projections (conics) in the image.

1 Problem statement.

2D:Homogeneous quadratic form of a conic equation:

u>Ciu= 0,

whereuR3 is the homogeneous vector of a generic 2D point belonging to the conic defined by the symmetric matrix Ci R3×3. The conic has 5 degrees of freedom given by the 6 elements of the lower triangular part of the symmetric matrixCi, except one for the scale. The dual conic is defined byCi=adj(Ci).

3D:Homogeneous quadratic form of a quadric equation:

x>Qix= 0,

wherexR4is the homogeneous vector of a generic 3D point belonging to the quadric defined by the symmetric matrixQiR4×4. The quadric has 9 degrees of freedom given by the 10 elements of the lower triangular part of the symmetric matrixQi, except one for the scale. The dual quadric is defined byQi =adj(Qi).

Projection equation: Let’s consider the projection matrix

P=K[R|t] =

p11 p12 p13 p14

p21 p22 p23 p24

p31 p32 p33 p34

The projection equation [1] is:

βiCi=P QiP> (1)

1

(3)

2 Solution.

In order to recover P in closed form from the set of conic-quadric pairs, we have to re-arrange Eq. (1) into a linear system [2, 3]. Let us define the operatorvec() that serialises all the elements of a generic matrix, and the operatorvech() that serialises the elements of the lower triangular part of a symmetric matrix. Then let us definevi=vech(Qi) andci =vech(Ci). Then let us arrange the product of the elements ofP andP> in a single matrixGR6×10 as follows:

G=D(PP)E

whereis the Kronecker product, and matricesDR6×9andER16×10, are two matrices such that vech(X) = Dvec(X) and vec(Y) = Evech(Y) respec- tively, whereX R9×9and Y R16×16are two symmetric matrices.

D=

1 0 0 0 0 0 0 0 0

0 0 0 1 0 0 0 0 0

0 0 0 0 1 0 0 0 0

0 0 0 0 0 0 1 0 0

0 0 0 0 0 0 0 1 0

0 0 0 0 0 0 0 0 1

, E=

1 0 0 0 0 0 0 0 0 0

0 1 0 0 0 0 0 0 0 0

0 0 0 1 0 0 0 0 0 0

0 0 0 0 0 0 1 0 0 0

0 1 0 0 0 0 0 0 0 0

0 0 1 0 0 0 0 0 0 0

0 0 0 0 1 0 0 0 0 0

0 0 0 0 0 0 0 1 0 0

0 0 0 1 0 0 0 0 0 0

0 0 0 0 1 0 0 0 0 0

0 0 0 0 0 1 0 0 0 0

0 0 0 0 0 0 0 0 1 0

0 0 0 0 0 0 1 0 0 0

0 0 0 0 0 0 0 1 0 0

0 0 0 0 0 0 0 0 1 0

0 0 0 0 0 0 0 0 0 1

G=

p211 2p11p12 p212 2p11p13 2p12p13 p213 2p11p14 2p12p14 2p13p14 p214 p11p21 p11p22+p12p21 p12p22 p11p23+p13p21 p12p23+p13p22 p13p23 p11p24+p14p21 p12p24+p14p22 p13p24+p14p23 p14p24

p221 2p21p22 p222 2p21p23 2p22p23 p223 2p21p24 2p22p24 2p23p24 p224 p11p31 p11p32+p12p31 p12p32 p11p33+p13p31 p12p33+p13p32 p13p33 p11p34+p14p31 p12p34+p14p32 p13p34+p14p33 p14p34

p21p31 p21p32+p22p31 p22p32 p21p33+p23p31 p22p33+p23p32 p23p33 p21p34+p24p31 p22p34+p24p32 p23p34+p24p33 p24p34

p231 2p31p32 p232 2p31p33 2p32p33 p233 2p31p34 2p32p34 2p33p34 p234

GivenGwe can rewrite Eq. (1) as a linear equation:

βici =Gvi (2)

Eq. (2) can thus be solved using DLT algorithm,e.g. can be written:

0 =Bg,

2

(4)

whereg=vec(G) = [g11· · ·g610]> R60, andBR15n×60is the concatenation of matricesbiR15×60:

bi=

c2ivi> −c1ivi> 010> 010> 010> 010>

010> c3ivi> −c2ivi> 010> 010> 010>

010> 010> c4ivi> −c3ivi> 010> 010>

010> 010> 010> c5ivi> −c4ivi> 010>

010> 010> 010> 010> c6ivi> −c5ivi>

−c3ivi> 010> c1ivi> 010> 010> 010>

010> −c4ivi> 010> c2ivi> 010> 010>

010> 010> −c5ivi> 010> c3ivi> 010>

010> 010> 010> −c6ivi> 010> c4ivi>

c4ivi> 010> 010> −c1ivi> 010> 010>

010> c5ivi> 010> 010> −c2ivi> 010>

010> 010> c6ivi> 010> 010> −c4ivi>

−c5ivi> 010> 010> 010> c1ivi> 010>

010> −c6ivi> 010> 010> 010> c2ivi>

c6ivi> 010> 010> 010> 010> −c1ivi>

,

with:

c>i =

c1i c2i c3i c4i c5i c6i

, vi>=

v1i v2i v3i v4i v5i v6i v7i v8i v9i v10i , 0>10=

0 0 0 0 0 0 0 0 0 0

Each pair of conic-quadric provides 15 homogeneous linear equations in the unknown elements of G. However, only 5 are linearly independent. Thus 12 pairs of 3D-2D correspondences are required to solve the system. A total least squares solution can then be found by choosing g as a right singular vector corresponding to the smallest singular value ofB. Finally,P can be inferred fromG.

References

[1] R.I. Hartley and A. Zisserman,Multiple View Geometry in Computer Vision, Cambridge University Press, second edition, 2004.

[2] M. Crocco and C. Rubino and A. Del Bue, Structure from Motion with Objects, CVPR, 2016.

[3] C. Rubino and M. Crocco and A. Del Bue, 3D Object Localisation from Multi-View Image Detections, TPAMI, 2018.

3

Références

Documents relatifs

In case of soft impact, with a finite time duration of the shock, and no external excitation, the existence of periodic solutions, with an arbitrary value of the

In the special case of standard Lasso with a linearly independent design, (Zou et al., 2007) show that the number of nonzero coefficients is an unbiased esti- mate for the degrees

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

This paper presents a kinematical model of the knee joint that will be employed to specify the future Device kinematics and a preliminary control

Note that X has exactly nine singular points (over k) and G acts simply tran- sitively on them (in particular, no singular point is rational).. Then each D i,j is a 2-plane lying

In this article, we describe the Hilbert schemes of linear spaces contained in smooth GM varieties in terms of their EPW stratifications and relate the Hodge structures of smooth

Coverage of 95% noncentral t confidence intervals for the unbiased standard- ized mean difference in pooled paired samples experiments across a variety of sample sizes and effect

Using a theorem of Springer [20] and the fact that the integral Hodge conjecture is known in codimension two for quadric bundles over surfaces [8, Corollaire 8.2], we obtain a