Basics of Epipolar Geometry

Size: px
Start display at page:

Download "Basics of Epipolar Geometry"

Transcription

1 Basics of Epipolar Geometry Hellmuth Stachel Seminar at the Institute of Mathematics and Physics Faculty of Mechanical Engineering, May 26,, STU Bratislava

2 Table of contents 1. Linear images of the 3-space 2. Geometry of two images (epipolar geometry) 3. Numerical reconstruction from two images May 26, : Seminar, Institute of Mathematics and Physics, STU Bratislava 1/55

3 1. Linear images of the 3-space The central projection produces a linear image = central perspective... according to A. Dürer s woodcarving (-25) (in Underweysung der Messung mit dem Zirckel und Richtscheyt ) May 26, : Seminar, Institute of Mathematics and Physics, STU Bratislava 3/55

4 1. Linear images of the 3-space A panorama is a nonlinear image but can be generated from a perspective by a planar transformation according to the unfolding of a right cylinder. May 26, : Seminar, Institute of Mathematics and Physics, STU Bratislava 4/55

5 1. Linear images of the 3-space H h H h (x,y) (x p,y p ) with x p = rarctan x d, yp = ry d2 +x 2 May 26, : Seminar, Institute of Mathematics and Physics, STU Bratislava 5/55

6 Central projection The central projection (according to A. Dürer) can be generalized by a central axonometry. May 26, : Seminar, Institute of Mathematics and Physics, STU Bratislava 6/55

7 Central axonometric principle in space E 3 : U c 3 in the image plane E 2 : U 3 E 3 O E 1 E 2 U 1 U 2 cartesian basis O;E 1,E 2,E 3 and points at infinity U 1,U 2,U 3 U c 1 E c 1 E c 3 O c E c 2 U c 2 Given: central axonometric reference system O c ;E c 1,E c 2,E c 3;U c 1,U c 2,U c 3 May 26, : Seminar, Institute of Mathematics and Physics, STU Bratislava 7/55

8 Central axonometric principle U c 3 Theorem (Szabó, H.S., Vogel 94): A central axonometric reference system defines a central projection α 3 ( e1 f 1 ) 2 : ( e2 f 2 ) 2 : ( e3 f 3 ) 2 = = tanα 1 : tanα 2 : tanα 3. Theorem: Each central axonometry is affine to a central projection. E c 3 α U1 c 1 α 2 U2 c f1 e1 E c 1 E c 2 O c e 2 f 2 May 26, : Seminar, Institute of Mathematics and Physics, STU Bratislava 8/55

9 Photo versus linear image Photo (=central perspective) or photo of a photo (=linear image)? May 26, : Seminar, Institute of Mathematics and Physics, STU Bratislava 9/55

