Overview. Uncalibrated Camera. Uncalibrated Two-View Geometry. Calibration with a rig. Calibrated camera. Uncalibrated epipolar geometry

Similar documents
Introduction Epipolar Geometry Calibration Methods Further Readings. Stereo Camera Calibration

Lecture 2: Homogeneous Coordinates, Lines and Conics

Geometric Camera Parameters

Projective Geometry: A Short Introduction. Lecture Notes Edmond Boyer

Projective Geometry. Projective Geometry

Relating Vanishing Points to Catadioptric Camera Calibration

2-View Geometry. Mark Fiala Ryerson University

Epipolar Geometry. Readings: See Sections 10.1 and 15.6 of Forsyth and Ponce. Right Image. Left Image. e(p ) Epipolar Lines. e(q ) q R.

Epipolar Geometry and Visual Servoing

521493S Computer Graphics. Exercise 2 & course schedule change

Critical Motions for Auto-Calibration When Some Intrinsic Parameters Can Vary

DETECTION OF PLANAR PATCHES IN HANDHELD IMAGE SEQUENCES

Least-Squares Intersection of Lines

B4 Computational Geometry

Interactive 3D Scanning Without Tracking

Linear Algebra Review. Vectors

α = u v. In other words, Orthogonal Projection

Wii Remote Calibration Using the Sensor Bar

3 Orthogonal Vectors and Matrices

5. Orthogonal matrices

A Flexible New Technique for Camera Calibration

Multiple View Geometry in Computer Vision

Inner Product Spaces and Orthogonality

EXPERIMENTAL EVALUATION OF RELATIVE POSE ESTIMATION ALGORITHMS

Projective Reconstruction from Line Correspondences

Metric Measurements on a Plane from a Single Image

An Efficient Solution to the Five-Point Relative Pose Problem

STUDIES IN ROBOTIC VISION, OPTICAL ILLUSIONS AND NONLINEAR DIFFUSION FILTERING

3D Scanner using Line Laser. 1. Introduction. 2. Theory

Review Jeopardy. Blue vs. Orange. Review Jeopardy

THE problem of visual servoing guiding a robot using

Euclidean Structure from N 2 Parallel Circles: Theory and Algorithms

Metrics on SO(3) and Inverse Kinematics

Computer Graphics. Geometric Modeling. Page 1. Copyright Gotsman, Elber, Barequet, Karni, Sheffer Computer Science - Technion. An Example.

The Singular Value Decomposition in Symmetric (Löwdin) Orthogonalization and Data Compression

Linear algebra and the geometry of quadratic equations. Similarity transformations and orthogonal matrices

3D Tranformations. CS 4620 Lecture 6. Cornell CS4620 Fall 2013 Lecture Steve Marschner (with previous instructors James/Bala)

Time Domain and Frequency Domain Techniques For Multi Shaker Time Waveform Replication

Similarity and Diagonalization. Similar Matrices

13 MATH FACTS a = The elements of a vector have a graphical interpretation, which is particularly easy to see in two or three dimensions.

1.3. DOT PRODUCT If θ is the angle (between 0 and π) between two non-zero vectors u and v,

Elasticity Theory Basics

ASEN Structures. MDOF Dynamic Systems. ASEN 3112 Lecture 1 Slide 1

Orthogonal Diagonalization of Symmetric Matrices

CS 534: Computer Vision 3D Model-based recognition

Nonlinear Iterative Partial Least Squares Method

Lecture 5: Singular Value Decomposition SVD (1)

INTRODUCTION TO RENDERING TECHNIQUES

LINES AND PLANES CHRIS JOHNSON

Chapter 6. Orthogonality

How To Analyze Ball Blur On A Ball Image

DATA ANALYSIS II. Matrix Algorithms

Realtime 3D Computer Graphics Virtual Reality

Numerical Analysis Lecture Notes

Optical Tracking Using Projective Invariant Marker Pattern Properties

