Imaging Geometry for the Pinhole Camera Outline: Motivation |The pinhole camera.

Slides:



Advertisements
Similar presentations
Epipolar Geometry.
Advertisements

More on single-view geometry
Computer Vision, Robert Pless
3D reconstruction.
Geometry 2: A taste of projective geometry Introduction to Computer Vision Ronen Basri Weizmann Institute of Science.
Study the mathematical relations between corresponding image points.
Two-View Geometry CS Sastry and Yang
Mapping: Scaling Rotation Translation Warp
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.
Image alignment Image from
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.
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
CS485/685 Computer Vision Prof. George Bebis
3D reconstruction of cameras and structure x i = PX i x’ i = P’X i.
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 Marc Pollefeys University of North Carolina at Chapel Hill Modified by Philippos Mordohai.
Single-view geometry Odilon Redon, Cyclops, 1914.
The Pinhole Camera Model
Projected image of a cube. Classical Calibration.
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.
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.
Two-views geometry Outline Background: Camera, Projection Necessary tools: A taste of projective geometry Two view geometry:  Homography  Epipolar geometry,
3-D Scene u u’u’ Study the mathematical relations between corresponding image points. “Corresponding” means originated from the same 3D point. Objective.
Instance-level recognition I. - Camera geometry and image alignment Josef Sivic INRIA, WILLOW, ENS/INRIA/CNRS UMR 8548 Laboratoire.
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.
University of Palestine Faculty of Applied Engineering and Urban Planning Software Engineering Department Introduction to computer vision Chapter 2: Image.
Projective geometry ECE 847: Digital Image Processing Stan Birchfield Clemson University.
Metrology 1.Perspective distortion. 2.Depth is lost.
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.
Two-view geometry Epipolar geometry F-matrix comp. 3D reconstruction
Lecture 03 15/11/2011 Shai Avidan הבהרה : החומר המחייב הוא החומר הנלמד בכיתה ולא זה המופיע / לא מופיע במצגת.
Affine Structure from Motion
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)
Feature Matching. Feature Space Outlier Rejection.
Reconnaissance d’objets et vision artificielle Jean Ponce Equipe-projet WILLOW ENS/INRIA/CNRS UMR 8548 Laboratoire.
Computer vision: models, learning and inference M Ahad Multiple Cameras
Part II Plane Equation and Epipolar Geometry. Duality.
MASKS © 2004 Invitation to 3D vision Uncalibrated Camera Chapter 6 Reconstruction from Two Uncalibrated Views Modified by L A Rønningen Oct 2008.
Camera Model Calibration
Uncalibrated reconstruction Calibration with a rig Uncalibrated epipolar geometry Ambiguities in image formation Stratified reconstruction Autocalibration.
Projective 2D geometry course 2 Multiple View Geometry Comp Marc Pollefeys.
CS682, Jana Kosecka Rigid Body Motion and Image Formation Jana Kosecka
Homogeneous Coordinates (Projective Space)
Epipolar geometry.
Study the mathematical relations between corresponding image points.
Geometric Transformations
Computer Graphics Recitation 12.
Geometric Transformations
Geometric Camera Models
3D reconstruction class 11
Multiple View Geometry for Robotics
Uncalibrated Geometry & Stratification
Geometric Transformations
Geometric Transformations
Single-view geometry Odilon Redon, Cyclops, 1914.
The Pinhole Camera Model
Geometric Transformations
Geometric Transformations
Presentation transcript:

Imaging Geometry for the Pinhole Camera Outline: Motivation |The pinhole camera

Example 1: Self-Localisation View 3 View 2 View 1

Example 2: Build a Panorama (register many images into a common frame) M. Brown and D. G. Lowe. Recognising Panoramas. ICCV 2003

Example 3: 3D Reconstruction: Detect Correspondences and triangulate

Example 4: Camera motion tracking ⇒ image stabilization background part of the image registered original stabilized

Example 5: Medical imaging – non-rigid image registration for change detection from the atlas test slice deform. field before registrationafter

Unis, 3 Oct Example 6: Recognition and Localisation of Objects Object Models: What objects are in the image? Where are they?

Unis, 3 Oct Example 7: Inspection and visual measurement ( in the registered view angles and lengths can be checked )

Imaging Geometry: Pinhole Camera Model This part of the talk follows A. Zisserman’s EPSRC9 tutorial Image formation by common cameras is well modeled by a perspective projection: If expressed as a linear mapping between homogeneous coordinates: 9

Imaging Geometry: Internal camera parameters C is the camera calibration matrix. (u 0, v 0 ) is the principal point, the intersection of the optical axis and the image plane  u =f k u,  v = f k v define scaling in x and y directions Moving from image plane (x,y) to (u,v) pixel coordinates:

Imaging Geometry: From World to Camera Coordinates The Euclidean transformation (rigid motion of the camera) is described by X c = R X w + T. Chaining all the transformations: This defines a 3x4 projection matrix P from Euclidean 3-space to an image:

Imaging Geometry: Plane projective transformations Choose the world coordinates so that the plane of the points has zero Z coordinate. The 3x4 projection matrix P reduces to:

Image Geometry: Computing Plane Projective Transform 1 The plane projective transform is called a homography Four point-to-point correspondences define a homography From the model of pinhole camera, we know the form ( » denotes similarity up to scale): or, equivalently:

Image Geometry: Computing Plane Projective Transform 2 Multiplying out: Each point correspondence defines two constraints: Two approaches can be used to address the scale ambiguity. We will use the simpler one that sets h 33 =1. This is OK unless points at infinity are involved

Image Geometry: Computing Plane Projective Transform 3 The constrains from four points can be expressed as a linear (in unknowns h ij ) into an 8x8 matrix:

Removing Perspective Distortion 1.Have coordinates of four points on the object plane 2.Solve for H in x’=Hx from the and corresponding image coordinates. 3.Then x=H -1 x’ 4.(E.g.) inspect the part, checking distances or angle

Taxonomy of planar projective transforms II Notes: Properties of the more general transforms are inherited by transformations lower in the table R = [r ij ] is a rotation matrix, i.e. R R > =1, also

Taxonomy of planar projective transforms I In many circumstances, we know from the imaging set- up, that the image-to-image transformation is simpler than homography or can be well approximated by a transformation with a lower number of degrees of freedom. Three types of transforms are commonly encountered: –Euclidean (shifted and rotated, e.g. two flatbed scans of the same image ) –Similarity (shift, rotation, isotropic scaling, e.g. two photos from the same spot with different zoom) –Affine transformation

Image Geometry: Computing Affine Transform An affine transform is defined as: Each point-to-point correspondence provides to constraints, 3 correspondences are needed to uniquely define the transformation. Solving the problem requires inversion of a single 3x3 matrix:

Unis, 3 Oct