10 Definition of a linear image There is a unique collinear transformation κ: E 3 E 2 mit O O c, E i E c i, U i U c i, i = 1,2,3. Any two-dimensional image of E 3 under a collinear transformation is called linear. = { collinear points have collinear or coincident images cross-ratios of any four collinear points are preserved. May 26, : Seminar, Institute of Mathematics and Physics, STU Bratislava /55

11 Definition of a linear image There is a unique collinear transformation κ: E 3 E 2 mit O O c, E i E c i, U i U c i, i = 1,2,3. Any two-dimensional image of E 3 under a collinear transformation is called linear. = { collinear points have collinear or coincident images cross-ratios of any four collinear points are preserved. May 26, : Seminar, Institute of Mathematics and Physics, STU Bratislava /55

12 Central projection in coordinates Notation: Z... center H... principal point vanishing plane Π v x 2 Π image plane x 2 d... focal length x 1,x 2,x 3... camera frame Z x 3 H X c X x 1,x 2... image coordinate frame x 1 d x 1 May 26, : Seminar, Institute of Mathematics and Physics, STU Bratislava /55

13 Central projection in coordinates ( x 1 x 2 ) = d ( ) x1, or homogeneous x 3 x 2 ξ 0 ξ 1 ξ 2 = d d 0 ξ 0. ξ 3. Transformation from the camera frame (x 1,x 2,x 3 ) into arbitrary world coordinates (x 1, x 2, x 3 ) and translation from the particular image frame (x 1,x 2) into arbitrary (x 1,x 2) gives in homogeneous form ξ 0 ξ 1 ξ 2 = h 1 df 1 0 h 2 0 df }{{} matrix A o 1. o 3 R ξ 0. ξ 3. May 26, : Seminar, Institute of Mathematics and Physics, STU Bratislava /55

14 Central projection in coordinates ( x 1 x 2 ) = d ( ) x1, or homogeneous x 3 x 2 ξ 0 ξ 1 ξ 2 = d d 0 ξ 0. ξ 3. Transformation from the camera frame (x 1,x 2,x 3 ) into arbitrary world coordinates (x 1, x 2, x 3 ) and translation from the particular image frame (x 1,x 2) into arbitrary (x 1,x 2) gives in homogeneous form ξ 0 ξ 1 ξ 2 = h 1 df 1 0 h 2 0 df }{{} matrix A o 1. o 3 R ξ 0. ξ 3. May 26, : Seminar, Institute of Mathematics and Physics, STU Bratislava /55

15 Central projection in coordinates Left hand matrix: (h 1,h 2) are image coordinates of the principal point H, (f 1,f 2 ) are possible scaling factors, and d is the focal length. These parameters are called the intrinsic calibration parameters. Right hand matrix: R is an orthogonal matrix. The position of the camera frame with respect to the world coordinates defines the extrinsic calibration parameters. Photos with known interior calibration parameters are called calibrated images, others (like central axonometries) are uncalibrated. May 26, : Seminar, Institute of Mathematics and Physics, STU Bratislava /55

16 Central projection in coordinates Left hand matrix: (h 1,h 2) are image coordinates of the principal point H, (f 1,f 2 ) are possible scaling factors, and d is the focal length. These parameters are called the intrinsic calibration parameters. Right hand matrix: R is an orthogonal matrix. The position of the camera frame with respect to the world coordinates defines the extrinsic calibration parameters. Photos with known interior calibration parameters are called calibrated images, others (like central axonometries) are uncalibrated. May 26, : Seminar, Institute of Mathematics and Physics, STU Bratislava /55

17 How to check the interior calibration parameters of any camera? The center Z lies at the intersection of the three spheres drawn over the segments U c 1U c 2,... U 3 c H=Z Note: Zooming and (automatic) focussing changes the focal distance d! U 1 c U 2 c May 26, : Seminar, Institute of Mathematics and Physics, STU Bratislava /55

18 DG negative plane Π vanishing plane Πv x2 Π image plane x1 H Z DG DG Positive and negative central pespective x3 H X d d May 26, : Seminar, Institute of Mathematics and Physics, STU Bratislava /55 x 2 X c x 2 X c x 1 x 1

19 unknown interior calibration parameters collinear bundle transformation Z Z the bundles Z and Z of the rays of sight are collinear (neither affine nor similar!) May 26, : Seminar, Institute of Mathematics and Physics, STU Bratislava /55

20 2. Geometry of two images Given: Two linear images or two photographs showing the same object. Wanted: Dimensions of the depicted 3D-object. Historical Stadtbahn station Karlsplatz in Vienna (Otto Wagner, 97) May 26, : Seminar, Institute of Mathematics and Physics, STU Bratislava /55

21 2. Geometry of two images The geometry of two images is a classical subject of Descriptive Geometry. Its results have become standard (Finsterwalder, Kruppa, Krames, Wunderlich, Hohenberg, Tschupik, Brauner, Havlicek, H.S.,...). Photogrammetry (Remote sensing) deals with the practical usage of these results. Why now? Advantages of digital images: less distorsion, because no paper prints are needed, exact boundary is available, and precise coordinate measurements are possible using standard software. May 26, : Seminar, Institute of Mathematics and Physics, STU Bratislava /55

22 2. Geometry of two images The geometry of two images is a classical subject of Descriptive Geometry. Its results have become standard (Finsterwalder, Kruppa, Krames, Wunderlich, Hohenberg, Tschupik, Brauner, Havlicek, H.S.,...). Photogrammetry (Remote sensing) deals with the practical usage of these results. Why now? Advantages of digital images: less distorsion, because no paper prints are needed, exact boundary is available, and precise coordinate measurements are possible using standard software. May 26, : Seminar, Institute of Mathematics and Physics, STU Bratislava /55

23 Computer Vision Why now? The geometry of two images is important for Computer Vision, a topic with the main goal to endow a computer with a sense of vision. Basic problems: Which information can be extracted from digital images? How to preprocess and represent this information? Sensor-guided robots, automatic vehicle control, Big Brother,... May 26, : Seminar, Institute of Mathematics and Physics, STU Bratislava /55

24 Computer Vision Why now? The geometry of two images is important for Computer Vision, a topic with the main goal to endow a computer with a sense of vision. Basic problems: Which information can be extracted from digital images? How to preprocess and represent this information? Sensor-guided robots, automatic vehicle control, Big Brother,... May 26, : Seminar, Institute of Mathematics and Physics, STU Bratislava /55

25 Computer Vision Recent textbooks: Yi Ma, St. Soatto, J. Košecká, S.S. Sastry: An Invitation to 3-D Vision. Springer-Verlag, New York 04 R. Hartley, A. Zisserman: Multiple View Geometry in Computer Vision. Cambridge University Press 00 Fortunately the authors in the cited book refer to some of these standard results (Krames, Kruppa, Wunderlich) May 26, : Seminar, Institute of Mathematics and Physics, STU Bratislava /55

26 Computer Vision Recent textbooks: Yi Ma, St. Soatto, J. Košecká, S.S. Sastry: An Invitation to 3-D Vision. Springer-Verlag, New York 04 R. Hartley, A. Zisserman: Multiple View Geometry in Computer Vision. Cambridge University Press 00 Fortunately the authors in the cited book refer to some of these standard results (Krames, Kruppa, Wunderlich) May 26, : Seminar, Institute of Mathematics and Physics, STU Bratislava 21/55

27 Geometry of two images (epipolar geometry) viewing situation (two different centers Z 1 Z 2 ) two central projections together with two collinear transformations Z 1 2 Z 2 π 1 X 1 Z 2 Z 1 Z 2 δ X Z 2 1 π 1 X l 1 l 2 π X 1 2 X 2 γ 1 X 2 γ 1 γ 2 γ 2 z result in two images Z 1 = 2nd image of the 1st center Z 2 = 1st image of the 2nd center Z 2 X X π l l 1 π π 1 X π 2 Z 1 May 26, : Seminar, Institute of Mathematics and Physics, STU Bratislava 22/55

28 Geometry of two images (epipolar geometry) Notations: line z = Z 1 Z 2... baseline, Z 2,Z 1... epipoles (German: Kernpunkte), δ X... epipolar plane (it is twice projecting), Z 1 2 Z 2 π 1 X 1 Z 2 Z 1 Z 2 δ X Z 2 1 π 1 X l 1 l 2 π X 1 2 X 2 γ 1 X 2 γ 1 γ 2 γ 2 z l,l... pair of epipolar lines (German: Kernstrahlen, Ordner) (X,X )... correspondingviews. Z 2 X X π l l 1 π π 1 X π 2 Z 1 May 26, : Seminar, Institute of Mathematics and Physics, STU Bratislava 23/55

29 Epipolar constraint Theorem (synthetic version): For any two linear images of a scene, there is a projectivity between two line pencils Z 2(δ X ) Z 1(δ X ) such that the points X,X are corresponding they are located on (corresponding =) epipolar lines. Theorem (analytic version): Using homogeneous coordinates for both images, there is a bilinear form β of rank 2 such that two points X = x R = (ξ 0 : ξ 1 : ξ 2) and X = x R = (ξ 0 : ξ 1 : ξ 2) are corresponding 2 ξ β(x,x ) = b ij ξ iξ j = (ξ 0 ξ 1 ξ 2) (b ij ) 0 = x T B x = 0. i,j=0 ξ 1 ξ 2 May 26, : Seminar, Institute of Mathematics and Physics, STU Bratislava 24/55

30 Epipolar constraint Theorem (synthetic version): For any two linear images of a scene, there is a projectivity between two line pencils Z 2(δ X ) Z 1(δ X ) such that the points X,X are corresponding they are located on (corresponding =) epipolar lines. Theorem (analytic version): Using homogeneous coordinates for both images, there is a bilinear form β of rank 2 such that two points X = x R = (ξ 0 : ξ 1 : ξ 2) and X = x R = (ξ 0 : ξ 1 : ξ 2) are corresponding 2 ξ β(x,x ) = b ij ξ iξ j = (ξ 0 ξ 1 ξ 2) (b ij ) 0 = x T B x = 0. i,j=0 ξ 1 ξ 2 May 26, : Seminar, Institute of Mathematics and Physics, STU Bratislava 24/55

31 Epipolar constraint Proof (analytic version): Using homogeneous line coordinates, the projectivity between the line pencils can be expressed as β: (u 1λ 1 +u 2λ 2 )R (u 1λ 1 +u 2λ 2 )R for all (λ 1,λ 2 ) R 2 \{(0,0)}. x and x are corresponding there is a nontrivial pair (λ 1,λ 2 ) such that (u 1λ 1 +u 2λ 2 ) x = 0 (u 1λ 1 +u 2λ 2 ) x = 0. These two linear homogeneous equations in the unknowns (λ 1,λ 2 ) have a nontrivial solution the determinant vanishes, i.e., β(x,x ) := (u 1 x )(u 2 x ) (u 2 x )(u 1 x ) = 2 i,j=0 b ijξ i ξ j = 0. There are singular points of this correspondance: Z 2 corresponds to all X, and vice versa all points X correspond to Z 1 = rk(b ij ) = 2. May 26, : Seminar, Institute of Mathematics and Physics, STU Bratislava 25/55

32 Epipolar constraint β(x,x ) = 2 i,j=0 b ij ξ iξ j = (ξ 0 ξ 1 ξ 2) (b ij ) ξ 0 ξ 1 ξ 2 = x T B x = 0. The epipoles solve systems of homogeneous linear equations with the coefficient matrices B and B : Z 2 = (ξ 0 : ξ 1 : ξ 2) corresponds to all X 2 i=0 b ijξ i Z 1 = (ξ 0 : ξ 1 : ξ 2) corresponds to all X 2 j=0 b ijξ j = 0 for j = 0,1,2. = 0 for i = 0,1,2. May 26, : Seminar, Institute of Mathematics and Physics, STU Bratislava 26/55

33 Epipolar constraint in the calibrated case Theorem: In the calibrated case the essential matrix B = (b ij ) is the product of a skew symmetric matrix and an orthogonal one, i.e., B = S R. Z 2 1 Z 2 π 1 X 1 Z 2 z Z 1 Z 2 δ X Z 1 2 π 1 X l 1 x x l 2 X 1 π 2 X 2 X 2 Proof: We use both camera frames and the homogeneous coordinates x = Z 1 X, x = Z 2 X. May 26, : Seminar, Institute of Mathematics and Physics, STU Bratislava 27/55

34 Epipolar constraint in the calibrated case For transforming the coordinates from the second camera frame into the first one, there is an orthogonal matrix R such that x 1 = z +R x with R = R 1 and z = (z 1, z 2, z 3) = Z 1 Z 2. The points X 1, X 2, Z 1, Z 2 are coplanar the triple product of the vectors x, z and x 1 = Z 1 X 2 vanishes, i.e., det(x,z,x 1) = x (z x 1) = 0. Z 2 1 Z 2 π 1 X 1 Z 2 z Z 1 Z 2 δ X Z 1 2 π 1 X l 1 x x l 2 X 1 π 2 X 2 X 2 May 26, : Seminar, Institute of Mathematics and Physics, STU Bratislava 28/55

35 Epipolar constraint in the calibrated case For transforming the coordinates from the second camera frame into the first one, there is an orthogonal matrix R such that x 1 = z +R x with R = R 1 and z = (z 1, z 2, z 3) = Z 1 Z 2. The points X 1, X 2, Z 1, Z 2 are coplanar the triple product of the vectors x, z and x 1 = Z 1 X 2 vanishes, i.e., det(x,z,x 1) = x (z x 1) = 0. Z 2 1 Z 2 π 1 X 1 Z 2 z Z 1 Z 2 δ X Z 1 2 π 1 X l 1 x x l 2 X 1 π 2 X 2 X 2 May 26, : Seminar, Institute of Mathematics and Physics, STU Bratislava 28/55

36 Epipolar constraint in the calibrated case We replace the vector product (z x 1) by z (z +R x ) = z (R x ) = S R x with S = Matrix S is skew symmetric and R is orthogonal. 0 z 3 z 2 z 3 0 z 1 z 2 z 1 0. Hence, the coplanarity of x, x and z is equivalent to 0 = x (z x 1) = x T S R }{{} B x, hence B = S R. The decomposition of the fundamental matrix B into these two factors defines the relative position of the second camera frame against the first one! May 26, : Seminar, Institute of Mathematics and Physics, STU Bratislava 29/55

37 Epipolar constraint in the calibrated case We replace the vector product (z x 1) by z (z +R x ) = z (R x ) = S R x with S = Matrix S is skew symmetric and R is orthogonal. 0 z 3 z 2 z 3 0 z 1 z 2 z 1 0. Hence, the coplanarity of x, x and z is equivalent to 0 = x (z x 1) = x T S R }{{} B x, hence B = S R. The decomposition of the fundamental matrix B into these two factors defines the relative position of the second camera frame against the first one! May 26, : Seminar, Institute of Mathematics and Physics, STU Bratislava 29/55

38 Singular value decomposition (SVD) A a 2 x A a 0 a 1 LinAlg U D V A α α(a 2 ) α(a 0 ) α(x) LinAlg α(a 1 ) May 26, : Seminar, Institute of Mathematics and Physics, STU Bratislava 30/55

39 Singular value decomposition (SVD) A a 2 x A a 0 a 1 LinAlg U D V A α α(a 2 ) α(a 0 ) α(x) LinAlg α(a 1 ) rotation V rotation U D scaling LinAlg Lin May 26, : Seminar, Institute of Mathematics and Physics, STU Bratislava 30/55

40 Singular value decomposition (SVD) Theorem: [Singular value decomposition] Any matrix A M(m,n;R) can be decomposed into a product A = U D V with orthogonal U,V and D = diag(σ 1,...,σ p ) with D M(m,n;R), σ i 0, and p = min{m,n}. The positive entries in the main diagonal of D are called singular values of A. The squares of the singular values are the non-zero eigenvalues of A A. n m n n m = m n A = U D V May 26, : Seminar, Institute of Mathematics and Physics, STU Bratislava 31/55

41 Singular value decomposition (SVD) Theorem: [Singular value decomposition] Any matrix A M(m,n;R) can be decomposed into a product A = U D V with orthogonal U,V and D = diag(σ 1,...,σ p ) with D M(m,n;R), σ i 0, and p = min{m,n}. The positive entries in the main diagonal of D are called singular values of A. The singular values of A can be seen as non-vanishing principal distortion factors of the affine transformation represented by A, i.e., the semiaxes of the affine image of the unit sphere. E.g., the singular values of an orthogonal projection are (1,1) as the unit sphere is mapped onto a unit disk. May 26, : Seminar, Institute of Mathematics and Physics, STU Bratislava 32/55

42 Singular values of the essential matrix Theorem: In the calibrated case the essential matrix B has two equal singular values σ := σ 1 = σ 2. Proof: We have B = S R with orthogonal R. The vector S x = z x is orthogonal zu the orthogonal view x n, where z x = sinϕ x z = = x n z = σ x n. x ϕ z x n z x Π z May 26, : Seminar, Institute of Mathematics and Physics, STU Bratislava 33/55

43 What means reconstruction Given: Two either calibrated or uncalibrated images. π 1 X 1 X 1 2 X X 2 π 1 π π 2 X 2 X 1 Wanted: viewing situation, i.e., determine the relative position of the two camera frames, and for each pair (X,X ) of images the location of the orginal space point X. Z 2 1 Z 2 π 1 X 1 Z 2 Z 1 Z 2 δ X Z 1 2 π 1 X l 1 l 2 X 1 π 2 X 2 X 2 z May 26, : Seminar, Institute of Mathematics and Physics, STU Bratislava 34/55

44 First fundamental theorem Theorem 1: From two uncalibrated images with given projectivity between epipolar lines the depicted object can be reconstructed up to a collinear transformation. Sketch of the proof: The two images can be placed in space such that pairs of epipolar lines are intersecting. Then for arbitrary Z 1,Z 2 on the baseline z = Z 2 1Z 1 2 there is a reconstructed 3D object. Any other choice of the viewing situation gives a collinear transform of the 3D object. Z 2 1 Z 2 π 1 X 1 Z 2 Z 1 Z 2 δ X Z 1 2 π 1 X l 1 l 2 X 1 π 2 X 2 X 2 z May 26, : Seminar, Institute of Mathematics and Physics, STU Bratislava 35/55

45 Second fundamental theorem Theorem 2 (S. Finsterwalder, 99): From two calibrated images with given projectivity between epipolar lines the depicted object can be reconstructed up to a similarity. Sketch of the proof: Now in the two bundles of rays the pencils of epipolar planes δ X are congruent, and they can be made coincident by a rigid motion. Then relative to the first bundle Z 1 for any Z 2 z there is a reconstructed 3D object. Any other choice of Z 2 gives a similar 3D object. Z 2 1 Z 2 π 1 X 1 Z 2 Z 1 Z 2 δ X Z 1 2 π 1 X l 1 l 2 X 1 π 2 X 2 X 2 z May 26, : Seminar, Institute of Mathematics and Physics, STU Bratislava 36/55

46 Aerial photographs Historical remarks: High strategic importance of aerial photogrammetry, already from World War I on. Mechanical devices ( stereo comparators ) were developed for the reconstruction from a pair of photos. Now, in the time of GPS, the exterior calibration parameters are always available with rather high precision available. Hence numerical methods are preferred. Orthophoto, a geometrically corrected aerial photograph (cadastral boundaries) May 26, : Seminar, Institute of Mathematics and Physics, STU Bratislava 37/55

47 3. Numerical reconstruction from two images Problem of Projectivity: Given: 7 pairs of corresponding points (X 1,X 1),...,(X 7,X 7). Wanted: A pair of points (S,S ) (=epipoles) such that there is a projectivity S ([S X 1],...,[S X 7]) S ([S X 1],...,[S X 7]). X 1 X 2 X 4 X 3 π X 7 X 4 X 6 X 3 X 5 π X 5 X 7 X 6 X 2 X 1 May 26, : Seminar, Institute of Mathematics and Physics, STU Bratislava 38/55

48 Determination of epipoles geometric meaning Problem of Projectivity: Given: 7 pairs of corresponding points (X 1,X 1),...,(X 7,X 7). Wanted: A pair of points (S,S ) (=epipoles) such that there is a projectivity S ([S X 1],...,[S X 7]) S ([S X 1],...,[S X 7]). S X 7 X 1 X 2 X X 3 4 X 6 X 5 π X 4 X 5 X 7 X 6 X 3 X 2 S π X 1 May 26, : Seminar, Institute of Mathematics and Physics, STU Bratislava 38/55

49 Determination of epipoles analytic solution Theorem: If 7 pairs of corresponding points (X 1,X 1),...,(X 7,X 7) ( control points ) are given, the determination of the epipoles is a cubic problem. Proof: 7 pairs of corresponding points give 7 linear homogeneous equations β(x i,x i ) = x i B x i = 0, i = 1,...,7, for the 9 entries in the (3 3)-matrix B = (b ij ) called essential matrix. det(b ij ) = 0 gives an additional cubic equation which fixes all b ij up to a common factor. For noisy image points one should use more than 7 control points and then methods of least square approximation for obtaining the best fitting matrix B: May 26, : Seminar, Institute of Mathematics and Physics, STU Bratislava 39/55

50 Determination of epipoles analytic solution Theorem: If 7 pairs of corresponding points (X 1,X 1),...,(X 7,X 7) ( control points ) are given, the determination of the epipoles is a cubic problem. Proof: 7 pairs of corresponding points give 7 linear homogeneous equations β(x i,x i ) = x i B x i = 0, i = 1,...,7, for the 9 entries in the (3 3)-matrix B = (b ij ) called essential matrix. det(b ij ) = 0 gives an additional cubic equation which fixes all b ij up to a common factor. For noisy image points one should use more than 7 control points and then methods of least square approximation for obtaining the best fitting matrix B: May 26, : Seminar, Institute of Mathematics and Physics, STU Bratislava 39/55

51 Determination of epipoles analytic solution 1) Let A denote the coefficient matrix in the linear homogeneous system for the entries of B. Then the least square fit for this overdetermined system is an eigenvector for the smallest eigenvalue of the symmetric matrix A A (=smallest singular value of A). 2) Since the essential matrix must have rank 2, we use the projection into the essential space. This means, the singular value decomposition of B gives a representation B = U diag(σ 1, σ 2, σ 3 ) V with orthogonal U,V and σ 1 σ 2 σ 3. Then in the uncalibrated case B = U diag(σ 1,σ 2,0) V is optimal (with respect to the Frobenius norm) and in the calibrated case B = U diag(σ,σ,0) V with σ = (σ 1 +σ 2 )/2. May 26, : Seminar, Institute of Mathematics and Physics, STU Bratislava 40/55