1.5 Equations of Lines and Planes in 3-D

State of Stress at Point

Eigenvalues and Eigenvectors

CS 4204 Computer Graphics

Camera geometry and image alignment

x = + x 2 + x

Recall the basic property of the transpose (for any A): v A t Aw = v w, v, w R n.

Geometric Transformation CS 211A

Affine Object Representations for Calibration-Free Augmented Reality

Bindel, Spring 2012 Intro to Scientific Computing (CS 3220) Week 3: Wednesday, Feb 8

11.1. Objectives. Component Form of a Vector. Component Form of a Vector. Component Form of a Vector. Vectors and the Geometry of Space

Similar matrices and Jordan form

. P. 4.3 Basic feasible solutions and vertices of polyhedra. x 1. x 2

3. Let A and B be two n n orthogonal matrices. Then prove that AB and BA are both orthogonal matrices. Prove a similar result for unitary matrices.

An Introduction to Projective Geometry. Stan Bircheld. world so well. In Euclidean geometry, the sides of objects have lengths, intersecting

University of Lille I PC first year list of exercises n 7. Review

Solution Guide III-C. 3D Vision. Building Vision for Business. MVTec Software GmbH

Part-Based Recognition

Notes on the representational possibilities of projective quadrics in four dimensions

The Geometry of Polynomial Division and Elimination

Monash University Clayton s School of Information Technology CSE3313 Computer Graphics Sample Exam Questions 2007

CHAPTER 8 FACTOR EXTRACTION BY MATRIX FACTORING TECHNIQUES. From Exploratory Factor Analysis Ledyard R Tucker and Robert C.

The Geometry of Perspective Projection

Solving Simultaneous Equations and Matrices

Geometry: Unit 1 Vocabulary TERM DEFINITION GEOMETRIC FIGURE. Cannot be defined by using other figures.

Essential Mathematics for Computer Graphics fast

Applied Linear Algebra

8 Square matrices continued: Determinants

Rotation Matrices and Homogeneous Transformations

2. SPATIAL TRANSFORMATIONS

UNIVERSITY OF PUNE, PUNE BOARD OF STUDIES IN MATHEMATICS SYLLABUS

Orthogonal Projections

Mathematics (MAT) MAT 061 Basic Euclidean Geometry 3 Hours. MAT 051 Pre-Algebra 4 Hours

Content. Chapter 4 Functions Basic concepts on real functions 62. Credits 11

Linear Algebra: Determinants, Inverses, Rank

CS3220 Lecture Notes: QR factorization and orthogonal transformations

Algebra 2 Chapter 1 Vocabulary. identity - A statement that equates two equivalent expressions.

Multidimensional data and factorial methods

MATH APPLIED MATRIX THEORY

(a) We have x = 3 + 2t, y = 2 t, z = 6 so solving for t we get the symmetric equations. x 3 2. = 2 y, z = 6. t 2 2t + 1 = 0,

Equations Involving Lines and Planes Standard equations for lines in space

x1 x 2 x 3 y 1 y 2 y 3 x 1 y 2 x 2 y 1 0.

Common Core Unit Summary Grades 6 to 8

Geometric description of the cross product of the vectors u and v. The cross product of two vectors is a vector! u x v is perpendicular to u and v

Stereo-Based 3D Scene Reconstruction for Telepresence and Teleaction

Transcription:

Uncalibrated Camera calibrated coordinates Uncalibrated Two-View Geometry Linear transformation pixel coordinates l 1 2 Overview Uncalibrated Camera Calibration with a rig Uncalibrated epipolar geometry Ambiguities in image formation Calibrated camera Image plane coordinates Camera extrinsic parameters Perspective projection y c x Stratified reconstruction Autocalibration with partial scene knowledge Uncalibrated camera Pixel coordinates Projection matrix 3 4

