Euclidean cameras and strong (Euclidean) calibration Intrinsic and extrinsic parameters Linear least-squares methods Linear calibration Degenerate point.

Slides:



Advertisements
Similar presentations
3D reconstruction.
Advertisements

Two-View Geometry CS Sastry and Yang
Self-calibration.
Two-view geometry.
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
Structure from motion.
Recovering metric and affine properties from images
Projective structure from motion
1 Basic geometric concepts to understand Affine, Euclidean geometries (inhomogeneous coordinates) projective geometry (homogeneous coordinates) plane at.
Multiple View Geometry Marc Pollefeys University of North Carolina at Chapel Hill Modified by Philippos Mordohai.
Computer Vision Projective structure from motion Marc Pollefeys COMP 256 Some slides and illustrations from J. Ponce, …
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.
Many slides and illustrations from J. Ponce
Calibration Dorit Moshe.
© 2003 by Davi GeigerComputer Vision October 2003 L1.1 Structure-from-EgoMotion (based on notes from David Jacobs, CS-Maryland) Determining the 3-D structure.
Previously Two view geometry: epipolar geometry Stereo vision: 3D reconstruction epipolar lines Baseline O O’ epipolar plane.
Computer Vision Structure from motion Marc Pollefeys COMP 256 Some slides and illustrations from J. Ponce, A. Zisserman, R. Hartley, Luc Van Gool, …
Single-view geometry Odilon Redon, Cyclops, 1914.
Projected image of a cube. Classical Calibration.
Affine structure from motion
Advanced Computer Vision Structure from Motion. Geometric structure-from-motion problem: using image matches to estimate: The 3D positions of the corresponding.
Camera parameters Extrinisic parameters define location and orientation of camera reference frame with respect to world frame Intrinsic parameters define.
CSCE 641 Computer Graphics: Image-based Modeling (Cont.) Jinxiang Chai.
Introduction à la vision artificielle III Jean Ponce
Camera Geometry and Calibration Thanks to Martial Hebert.
1 Preview At least two views are required to access the depth of a scene point and in turn to reconstruct scene structure Multiple views can be obtained.
Projective cameras Motivation Elements of Projective Geometry Projective structure from motion Planches : –
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
视觉的三维运动理解 刘允才 上海交通大学 2002 年 11 月 16 日 Understanding 3D Motion from Images Yuncai Liu Shanghai Jiao Tong University November 16, 2002.
CSCE 643 Computer Vision: Structure from Motion
Geometric Camera Models
Geometry of Multiple Views
Multi-linear Systems and Invariant Theory in the Context of Computer Vision and Graphics CS329 Amnon Shashua.
Affine Structure from Motion
Single-view geometry Odilon Redon, Cyclops, 1914.
A Flexible New Technique for Camera Calibration Zhengyou Zhang Sung Huh CSPS 643 Individual Presentation 1 February 25,
EECS 274 Computer Vision Geometric Camera Calibration.
Two-view geometry. Epipolar Plane – plane containing baseline (1D family) Epipoles = intersections of baseline with image planes = projections of the.
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)
Reconnaissance d’objets et vision artificielle Jean Ponce Equipe-projet WILLOW ENS/INRIA/CNRS UMR 8548 Laboratoire.
776 Computer Vision Jan-Michael Frahm & Enrique Dunn Spring 2013.
Structure from Motion ECE 847: Digital Image Processing
Single-view geometry Odilon Redon, Cyclops, 1914.
Uncalibrated reconstruction Calibration with a rig Uncalibrated epipolar geometry Ambiguities in image formation Stratified reconstruction Autocalibration.
Structure from motion Multi-view geometry Affine structure from motion Projective structure from motion Planches : –
Instructor: Mircea Nicolescu Lecture 9
EECS 274 Computer Vision Projective Structure from Motion.
Camera Calibration Course web page: vision.cis.udel.edu/cv March 24, 2003  Lecture 17.
GEOMETRIC CAMERA CALIBRATION The Calibration Problem Least-Squares Techniques Linear Calibration from Points Reading: Chapter 3.
Projective 2D geometry course 2 Multiple View Geometry Comp Marc Pollefeys.
Calibrating a single camera
Geometric Camera Calibration
Homogeneous Coordinates (Projective Space)
Two-view geometry Computer Vision Spring 2018, Lecture 10
Epipolar geometry.
Geometric Camera Models
Advanced Computer Vision
Uncalibrated Geometry & Stratification
Course 7 Motion.
Two-view geometry.
Single-view geometry Odilon Redon, Cyclops, 1914.
The Pinhole Camera Model
Presentation transcript:

Euclidean cameras and strong (Euclidean) calibration Intrinsic and extrinsic parameters Linear least-squares methods Linear calibration Degenerate point configurations Analytical photogrammetry Affine cameras Planches : – –

The Intrinsic Parameters of a Camera Calibration Matrix The Perspective Projection Equation

The Extrinsic Parameters of a Camera p ≈ M P

Calibration Problem

Linear Camera Calibration

Linear Systems A A x xb b = = Square system: unique solution Gaussian elimination Rectangular system ?? underconstrained: infinity of solutions Minimize |Ax-b| 2 overconstrained: no solution

How do you solve overconstrained linear equations ??

Homogeneous Linear Systems A A x x0 0 = = Square system: unique solution: 0 unless Det(A)=0 Rectangular system ?? 0 is always a solution Minimize |Ax| under the constraint |x| =1 2 2