52 Determination of epipoles analytic solution 1) Let A denote the coefficient matrix in the linear homogeneous system for the entries of B. Then the least square fit for this overdetermined system is an eigenvector for the smallest eigenvalue of the symmetric matrix A A (=smallest singular value of A). 2) Since the essential matrix must have rank 2, we use the projection into the essential space. This means, the singular value decomposition of B gives a representation B = U diag(σ 1, σ 2, σ 3 ) V with orthogonal U,V and σ 1 σ 2 σ 3. Then in the uncalibrated case B = U diag(σ 1,σ 2,0) V is optimal (with respect to the Frobenius norm) and in the calibrated case B = U diag(σ,σ,0) V with σ = (σ 1 +σ 2 )/2. May 26, : Seminar, Institute of Mathematics and Physics, STU Bratislava 40/55

53 3. Numerical reconstruction of two images Step 1: Specify at least 7 reference points manually or automatically by methods of pattern recognition May 26, : Seminar, Institute of Mathematics and Physics, STU Bratislava 41/55

54 Step 2: Compute the essential matrix Two images with depicted epipolar lines [see J. Košecká et al.] Remark: In the calibrated case 5 pairs of corresponding points are needed, since in the decomposition B = S R each factor depends on 3 parameters only. Because of the homogeneity only 5 unknowns are essential. May 26, : Seminar, Institute of Mathematics and Physics, STU Bratislava 42/55