Taxonomy on Uncalibrated Reconstruction Calibration with a Rig Use the fact that both 3-D and 2-D coordinates of feature points on a pre-fabricated object (e.g., a cube) are known. is known, back to calibrated case is unknown Calibration with complete scene knowledge (a rig) estimate Uncalibrated reconstruction despite the lack of knowledge of Autocalibration (recover from uncalibrated images) Use partial knowledge Parallel lines, vanishing points, planar motion, constant intrinsic Ambiguities, stratification (multiple views) 5 6 Calibration with a Rig Uncalibrated Epipolar Geometry Given 3-D coordinates on known object Eliminate unknown scales Recover projection matrix Epipolarconstraint Factor the into and using QR decomposition Solve for translation Fundamental matrix Equivalent forms of 7 8

Properties of the Fundamental Matrix Properties of the Fundamental Matrix A nonzero matrix is a fundamental matrix if a singular value decomposition (SVD) with Epipolar lines Epipoles has Image correspondences for some. There is little structure in the matrix 9 except that 10 Two view linear algorithm 8-point algorithm Estimating Fundamental Matrix Find such F that the epipolar error is minimized Solve the LLSE problem: Pixel coordinates Fundamental matrix can be estimated up to scale Solution eigenvector associated with smallest eigenvalue of Denote Compute SVD of F recovered from data Project onto the essential manifold: Rewrite Collect constraints from all points 11 cannot be unambiguously decomposed into pose and calibration 12 3

Calibrated vs. Uncalibrated Space Calibrated vs. Uncalibrated Space Distances and angles are modified by S 13 14 Motion in the distorted space What Does F Tell Us? Calibrated space Uncalibrated space can be inferred from point matches (eight-point algorithm) Cannot extract motion, structure and calibration from one fundamental matrix (two views) Uncalibrated coordinates are related by allows reconstruction up to a projective transformation (as we will see soon) Conjugate of the Euclidean group encodes all the geometric information among two views when no additional information is available 15 16

Decomposing the Fundamental Matrix Decomposition of the fundamental matrix into a skew symmetric matrix and a nonsingular matrix Projective Reconstruction From points, extract, followed by computation of projection matrices and structure Canonical decomposition Decomposition of is not unique Given projection matrices recover structure Unknown parameters - ambiguity Projective ambiguity non-singular 4x4 matrix Corresponding projection matrix 17 Both and are consistent with the epipolar geometry give the same fundamental matrix 18 Projective Reconstruction Euclidean vs Projective reconstruction Given projection matrices recover projective structure This is a linear problem and can be solve using linear least-squares Euclidean reconstruction true metric properties of objects lenghts (distances), angles, parallelism are preserved Unchanged under rigid body transformations => Euclidean Geometry properties of rigid bodies under rigid body transformations, similarity transformation Projective reconstruction projective camera matrices and projective structure Projective reconstruction lengths, angles, parallelism are NOT preserved we get distorted images of objects their distorted 3D counterparts --> 3D projective reconstruction => Projective Geometry Euclidean Structure Projective Structure 19 20

Homogeneous Coordinates (RBM) Homogenous and Projective Coordinates 3-D coordinates are related by: Homogeneous coordinates: Homogenous coordinates in 3D before attach 1 as the last coordinate render the transformation as linear transformation Before 4th coordinat cnot be zero 0 Projective coordinates all points are equivalent up to a scale 2D- projective plane Homogeneous coordinates are related by: 3D- projective space Each point on the plane is represented by a ray in projective space 21 Homogenous and Projective Coordinates 22 Vanishing points Representation of a 3-D line in homogeneous coordinates Ideal points last coordinate is 0 ray parallel to the image plane point at infinity never intersects the image plane When λ -> - vanishing points last coordinate -> 0 Projection of a line - line in the image plane 23 24 6

