SINGLE VIEW GEOMETRY AND SOME APPLICATIONS

Size: px
Start display at page:

Download "SINGLE VIEW GEOMETRY AND SOME APPLICATIONS"

Transcription

1 SINGLE VIEW GEOMERY AND SOME APPLICAIONS

2 hank you for the slides. hey come mostly from the following sources. Marc Pollefeys U. on North Carolina Daniel DeMenthon U. of Maryland Alexei Efros CMU

3 Action of projectie camera on planes [ ] [ ] p p p 0 p p p p PX x Y X Y X he most general transformation that can occur between a scene plane and an image plane under perspectie imaging is a plane projectie transformation (affine camera-affine transformation)

4 Action of projectie camera on lines forward projection ( μ) P(A + μb) PA + μpb a μb X + back-projection Π P l Π X l PX

5 he importance of the camera center P KR[I C],P' K' R'[I C ~ ] P' K' R' ( )- KR P x' P' X K' R' x' Hx with H ( )- KR PX K' R' ( KR) - x K' R' ( KR) -

6 Moing the image plane (ooming) x x' K[I 0]X K'[I 0]X K' ( )- K x k)x ( ) ~ - ki ( 0 H K' K 0 k f f ki ( k)x ~ k)x ~ 0 ki ( 0 A K' K ka x~ 0 ki 0 K 0 0 ' x~ 0

7 Camera rotation x x' K[I 0]X K[R 0]X KRK - x - H KRK conjugate rotation { e iθ μ,μ,μe iθ }

8 Moing the camera center motion parallax epipolar line

9 Synthetic iew (i) Compute the homography that warps some a rectangle to the correct aspect ratio (ii) warp the image

10 Planar homography mosaicing

11 Projectie (reduced) notation 4 3 ) (0,0,0,,X (0,0,,0),X (0,,0,0),X (,0,0,0) X 4 3 ) (,, x, (0,0,) x, (0,,0) x, (,0,0) x d c d b d a P d c b a ),,, ( C

12 Object Pose with D Image Plane What happens if we don t know object s angle? 4

13 More Points Limited number of object poses ( or ) Head lights and one taillight ransparent car 5

14 Correspondence Problem When we know correspondences (i.e. matchings), pose is easier to find When we know the pose, correspondences are easier to find. But we need to find both at the same time Below, we first assume we know correspondences and describe how to sole the pose gien n corresponding points in image and object Perspectie n-point Problem hen we explore what to do when we don t know correspondences 6

15 w M i H N i P i K M 0 u Z 0 G C f k O m p i i m 0 y j i x Figure : Perspectie projection (m i ) and scaled orthographic projection (p i ) for an object point M i and a reference point M 0. 4

16 9 Iteratie Pose Calculation S S S y x Z Y X w u 3 r r r X r r r 3 y x w u i i i i Z Y X w ),,.( + r 3 X r r y x u [ ] y x u r r X y x Z Y X Z Y X Z Y X Z Y X u u u u r r u u u u y x - M r r Non coplanar points needed (otherwise matrix M is singular). At least 4 points.

17 0 Iteratie Pose Calculation Compute model matrix M and its inerse Assume Compute u i w i x i, i w i y i Compute Compute, x, y, r, r, then r 3 r x r Compute Go back to step and iterate until conergence i i i i Z Y X w ),,.( + r u u u u y x - M r r ),, ( i i i i w Z Y X. r 3

18 Iteratie Pose Calculation. Find object pose under scaled orthographic projection. Project object points on lines of sight 3. Find scaled orthographic projection images of those points 4. Loop using those images in step r 3

19 POSI for a Cube Left: Actual perspectie image for cube with known model op: Eolution of perspectie image during iteration Bottom: Eolution of scaled orthographic projection

20 4-3--? 4 - point perspectie solution Unique solution for 6 pose parameters Computational complexity of n 4 m point perspectie solution Generally two solutions per triangle pair, but sometimes four. Reduced complexity of n 3 m 3

21 3 Points Each correspondence between scene point and image point determines equations Since there are 6 degrees of freedom in the pose problems, the correspondences between 3 scene points in a known configuration and 3 image points should proide enough equations for computing the pose of the 3 scene points the pose of a triangle of known dimension is defined from a single image of the triangle But nonlinear method, to 4 solutions 4

22 riangle Pose Problem here are two basic approaches Analytically soling for unknown pose parameters Soling a 4th degree equation in one pose parameter, and then using the 4 solutions to the equation to sole for remaining pose parameters problem: errors in estimating location of image features can lead to either large pose errors or failure to sole the 4th degree equation Approximate numerical algorithms find solutions when exact methods fail due to image measurement error more computation 5

23 Numerical Method for riangle Pose A α B C' A' B' γ δ C Center of Projection β If distance R c to C is known, then possible locations of A (and B) can be computed they lie on the intersections of the line of sight through A' and the sphere of radius AC centered at C Once A and B are located, their distance can be computed and compared against the actual distance 6 AB

24 Numerical Method for riangle Pose H A A' α C' γ δ B' C β B Not practical to search on R c since it is unbounded Instead, search on one angular pose parameter, α. R c AC cos α sin δ R a R c cos δ ± AC sin α R b R c cos γ ± [(BC -(RC sin γ) ] his results in four possible lengths for side AB Keep poses with the right AB length 7

25 Choosing Points on Objects Gien a 3-D object, how do we decide which points from its surface to choose for its model? Choose points that will gie rise to detectable features in images For polyhedra, the images of its ertices will be points in the images where two or more long lines meet hese can be detected by edge detection methods Points on the interiors of regions, or along straight lines are not 8easily identified in images.

26 Choosing the Points Example: why not choose the midpoints of the edges of a polyhedra as features midpoints of projections of line segments are not the projections of the midpoints of line segments if the entire line segment in the image is not identified, then we introduce error in locating midpoint 0

27 Reducing the Combinatorics of Pose Estimation Reducing the number of matches Consider only quadruples of image features that Are connected by edges Are close to one another But not too close or the ineitable errors in estimating the position of an image ertex will lead to large errors in pose estimation Generally, try to group the image features into sets that are probably from a single object, and then only construct quadruples from within a single group 4

28 RANSAC RANdom SAmple Consensus Randomly select a set of 3 points in the image and a select a set of 3 points in the model Compute triangle pose and pose of model Project model at computed pose onto image Determine the set of projected model points that are within a distance threshold t of image points, called the consensus set After N trials, select pose with largest consensus set 6

29 e j» ertex (fixed point) A7. Planar homologies 69 \ \. fixed \ \. lines \ \ ^^_ ^ a axis (line of fixed points) Fig. A7.. A planar homology. A planar homology is a plane projectie transformation which has a line a of fixed points, called the axis, and a distinct fixed point, not on the line, called the centre or ertex of the homology. here is a pencil of fixed lines through the ertex. Algebraically, two of the eigenalues of the transformation matrix are equal, and the fixed line corresponds to the D inariant space of the matrix (here the repeated eigenalues are A and A3 J. Consider two images obtained by a camera rotating about its centre (as in figure.5- (p36)b); then as shown in section 8.4.(p04), the images are related by a conjugate rotation. In this case the complex eigenalues determine the angle (6) through which the camera rotates, and the eigenector corresponding to the real eigenalue is the anishing point of the rotation axis. Note that 6 - a metric inariant - can be measured directly from the projectie transformation. A7. Planar homologies A plane projectie transformation H is a planar homology if it has a line of fixed points (called the axis), together with a fixed point (called the ertex) not on the line, see figure A7.. Algebraically, the matrix has two equal and one distinct eigenalues and the eigenspace corresponding to the equal eigenalues is two-dimensional. he axis is the line through the two eigenectors (i.e. points) spanning this eigenspace. he ertex corresponds to the other eigenector. he ratio of the distinct eigenalue to the repeated one is a characteristic inariant \i of the homology (i.e. the eigenalues are, up to a common scale factor, {,,}). Properties of a planar homology include: Lines joining corresponding points intersect at the ertex, and corresponding lines (i.e. lines through two pairs of corresponding points) intersect on the axis. his is an example of Desargues' heorem. See figure A7.a. he cross ratios defined by the ertex, a pair of corresponding points, and the intersection of the line joining these points with the line of fixed points, are the same for all points related by the homology. See figure A7.b. For cures related by a planar homology, corresponding tangents (the limit of neighbouring points defining corresponding lines) intersect on the axis. he ertex ( dof), axis ( dof) and inariant ( dof) are sufficient to define the homology completely. A planar homology thus has 5 degrees of freedom.

30 630 Appendix 7 Some Special Plane Projectie ransformations ertex % Fig. A7.. Homology transformation, (a) Under the transformation points on the axis are mapped to themseles; each point off the axis lies on a fixed line through intersecting a and is mapped to another point on the line. Consequently, corresponding point pairs x <-> x' and the ertex of the homology are collinear. Corresponding lines - i.e. lines through pairs of corresponding points - intersect on the axis: for example, the lines (xi,x) and (xi,x ). (b) he cross ratio defined by the ertex, the corresponding points x, x' and the intersection of their join with the axis i, is the characteristic inariant of the homology, and is the same for all corresponding points. For example, the cross ratios of the four points {,Xj,xi,ii} and {,x,x,i} are equal since they are perspectiely related by lines concurrent at P. It follows that the cross ratio is the same for all points related by the homology. 3 matched points are sufficient to compute a planar homology. he 6 degrees of freedom of the point matches oer-constrain the 5 degrees of freedom of the homology. A planar homology arises naturally in an image of two planes related by a perspectiity of 3-space (i.e. lines joining corresponding points on the two planes are concurrent). An example is the transformation between the image of a planar object and the image of its shadow on a plane. In this case the axis is the imaged intersection of the two planes, and the ertex is the image of the light source, see figure.5(p36)c. Parametriation. he projectie transformation representing the homology can be parametried directly in terms of the 3-ectors representing the axis a and ertex, and the characteristic ratio [i, as H! + (- ) a a where I is the identity. It is straightforward to erify that the inerse transformation is gien by he eigenectors are F \ a I JJL I a {ei,e a^,e 3 a^-}

31 A7.3 Elations 63 with corresponding eigenalues {Ai i,a,a 3 } where af- are two ectors that span the space orthogonal to the 3-ector a, i.e. a a i L 0 and a a] x a^. If the axis or the ertex is at infinity then the homology is an affine transformation. Algebraically, if a (0. 0,), then the axis is at infinity; or if (i,, 0), then the ertex is at infinity; and in both cases the transformation matrix H has last row (0,0,). Planar harmonic homology. A specialiation of a planar homology is the case that the cross ratio is harmonic ( ). his planar homology is called a planar harmonic homology and has 4 degrees of freedom since the inariant is known. he transformation matrix H obeys H I, i.e. the transformation is a square root of the identity, which is called an inolution (also a collineation of period ). he eigenalues are, up to a common scale factor, {,,}. wo pairs of point correspondences determine H. In a perspectie image of a plane object with a bilateral symmetry, corresponding points in the image are related by a planar harmonic homology. he axis of the homology is the image of the symmetry axis. Algebraically, H is a conjugate reflection where the conjugating element is a plane projectie transformation. In an affine image (generated by an affine camera) the resulting transformation is a skewed symmetry, and the conjugating element is a plane affine transformation. For a skewed symmetry the ertex is at infinity, and the lines joining corresponding points are parallel. he harmonic homology can be parametried as a Again, if the axis or ertex is at infinity then the transformation is affine. A7.3 Elations An elation has a line of fixed points (the axis), and a pencil of fixed lines intersecting in a point (the ertex) on the axis. It may be thought of as the limit of a homology where the ertex is on the line of fixed points. Algebraically, the matrix has three equal eigenalues, but the eigenspace is -dimensional. It may be parametried as H I + xa with a 0 (A7.) where a is the axis, and the ertex. he eigenalues are all unity. he inariant space of H is spanned by a^.a^. his is a line (pencil) of fixed points (which includes since a 0). he inariant space of H is spanned by ectors f, ^ orthogonal to. his is a pencil of fixed lines, a^- + 3^-, for which l 0, i.e. all lines of the pencil are concurrent at the point. An elation has 4 degrees of freedom: one less than a homology due to the constraint a 0. It is defined by the axis a ( dof), the ertex on a ( dof) and the parameter H ( dof). It can be determined from point correspondences.

32 How can we model this scene?. Find world coordinates (X,Y,Z) for a few points. Connect the points with planes to model geometry exture map the planes Finding world coordinates (X,Y,Z). Define the ground plane (Z0). Compute points (X,Y,0) on that plane 3. Compute the heights Z of all other points

33 Perspectie cues Comparing heights Vanishing Point 6

34 Measuring height Camera height Computing anishing points (from lines) q q p p Intersect p q with p q Least squares ersion Better to use more than two lines and compute the closest point of intersection See notes by Bob Collins for one good way of doing this: 7

35 Criminisi 99 Vanishing line Vertical anishing point (at infinity) Vanishing point Vanishing point Measuring height without a ruler C Z ground plane Compute Z from image measurements Need more than anishing points to do this 8

36 Measuring height r x anishing line (horion) t 0 H t R H y b 0 b Measuring height r anishing line (horion) t 0 x t 0 y m 0 t b b 0 What if the point on the ground plane b 0 is not known? Here the guy is standing on the box Use one side of the box to help find b 0 as shown aboe b 9

37 he cross ratio A Projectie Inariant Something that does not change under projectie transformations (including perspectie projection) P P P 3 P P P P P P P P P he cross-ratio of 4 collinear points Can permute the point ordering 4! 4 different orders (but only 6 distinct alues) his is the fundamental inariant of projectie geometry i i i i Z Y X P P P P P P P P P Z r t b t b r r b t Z Z image cross ratio Measuring height B (bottom of object) (top of object) R (reference point) ground plane H C B R R B scene cross ratio Z Y X P y x p scene points represented as image points as R H R H R

38 What if is not infinity? 0

39 Measuring height r x anishing line (horion) t 0 H t R H y b 0 t b r b Z Z r t image cross ratio H R b Measuring heights of people Here we go! 85.3 cm reference

40 Forensic Science: measuring heights of suspects Vanishing line Reference height Reference height Assessing geometric accuracy Are the heights of the groups of people consistent with each other? Flagellation, Piero della Francesca Estimated relatie heights 3

41 Assessing geometric accuracy he Marriage of the Virgin, Raphael Estimated relatie heights Criminisi et al., ICCV 99 Complete approach Load in an image Click on lines parallel to X axis repeat for Y, Z axes Compute anishing points Specify 3D and D positions of 4 points on reference plane Compute homography H Specify a reference height Compute 3D positions of seeral points Create a 3D model from these points Extract texture maps Cut out objects Fill in holes Output a VRML model 4

42 Interactie silhouette cut-out Occlusion filling Geometric filling by exploiting: symmetries repeated regular patterns exture synthesis repeated stochastic patterns 5

More Single View Geometry

More Single View Geometry More Single View Geometry with a lot of slides stolen from Steve Seitz Cyclops Odilon Redon 1904 15-463: Computational Photography Alexei Efros, CMU, Fall 2008 Quiz: which is 1,2,3-point perspective Image

More information

More Single View Geometry

More Single View Geometry More Single View Geometry with a lot of slides stolen from Steve Seitz Cyclops Odilon Redon 1904 15-463: Computational hotography Alexei Efros, CMU, Fall 2011 Quiz: which is 1,2,3-point perspective Image

More information

More Single View Geometry

More Single View Geometry More Single View Geometry with a lot of slides stolen from Steve Seitz Cyclops Odilon Redon 1904 15-463: Computational Photography Alexei Efros, CMU, Fall 2007 Final Projects Are coming up fast! Undergrads

More information

More Single View Geometry

More Single View Geometry More Single View Geometry 5-463: Rendering and Image rocessing Alexei Efros with a lot of slides stolen from Steve Seitz and Antonio Criminisi Quiz! Image B Image A Image C How can we model this scene?.

More information

Object Pose from a Single Image

Object Pose from a Single Image Object Pose from a Single Image How Do We See Objects in Depth? Stereo Use differences between images in or left and right eye How mch is this difference for a car at 00 m? Moe or head sideways Or, the

More information

More on single-view geometry class 10

More on single-view geometry class 10 More on single-view geometry class 10 Multiple View Geometry Comp 290-089 Marc Pollefeys Multiple View Geometry course schedule (subject to change) Jan. 7, 9 Intro & motivation Projective 2D Geometry Jan.

More information

Epipolar Geometry Prof. D. Stricker. With slides from A. Zisserman, S. Lazebnik, Seitz

Epipolar Geometry Prof. D. Stricker. With slides from A. Zisserman, S. Lazebnik, Seitz Epipolar Geometry Prof. D. Stricker With slides from A. Zisserman, S. Lazebnik, Seitz 1 Outline 1. Short introduction: points and lines 2. Two views geometry: Epipolar geometry Relation point/line in two

More information

Multiple View Geometry in computer vision

Multiple View Geometry in computer vision Multiple View Geometry in computer vision Chapter 8: More Single View Geometry Olaf Booij Intelligent Systems Lab Amsterdam University of Amsterdam, The Netherlands HZClub 29-02-2008 Overview clubje Part

More information

Structure from Motion. Prof. Marco Marcon

Structure from Motion. Prof. Marco Marcon Structure from Motion Prof. Marco Marcon Summing-up 2 Stereo is the most powerful clue for determining the structure of a scene Another important clue is the relative motion between the scene and (mono)

More information

calibrated coordinates Linear transformation pixel coordinates

calibrated coordinates Linear transformation pixel coordinates 1 calibrated coordinates Linear transformation pixel coordinates 2 Calibration with a rig Uncalibrated epipolar geometry Ambiguities in image formation Stratified reconstruction Autocalibration with partial

More information

Computer Vision I - Algorithms and Applications: Multi-View 3D reconstruction

Computer Vision I - Algorithms and Applications: Multi-View 3D reconstruction Computer Vision I - Algorithms and Applications: Multi-View 3D reconstruction Carsten Rother 09/12/2013 Computer Vision I: Multi-View 3D reconstruction Roadmap this lecture Computer Vision I: Multi-View

More information

CS-9645 Introduction to Computer Vision Techniques Winter 2019

CS-9645 Introduction to Computer Vision Techniques Winter 2019 Table of Contents Projective Geometry... 1 Definitions...1 Axioms of Projective Geometry... Ideal Points...3 Geometric Interpretation... 3 Fundamental Transformations of Projective Geometry... 4 The D

More information

Camera Geometry II. COS 429 Princeton University

Camera Geometry II. COS 429 Princeton University Camera Geometry II COS 429 Princeton University Outline Projective geometry Vanishing points Application: camera calibration Application: single-view metrology Epipolar geometry Application: stereo correspondence

More information

Camera models and calibration

Camera models and calibration Camera models and calibration Read tutorial chapter 2 and 3. http://www.cs.unc.edu/~marc/tutorial/ Szeliski s book pp.29-73 Schedule (tentative) 2 # date topic Sep.8 Introduction and geometry 2 Sep.25

More information

Scene Modeling for a Single View

Scene Modeling for a Single View on to 3D Scene Modeling for a Single View We want real 3D scene walk-throughs: rotation translation Can we do it from a single photograph? Reading: A. Criminisi, I. Reid and A. Zisserman, Single View Metrology

More information

CHAPTER 3. Single-view Geometry. 1. Consequences of Projection

CHAPTER 3. Single-view Geometry. 1. Consequences of Projection CHAPTER 3 Single-view Geometry When we open an eye or take a photograph, we see only a flattened, two-dimensional projection of the physical underlying scene. The consequences are numerous and startling.

More information

Objectives. Geometry. Basic Elements. Coordinate-Free Geometry. Transformations to Change Coordinate Systems. Scalars

Objectives. Geometry. Basic Elements. Coordinate-Free Geometry. Transformations to Change Coordinate Systems. Scalars Objecties Geometry CS 432 Interactie Computer Graphics Prof. Daid E. Breen Department of Computer Science Introduce the elements of geometry - Scalars - Vectors - Points Deelop mathematical operations

More information

12 - THREE DIMENSIONAL GEOMETRY Page 1 ( Answers at the end of all questions ) = 2. ( d ) - 3. ^i - 2. ^j c 3. ( d )

12 - THREE DIMENSIONAL GEOMETRY Page 1 ( Answers at the end of all questions ) = 2. ( d ) - 3. ^i - 2. ^j c 3. ( d ) - THREE DIMENSIONAL GEOMETRY Page ( ) If the angle θ between the line x - y + x + y - z - and the plane λ x + 4 0 is such that sin θ, then the value of λ is - 4-4 [ AIEEE 00 ] ( ) If the plane ax - ay

More information

Projective geometry for Computer Vision

Projective geometry for Computer Vision Department of Computer Science and Engineering IIT Delhi NIT, Rourkela March 27, 2010 Overview Pin-hole camera Why projective geometry? Reconstruction Computer vision geometry: main problems Correspondence

More information

Viewing in 3D (Chapt. 6 in FVD, Chapt. 12 in Hearn & Baker)

Viewing in 3D (Chapt. 6 in FVD, Chapt. 12 in Hearn & Baker) Viewing in 3D (Chapt. 6 in FVD, Chapt. 2 in Hearn & Baker) Viewing in 3D s. 2D 2D 2D world Camera world 2D 3D Transformation Pipe-Line Modeling transformation world Bod Sstem Viewing transformation Front-

More information

CS 664 Slides #9 Multi-Camera Geometry. Prof. Dan Huttenlocher Fall 2003

CS 664 Slides #9 Multi-Camera Geometry. Prof. Dan Huttenlocher Fall 2003 CS 664 Slides #9 Multi-Camera Geometry Prof. Dan Huttenlocher Fall 2003 Pinhole Camera Geometric model of camera projection Image plane I, which rays intersect Camera center C, through which all rays pass

More information

METRIC PLANE RECTIFICATION USING SYMMETRIC VANISHING POINTS

METRIC PLANE RECTIFICATION USING SYMMETRIC VANISHING POINTS METRIC PLANE RECTIFICATION USING SYMMETRIC VANISHING POINTS M. Lefler, H. Hel-Or Dept. of CS, University of Haifa, Israel Y. Hel-Or School of CS, IDC, Herzliya, Israel ABSTRACT Video analysis often requires

More information

3D Computer Vision II. Reminder Projective Geometry, Transformations

3D Computer Vision II. Reminder Projective Geometry, Transformations 3D Computer Vision II Reminder Projective Geometry, Transformations Nassir Navab" based on a course given at UNC by Marc Pollefeys & the book Multiple View Geometry by Hartley & Zisserman" October 21,

More information

Single-view metrology

Single-view metrology Single-view metrology Magritte, Personal Values, 952 Many slides from S. Seitz, D. Hoiem Camera calibration revisited What if world coordinates of reference 3D points are not known? We can use scene features

More information

METR Robotics Tutorial 2 Week 2: Homogeneous Coordinates

METR Robotics Tutorial 2 Week 2: Homogeneous Coordinates METR4202 -- Robotics Tutorial 2 Week 2: Homogeneous Coordinates The objective of this tutorial is to explore homogenous transformations. The MATLAB robotics toolbox developed by Peter Corke might be a

More information

Epipolar Geometry class 11

Epipolar Geometry class 11 Epipolar Geometry class 11 Multiple View Geometry Comp 290-089 Marc Pollefeys Multiple View Geometry course schedule (subject to change) Jan. 7, 9 Intro & motivation Projective 2D Geometry Jan. 14, 16

More information

Computer Vision Projective Geometry and Calibration. Pinhole cameras

Computer Vision Projective Geometry and Calibration. Pinhole cameras Computer Vision Projective Geometry and Calibration Professor Hager http://www.cs.jhu.edu/~hager Jason Corso http://www.cs.jhu.edu/~jcorso. Pinhole cameras Abstract camera model - box with a small hole

More information

Model Based Perspective Inversion

Model Based Perspective Inversion Model Based Perspective Inversion A. D. Worrall, K. D. Baker & G. D. Sullivan Intelligent Systems Group, Department of Computer Science, University of Reading, RG6 2AX, UK. Anthony.Worrall@reading.ac.uk

More information

Module 4F12: Computer Vision and Robotics Solutions to Examples Paper 2

Module 4F12: Computer Vision and Robotics Solutions to Examples Paper 2 Engineering Tripos Part IIB FOURTH YEAR Module 4F2: Computer Vision and Robotics Solutions to Examples Paper 2. Perspective projection and vanishing points (a) Consider a line in 3D space, defined in camera-centered

More information

A simple method for interactive 3D reconstruction and camera calibration from a single view

A simple method for interactive 3D reconstruction and camera calibration from a single view A simple method for interactive 3D reconstruction and camera calibration from a single view Akash M Kushal Vikas Bansal Subhashis Banerjee Department of Computer Science and Engineering Indian Institute

More information

Agenda. Rotations. Camera models. Camera calibration. Homographies

Agenda. Rotations. Camera models. Camera calibration. Homographies Agenda Rotations Camera models Camera calibration Homographies D Rotations R Y = Z r r r r r r r r r Y Z Think of as change of basis where ri = r(i,:) are orthonormal basis vectors r rotated coordinate

More information

Single View Metrology

Single View Metrology International Journal of Computer Vision 40(2), 123 148, 2000 c 2000 Kluwer Academic Publishers. Manufactured in The Netherlands. Single View Metrology A. CRIMINISI, I. REID AND A. ZISSERMAN Department

More information

C / 35. C18 Computer Vision. David Murray. dwm/courses/4cv.

C / 35. C18 Computer Vision. David Murray.   dwm/courses/4cv. C18 2015 1 / 35 C18 Computer Vision David Murray david.murray@eng.ox.ac.uk www.robots.ox.ac.uk/ dwm/courses/4cv Michaelmas 2015 C18 2015 2 / 35 Computer Vision: This time... 1. Introduction; imaging geometry;

More information

Elements of three dimensional geometry

Elements of three dimensional geometry Lecture No-3 Elements of three dimensional geometr Distance formula in three dimension Let P( x1, 1, z1) and Q( x2, 2, z 2) be two points such that PQ is not parallel to one of the 2 2 2 coordinate axis

More information

Agenda. Rotations. Camera calibration. Homography. Ransac

Agenda. Rotations. Camera calibration. Homography. Ransac Agenda Rotations Camera calibration Homography Ransac Geometric Transformations y x Transformation Matrix # DoF Preserves Icon translation rigid (Euclidean) similarity affine projective h I t h R t h sr

More information

N-Views (1) Homographies and Projection

N-Views (1) Homographies and Projection CS 4495 Computer Vision N-Views (1) Homographies and Projection Aaron Bobick School of Interactive Computing Administrivia PS 2: Get SDD and Normalized Correlation working for a given windows size say

More information

Projective Geometry and Camera Models

Projective Geometry and Camera Models /2/ Projective Geometry and Camera Models Computer Vision CS 543 / ECE 549 University of Illinois Derek Hoiem Note about HW Out before next Tues Prob: covered today, Tues Prob2: covered next Thurs Prob3:

More information

Scene Modeling for a Single View

Scene Modeling for a Single View Scene Modeling for a Single View René MAGRITTE Portrait d'edward James with a lot of slides stolen from Steve Seitz and David Brogan, 15-463: Computational Photography Alexei Efros, CMU, Fall 2005 Classes

More information

B.Stat / B.Math. Entrance Examination 2017

B.Stat / B.Math. Entrance Examination 2017 B.Stat / B.Math. Entrance Examination 017 BOOKLET NO. TEST CODE : UGA Forenoon Questions : 0 Time : hours Write your Name, Registration Number, Test Centre, Test Code and the Number of this Booklet in

More information

Camera Self-calibration Based on the Vanishing Points*

Camera Self-calibration Based on the Vanishing Points* Camera Self-calibration Based on the Vanishing Points* Dongsheng Chang 1, Kuanquan Wang 2, and Lianqing Wang 1,2 1 School of Computer Science and Technology, Harbin Institute of Technology, Harbin 150001,

More information

3D reconstruction class 11

3D reconstruction class 11 3D reconstruction class 11 Multiple View Geometry Comp 290-089 Marc Pollefeys Multiple View Geometry course schedule (subject to change) Jan. 7, 9 Intro & motivation Projective 2D Geometry Jan. 14, 16

More information

Robot Vision: Projective Geometry

Robot Vision: Projective Geometry Robot Vision: Projective Geometry Ass.Prof. Friedrich Fraundorfer SS 2018 1 Learning goals Understand homogeneous coordinates Understand points, line, plane parameters and interpret them geometrically

More information

Computer Vision cmput 428/615

Computer Vision cmput 428/615 Computer Vision cmput 428/615 Basic 2D and 3D geometry and Camera models Martin Jagersand The equation of projection Intuitively: How do we develop a consistent mathematical framework for projection calculations?

More information

Structure from motion

Structure from motion Structure from motion Structure from motion Given a set of corresponding points in two or more images, compute the camera parameters and the 3D point coordinates?? R 1,t 1 R 2,t R 2 3,t 3 Camera 1 Camera

More information

CS354 Computer Graphics Rotations and Quaternions

CS354 Computer Graphics Rotations and Quaternions Slide Credit: Don Fussell CS354 Computer Graphics Rotations and Quaternions Qixing Huang April 4th 2018 Orientation Position and Orientation The position of an object can be represented as a translation

More information

Objectives. Geometry. Coordinate-Free Geometry. Basic Elements. Transformations to Change Coordinate Systems. Scalars

Objectives. Geometry. Coordinate-Free Geometry. Basic Elements. Transformations to Change Coordinate Systems. Scalars Objecties Geometry CS Interactie Computer Graphics Prof. Daid E. Breen Department of Computer Science Introduce the elements of geometry - Scalars - Vectors - Points Deelop mathematical operations among

More information

Week 2: Two-View Geometry. Padua Summer 08 Frank Dellaert

Week 2: Two-View Geometry. Padua Summer 08 Frank Dellaert Week 2: Two-View Geometry Padua Summer 08 Frank Dellaert Mosaicking Outline 2D Transformation Hierarchy RANSAC Triangulation of 3D Points Cameras Triangulation via SVD Automatic Correspondence Essential

More information

Inversive Plane Geometry

Inversive Plane Geometry Inversive Plane Geometry An inversive plane is a geometry with three undefined notions: points, circles, and an incidence relation between points and circles, satisfying the following three axioms: (I.1)

More information

Visual Recognition: Image Formation

Visual Recognition: Image Formation Visual Recognition: Image Formation Raquel Urtasun TTI Chicago Jan 5, 2012 Raquel Urtasun (TTI-C) Visual Recognition Jan 5, 2012 1 / 61 Today s lecture... Fundamentals of image formation You should know

More information

Multiple View Geometry

Multiple View Geometry Multiple View Geometry CS 6320, Spring 2013 Guest Lecture Marcel Prastawa adapted from Pollefeys, Shah, and Zisserman Single view computer vision Projective actions of cameras Camera callibration Photometric

More information

Instance-level recognition I. - Camera geometry and image alignment

Instance-level recognition I. - Camera geometry and image alignment Reconnaissance d objets et vision artificielle 2011 Instance-level recognition I. - Camera geometry and image alignment Josef Sivic http://www.di.ens.fr/~josef INRIA, WILLOW, ENS/INRIA/CNRS UMR 8548 Laboratoire

More information

6.837 LECTURE 7. Lecture 7 Outline Fall '01. Lecture Fall '01

6.837 LECTURE 7. Lecture 7 Outline Fall '01. Lecture Fall '01 6.837 LECTURE 7 1. Geometric Image Transformations 2. Two-Dimensional Geometric Transforms 3. Translations 4. Groups and Composition 5. Rotations 6. Euclidean Transforms 7. Problems with this Form 8. Choose

More information

Hidden Line and Surface

Hidden Line and Surface Copyright@00, YZU Optimal Design Laboratory. All rights resered. Last updated: Yeh-Liang Hsu (00--). Note: This is the course material for ME550 Geometric modeling and computer graphics, Yuan Ze Uniersity.

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 More on Single View Geometry Lecture 11 2 In Chapter 5 we introduced projection matrix (which

More information

Projective geometry, camera models and calibration

Projective geometry, camera models and calibration Projective geometry, camera models and calibration Subhashis Banerjee Dept. Computer Science and Engineering IIT Delhi email: suban@cse.iitd.ac.in January 6, 2008 The main problems in computer vision Image

More information

Homogeneous Coordinates. Lecture18: Camera Models. Representation of Line and Point in 2D. Cross Product. Overall scaling is NOT important.

Homogeneous Coordinates. Lecture18: Camera Models. Representation of Line and Point in 2D. Cross Product. Overall scaling is NOT important. Homogeneous Coordinates Overall scaling is NOT important. CSED44:Introduction to Computer Vision (207F) Lecture8: Camera Models Bohyung Han CSE, POSTECH bhhan@postech.ac.kr (",, ) ()", ), )) ) 0 It is