55 Step 2: Compute the essential matrix Step 2: Compute the essential matrix B including the pairs of epipolar lines May 26, : Seminar, Institute of Mathematics and Physics, STU Bratislava 43/55

56 Step 3: Factorize B = S R Theorem: There are exactly two ways of decomposing B = U D V with D = diag(σ,σ,0) into a product S R with skew-symmetric S and orthogonal R: S = ±U R + D U and R = ±U R + V with R + = Proof: a) It is sufficient to factorize U D = S R which implies B = S (R V ), i.e., R = R V. b) D represents the product of the orthogonal projection into the x 1 x 2 -plane and the scaling with factor σ. The rotation U transforms the x 1 x 2 -plane into the image plane of U D. May 26, : Seminar, Institute of Mathematics and Physics, STU Bratislava 44/55

57 Step 3: Factorize B = S R Theorem: There are exactly two ways of decomposing B = U D V with D = diag(σ,σ,0) into a product S R with skew-symmetric S and orthogonal R: S = ±U R + D U and R = ±U R + V with R + = Proof: a) It is sufficient to factorize U D = S R which implies B = S (R V ), i.e., R = R V. b) D represents the product of the orthogonal projection into the x 1 x 2 -plane and the scaling with factor σ. The rotation U transforms the x 1 x 2 -plane into the image plane of U D. May 26, : Seminar, Institute of Mathematics and Physics, STU Bratislava 44/55

58 Step 3: Factorize B = S R c) In the case S = we have 0 z 3 z 2 z 3 0 z 1 z 2 z 1 0 Sx = z x for z = z 1 z 2 z 3. Hence, the skew symmetric matrix S represents the product of an orthogonal projection parallel to z, a 90 -rotation about z and a scaling with factor z. x ϕ z x n z x Π z May 26, : Seminar, Institute of Mathematics and Physics, STU Bratislava 45/55

59 Step 3: Factorize B = S R d) Matrix R + = is orthogonal, R + D = 0 σ 0 σ is skew-symmetric with z = (0,0,σ). We transform it by U to obtain the required position, i.e., S = ±U (R + D) U. R + commutes with D = U D = U D R + U U R + = = [ ±U R + D U ] }{{} S [±U R ] + }{{} R. e) B represents an orthogonal axonometry; its column vectors are images of an orthonormal frame. We know from Descriptive Geometry that apart from translations there are not more than two different frames with given images. May 26, : Seminar, Institute of Mathematics and Physics, STU Bratislava 46/55

60 Step 3: Factorize B = S R d) Matrix R + = is orthogonal, R + D = 0 σ 0 σ is skew-symmetric with z = (0,0,σ). We transform it by U to obtain the required position, i.e., S = ±U (R + D) U. R + commutes with D = U D = U D R + U U R + = = [ ±U R + D U ] }{{} S [±U R ] + }{{} R. e) B represents an orthogonal axonometry; its column vectors are images of an orthonormal frame. We know from Descriptive Geometry that apart from translations there are not more than two different frames with given images. May 26, : Seminar, Institute of Mathematics and Physics, STU Bratislava 46/55

61 Step 4: Intersecting corresponding rays In one of the frames compute the approximate point of intersection between corresponding rays. photo 2 s x photo 1 c 2 x c 1 For the center of the common perpendicular line segment the sum of squared distances is minimal. May 26, : Seminar, Institute of Mathematics and Physics, STU Bratislava 47/55

62 Summary of algorithm 1) Specify n > 7 pairs (X i,x i ), i = 1,...,n. 2) Set up linear system of equations for the essential matrix B and seek best fitting matrix (eigenvector of the smallest eigenvalue). 3) Compute the closest rank 2 matrix B with two equal singular values. 4) Factorize B = S R; this reveals the relative position of the two camera frames. 5) In one of the frames compute the approximate point of intersection between corresponding rays. 6) Transform the recovered coordinates into world coordinates. May 26, : Seminar, Institute of Mathematics and Physics, STU Bratislava 48/55

63 Remaining problems Analysis of precision (e.g., no precise linear images due to effects of lenses) Effects of automated calibration (autofocus and zooming change the focal distance d), There are critical configurations (e.g., all passpoints within one plane) where the problem of projectivity has no unique solution despite of an arbitrarily big number of control points. How to figure out the correct one? How to find the correct decomposition of B = S R among the two possible one? May 26, : Seminar, Institute of Mathematics and Physics, STU Bratislava 49/55

64 The solution original image the reconstruction (M 1 : 0) May 26, : Seminar, Institute of Mathematics and Physics, STU Bratislava 50/55

65 9 front view Z 1 Z 2 2 top view 9 Photo 1 Z 2 Position of centers relative to the depicted object Photo 2 May 26, : Seminar, Institute of Mathematics and Physics, STU Bratislava 51/55 Z 1

66 Literatur H. Brauner: Lehrbuch der konstruktiven Geometrie. Springer, Wien 86. H. Brauner: Lineare Abbildungen aus euklidischen Räumen. Beitr. Algebra Geom. 21, 5 26 (86). A. Dür: An Algebraic Equation for the Central Projection. J. Geometry Graphics 7, 7 3 (03). O. Faugeras: Three-Dimensional Computer Vision. A Geometric Viewpoint. MIT Press, Cambridge, Mass., 06. O. Faugeras, Q.-T. Luong: The Geometry of Multiple Images. MIT Press, Cambridge, Mass., 01. May 26, : Seminar, Institute of Mathematics and Physics, STU Bratislava 52/55

67 R. Harley, A. Zisserman: Multiple View Geometry in Computer Vision. Cambridge University Press 00. V. Havel: O rozkladu singulárních lineárních transformací. Časopis Pést. Mat. 85, (60). H. Havlicek: On the Matrices of Central Linear Mappings. Math. Bohem. 1, 1 6 (96). M. Hoffmann: On the Theorems of Central Axonometry. J. Geometry Graphics 2, 1 5 (97). M. Hoffmann, P. Yiu: Moving Central Axonometric Reference Systems. J. Geometry Graphics 9, (05) (in press). E. Kruppa: Zur achsonometrischen Methode der darstellenden Geometrie. Sitzungsber., Abt. II, österr. Akad. Wiss., Math.-Naturw. Kl. 9, (). May 26, : Seminar, Institute of Mathematics and Physics, STU Bratislava 53/55

68 Yi Ma, St. Soatto, J. Košecká, S. Sh. Sastry: An Invitation to 3-D Vision. Springer-Verlag, New York 04. H. Stachel: Mehrdimensionale Axonometrie. Proceedings of the Congress of Geometry, Thessaloniki 87, 9 8. H. Stachel: Parallel Projections in Multidimensional Space. Proceedings of Compugraphics 91, Sesimbra (Portugal) 91: Vol. I, 9 8. H. Stachel: Zur Kennzeichnung der Zentralprojektionen nach H. Havlicek. Sitzungsber., Abt. II, österr. Akad. Wiss., Math.-Naturw. Kl. 4, 33 46(95). H. Stachel: On Arne Dür s Equation Concerning Central Axonometries. J. Geometry Graphics 8, (04). E. Stiefel: Zum Satz von Pohlke. Comment. Math. Helv., (38). May 26, : Seminar, Institute of Mathematics and Physics, STU Bratislava 54/55

69 E. Stiefel: Lehrbuch der darstellenden Geometrie. 3. Aufl., Basel, Stuttgart 71. H. Stachel: Descriptive Geometry Meets Computer Vision The Geometry of Two Images. J. Geometry Graphics, 7 3 (06). J. Szabó, H. Stachel, H. Vogel: Ein Satz über die Zentralaxonometrie. Sitzungsber., Abt. II, österr. Akad. Wiss., Math.-Naturw. Kl. 3, 3 (94). J. Tschupik, F. Hohenberg: Die geometrische Grundlagen der Photogrammetrie. In Jordan, Eggert, Kneissl (eds.): Handbuch der Vermessungskunde III a/3.. Aufl., Metzlersche Verlagsbuchhandlung, Stuttart 72, K. Vala: A propos du théorèm de Pohlke. Ann. Acad. scient. Fennicae 270, 3 5 (59). May 26, : Seminar, Institute of Mathematics and Physics, STU Bratislava 55/55

