CSE 6367 Computer Vision Stereo Reconstruction Camera Coordinate Transformations “Everything should be made as simple as possible, but not simpler.” Albert.

Slides:



Advertisements
Similar presentations
Lecture 11: Two-view geometry
Advertisements

Jan-Michael Frahm, Enrique Dunn Spring 2012
Two-view geometry.
Lecture 8: Stereo.
Camera calibration and epipolar geometry
Structure from motion.
Computer Vision : CISC 4/689
Stanford CS223B Computer Vision, Winter 2005 Lecture 5: Stereo I Sebastian Thrun, Stanford Rick Szeliski, Microsoft Hendrik Dahlkamp and Dan Morris, Stanford.
Stanford CS223B Computer Vision, Winter 2006 Lecture 5 Stereo I
Epipolar geometry. (i)Correspondence geometry: Given an image point x in the first view, how does this constrain the position of the corresponding point.
Epipolar Geometry and the Fundamental Matrix F
Lecture 21: Multiple-view geometry and structure from motion
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,
Lecture 20: Two-view geometry CS6670: Computer Vision Noah Snavely.
3D Computer Vision and Video Computing 3D Vision Lecture 14 Stereo Vision (I) CSC 59866CD Fall 2004 Zhigang Zhu, NAC 8/203A
Projected image of a cube. Classical Calibration.
May 2004Stereo1 Introduction to Computer Vision CS / ECE 181B Tuesday, May 11, 2004  Multiple view geometry and stereo  Handout #6 available (check with.
Lec 21: Fundamental Matrix
CSE473/573 – Stereo Correspondence
Stereo Sebastian Thrun, Gary Bradski, Daniel Russakoff Stanford CS223B Computer Vision (with slides by James Rehg and.
Multiple View Geometry. THE GEOMETRY OF MULTIPLE VIEWS Reading: Chapter 10. Epipolar Geometry The Essential Matrix The Fundamental Matrix The Trifocal.
Structure Computation. How to compute the position of a point in 3- space given its image in two views and the camera matrices of those two views Use.
CS 558 C OMPUTER V ISION Lecture IX: Dimensionality Reduction.
3-D Scene u u’u’ Study the mathematical relations between corresponding image points. “Corresponding” means originated from the same 3D point. Objective.
55:148 Digital Image Processing Chapter 11 3D Vision, Geometry Topics: Basics of projective geometry Points and hyperplanes in projective space Homography.
Multi-view geometry. Multi-view geometry problems Structure: Given projections of the same 3D point in two or more images, compute the 3D coordinates.
776 Computer Vision Jan-Michael Frahm, Enrique Dunn Spring 2013.
Automatic Camera Calibration
Computer vision: models, learning and inference
Lecture 11 Stereo Reconstruction I Lecture 11 Stereo Reconstruction I Mata kuliah: T Computer Vision Tahun: 2010.
Multi-view geometry.
Epipolar geometry The fundamental matrix and the tensor
Epipolar geometry Epipolar Plane Baseline Epipoles Epipolar Lines
Lecture 04 22/11/2011 Shai Avidan הבהרה : החומר המחייב הוא החומר הנלמד בכיתה ולא זה המופיע / לא מופיע במצגת.
CS654: Digital Image Analysis Lecture 8: Stereo Imaging.
Multiview Geometry and Stereopsis. Inputs: two images of a scene (taken from 2 viewpoints). Output: Depth map. Inputs: multiple images of a scene. Output:
Acquiring 3D models of objects via a robotic stereo head David Virasinghe Department of Computer Science University of Adelaide Supervisors: Mike Brooks.
Announcements Project 3 due Thursday by 11:59pm Demos on Friday; signup on CMS Prelim to be distributed in class Friday, due Wednesday by the beginning.
Computer Vision Stereo Vision. Bahadir K. Gunturk2 Pinhole Camera.
Geometry of Multiple Views
Bahadir K. Gunturk1 Phase Correlation Bahadir K. Gunturk2 Phase Correlation Take cross correlation Take inverse Fourier transform  Location of the impulse.
Two-view geometry. Epipolar Plane – plane containing baseline (1D family) Epipoles = intersections of baseline with image planes = projections of the.
Geometric Transformations
Feature Matching. Feature Space Outlier Rejection.
Mixing Catadioptric and Perspective Cameras
55:148 Digital Image Processing Chapter 11 3D Vision, Geometry Topics: Basics of projective geometry Points and hyperplanes in projective space Homography.
Computer vision: models, learning and inference M Ahad Multiple Cameras
Part II Plane Equation and Epipolar Geometry. Duality.
3D Reconstruction Using Image Sequence
Rectification of Stereo Images Милош Миловановић Урош Поповић.
MASKS © 2004 Invitation to 3D vision Uncalibrated Camera Chapter 6 Reconstruction from Two Uncalibrated Views Modified by L A Rønningen Oct 2008.
Geometry Reconstruction March 22, Fundamental Matrix An important problem: Determine the epipolar geometry. That is, the correspondence between.
Digital Image Processing Additional Material : Imaging Geometry 11 September 2006 Digital Image Processing Additional Material : Imaging Geometry 11 September.
Stereo March 8, 2007 Suggested Reading: Horn Chapter 13.
Lec 26: Fundamental Matrix CS4670 / 5670: Computer Vision Kavita Bala.
Multiview geometry ECE 847: Digital Image Processing Stan Birchfield Clemson University.
Multi-view geometry. Multi-view geometry problems Structure: Given projections of the same 3D point in two or more images, compute the 3D coordinates.
55:148 Digital Image Processing Chapter 11 3D Vision, Geometry
Estimating the Kinematics of Unseen Joints that Affect the Vision System Justin Hart, Brian Scassellati, Steven Zucker Department of Computer Science.
Two-view geometry Computer Vision Spring 2018, Lecture 10
Epipolar geometry.
Epipolar geometry continued
Two-view geometry.
Computer Graphics Recitation 12.
Multiple View Geometry for Robotics
Reconstruction.
Two-view geometry.
Course 6 Stereo.
Two-view geometry.
Multi-view geometry.
Presentation transcript:

CSE 6367 Computer Vision Stereo Reconstruction Camera Coordinate Transformations “Everything should be made as simple as possible, but not simpler.” Albert Einstein Farhad Kamangar Computer Science and Engineering Department The University of Texas at Arlington

Stereo Constraints (Review) p p’ ? Given p in left image, find the corresponding point p’ in right image be?

Stereo X1X1 Y1Y1 Z1Z1 O1O1 Image plane Focal plane P p p’ Y2Y2 X2X2 Z2Z2 O2O2 Epipolar Line Epipole

Stereo X1X1 Y1Y1 Z1Z1 O1O1 Image plane Focal plane P p p’ Y2Y2 X2X2 Z2Z2 O2O2 Epipolar Line Epipole All epipolar lines pass through the epipole

Stereo X1X1 Y1Y1 Z1Z1 O1O1 Image plane Focal plane P p p’ Y2Y2 X2X2 Z2Z2 O2O2 Epipolar Line Epipole All epipolar lines pass through the epipole

Stereo X1X1 Y1Y1 Z1Z1 O1O1 Image plane Focal plane P p p’ Y2Y2 X2X2 Z2Z2 O2O2 Epipolar Line Epipole T

Stereo X1X1 Y1Y1 Z1Z1 O1O1 Image plane Focal plane P p p’ Y2Y2 X2X2 Z2Z2 O2O2 Epipolar Line Epipole T

Stereo X1X1 Y1Y1 Z1Z1 O1O1 Image plane Focal plane P p p’ Y2Y2 X2X2 Z2Z2 O2O2 Epipolar Line Epipole T T=O 2 -O 1 O1, O2, p, and p’ are on the same plane

Stereo X1X1 Y1Y1 Z1Z1 O1O1 Image plane Focal plane P p p’ Y2Y2 X2X2 Z2Z2 O2O2 Epipolar Line Epipole T O1, O2, p, and p’ are on the same plane

Stereo X1X1 Y1Y1 Z1Z1 O1O1 Image plane Focal plane P p p’ Y2Y2 X2X2 Z2Z2 O2O2 Epipolar Line Epipole T E is Essential matrix

The Essential Matrix U and v are the coordinates of point p in image plane Equation of epipolar line which corresponds to point p

The Essential Matrix Essential Matrix: Based on the Relative Geometry of the Cameras Cameras are assumed to be calibrated Has five independent parameters

Fundamental Matrix Assuming that the image coordinates of points p and p’ are u and u’ F is the fundamental matrix

Fundamental Matrix Fundamental Matrix, F, is a 3 by 3 matrix (singular with rank 2) F has 7 parameters up to scale and can be estimated from 7 point correspondences Direct Simpler Method requires 8 correspondences

Estimating Fundamental Matrix

The 8-point Algorithm

Camera Parameters Assume a camera (any camera) where the Projection Reference Point ( PRP ), is located at: Normal vector to the projection plane (View Plane Normal VPN) is given as: The View Up (VUP) vector is given as:

Transform Camera to World The general form of the matrix that transforms the camera coordinate system to the world coordinate system is,

Two Cameras Now assume we have two cameras, left camera and right camera For left camera: For right camera:

Point in the World Assume a point in the homogenous world coordinate system:

The coordinates of this point in the left camera coordinate system is: The coordinates of this point in the right camera coordinate system is:

Left Camera to World The matrix that transforms the left camera coordinate system to the world coordinate system

Right Camera to World The matrix that transforms the right camera coordinate system to the world coordinate system

Right Camera to Left Camera The matrix that transforms the right camera coordinate system to the left camera coordinate system

Given point P in the world coordinate system, the coordinate of this point in the left camera coordinate system will be:

Assuming that the focal length of the camera is f, Assume that the image of the point P on the left image plane is P’. The coordinate of the point P’ in the left camera coordinate system will be:

Assume that the image of the point P on the right image plane is P’’. The coordinate of the point P’’ in the right camera coordinate system will be:

Problem: given all the camera parameters and only the x and y coordinates of the points P’ and P’’, find the coordinates of the point P in the world coordinate system. In other words; given the projections of the point P on the left and right image planes, find the coordinates of the original point P.

From Left Camera to Right Camera

Calculate Camera Coordinates (1)

Calculate Camera Coordinates (2)

Calculate Camera Coordinates (3)