More information

A Desktop 3D Scanner Exploiting Rotation and Visual Rectification of Laser Profiles

A Desktop 3D Scanner Exploiting Rotation and Visual Rectification of Laser Profiles A Desktop 3D Scanner Exploiting Rotation and Visual Rectification of Laser Profiles Carlo Colombo, Dario Comanducci, and Alberto Del Bimbo Dipartimento di Sistemi ed Informatica Via S. Marta 3, I-5139

More information

Rectification and Distortion Correction

Rectification and Distortion Correction Rectification and Distortion Correction Hagen Spies March 12, 2003 Computer Vision Laboratory Department of Electrical Engineering Linköping University, Sweden Contents Distortion Correction Rectification

More information

3-D D Euclidean Space - Vectors

3-D D Euclidean Space - Vectors 3-D D Euclidean Space - Vectors Rigid Body Motion and Image Formation A free vector is defined by a pair of points : Jana Kosecka http://cs.gmu.edu/~kosecka/cs682.html Coordinates of the vector : 3D Rotation

More information

Projective 2D Geometry

Projective 2D Geometry Projective D Geometry Multi View Geometry (Spring '08) Projective D Geometry Prof. Kyoung Mu Lee SoEECS, Seoul National University Homogeneous representation of lines and points Projective D Geometry Line

More information

3D Modeling using multiple images Exam January 2008

3D Modeling using multiple images Exam January 2008 3D Modeling using multiple images Exam January 2008 All documents are allowed. Answers should be justified. The different sections below are independant. 1 3D Reconstruction A Robust Approche Consider

More information

1 Projective Geometry

1 Projective Geometry CIS8, Machine Perception Review Problem - SPRING 26 Instructions. All coordinate systems are right handed. Projective Geometry Figure : Facade rectification. I took an image of a rectangular object, and

More information

COMP 558 lecture 19 Nov. 17, 2010

COMP 558 lecture 19 Nov. 17, 2010 COMP 558 lecture 9 Nov. 7, 2 Camera calibration To estimate the geometry of 3D scenes, it helps to know the camera parameters, both external and internal. The problem of finding all these parameters is

More information

Binocular Stereo Vision. System 6 Introduction Is there a Wedge in this 3D scene?

Binocular Stereo Vision. System 6 Introduction Is there a Wedge in this 3D scene? System 6 Introduction Is there a Wedge in this 3D scene? Binocular Stereo Vision Data a stereo pair of images! Given two 2D images of an object, how can we reconstruct 3D awareness of it? AV: 3D recognition

More information

The Three Dimensional Coordinate System

The Three Dimensional Coordinate System The Three-Dimensional Coordinate System The Three Dimensional Coordinate System You can construct a three-dimensional coordinate system by passing a z-axis perpendicular to both the x- and y-axes at the

More information

Notes on Spherical Geometry

Notes on Spherical Geometry Notes on Spherical Geometry Abhijit Champanerkar College of Staten Island & The Graduate Center, CUNY Spring 2018 1. Vectors and planes in R 3 To review vector, dot and cross products, lines and planes

More information

Computer Vision I - Appearance-based Matching and Projective Geometry

Computer Vision I - Appearance-based Matching and Projective Geometry Computer Vision I - Appearance-based Matching and Projective Geometry Carsten Rother 05/11/2015 Computer Vision I: Image Formation Process Roadmap for next four lectures Computer Vision I: Image Formation

More information

Scene Modeling for a Single View

Scene Modeling for a Single View Scene Modeling for a Single View René MAGRITTE Portrait d'edward James CS194: Image Manipulation & Computational Photography with a lot of slides stolen from Alexei Efros, UC Berkeley, Fall 2014 Steve

More information

COMPARATIVE STUDY OF DIFFERENT APPROACHES FOR EFFICIENT RECTIFICATION UNDER GENERAL MOTION

COMPARATIVE STUDY OF DIFFERENT APPROACHES FOR EFFICIENT RECTIFICATION UNDER GENERAL MOTION COMPARATIVE STUDY OF DIFFERENT APPROACHES FOR EFFICIENT RECTIFICATION UNDER GENERAL MOTION Mr.V.SRINIVASA RAO 1 Prof.A.SATYA KALYAN 2 DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING PRASAD V POTLURI SIDDHARTHA

More information

Multiple Views Geometry

Multiple Views Geometry Multiple Views Geometry Subhashis Banerjee Dept. Computer Science and Engineering IIT Delhi email: suban@cse.iitd.ac.in January 2, 28 Epipolar geometry Fundamental geometric relationship between two perspective

More information

Camera model and multiple view geometry

Camera model and multiple view geometry Chapter Camera model and multiple view geometry Before discussing how D information can be obtained from images it is important to know how images are formed First the camera model is introduced and then

More information

Tracking system. Danica Kragic. Object Recognition & Model Based Tracking

Tracking system. Danica Kragic. Object Recognition & Model Based Tracking Tracking system Object Recognition & Model Based Tracking Motivation Manipulating objects in domestic environments Localization / Navigation Object Recognition Servoing Tracking Grasping Pose estimation

More information

But First: Multi-View Projective Geometry

But First: Multi-View Projective Geometry View Morphing (Seitz & Dyer, SIGGRAPH 96) Virtual Camera Photograph Morphed View View interpolation (ala McMillan) but no depth no camera information Photograph But First: Multi-View Projective Geometry

More information

Projective Geometry and Camera Models

Projective Geometry and Camera Models Projective Geometry and Camera Models Computer Vision CS 43 Brown James Hays Slides from Derek Hoiem, Alexei Efros, Steve Seitz, and David Forsyth Administrative Stuff My Office hours, CIT 375 Monday and

More information

CS231A Midterm Review. Friday 5/6/2016

CS231A Midterm Review. Friday 5/6/2016 CS231A Midterm Review Friday 5/6/2016 Outline General Logistics Camera Models Non-perspective cameras Calibration Single View Metrology Epipolar Geometry Structure from Motion Active Stereo and Volumetric

More information

TD2 : Stereoscopy and Tracking: solutions

TD2 : Stereoscopy and Tracking: solutions TD2 : Stereoscopy and Tracking: solutions Preliminary: λ = P 0 with and λ > 0. If camera undergoes the rigid transform: (R,T), then with, so that is the intrinsic parameter matrix. C(Cx,Cy,Cz) is the point

More information

Image warping and stitching

Image warping and stitching Image warping and stitching May 4 th, 2017 Yong Jae Lee UC Davis Last time Interactive segmentation Feature-based alignment 2D transformations Affine fit RANSAC 2 Alignment problem In alignment, we will

More information

Three Dimensional Geometry

Three Dimensional Geometry Three Dimensional Geometry Teaching learning points Distance between two given points P(x, y, z ) and Q(x, y, z ) is PQ = ( x x ) + ( y y ) + ( z z ) Direction ratio of line joining the points (x, y, z

More information

2D/3D Geometric Transformations and Scene Graphs

2D/3D Geometric Transformations and Scene Graphs 2D/3D Geometric Transformations and Scene Graphs Week 4 Acknowledgement: The course slides are adapted from the slides prepared by Steve Marschner of Cornell University 1 A little quick math background

More information

arxiv: v1 [cs.cv] 18 Sep 2017

arxiv: v1 [cs.cv] 18 Sep 2017 Direct Pose Estimation with a Monocular Camera Darius Burschka and Elmar Mair arxiv:1709.05815v1 [cs.cv] 18 Sep 2017 Department of Informatics Technische Universität München, Germany {burschka elmar.mair}@mytum.de

More information

Part 0. The Background: Projective Geometry, Transformations and Estimation

Part 0. The Background: Projective Geometry, Transformations and Estimation Part 0 The Background: Projective Geometry, Transformations and Estimation La reproduction interdite (The Forbidden Reproduction), 1937, René Magritte. Courtesy of Museum Boijmans van Beuningen, Rotterdam.

More information

3D Reconstruction from Scene Knowledge

3D Reconstruction from Scene Knowledge Multiple-View Reconstruction from Scene Knowledge 3D Reconstruction from Scene Knowledge SYMMETRY & MULTIPLE-VIEW GEOMETRY Fundamental types of symmetry Equivalent views Symmetry based reconstruction MUTIPLE-VIEW

More information

A Stratified Approach for Camera Calibration Using Spheres

A Stratified Approach for Camera Calibration Using Spheres IEEE TRANSACTIONS ON IMAGE PROCESSING, VOL. XX, NO. Y, MONTH YEAR 1 A Stratified Approach for Camera Calibration Using Spheres Kwan-Yee K. Wong, Member, IEEE, Guoqiang Zhang, Student-Member, IEEE and Zhihu

More information

Epipolar Geometry and the Essential Matrix

Epipolar Geometry and the Essential Matrix Epipolar Geometry and the Essential Matrix Carlo Tomasi The epipolar geometry of a pair of cameras expresses the fundamental relationship between any two corresponding points in the two image planes, and

More information

Pinhole Camera Model 10/05/17. Computational Photography Derek Hoiem, University of Illinois

Pinhole Camera Model 10/05/17. Computational Photography Derek Hoiem, University of Illinois Pinhole Camera Model /5/7 Computational Photography Derek Hoiem, University of Illinois Next classes: Single-view Geometry How tall is this woman? How high is the camera? What is the camera rotation? What

More information

Multiple Motion Scene Reconstruction from Uncalibrated Views

Multiple Motion Scene Reconstruction from Uncalibrated Views Multiple Motion Scene Reconstruction from Uncalibrated Views Mei Han C & C Research Laboratories NEC USA, Inc. meihan@ccrl.sj.nec.com Takeo Kanade Robotics Institute Carnegie Mellon University tk@cs.cmu.edu

More information

Perspective Projection

Perspective Projection Perspectie Projection (Com S 477/77 Notes) Yan-Bin Jia Aug 9, 7 Introduction We now moe on to isualization of three-dimensional objects, getting back to the use of homogeneous coordinates. Current display

More information

Drill Exercise - 1. Drill Exercise - 2. Drill Exercise - 3

Drill Exercise - 1. Drill Exercise - 2. Drill Exercise - 3 Drill Exercise -. Find the distance between the pair of points, (a sin, b cos ) and ( a cos, b sin ).. Prove that the points (a, 4a) (a, 6a) and (a + 3 a, 5a) are the vertices of an equilateral triangle.

More information

Metric Rectification for Perspective Images of Planes

Metric Rectification for Perspective Images of Planes 789139-3 University of California Santa Barbara Department of Electrical and Computer Engineering CS290I Multiple View Geometry in Computer Vision and Computer Graphics Spring 2006 Metric Rectification

More information

3D Geometry and Camera Calibration

3D Geometry and Camera Calibration 3D Geometry and Camera Calibration 3D Coordinate Systems Right-handed vs. left-handed x x y z z y 2D Coordinate Systems 3D Geometry Basics y axis up vs. y axis down Origin at center vs. corner Will often

More information

Structure from motion

Structure from motion Structure from motion Structure from motion Given a set of corresponding points in two or more images, compute the camera parameters and the 3D point coordinates?? R 1,t 1 R 2,t 2 R 3,t 3 Camera 1 Camera

More information

Stereo and Epipolar geometry

Stereo and Epipolar geometry Previously Image Primitives (feature points, lines, contours) Today: Stereo and Epipolar geometry How to match primitives between two (multiple) views) Goals: 3D reconstruction, recognition Jana Kosecka

More information

Geometric Transformations

Geometric Transformations Geometric Transformations CS 4620 Lecture 9 2017 Steve Marschner 1 A little quick math background Notation for sets, functions, mappings Linear and affine transformations Matrices Matrix-vector multiplication

More information

Image warping and stitching

Image warping and stitching Image warping and stitching May 5 th, 2015 Yong Jae Lee UC Davis PS2 due next Friday Announcements 2 Last time Interactive segmentation Feature-based alignment 2D transformations Affine fit RANSAC 3 Alignment

More information

11.2 RECTANGULAR COORDINATES IN THREE DIMENSIONS

11.2 RECTANGULAR COORDINATES IN THREE DIMENSIONS 11.2 Rectangular Coordinates in Three Dimensions Contemporary Calculus 1 11.2 RECTANGULAR COORDINATES IN THREE DIMENSIONS In this section we move into 3 dimensional space. First we examine the 3 dimensional

More information

Chapter 7 Coordinate Geometry

Chapter 7 Coordinate Geometry Chapter 7 Coordinate Geometry 1 Mark Questions 1. Where do these following points lie (0, 3), (0, 8), (0, 6), (0, 4) A. Given points (0, 3), (0, 8), (0, 6), (0, 4) The x coordinates of each point is zero.

More information

Viewing. Reading: Angel Ch.5

Viewing. Reading: Angel Ch.5 Viewing Reading: Angel Ch.5 What is Viewing? Viewing transform projects the 3D model to a 2D image plane 3D Objects (world frame) Model-view (camera frame) View transform (projection frame) 2D image View

More information

CHAPTER - 10 STRAIGHT LINES Slope or gradient of a line is defined as m = tan, ( 90 ), where is angle which the line makes with positive direction of x-axis measured in anticlockwise direction, 0 < 180

More information

SELF-CALIBRATION OF CENTRAL CAMERAS BY MINIMIZING ANGULAR ERROR

SELF-CALIBRATION OF CENTRAL CAMERAS BY MINIMIZING ANGULAR ERROR SELF-CALIBRATION OF CENTRAL CAMERAS BY MINIMIZING ANGULAR ERROR Juho Kannala, Sami S. Brandt and Janne Heikkilä Machine Vision Group, University of Oulu, Finland {jkannala, sbrandt, jth}@ee.oulu.fi Keywords:

More information

Parameterization of triangular meshes

Parameterization of triangular meshes Parameterization of triangular meshes Michael S. Floater November 10, 2009 Triangular meshes are often used to represent surfaces, at least initially, one reason being that meshes are relatively easy to

More information