A Practical Method for Decomposition of the Essential Matrix

A Practical Method for Decomposition of the Essential Matrix Applied Mathematical Sciences, Vol. 8, 2014, no. 176, 8755-8770 HIKARI Ltd, www.m-hikari.com http://dx.doi.org/10.12988/ams.2014.410877 A Practical Method for Decomposition of the Essential Matrix Georgi

More information

Induced Planar Homologies in Epipolar Geometry

Induced Planar Homologies in Epipolar Geometry Global Journal of Pure and Applied Mathematics. ISSN 0973-1768 Volume 12, Number 4 (2016), pp. 3759 3773 Research India Publications http://www.ripublication.com/gjpam.htm Induced Planar Homologies in

More information

PAijpam.eu EPIPOLAR GEOMETRY WITH A FUNDAMENTAL MATRIX IN CANONICAL FORM Georgi Hristov Georgiev 1, Vencislav Dakov Radulov 2

PAijpam.eu EPIPOLAR GEOMETRY WITH A FUNDAMENTAL MATRIX IN CANONICAL FORM Georgi Hristov Georgiev 1, Vencislav Dakov Radulov 2 International Journal of Pure and Applied Mathematics Volume 105 No. 4 2015, 669-683 ISSN: 1311-8080 (printed version); ISSN: 1314-3395 (on-line version) url: http://www.ijpam.eu doi: http://dx.doi.org/10.12732/ijpam.v105i4.8

More information

A Study of Kruppa s Equation for Camera Self-calibration

A Study of Kruppa s Equation for Camera Self-calibration Proceedings of the International Conference of Machine Vision and Machine Learning Prague, Czech Republic, August 14-15, 2014 Paper No. 57 A Study of Kruppa s Equation for Camera Self-calibration Luh Prapitasari,

More information

Multiple View Geometry in Computer Vision

Multiple View Geometry in Computer Vision Multiple View Geometry in Computer Vision Prasanna Sahoo Department of Mathematics University of Louisville 1 Scene Planes & Homographies Lecture 19 March 24, 2005 2 In our last lecture, we examined various

More information

Lecture 5. Epipolar Geometry. Professor Silvio Savarese Computational Vision and Geometry Lab. 21-Jan-15. Lecture 5 - Silvio Savarese

Lecture 5. Epipolar Geometry. Professor Silvio Savarese Computational Vision and Geometry Lab. 21-Jan-15. Lecture 5 - Silvio Savarese Lecture 5 Epipolar Geometry Professor Silvio Savarese Computational Vision and Geometry Lab Silvio Savarese Lecture 5-21-Jan-15 Lecture 5 Epipolar Geometry Why is stereo useful? Epipolar constraints Essential

More information

CSE 252B: Computer Vision II

CSE 252B: Computer Vision II CSE 252B: Computer Vision II Lecturer: Serge Belongie Scribe: Tasha Vanesian LECTURE 3 Calibrated 3D Reconstruction 3.1. Geometric View of Epipolar Constraint We are trying to solve the following problem:

More information

Camera Models and Affine Multiple Views Geometry

Camera Models and Affine Multiple Views Geometry Camera Models and Affine Multiple Views Geometry Subhashis Banerjee Dept. Computer Science and Engineering IIT Delhi email: suban@cse.iitd.ac.in May 29, 2001 1 1 Camera Models A Camera transforms a 3D

More information

Trinocular Geometry Revisited

Trinocular Geometry Revisited Trinocular Geometry Revisited Jean Pounce and Martin Hebert 报告人 : 王浩人 2014-06-24 Contents 1. Introduction 2. Converging Triplets of Lines 3. Converging Triplets of Visual Rays 4. Discussion 1. Introduction

More information

A Factorization Method for 3D Multi-body Motion Estimation and Segmentation

A Factorization Method for 3D Multi-body Motion Estimation and Segmentation 1 A Factorization Method for 3D Multi-body Motion Estimation and Segmentation René Vidal Department of EECS University of California Berkeley CA 94710 rvidal@eecs.berkeley.edu Stefano Soatto Dept. of Computer

More information

Recovering Unknown Focal Lengths in Self-Calibration: G.N. Newsam D.Q. Huynh M.J. Brooks H.-P. Pan.

Recovering Unknown Focal Lengths in Self-Calibration: G.N. Newsam D.Q. Huynh M.J. Brooks H.-P. Pan. Recovering Unknown Focal Lengths in Self-Calibration: An Essentially Linear Algorithm and Degenerate Congurations G.N. Newsam D.Q. Huynh M.J. Brooks H.-P. Pan fgnewsam,du,mjb,hepingg@cssip.edu.au Centre

More information

Linear Algebra & Geometry why is linear algebra useful in computer vision?

Linear Algebra & Geometry why is linear algebra useful in computer vision? Linear Algebra & Geometry why is linear algebra useful in computer vision? References: -Any book on linear algebra! -[HZ] chapters 2, 4 Some of the slides in this lecture are courtesy to Prof. Octavia

More information

CE 59700: Digital Photogrammetric Systems

