1 Basic geometric concepts to understand Affine, Euclidean geometries (inhomogeneous coordinates) projective geometry (homogeneous coordinates) plane at.

Slides:



Advertisements
Similar presentations
1 A camera is modeled as a map from a space pt (X,Y,Z) to a pixel (u,v) by ‘homogeneous coordinates’ have been used to ‘treat’ translations ‘multiplicatively’
Advertisements

3D reconstruction.
Recovery of affine and metric properties from images in 2D Projective space Ko Dae-Won.
Computer vision: models, learning and inference
Projective Geometry- 3D
1 pb.  camera model  calibration  separation (int/ext)  pose Don’t get lost! What are we doing? Projective geometry Numerical tools Uncalibrated cameras.
Jan-Michael Frahm, Enrique Dunn Spring 2012
Camera Calibration. Issues: what are intrinsic parameters of the camera? what is the camera matrix? (intrinsic+extrinsic) General strategy: view calibration.
Recovering metric and affine properties from images
Camera calibration and epipolar geometry
Camera Models A camera is a mapping between the 3D world and a 2D image The principal camera of interest is central projection.
Structure from motion.
Recovering metric and affine properties from images
1 Old summary of camera modelling 3 coordinate frame projection matrix decomposition intrinsic/extrinsic param.
Multiple View Geometry Projective Geometry & Transformations of 2D Vladimir Nedović Intelligent Systems Lab Amsterdam (ISLA) Informatics Institute,
The 2D Projective Plane Points and Lines.
Multiple View Geometry Marc Pollefeys University of North Carolina at Chapel Hill Modified by Philippos Mordohai.
Projective 2D & 3D geometry course 2
Used slides/content with permission from
Projective geometry- 2D Acknowledgements Marc Pollefeys: for allowing the use of his excellent slides on this topic
Epipolar geometry. (i)Correspondence geometry: Given an image point x in the first view, how does this constrain the position of the corresponding point.
Structure from motion. Multiple-view geometry questions Scene geometry (structure): Given 2D point matches in two or more images, where are the corresponding.
Uncalibrated Geometry & Stratification Sastry and Yang
Epipolar Geometry and the Fundamental Matrix F
CS485/685 Computer Vision Prof. George Bebis
CAU Kiel DAGM 2001-Tutorial on Visual-Geometric 3-D Scene Reconstruction 1 The plan for today Leftovers and from last time Camera matrix Part A) Notation,
Camera model Relation between pixels and rays in space ?
Multiple View Geometry
Multiple View Geometry Marc Pollefeys University of North Carolina at Chapel Hill Modified by Philippos Mordohai.
3D photography Marc Pollefeys Fall 2007
Projective Geometry and Camera model Class 2
Cameras and Projections Dan Witzner Hansen Course web page:
The Pinhole Camera Model
CS4670 / 5670: Computer Vision KavitaBala Lecture 15: Projection “The School of Athens,” Raphael.
Projective 2D geometry course 2 Multiple View Geometry Comp Marc Pollefeys.
1 Digital Images WorldCameraDigitizer Digital Image (i) What determines where the image of a 3D point appears on the 2D image? (ii) What determines how.
Projective Geometry and Camera Models
Projective Geometry and Geometric Invariance in Computer Vision Babak N. Araabi Electrical and Computer Eng. Dept. University of Tehran Workshop on image.
875: Recent Advances in Geometric Computer Vision & Recognition Jan-Michael Frahm Fall 2011.
Camera Geometry and Calibration Thanks to Martial Hebert.
Epipolar geometry The fundamental matrix and the tensor
Homogeneous Coordinates (Projective Space) Let be a point in Euclidean space Change to homogeneous coordinates: Defined up to scale: Can go back to non-homogeneous.
Course 12 Calibration. 1.Introduction In theoretic discussions, we have assumed: Camera is located at the origin of coordinate system of scene.
Autonomous Navigation for Flying Robots Lecture 2.2: 2D Geometry
University of Palestine Faculty of Applied Engineering and Urban Planning Software Engineering Department Introduction to computer vision Chapter 2: Image.
Geometric Camera Models
Computer Vision cmput 499/615
Multi-linear Systems and Invariant Theory in the Context of Computer Vision and Graphics CS329 Amnon Shashua.
Affine Structure from Motion
Camera diagram Computing K from 1 image HZ8.8 IAC and K HZ8.5 Camera matrix from F HZ9.5 IAC HZ , 8.5 Extracting camera parameters HZ6.2 Camera matrix.
A Flexible New Technique for Camera Calibration Zhengyou Zhang Sung Huh CSPS 643 Individual Presentation 1 February 25,
EECS 274 Computer Vision Affine Structure from Motion.
1 Chapter 2: Geometric Camera Models Objective: Formulate the geometrical relationships between image and scene measurements Scene: a 3-D function, g(x,y,z)
Part II Plane Equation and Epipolar Geometry. Duality.
1 Overview Introduction to projective geometry 1 view geometry (calibration, …) 2-view geometry (stereo, motion, …) 3- and N-view geometry Autocalibration.
Uncalibrated reconstruction Calibration with a rig Uncalibrated epipolar geometry Ambiguities in image formation Stratified reconstruction Autocalibration.
EECS 274 Computer Vision Projective Structure from Motion.
Projective 2D geometry course 2 Multiple View Geometry Comp Marc Pollefeys.
Nazar Khan PUCIT Lecture 19
55:148 Digital Image Processing Chapter 11 3D Vision, Geometry
One view geometry---camera modeling
3D Reconstruction from Images
Homogeneous Coordinates (Projective Space)
Two-view geometry Computer Vision Spring 2018, Lecture 10
Epipolar geometry.
CS Visual Recognition Projective Geometry Projective Geometry is a mathematical framework describing image formation by perspective camera. Under.
Geometric Camera Models
3D reconstruction class 11
Uncalibrated Geometry & Stratification
The Pinhole Camera Model
Presentation transcript:

1 Basic geometric concepts to understand Affine, Euclidean geometries (inhomogeneous coordinates) projective geometry (homogeneous coordinates) plane at infinity: affine geometry

2 Naturally everything starts from the known vector space Intuitive introduction

3 Vector space to affine: isomorph, one-to-one vector to Euclidean as an enrichment: scalar prod. affine to projective as an extension: add ideal elements Pts, lines, parallelism Angle, distances, circles Pts at infinity

4 P2 and R2 Relation between Pn (homo) and Rn (in-homo): Rn --> Pn, extension, embedded in Pn --> Rn, restriction,

5 Examples of projective spaces Projective plane P2 Projective line P1 Projective space P3

6 Pts are elements of P2 Projective plane 4 pts determine a projective basis 3 ref. Pts + 1 unit pt to fix the scales for ref. pts Relation with R2, (x,y,0), line at inf., (0,0,0) is not a pt Pts at infinity: (x,y,0), the line at infinity Space of homogeneous coordinates (x,y,t) Pts are elements of P2

7 Line equation: Lines: Linear combination of two algebraically independent pts Operator + is ‘span’ or ‘join’

8 Point/line duality: Point coordinate, column vector A line is a set of linearly dependent points Two points define a line Line coordinate, row vector A point is a set of linearly dependent lines Two lines define a point What is the line equation of two given points? ‘line’ (a,b,c) has been always ‘homogeneous’ since high school!

9 Given 2 points x1 and x2 (in homogeneous coordinates), the line connecting x1 and x2 is given by Given 2 lines l1 and l2, the intersection point x is given by NB: ‘cross-product’ is purely a notational device here.

10 Conics: a curve described by a second-degree equation 3*3 symmetric matrix 5 d.o.f 5 pts determine a conic Conics

11 Projective line Finite pts: Infinite pts: how many? A basis by 3 pts Fundamental inv: cross-ratio Homogeneous pair (x1,x2)

12 Pts, elements of P3 Relation with R3, plane at inf. planes: linear comb of 3 pts Basis by 4 (ref pts) +1 pts (unit) Projective space P3

13 planes In practice, take SVD

14 Key points Homo. Coordinates are not unique 0 represents no projective pt finite points embedded in proj. Space (relation between R and P) pts at inf. (x,0) missing pts, directions hyper-plane (co-dim 1): dualily between u and x,

15 2D general Euclidean transformation: 2D general affine transformation: 2D general projective transformation: Introduction to transformation Colinearity Cross-ratio

16 Projective transformation = collineation = homography Consider all functions All linear transformations are represented by matrices A Note: linear but in homogeneous coordinates!

17 How to compute transformatins and canonical projective coordinates?

18 Geometric modeling of a camera u v X u O X’ u’ P3 P2 How to relate a 3D point X (in oxyz) to a 2D point in pixels (u,v)?

19 X Y Z x y u v X x O f Camera coordinate frame

20 x o y uv X Y Z x y u v X x O f Image coordinate frame

21 Focal length in horizontal/vertical pixels (2) (or focal length in pixels + aspect ratio) the principal point (2) the skew (1) 5 intrinsic parameters one rough example: 135 film In practice, for most of CCD cameras: alpha u = alpha v i.e. aspect ratio=1 alpha = 90 i.e. skew s=0 (u0,v0) the middle of the image only focal length in pixels?

22 Xw Yw Zw XwXw X Y Z x y u v X x O f World (object) coordinate frame

23 World coordinate frame: extrinsic parameters Relation between the abstract algebraic and geometric models is in the intrinsic/extrinsic parameters! 6 extrinsic parameters

24 Finally, we have a map from a space pt (X,Y,Z) to a pixel (u,v) by

25 It turns the camera into an angular/direction sensor! Direction vector: What does the calibration give us? Normalised coordinates:

26 Camera calibration Given Estimate C decompose C into intrinsic/extrinsic from image processing or by hand

27 Decomposition analytical by equating K(R,t)=P

28 Pose estimation = calibration of only extrinsic parameters Given Estimate R and t

29 3-point algebraic method First convert pixels u into normalized points x by knowing the intrinsic parameters Write down the fundamental equation: Solve this algebraic system to get the point distances first Compute a 3D transformation 3 reference points == 3 beacons

30 given 3 corresponding 3D points: 3D transformation estimation Compute the centroids as the origin Compute the scale (compute the rotation by quaternion) Compute the rotation axis Compute the rotation angle

31 Linear pose estimation from 4 coplanar points Vector based (or affine geometry) method O A B C D x_a x_d

32 Midterm statistics Total Q1: Q2: Q3: Q4: Q5: Q6: ~ ~ ~ ~ ~