How do you solve overconstrained homogeneous linear equations ?? The solution is e. 1 E(x)-E(e 1 ) = x T (U T U)x-e 1 T (U T U)e 1 = 1  … + q  q > 1 (  … +  q 2 -1)=0

Example: Line Fitting Problem: minimize with respect to (a,b,d). Minimize E with respect to d: Minimize E with respect to a,b: where Done !! n

Note: Matrix of second moments of inertia Axis of least inertia

Linear Camera Calibration Linear least squares for n > 5 !

Once M is known, you still got to recover the intrinsic and extrinsic parameters !!! This is a decomposition problem, not an estimation problem. Intrinsic parameters Extrinsic parameters 

Degenerate Point Configurations Are there other solutions besides M ?? Coplanar points: (  )=(  ) or (  ) or (  ) Points lying on the intersection curve of two quadric surfaces = straight line + twisted cubic Does not happen for 6 or more random points!

Analytical Photogrammetry Non-Linear Least-Squares Methods Newton Gauss-Newton Levenberg-Marquardt Iterative, quadratically convergent in favorable situations

Mobile Robot Localization (Devy et al., 1997)

(Rothganger, Sudsang, & Ponce, 2002)

Affine cameras Motivation Elements of affine geometry Affine cameras Affine structure from motion Elements of projective geometry

Weak-Perspective Projection Paraperspective Projection Affine Cameras

Orthographic Projection Parallel Projection More Affine Cameras

Weak-Perspective Projection Model r (p and P are in homogeneous coordinates) p = A P + b (neither p nor P is in hom. coordinates) p = M P (P is in homogeneous coordinates)

Theorem: All affine projection models can be represented by affine projection matrices. Definition: A 2 £ 4 matrix M = [A b], where A is a rank-2 2 £ 3 matrix, is called an affine projection matrix.

General form of the weak-perspective projection equation: Theorem: An affine projection matrix can be written uniquely (up to a sign amibguity) as a weak perspective projection matrix as defined by (1). (1)

Affine cameras and affine geometry

Affine projections induce affine transformations from planes onto their images.

Affine Structure from Motion Reprinted with permission from “Affine Structure from Motion,” by J.J. (Koenderink and A.J.Van Doorn, Journal of the Optical Society of America A, 8: (1990).  1990 Optical Society of America. Given m pictures of n points, can we recover the three-dimensional configuration of these points? the camera configurations? (structure) (motion)

The Affine Structure-from-Motion Problem Given m images of n fixed points P j we can write Problem: estimate the m 2 £ 4 matrices M i and the n positions P j from the mn correspondences p ij. 2mn equations in 8m+3n unknowns Overconstrained problem, that can be solved using (non-linear) least squares!

The Affine Ambiguity of Affine SFM If M and P are solutions, i j So are M’ and P’ where i j and Q is an affine transformation. When the intrinsic and extrinsic parameters are unknown

Affine cameras and affine geometry

Affine Spaces: (Semi-Formal) Definition

Example: R as an Affine Space 2

In General The notation is justified by the fact that choosing some origin O in X allows us to identify the point P with the vector OP. Warning: P+u and Q-P are defined independently of O!!

Barycentric Combinations Can we add points? R=P+Q NO! But, when we can define Note:

Affine Subspaces

Affine Coordinates Coordinate system for U: Coordinate system for Y=O+U: Coordinate system for Y: Affine coordinates: Barycentric coordinates:

When do m+1 points define a p-dimensional subspace Y of an n-dimensional affine space X equipped with some coordinate frame basis? Writing that all minors of size (p+1)x(p+1) of D are equal to zero gives the equations of Y. Rank ( D ) = p+1, where

Affine Transformations Bijections from X to Y that: map m-dimensional subspaces of X onto m-dimensional subspaces of Y; map parallel subspaces onto parallel subspaces; and preserve affine (or barycentric) coordinates. In E they are combinations of rigid transformations, non-uniform scalings and shears. Bijections from X to Y that: map lines of X onto lines of Y; and preserve the ratios of signed lengths of line segments. 3

Affine Transformations II Given two affine spaces X and Y of dimension m, and two coordinate frames (A) and (B) for these spaces, there exists a unique affine transformation mapping (A) onto (B). Given an affine transformation from X to Y, one can always write: When coordinate frames have been chosen for X and Y, this translates into:

Affine projections induce affine transformations from planes onto their images.

Affine Shape Two point sets S and S’ in some affine space X are affinely equivalent when there exists an affine transformation  : X X such that X’ =  ( X ). Affine structure from motion = affine shape recovery. = recovery of the corresponding motion equivalence classes.

Affine Structure from Motion Reprinted with permission from “Affine Structure from Motion,” by J.J. (Koenderink and A.J.Van Doorn, Journal of the Optical Society of America A, 8: (1990).  1990 Optical Society of America. Given m pictures of n points, can we recover the three-dimensional configuration of these points? the camera configurations? (structure) (motion)

Geometric affine scene reconstruction from two images (Koenderink and Van Doorn, 1991).

The Projective Structure-from-Motion Problem Given m perspective images of n fixed points P we can write Problem: estimate the m 3x4 matrices M and the n positions P from the mn correspondences p. i j ij 2mn equations in 11m+3n unknowns Overconstrained problem, that can be solved using (non-linear) least squares! j

The Projective Ambiguity of Projective SFM If M and P are solutions, i j So are M’ and P’ where i j and Q is an arbitrary non-singular 4x4 matrix. When the intrinsic and extrinsic parameters are unknown Q is a projective transformation.

Projective Spaces: (Semi-Formal) Definition

A Model of P( R ) 3