CE 59700: Digital Photogrammetric Systems CE 59700: Digital Photogrammetric Systems Fall 2016 1 Instructor: Contact Information Office: HAMP 4108 Tel: (765) 496-0173 E-mail: ahabib@purdue.edu Lectures (HAMP 2102): Monday, Wednesday & Friday (12:30

More information

Linear Algebra & Geometry why is linear algebra useful in computer vision?

Linear Algebra & Geometry why is linear algebra useful in computer vision? Linear Algebra & Geometry why is linear algebra useful in computer vision? References: -Any book on linear algebra! -[HZ] chapters 2, 4 Some of the slides in this lecture are courtesy to Prof. Octavia

More information

CS4495/6495 Introduction to Computer Vision. 3D-L3 Fundamental matrix

CS4495/6495 Introduction to Computer Vision. 3D-L3 Fundamental matrix CS4495/6495 Introduction to Computer Vision 3D-L3 Fundamental matrix Weak calibration Main idea: Estimate epipolar geometry from a (redundant) set of point correspondences between two uncalibrated cameras

More information

CSE 252B: Computer Vision II

CSE 252B: Computer Vision II CSE 252B: Computer Vision II Lecturer: Serge Belongie Scribe: Hamed Masnadi Shirazi, Solmaz Alipour LECTURE 5 Relationships between the Homography and the Essential Matrix 5.1. Introduction In practice,

More information

Vision 3D articielle Session 2: Essential and fundamental matrices, their computation, RANSAC algorithm

Vision 3D articielle Session 2: Essential and fundamental matrices, their computation, RANSAC algorithm Vision 3D articielle Session 2: Essential and fundamental matrices, their computation, RANSAC algorithm Pascal Monasse monasse@imagine.enpc.fr IMAGINE, École des Ponts ParisTech Contents Some useful rules

More information

Camera Calibration The purpose of camera calibration is to determine the intrinsic camera parameters (c 0,r 0 ), f, s x, s y, skew parameter (s =

Camera Calibration The purpose of camera calibration is to determine the intrinsic camera parameters (c 0,r 0 ), f, s x, s y, skew parameter (s = Camera Calibration The purpose of camera calibration is to determine the intrinsic camera parameters (c 0,r 0 ), f, s x, s y, skew parameter (s = cotα), and the lens distortion (radial distortion coefficient

More information

Optimisation on Manifolds

Optimisation on Manifolds Optimisation on Manifolds K. Hüper MPI Tübingen & Univ. Würzburg K. Hüper (MPI Tübingen & Univ. Würzburg) Applications in Computer Vision Grenoble 18/9/08 1 / 29 Contents 2 Examples Essential matrix estimation

More information

The Multibody Trifocal Tensor: Motion Segmentation from 3 Perspective Views

The Multibody Trifocal Tensor: Motion Segmentation from 3 Perspective Views The Multibody Trifocal Tensor: Motion Segmentation from 3 Perspective Views Richard Hartley 1,2 and RenéVidal 2,3 1 Dept. of Systems Engineering 3 Center for Imaging Science Australian National University

More information

Pose estimation from point and line correspondences

Pose estimation from point and line correspondences Pose estimation from point and line correspondences Giorgio Panin October 17, 008 1 Problem formulation Estimate (in a LSE sense) the pose of an object from N correspondences between known object points

More information

Determining the Translational Speed of a Camera from Time-Varying Optical Flow

Determining the Translational Speed of a Camera from Time-Varying Optical Flow Determining the Translational Speed of a Camera from Time-Varying Optical Flow Anton van den Hengel, Wojciech Chojnacki, and Michael J. Brooks School of Computer Science, Adelaide University, SA 5005,

More information

Math 302 Outcome Statements Winter 2013

Math 302 Outcome Statements Winter 2013 Math 302 Outcome Statements Winter 2013 1 Rectangular Space Coordinates; Vectors in the Three-Dimensional Space (a) Cartesian coordinates of a point (b) sphere (c) symmetry about a point, a line, and a

More information

Outline. Linear Algebra for Computer Vision

Outline. Linear Algebra for Computer Vision Outline Linear Algebra for Computer Vision Introduction CMSC 88 D Notation and Basics Motivation Linear systems of equations Gauss Elimination, LU decomposition Linear Spaces and Operators Addition, scalar

More information

3D from Photographs: Camera Calibration. Dr Francesco Banterle

3D from Photographs: Camera Calibration. Dr Francesco Banterle 3D from Photographs: Camera Calibration Dr Francesco Banterle francesco.banterle@isti.cnr.it 3D from Photographs Automatic Matching of Images Camera Calibration Photographs Surface Reconstruction Dense

More information

On the Absolute Quadratic Complex and its Application to Autocalibration

On the Absolute Quadratic Complex and its Application to Autocalibration On the Absolute Quadratic Complex and its Application to Autocalibration J. Ponce and K. McHenry Beckman Institute University of Illinois Urbana, IL 61801, USA T. Papadopoulo and M. Teillaud INRIA Sophia-Antipolis

More information

Dynamic P n to P n Alignment

Dynamic P n to P n Alignment Dynamic P n to P n Alignment Amnon Shashua and Lior Wolf School of Engineering and Computer Science, the Hebrew University of Jerusalem, Jerusalem, 91904, Israel {shashua,lwolf}@cs.huji.ac.il We introduce

More information

Segmentation of Dynamic Scenes from the Multibody Fundamental Matrix

Segmentation of Dynamic Scenes from the Multibody Fundamental Matrix ECCV Workshop on Vision and Modeling of Dynamic Scenes, Copenhagen, Denmark, May 2002 Segmentation of Dynamic Scenes from the Multibody Fundamental Matrix René Vidal Dept of EECS, UC Berkeley Berkeley,

More information

Introduction to pinhole cameras

Introduction to pinhole cameras Introduction to pinhole cameras Lesson given by Sébastien Piérard in the course Introduction aux techniques audio et vidéo (ULg, Pr JJ Embrechts) INTELSIG, Montefiore Institute, University of Liège, Belgium

More information

Augmented Reality VU Camera Registration. Prof. Vincent Lepetit

Augmented Reality VU Camera Registration. Prof. Vincent Lepetit Augmented Reality VU Camera Registration Prof. Vincent Lepetit Different Approaches to Vision-based 3D Tracking [From D. Wagner] [From Drummond PAMI02] [From Davison ICCV01] Consider natural features Consider

More information

The structure tensor in projective spaces

The structure tensor in projective spaces The structure tensor in projective spaces Klas Nordberg Computer Vision Laboratory Department of Electrical Engineering Linköping University Sweden Abstract The structure tensor has been used mainly for

More information

Final Exam Due on Sunday 05/06

Final Exam Due on Sunday 05/06 Final Exam Due on Sunday 05/06 The exam should be completed individually without collaboration. However, you are permitted to consult with the textbooks, notes, slides and even internet resources. If you

More information

Conceptual Questions for Review

Conceptual Questions for Review Conceptual Questions for Review Chapter 1 1.1 Which vectors are linear combinations of v = (3, 1) and w = (4, 3)? 1.2 Compare the dot product of v = (3, 1) and w = (4, 3) to the product of their lengths.

More information

14 Singular Value Decomposition

14 Singular Value Decomposition 14 Singular Value Decomposition For any high-dimensional data analysis, one s first thought should often be: can I use an SVD? The singular value decomposition is an invaluable analysis tool for dealing

More information

Essential Matrix Estimation via Newton-type Methods

Essential Matrix Estimation via Newton-type Methods Essential Matrix Estimation via Newton-type Methods Uwe Helmke 1, Knut Hüper, Pei Yean Lee 3, John Moore 3 1 Abstract In this paper camera parameters are assumed to be known and a novel approach for essential

More information

Two-View Segmentation of Dynamic Scenes from the Multibody Fundamental Matrix

Two-View Segmentation of Dynamic Scenes from the Multibody Fundamental Matrix Two-View Segmentation of Dynamic Scenes from the Multibody Fundamental Matrix René Vidal Stefano Soatto Shankar Sastry Department of EECS, UC Berkeley Department of Computer Sciences, UCLA 30 Cory Hall,

More information

Applied Linear Algebra in Geoscience Using MATLAB

Applied Linear Algebra in Geoscience Using MATLAB Applied Linear Algebra in Geoscience Using MATLAB Contents Getting Started Creating Arrays Mathematical Operations with Arrays Using Script Files and Managing Data Two-Dimensional Plots Programming in

More information

Routines for Relative Pose of Two Calibrated Cameras from 5 Points

Routines for Relative Pose of Two Calibrated Cameras from 5 Points Routines for Relative Pose of Two Calibrated Cameras from 5 Points Bill Triggs INRIA Rhône-Alpes, 655 avenue de l Europe, 38330 Montbonnot, France. http://www.inrialpes.fr/movi/people/ Triggs Bill.Triggs@inrialpes.fr

More information

Readings for Unit I from Ryan (Topics from linear algebra)

Readings for Unit I from Ryan (Topics from linear algebra) Readings for Unit I from Ryan (Topics from linear algebra) I.0 : Background Suggested readings. Ryan : pp. 193 202 General convention. In most cases, the background readings for a section of the course

More information

EE Camera & Image Formation

EE Camera & Image Formation Electric Electronic Engineering Bogazici University February 21, 2018 Introduction Introduction Camera models Goal: To understand the image acquisition process. Function of the camera Similar to that of

More information

7 Principal Component Analysis

7 Principal Component Analysis 7 Principal Component Analysis This topic will build a series of techniques to deal with high-dimensional data. Unlike regression problems, our goal is not to predict a value (the y-coordinate), it is

More information

Single view metrology

Single view metrology EECS 44 Computer vision Single view metrology Review calibration Lines and planes at infinity Absolute conic Estimating geometry from a single image Etensions Reading: [HZ] Chapters,3,8 Calibration Problem

More information

Multiple View Geometry in Computer Vision

Multiple View Geometry in Computer Vision Multiple View Geometry in Computer Vision Prasanna Sahoo Department of Mathematics University of Louisville 1 Trifocal Tensor Lecture 21 March 31, 2005 2 Lord Shiva is depicted as having three eyes. The

More information

EPIPOLAR GEOMETRY WITH MANY DETAILS

EPIPOLAR GEOMETRY WITH MANY DETAILS EPIPOLAR GEOMERY WIH MANY DEAILS hank ou for the slides. he come mostl from the following source. Marc Pollefes U. of North Carolina hree questions: (i) Correspondence geometr: Given an image point in

More information

CS 143 Linear Algebra Review

CS 143 Linear Algebra Review CS 143 Linear Algebra Review Stefan Roth September 29, 2003 Introductory Remarks This review does not aim at mathematical rigor very much, but instead at ease of understanding and conciseness. Please see

More information

Linear Differential Algorithm for Motion Recovery: A Geometric Approach

Linear Differential Algorithm for Motion Recovery: A Geometric Approach International Journal of Computer Vision 361), 71 89 000) c 000 Kluwer Academic Publishers. Manufactured in The Netherlands. Linear Differential Algorithm for Motion Recovery: A Geometric Approach YI MA,

More information

Camera calibration Triangulation

Camera calibration Triangulation Triangulation Perspective projection in homogenous coordinates ~x img I 0 apple R t 0 T 1 ~x w ~x img R t ~x w Matrix transformations in 2D ~x img K R t ~x w K = 2 3 1 0 t u 40 1 t v 5 0 0 1 Translation

More information

Vision par ordinateur

Vision par ordinateur Vision par ordinateur Géométrie épipolaire Frédéric Devernay Avec des transparents de Marc Pollefeys Epipolar geometry π Underlying structure in set of matches for rigid scenes C1 m1 l1 M L2 L1 l T 1 l

More information

3D Computer Vision - WT 2004

3D Computer Vision - WT 2004 3D Computer Vision - WT 2004 Singular Value Decomposition Darko Zikic CAMP - Chair for Computer Aided Medical Procedures November 4, 2004 1 2 3 4 5 Properties For any given matrix A R m n there exists

More information

15 Singular Value Decomposition

15 Singular Value Decomposition 15 Singular Value Decomposition For any high-dimensional data analysis, one s first thought should often be: can I use an SVD? The singular value decomposition is an invaluable analysis tool for dealing

More information

Linear Algebra Review. Fei-Fei Li

Linear Algebra Review. Fei-Fei Li Linear Algebra Review Fei-Fei Li 1 / 51 Vectors Vectors and matrices are just collections of ordered numbers that represent something: movements in space, scaling factors, pixel brightnesses, etc. A vector

More information

Chapter 3 Transformations

Chapter 3 Transformations Chapter 3 Transformations An Introduction to Optimization Spring, 2014 Wei-Ta Chu 1 Linear Transformations A function is called a linear transformation if 1. for every and 2. for every If we fix the bases

More information

LINEAR ALGEBRA 1, 2012-I PARTIAL EXAM 3 SOLUTIONS TO PRACTICE PROBLEMS

LINEAR ALGEBRA 1, 2012-I PARTIAL EXAM 3 SOLUTIONS TO PRACTICE PROBLEMS LINEAR ALGEBRA, -I PARTIAL EXAM SOLUTIONS TO PRACTICE PROBLEMS Problem (a) For each of the two matrices below, (i) determine whether it is diagonalizable, (ii) determine whether it is orthogonally diagonalizable,

More information

Multi-Frame Factorization Techniques

Multi-Frame Factorization Techniques Multi-Frame Factorization Techniques Suppose { x j,n } J,N j=1,n=1 is a set of corresponding image coordinates, where the index n = 1,...,N refers to the n th scene point and j = 1,..., J refers to the

More information

Reconstruction from projections using Grassmann tensors

Reconstruction from projections using Grassmann tensors Reconstruction from projections using Grassmann tensors Richard I. Hartley 1 and Fred Schaffalitzky 2 1 Australian National University and National ICT Australia, Canberra 2 Australian National University,

More information

Uncertainty Models in Quasiconvex Optimization for Geometric Reconstruction

Uncertainty Models in Quasiconvex Optimization for Geometric Reconstruction Uncertainty Models in Quasiconvex Optimization for Geometric Reconstruction Qifa Ke and Takeo Kanade Department of Computer Science, Carnegie Mellon University Email: ke@cmu.edu, tk@cs.cmu.edu Abstract

More information

Model Order Reduction Techniques

Model Order Reduction Techniques Model Order Reduction Techniques SVD & POD M. Grepl a & K. Veroy-Grepl b a Institut für Geometrie und Praktische Mathematik b Aachen Institute for Advanced Study in Computational Engineering Science (AICES)

More information

Lecture 2: Linear Algebra Review

Lecture 2: Linear Algebra Review EE 227A: Convex Optimization and Applications January 19 Lecture 2: Linear Algebra Review Lecturer: Mert Pilanci Reading assignment: Appendix C of BV. Sections 2-6 of the web textbook 1 2.1 Vectors 2.1.1

More information

Semidefinite Programming

Semidefinite Programming Semidefinite Programming Notes by Bernd Sturmfels for the lecture on June 26, 208, in the IMPRS Ringvorlesung Introduction to Nonlinear Algebra The transition from linear algebra to nonlinear algebra has

More information

Machine Learning. B. Unsupervised Learning B.2 Dimensionality Reduction. Lars Schmidt-Thieme, Nicolas Schilling

Machine Learning. B. Unsupervised Learning B.2 Dimensionality Reduction. Lars Schmidt-Thieme, Nicolas Schilling Machine Learning B. Unsupervised Learning B.2 Dimensionality Reduction Lars Schmidt-Thieme, Nicolas Schilling Information Systems and Machine Learning Lab (ISMLL) Institute for Computer Science University

More information

Algorithms for Computing a Planar Homography from Conics in Correspondence

Algorithms for Computing a Planar Homography from Conics in Correspondence Algorithms for Computing a Planar Homography from Conics in Correspondence Juho Kannala, Mikko Salo and Janne Heikkilä Machine Vision Group University of Oulu, Finland {jkannala, msa, jth@ee.oulu.fi} Abstract

More information

Fundamentals of Robotic Mechanical Systems Chapter 2: Mathematical Background

Fundamentals of Robotic Mechanical Systems Chapter 2: Mathematical Background Fundamentals of Robotic Mechanical Systems Chapter 2: Mathematical Background Jorge Angeles Department of Mechanical Engineering & Centre for Intelligent Machines McGill University 2009 Jorge Angeles (McGill

More information

Planar Stewart Gough platforms with quadratic singularity surface

Planar Stewart Gough platforms with quadratic singularity surface Planar Stewart Gough platforms with quadratic singularity surface B. Aigner 1 and G. Nawratil 2 Institute of Discrete Mathematics and Geometry, Vienna University of Technology, Austria, 1 e-mail: bernd.aigner@gmx.at,

More information

Linear Algebra Review. Vectors

Linear Algebra Review. Vectors Linear Algebra Review 9/4/7 Linear Algebra Review By Tim K. Marks UCSD Borrows heavily from: Jana Kosecka http://cs.gmu.edu/~kosecka/cs682.html Virginia de Sa (UCSD) Cogsci 8F Linear Algebra review Vectors

More information

Review of Some Concepts from Linear Algebra: Part 2

Review of Some Concepts from Linear Algebra: Part 2 Review of Some Concepts from Linear Algebra: Part 2 Department of Mathematics Boise State University January 16, 2019 Math 566 Linear Algebra Review: Part 2 January 16, 2019 1 / 22 Vector spaces A set

More information

Homogeneous Coordinates

Homogeneous Coordinates Homogeneous Coordinates Basilio Bona DAUIN-Politecnico di Torino October 2013 Basilio Bona (DAUIN-Politecnico di Torino) Homogeneous Coordinates October 2013 1 / 32 Introduction Homogeneous coordinates

More information

A short proof of Pohlke-Schwarz s theorem via Pohlke s theorem

A short proof of Pohlke-Schwarz s theorem via Pohlke s theorem A short proof of Pohlke-Schwarz s theorem via Pohlke s theorem Renato Manfrin May 7, 28 Abstract We give a proof of Pohlke-Schwarz s theorem of oblique axonometry with explicit formulae for the reference

More information

A geometric interpretation of the homogeneous coordinates is given in the following Figure.

A geometric interpretation of the homogeneous coordinates is given in the following Figure. Introduction Homogeneous coordinates are an augmented representation of points and lines in R n spaces, embedding them in R n+1, hence using n + 1 parameters. This representation is useful in dealing with

More information

Parameterizing the Trifocal Tensor

Parameterizing the Trifocal Tensor Parameterizing the Trifocal Tensor May 11, 2017 Based on: Klas Nordberg. A Minimal Parameterization of the Trifocal Tensor. In Computer society conference on computer vision and pattern recognition (CVPR).

More information

Camera Projection Model

Camera Projection Model amera Projection Model 3D Point Projection (Pixel Space) O ( u, v ) ccd ccd f Projection plane (, Y, Z ) ( u, v ) img Z img (0,0) w img ( u, v ) img img uimg f Z p Y v img f Z p x y Zu f p Z img img x

More information

Singular Value Decomposition

Singular Value Decomposition Chapter 6 Singular Value Decomposition In Chapter 5, we derived a number of algorithms for computing the eigenvalues and eigenvectors of matrices A R n n. Having developed this machinery, we complete our

More information

Linear Algebra in Actuarial Science: Slides to the lecture

Linear Algebra in Actuarial Science: Slides to the lecture Linear Algebra in Actuarial Science: Slides to the lecture Fall Semester 2010/2011 Linear Algebra is a Tool-Box Linear Equation Systems Discretization of differential equations: solving linear equations

More information

Camera Calibration. (Trucco, Chapter 6) -Toproduce an estimate of the extrinsic and intrinsic camera parameters.

Camera Calibration. (Trucco, Chapter 6) -Toproduce an estimate of the extrinsic and intrinsic camera parameters. Camera Calibration (Trucco, Chapter 6) What is the goal of camera calibration? -Toproduce an estimate of the extrinsic and intrinsic camera parameters. Procedure -Given the correspondences beteen a set

More information

On the Computation of the Ego-Motion and Distance to Obstacles for a Micro Air Vehicle

On the Computation of the Ego-Motion and Distance to Obstacles for a Micro Air Vehicle On the Computation of the Ego-Motion and Distance to Obstacles for a Micro Air Vehicle Ram V. Iyer, hihai He and Phillip R. Chandler Abstract In this paper, we have considered the problem of velocity and

More information

Linear Algebra. Session 12

Linear Algebra. Session 12 Linear Algebra. Session 12 Dr. Marco A Roque Sol 08/01/2017 Example 12.1 Find the constant function that is the least squares fit to the following data x 0 1 2 3 f(x) 1 0 1 2 Solution c = 1 c = 0 f (x)

More information

A Theory of Multi-Layer Flat Refractive Geometry Supplementary Materials

A Theory of Multi-Layer Flat Refractive Geometry Supplementary Materials A Theory of Multi-Layer Flat Refractive Geometry Supplementary Materials Amit Agrawal, Srikumar Ramalingam, Yuichi Taguchi Mitsubishi Electric Research Labs MERL) [agrawal,ramalingam,taguchi] at merl.com

More information

Lecture Summaries for Linear Algebra M51A

Lecture Summaries for Linear Algebra M51A These lecture summaries may also be viewed online by clicking the L icon at the top right of any lecture screen. Lecture Summaries for Linear Algebra M51A refers to the section in the textbook. Lecture

More information

Affine Structure From Motion

Affine Structure From Motion EECS43-Advanced Computer Vision Notes Series 9 Affine Structure From Motion Ying Wu Electrical Engineering & Computer Science Northwestern University Evanston, IL 68 yingwu@ece.northwestern.edu Contents

More information

6.801/866. Affine Structure from Motion. T. Darrell

6.801/866. Affine Structure from Motion. T. Darrell 6.801/866 Affine Structure from Motion T. Darrell [Read F&P Ch. 12.0, 12.2, 12.3, 12.4] Affine geometry is, roughly speaking, what is left after all ability to measure lengths, areas, angles, etc. has

More information

Singular Value Decomposition

Singular Value Decomposition Singular Value Decomposition CS 205A: Mathematical Methods for Robotics, Vision, and Graphics Doug James (and Justin Solomon) CS 205A: Mathematical Methods Singular Value Decomposition 1 / 35 Understanding

More information

16. Analysis and Computation of the Intrinsic Camera Parameters

16. Analysis and Computation of the Intrinsic Camera Parameters 16. Analysis and Computation of the Intrinsic Camera Parameters Eduardo Bayro-Corrochano and Bodo Rosenhahn Institute of Computer Science and Applied Mathematics, Christian-Albrechts-University of Kiel

More information

Mirrors in motion: Epipolar geometry and motion estimation

Mirrors in motion: Epipolar geometry and motion estimation Mirrors in motion: Epipolar geometry and motion estimation Christopher Geyer Kostas Daniilidis University of California, Berkeley University of Pennsylvania Berkeley, CA 970 Philadelphia, PA 1910 cgeyer@eecs.berkeley.edu

More information

Foundations of Computer Vision

Foundations of Computer Vision Foundations of Computer Vision Wesley. E. Snyder North Carolina State University Hairong Qi University of Tennessee, Knoxville Last Edited February 8, 2017 1 3.2. A BRIEF REVIEW OF LINEAR ALGEBRA Apply

More information

High Accuracy Fundamental Matrix Computation and Its Performance Evaluation

High Accuracy Fundamental Matrix Computation and Its Performance Evaluation High Accuracy Fundamental Matrix Computation and Its Performance Evaluation Kenichi Kanatani Department of Computer Science, Okayama University, Okayama 700-8530 Japan kanatani@suri.it.okayama-u.ac.jp

More information

Spectral clustering. Two ideal clusters, with two points each. Spectral clustering algorithms

Spectral clustering. Two ideal clusters, with two points each. Spectral clustering algorithms A simple example Two ideal clusters, with two points each Spectral clustering Lecture 2 Spectral clustering algorithms 4 2 3 A = Ideally permuted Ideal affinities 2 Indicator vectors Each cluster has an

More information

ANALYTICAL IMAGE FEATURES

ANALYTICAL IMAGE FEATURES Chapter 6 ANALYTICAL IMAGE FEATURES Chapter laid the geometric foundations of image formation. This chapter uses analytical geometry to quantify more precisely the relationship between a camera, the objects

More information

2. Preliminaries. x 2 + y 2 + z 2 = a 2 ( 1 )

2. Preliminaries. x 2 + y 2 + z 2 = a 2 ( 1 ) x 2 + y 2 + z 2 = a 2 ( 1 ) V. Kumar 2. Preliminaries 2.1 Homogeneous coordinates When writing algebraic equations for such geometric objects as planes and circles, we are used to writing equations that

More information

EE731 Lecture Notes: Matrix Computations for Signal Processing

EE731 Lecture Notes: Matrix Computations for Signal Processing EE731 Lecture Notes: Matrix Computations for Signal Processing James P. Reilly c Department of Electrical and Computer Engineering McMaster University October 17, 005 Lecture 3 3 he Singular Value Decomposition

More information

COMP 558 lecture 18 Nov. 15, 2010

COMP 558 lecture 18 Nov. 15, 2010 Least squares We have seen several least squares problems thus far, and we will see more in the upcoming lectures. For this reason it is good to have a more general picture of these problems and how to

More information

Vectors Coordinate frames 2D implicit curves 2D parametric curves. Graphics 2008/2009, period 1. Lecture 2: vectors, curves, and surfaces

Vectors Coordinate frames 2D implicit curves 2D parametric curves. Graphics 2008/2009, period 1. Lecture 2: vectors, curves, and surfaces Graphics 2008/2009, period 1 Lecture 2 Vectors, curves, and surfaces Computer graphics example: Pixar (source: http://www.pixar.com) Computer graphics example: Pixar (source: http://www.pixar.com) Computer

More information

Cambridge University Press The Mathematics of Signal Processing Steven B. Damelin and Willard Miller Excerpt More information

Cambridge University Press The Mathematics of Signal Processing Steven B. Damelin and Willard Miller Excerpt More information Introduction Consider a linear system y = Φx where Φ can be taken as an m n matrix acting on Euclidean space or more generally, a linear operator on a Hilbert space. We call the vector x a signal or input,

More information

Seminar on Linear Algebra

Seminar on Linear Algebra Supplement Seminar on Linear Algebra Projection, Singular Value Decomposition, Pseudoinverse Kenichi Kanatani Kyoritsu Shuppan Co., Ltd. Contents 1 Linear Space and Projection 1 1.1 Expression of Linear

More information

Linear Algebra I for Science (NYC)

Linear Algebra I for Science (NYC) Element No. 1: To express concrete problems as linear equations. To solve systems of linear equations using matrices. Topic: MATRICES 1.1 Give the definition of a matrix, identify the elements and the

More information

Main matrix factorizations

Main matrix factorizations Main matrix factorizations A P L U P permutation matrix, L lower triangular, U upper triangular Key use: Solve square linear system Ax b. A Q R Q unitary, R upper triangular Key use: Solve square or overdetrmined

More information

MSMS Vectors and Matrices

MSMS Vectors and Matrices MSMS Vectors and Matrices Basilio Bona DAUIN Politecnico di Torino Semester 1, 2015-2016 B. Bona (DAUIN) MSMS-Vectors and matrices Semester 1, 2015-2016 1 / 39 Introduction Most of the topics introduced

More information

Analytic Projective Geometry

Analytic Projective Geometry Chapter 5 Analytic Projective Geometry 5.1 Line and Point Coordinates: Duality in P 2 Consider a line in E 2 defined by the equation X 0 + X 1 x + X 2 y 0. (5.1) The locus that the variable points (x,

More information

Lecture 13. Principal Component Analysis. Brett Bernstein. April 25, CDS at NYU. Brett Bernstein (CDS at NYU) Lecture 13 April 25, / 26

Lecture 13. Principal Component Analysis. Brett Bernstein. April 25, CDS at NYU. Brett Bernstein (CDS at NYU) Lecture 13 April 25, / 26 Principal Component Analysis Brett Bernstein CDS at NYU April 25, 2017 Brett Bernstein (CDS at NYU) Lecture 13 April 25, 2017 1 / 26 Initial Question Intro Question Question Let S R n n be symmetric. 1

More information

Computation of the Quadrifocal Tensor

Computation of the Quadrifocal Tensor Computation of the Quadrifocal Tensor Richard I. Hartley G.E. Corporate Research and Development Research Circle, Niskayuna, NY 2309, USA Abstract. This paper gives a practical and accurate algorithm for

More information

Robert Collins CSE486, Penn State. Lecture 25: Structure from Motion

Robert Collins CSE486, Penn State. Lecture 25: Structure from Motion Lecture 25: Structure from Motion Structure from Motion Given a set of flow fields or displacement vectors from a moving camera over time, determine: the sequence of camera poses the 3D structure of the

More information

Math Fall Final Exam

Math Fall Final Exam Math 104 - Fall 2008 - Final Exam Name: Student ID: Signature: Instructions: Print your name and student ID number, write your signature to indicate that you accept the honor code. During the test, you

More information