Study the mathematical relations between corresponding image points.

Slides:



Advertisements
Similar presentations
Image formation. Image Formation Vision infers world properties form images. How do images depend on these properties? Two key elements –Geometry –Radiometry.
Advertisements

Epipolar Geometry.
Invariants (continued).
3D reconstruction.
Institut für Elektrische Meßtechnik und Meßsignalverarbeitung Professor Horst Cerjak, Augmented Reality VU 2 Calibration Axel Pinz.
Geometry 2: A taste of projective geometry Introduction to Computer Vision Ronen Basri Weizmann Institute of Science.
Geometry 1: Projection and Epipolar Lines Introduction to Computer Vision Ronen Basri Weizmann Institute of Science.
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.
Single-view metrology
Computer Vision : CISC 4/689
Cameras (Reading: Chapter 1) Goal: understand how images are formed Camera obscura dates from 15 th century Basic abstraction is the pinhole camera Perspective.
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.
Geometry of Images Pinhole camera, projection A taste of projective geometry Two view geometry:  Homography  Epipolar geometry, the essential matrix.
Announcements. Projection Today’s Readings Nalwa 2.1.
Used slides/content with permission from
Lecture 5: Projection CS6670: Computer Vision Noah Snavely.
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.
Uncalibrated Geometry & Stratification Sastry and Yang
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 ?
Computer Vision : CISC4/689
Multiple View Geometry Marc Pollefeys University of North Carolina at Chapel Hill Modified by Philippos Mordohai.
3D photography Marc Pollefeys Fall 2007
Cameras and Projections Dan Witzner Hansen Course web page:
Lecture 12: Projection CS4670: Computer Vision Noah Snavely “The School of Athens,” Raphael.
3D Computer Vision and Video Computing 3D Vision Lecture 14 Stereo Vision (I) CSC 59866CD Fall 2004 Zhigang Zhu, NAC 8/203A
The Pinhole Camera Model
The Image Formation Pipeline
CS223b, Jana Kosecka Rigid Body Motion and Image Formation.
Lec 21: Fundamental Matrix
Camera parameters Extrinisic parameters define location and orientation of camera reference frame with respect to world frame Intrinsic parameters define.
Projective 2D geometry course 2 Multiple View Geometry Comp Marc Pollefeys.
Two-views geometry Outline Background: Camera, Projection Necessary tools: A taste of projective geometry Two view geometry:  Homography  Epipolar geometry,
Cameras, lenses, and calibration
3-D Scene u u’u’ Study the mathematical relations between corresponding image points. “Corresponding” means originated from the same 3D point. Objective.
EEM 561 Machine Vision Week 10 :Image Formation and Cameras
Instance-level recognition I. - Camera geometry and image alignment Josef Sivic INRIA, WILLOW, ENS/INRIA/CNRS UMR 8548 Laboratoire.
Automatic Camera Calibration
Lecture 11 Stereo Reconstruction I Lecture 11 Stereo Reconstruction I Mata kuliah: T Computer Vision Tahun: 2010.
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.
Geometric Models & Camera Calibration
Imaging Geometry for the Pinhole Camera Outline: Motivation |The pinhole camera.
Metrology 1.Perspective distortion. 2.Depth is lost.
Stereo Course web page: vision.cis.udel.edu/~cv April 11, 2003  Lecture 21.
Geometric Camera Models
Single View Geometry Course web page: vision.cis.udel.edu/cv April 9, 2003  Lecture 20.
Vision Review: Image Formation Course web page: September 10, 2002.
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)
Feature Matching. Feature Space Outlier Rejection.
Reconnaissance d’objets et vision artificielle Jean Ponce Equipe-projet WILLOW ENS/INRIA/CNRS UMR 8548 Laboratoire.
Jinxiang Chai CSCE 441 Computer Graphics 3-D Viewing 0.
Computer vision: models, learning and inference M Ahad Multiple Cameras
Digital Image Processing Additional Material : Imaging Geometry 11 September 2006 Digital Image Processing Additional Material : Imaging Geometry 11 September.
Project 1 Due NOW Project 2 out today –Help session at end of class Announcements.
3D Computer Vision 3D Vision Lecture 3 - Part 1 Camera Models Spring 2006 Zhang Aiwu.
Lec 26: Fundamental Matrix CS4670 / 5670: Computer Vision Kavita Bala.
Projective 2D geometry course 2 Multiple View Geometry Comp Marc Pollefeys.
CS682, Jana Kosecka Rigid Body Motion and Image Formation Jana Kosecka
CSCE 441 Computer Graphics 3-D Viewing
Homogeneous Coordinates (Projective Space)
Study the mathematical relations between corresponding image points.
Two-view geometry.
Geometric Camera Models
The Pinhole Camera Model
Presentation transcript:

Study the mathematical relations between corresponding image points. Objective 3-D Scene u’ u Study the mathematical relations between corresponding image points. “Corresponding” means originated from the same 3D point.

Two-views geometry Outline Background: Camera, Projection models Necessary tools: A taste of projective geometry Two view geometry: Planar scene (homography ). Non-planar scene (epipolar geometry). 3D reconstruction (stereo).

Background End of introduction. Objectives: Students should understand: the objective of next 2 class (studing the mathematical relations between “corresponding” pixels. Time line: 2 min (60 sec/slide) Background Objectives: General background about cameras Lens

A few words about Cameras Camera obscura dates from 15th century First photograph on record shown in the book – 1826 The human eye functions very much like a camera

History Camera Obscura solar eclipse "Reinerus Gemma-Frisius, observed an eclipse of the sun at Louvain on January 24, 1544, and later he used this illustration of the event in his book De Radio Astronomica et Geometrica, 1545. It is thought to be the first published illustration of a camera obscura..." Hammond, John H., The Camera Obscura, A Chronicle

The first “photograph” www.hrc.utexas.edu/exhibitions/permanent/wfp/ Joseph Nicéphore Niépce. View from the Window at Le Gras.

A few words about Cameras Current cameras contain a lens and a recording device (film, CCD, CMOS) Basic abstraction is the pinhole camera

A few words about Lenses Ideal Lenses Lens acts as a pinhole (for 3D points at the focal depth).

Regular Lenses E.g., the cameras in our lab. To learn more on lens-distortion see Hartley & Zisserman Sec. 7.4 p.189. Not part of this class.

Modeling a Pinhole Camera (or projection)

Single View Geometry ∏ f

Modeling a Pinhole Camera (or projection)

Basic projection equation End of background. Students should understand: Image = projection Time line: 5 min (30 sec/slide) Basic projection equation Objectives: Other “imaging” model

Perspective Projection Origin (0,0,0) is the Focal center X,Y (x,y) axis are along the image axis (height / width). Z is depth = distance along the Optical axis f – Focal length

Notation O – Focal center π – Image plane Z – Optical axis f – Focal length P=(X,Y,Z)

Projection P=(X,Y,Z) y f Y X f Z

Projection P=(X,Y,Z) y f Y X f Z

Orthographic Projection Projection rays are parallel Image plane is fronto-parallel (orthogonal to rays) Focal center at infinity

Scaled Orthographic Projection Also called “weak perspective”

Pros and Cons of Projection Models Weak perspective has simpler math. Accurate when object is small and distant. Useful for object recognition. When accuracy really matters (SFM), we must model the real camera (Pinhole / perspective ): Perspective projection, calibration parameters (later), and all other issues (radial distortion).

Projective geometry basic End of projection. Students should understand: Difference between projection models Time line: 30 min (120 sec/slide) Projective geometry basic Objectives: Projective line & projective plane

Two-views geometry Outline Background: Camera, Projection Necessary tools: A taste of projective geometry Two view geometry: Planar scene (homography ). Non-planar scene (epipolar geometry). 3D reconstruction from two views (Stereo algorithms) Hartley & Zisserman: Sec. 2 Proj. Geom. of 2D. Sec. 3 Proj. Geom. of 3D.

Reading Hartley & Zisserman: Sec. 2 Proj. Geo. of 2D: 2.1- 2.2.3 point lines in 2D 2.3 -2.4 transformations 2.7 line at infinity Sec. 3 Proj. Geo. of 3D. 3.1 – 3.2 point planes & lines. 3.4 transformations

Same shapes are related by rotation and translation Why not Euclidian Geometry(Motivation) Euclidean Geometry is good for questions like: what objects have the same shape (= congruent) Same shapes are related by rotation and translation

Why Projective Geometry (Motivation) Parallel lines meet at the horizon (“vanishing line”) Where do parallel lines meet?

Why Projective Geometry (Motivation) Answers the question what appearances (projections) represent the same shape Same shapes are related by a projective transformation

Coordinates in Euclidean Line R1 Not in space 0 1 2 3 ∞

Coordinates in Projective Line P1 Take R2 –{0,0} and look at scale equivalence class (rays/lines trough the origin). Realization: Points on a line P1 “Ideal point” k(-1,1) k(0,1) k(1,1) k(2,1) -1 0 1 2 ∞ Rays vs. lines rigorous vs. clear We will use rays. k(1,0)

Coordinates in Projective Plane P2 Take R3 –{0,0,0} and look at scale equivalence class (rays/lines trough the origin). k(0,1,1) k(1,1,1) “Ideal point” k(0,0,1) k(1,0,1) k(x,y,0)

Projective Line vs. the Real Line Symbol R^2 – {0,0} The real line Space Equivalence classes (2D “rays”) points Objects (points) Intersection with line y=1 Realization “Ideal point” k(-1,1) k(0,1) k(1,1) k(2,1) -1 0 1 2 ∞ k(1,0)

Projective Plane vs Euclidian plane Symbol R3 – {0,0,0} The real plane Space Equivalence classes (3D rays) point Objects (points) Intersection with plane z=1 Realization k(0,0,1) k(x,y,0) k(1,1,1) k(1,0,1) k(0,1,1) “Ideal line”

Points & lines End of projective geometry basic Students should understand: Difference between projection models Time line: 45 min (30 sec/slide) Points & lines Objectives: pxp = l lxl=p Line @ inf.

2D Projective Geometry: Basics A point: A line: we denote a line with a 3-vector Line coordinates are homogenous Points and lines are dual: p is on l if Intersection of two lines/points

Cross Product Every entry is a determinant of the two other entries Area of parallelogram bounded by u and v Hartley & Zisserman p. 581

Cross Product in matrix notation [ ]x Hartley & Zisserman p. 581

Example: Intersection of parallel lines Q: How many ideal points are there in P2? A: 1 degree of freedom family – the line at infinity

Projective Transformations u u’

1D Projective transformations End of points and lines . Students should understand: Difference between projection models Time line: 60 min (120 sec/slide) 1D Projective transformations Objectives:

Transformations of the projective line A perspective mapping is a projective transformation T:P1  P1 Pencil of rays Perspective mapping One of two or more lines that have a point in common. Perceptivity is a special projective mapping. Hartley & Zisserman p. 632 Lines connecting corresponding points are “concurrent”

Perspectivities Projectivities Perspectivities are not a group L Slide Objective: Why perspective projection do not suffices l1 l2

Projective transformations of the projective line Given a 2D linear transformation G:R2  R2 Study the induced transformation on the Equivalents classes. On the realization y=1 we get:

Properties: Invertible (T-1 exists) Composable (To G is a projective transformation) Closed under composition Has 4 parameters 3 degrees of freedom Defined by 3 points Every point defines 1 constraint

Ideal points and projective transformations Projective transformation can map ∞ to a real point

2D transformations End of 1d projective transformations . Students should understand: Difference between projection models Time line: 75 min (120 sec/slide) 2D transformations Objectives: Understand the structure of 2D transfomations

Plane Perspective

Plane Perspective

Euclidean Transformations (Isometries) Rotation: Translation:

Hierarchy of 2D Transformations Projective Affine Similarity Rigid (Isometry) Translation: Rotation: Scale Hartley & Zisserman p. Sec. 2.4

End of Part 1 Students should understand: Difference between projection models Time line: 100 min