Ambiguities in the image formation Potential Ambiguities Ambiguities in Image Formation Structure of the (uncalibrated) projection matrix Ambiguity in K (K can be recovered uniquely Cholesky or QR) For any invertible 4 x 4 matrix In the uncalibrated case we cannot distinguish between camera imaging word from camera imaging distorted world Structure of the motion parameters In general, is of the following form Just an arbitrary choice of reference frame In order to preserve the choice of the first reference frame we can restrict some DOF of 25 26 Structure of the Projective Ambiguity Stratified (Euclidean) Reconstruction 1 st frame as reference General ambiguity while preserving choice of first reference frame Choose the projective reference frame then ambiguity is Decomposing the ambiguity into affine and projective one can be further decomposed as Note the different effect of the 4-th homogeneous coordinate 27 28

Affine upgrade Affine upgrade using vanishing points Upgrade projective structure to an affine structure How to compute Maps the points To points with affine coordinates Exploit partial scene knowledge Vanishing points, no skew, known principal point Special motions Pure rotation, pure translation, planar motion, rectilinear motion Constant camera parameters (multi-view) Vanishing points last homogeneous affine coordinate is 0 29 30 Affine Upgrade Euclidean upgrade Need at least three vanishing points We need to estimate remaining affine ambiguity 3 equations, 4 unknowns (-1 scale) Solve for Alternatives: Set up structure and update the projective In the case of special motions (e.g. pure rotation) no projective ambiguity cannot do projective reconstruction Estimate directly (special case of rotating camera follows) Multi-view case estimate projective and affine ambiguity together Use additional constraints of the scene structure (next) Autocalibration (Kruppa equations) 31 32

Euclidean upgrade using vanishing points Geometric Stratification Vanishing points intersections of the parallel lines Vanishing points of three orthogonal directions Orthogonal directions inner product is zero Provide directly constraints on matrix S has 5 degrees of freedom, 3 vanishing points 3 constraints (need additional assumption about K) Assume zero skew and aspect ratio = 1 33 34 Applications of projective geometry Rotation Only - Calibrated Case Calibrated Two views related by rotation only Mapping to a reference view rotation can be estimated Mapping to a cylindrical surface Vermeer s Music Lesson 35 36

Rotation Only - Uncalibrated Case Overview of the methods Calibrated Two views related by rotation only Conjugate rotation can be estimated Given C, how much does it tell us about K (or S)? Given three rotations around linearly independent axes S, K can be estimated using linear techniques Applications image mosaics 37 38 Summary Direct Autocalibration Methods The fundamental matrix satisfies the Kruppa s equations If the fundamental matrix is known up to scale Under special motions, Kruppa s equations become linear. Solution to Kruppa s equations is sensitive to noises. 39 40

Direct Stratification from Multiple Views Summary of (Auto)calibration Methods From the recovered projective projection matrix we obtain the absolute quadric contraints Partial knowledge in (e.g. zero skew, square pixel) renders the above constraints linear and easier to solve. The projection matrices can be recovered from the multiple-view rank method to be introduced later. 41 42 Projective transformations in 2D Images of planes (+ rectification) And what remains invariant Projective transformation 8-DOF (collinearity, cross ratios) There is one-to-one mapping between two images of a plane or between image plane and world plane Affine transformation 6-DOF (parallelism, ration of areas, length ratios) 2D projective transformation H homography (3x3 matrix) Estimation of homography from point correspondences 1. eliminate unknown depth Similarity transformation 4-DOF (angles, length ratios) Rigid Body Motion 3-DOF (angles, lengths, areas) 2. get two independent constraints per point (9-1) unknowns 3. need at least 4 points to estimate H 4. H is can be estimated up to a scale factor 43 44

Using H Solving for homographies p p Image based rectification (given some points in 3D world) compute H which would map them into a square Use H to rectify the entire image In calibrated case inter-image homography 45 46 Solving for homographies LLS solution to solving a system of homogeneous equations Solution eigenvector associated with the smallest eigenvalue of A T A 47