Self-calibration and multi-view geometry Class 10 Read Chapter 6 and 3.2.

Slides:



Advertisements
Similar presentations
More on single-view geometry
Advertisements

3D reconstruction.
MASKS © 2004 Invitation to 3D vision Lecture 7 Step-by-Step Model Buidling.
Self-calibration.
Structure from motion Class 9 Read Chapter 5. 3D photography course schedule (tentative) LectureExercise Sept 26Introduction- Oct. 3Geometry & Camera.
Two-view geometry.
Shape-from-X Class 11 Some slides from Shree Nayar. others.
Camera calibration and epipolar geometry
Structure from motion.
Multiple View Geometry Marc Pollefeys University of North Carolina at Chapel Hill Modified by Philippos Mordohai.
3D reconstruction class 11
Structured light and active ranging techniques Class 8.
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
Multiple View Geometry Marc Pollefeys University of North Carolina at Chapel Hill Modified by Philippos Mordohai.
Multiple View Geometry
Many slides and illustrations from J. Ponce
Self-calibration Class 21 Multiple View Geometry Comp Marc Pollefeys.
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,
Multiple View Geometry
Multiple View Geometry
Multiple View Geometry Marc Pollefeys University of North Carolina at Chapel Hill Modified by Philippos Mordohai.
Self-calibration Class 13 Read Chapter 6. Assignment 3 Collect potential matches from all algorithms for all pairs Matlab ASCII format, exchange data.
3D photography Marc Pollefeys Fall 2007
Triangulation and Multi-View Geometry Class 9 Read notes Section 3.3, , 5.1 (if interested, read Triggs’s paper on MVG using tensor notation, see.
Single View Metrology Class 3. 3D photography course schedule (tentative) LectureExercise Sept 26Introduction- Oct. 3Geometry & Camera modelCamera calibration.
Multiple View Geometry Marc Pollefeys University of North Carolina at Chapel Hill Modified by Philippos Mordohai.
Multiple View Geometry Marc Pollefeys University of North Carolina at Chapel Hill Modified by Philippos Mordohai.
May 2004Stereo1 Introduction to Computer Vision CS / ECE 181B Tuesday, May 11, 2004  Multiple view geometry and stereo  Handout #6 available (check with.
3D photography Marc Pollefeys Fall 2004 / Comp Tue & Thu 9:30-10:45
Projective 2D geometry course 2 Multiple View Geometry Comp Marc Pollefeys.
Multiple View Geometry
Epipolar geometry Class 5
Epipolar geometry Class 5. Geometric Computer Vision course schedule (tentative) LectureExercise Sept 16Introduction- Sept 23Geometry & Camera modelCamera.
Multi-view geometry. Multi-view geometry problems Structure: Given projections of the same 3D point in two or more images, compute the 3D coordinates.
Automatic Camera Calibration
875: Recent Advances in Geometric Computer Vision & Recognition Jan-Michael Frahm Fall 2011.
Multi-view geometry.
Epipolar geometry The fundamental matrix and the tensor
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 : –
Course 12 Calibration. 1.Introduction In theoretic discussions, we have assumed: Camera is located at the origin of coordinate system of scene.
Projective cameras Trifocal tensors Euclidean/projective SFM Self calibration Line geometry Purely projective cameras Je ne suis pas la la semaine prochaine.
Robot Vision SS 2007 Matthias Rüther 1 ROBOT VISION Lesson 6a: Shape from Stereo, short summary Matthias Rüther Slides partial courtesy of Marc Pollefeys.
Two-view geometry Epipolar geometry F-matrix comp. 3D reconstruction
HONGIK UNIVERSITY School of Radio Science & Communication Engineering Visual Information Processing Lab Hong-Ik University School of Radio Science & Communication.
Geometry of Multiple Views
1 Camera calibration based on arbitrary parallelograms 授課教授:連震杰 學生:鄭光位.
A Flexible New Technique for Camera Calibration Zhengyou Zhang Sung Huh CSPS 643 Individual Presentation 1 February 25,
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.
Mixing Catadioptric and Perspective Cameras
3D reconstruction from uncalibrated images
Computer vision: models, learning and inference M Ahad Multiple Cameras
776 Computer Vision Jan-Michael Frahm & Enrique Dunn Spring 2013.
Vision Sensors for Stereo and Motion Joshua Gluckman Polytechnic University.
Auto-calibration we have just calibrated using a calibration object –another calibration object is the Tsai grid of Figure 7.1 on HZ182, which can be used.
MASKS © 2004 Invitation to 3D vision Uncalibrated Camera Chapter 6 Reconstruction from Two Uncalibrated Views Modified by L A Rønningen Oct 2008.
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 : –
Projective cameras The end of projective SFM Euclidean upgrades Line geometry Purely projective cameras Présentations mercredi 26 mai de 9h30 à midi, salle.
EECS 274 Computer Vision Projective Structure from Motion.
Projective 2D geometry course 2 Multiple View Geometry Comp Marc Pollefeys.
Epipolar geometry.
3D Photography: Epipolar geometry
More on single-view geometry class 10
3D reconstruction class 11
Uncalibrated Geometry & Stratification
Two-view geometry.
Presentation transcript:

Self-calibration and multi-view geometry Class 10 Read Chapter 6 and 3.2

3D photography course schedule (tentative) LectureExercise Sept 26Introduction- Oct. 3Geometry & Camera modelCamera calibration Oct. 10Single View MetrologyMeasuring in images Oct. 17Feature Tracking/matching (Friedrich Fraundorfer) Correspondence computation Oct. 24Epipolar GeometryF-matrix computation Oct. 31Shape-from-Silhouettes (Li Guan) Visual-hull computation Nov. 7Stereo matchingProject proposals Nov. 14Structured light and active range sensing Papers Nov. 21Structure from motionPapers Nov. 28Multi-view geometry and self-calibration Papers Dec. 5Shape-from-XPapers Dec. 123D modeling and registrationPapers Dec. 19Appearance modeling and image-based rendering Final project presentations

Self-calibration Introduction Self-calibration Dual Absolute Quadric Critical Motion Sequences

Motivation Avoid explicit calibration procedure Complex procedure Need for calibration object Need to maintain calibration

Motivation Allow flexible acquisition No prior calibration necessary Possibility to vary intrinsics Use archive footage

Projective ambiguity Reconstruction from uncalibrated images  projective ambiguity on reconstruction

Stratification of geometry 15 DOF 12 DOF plane at infinity parallelism More general More structure ProjectiveAffineMetric 7 DOF absolute conic angles, rel.dist.

Constraints ? Scene constraints Parallellism, vanishing points, horizon,... Distances, positions, angles,... Unknown scene  no constraints Camera extrinsics constraints –Pose, orientation,... Unknown camera motion  no constraints Camera intrinsics constraints –Focal length, principal point, aspect ratio & skew Perspective camera model too general  some constraints

Euclidean projection matrix Factorization of Euclidean projection matrix Intrinsics: Extrinsics: Note: every projection matrix can be factorized, but only meaningful for euclidean projection matrices (camera geometry) (camera motion)

Constraints on intrinsic parameters Constant e.g. fixed camera: Known e.g. rectangular pixels: square pixels: principal point known:

Self-calibration Upgrade from projective structure to metric structure using constraints on intrinsic camera parameters Constant intrinsics Some known intrinsics, others varying Constraints on intrincs and restricted motion (e.g. pure translation, pure rotation, planar motion) (Faugeras et al. ECCV´92, Hartley´93, Triggs´97, Pollefeys et al. PAMI´99,...) (Heyden&Astrom CVPR´97, Pollefeys et al. ICCV´98,...) (Moons et al.´94, Hartley ´94, Armstrong ECCV´96,...)

A counting argument To go from projective (15DOF) to metric (7DOF) at least 8 constraints are needed Minimal sequence length should satisfy Independent of algorithm Assumes general motion (i.e. not critical)

Outline Introduction Self-calibration Dual Absolute Quadric Critical Motion Sequences

The Dual Absolute Quadric The absolute dual quadric Ω * ∞ is a fixed conic under the projective transformation H iff H is a similarity 1.8 dof 2.plane at infinity π ∞ is the nullvector of Ω ∞ 3.Angles:

Absolute Dual Quadric and Self-calibration Eliminate extrinsics from equation Equivalent to projection of Dual Abs.Quadric Dual Abs.Quadric also exists in projective world Transforming world so that reduces ambiguity to similarity

** ** projection constraints Absolute conic = calibration object which is always present but can only be observed through constraints on the intrinsics Absolute Dual Quadric and Self-calibration Projection equation: Translate constraints on K through projection equation to constraints on  *

Constraints on  *  Zero skewquadratic m Principal pointlinear 2m2m Zero skew (& p.p.)linear m Fixed aspect ratio (& p.p.& Skew) quadratic m-1 Known aspect ratio (& p.p.& Skew) linear m Focal length (& p.p. & Skew) linear m conditionconstrainttype #constraints

Linear algorithm Assume everything known, except focal length (Pollefeys et al.,ICCV´98/IJCV´99) Yields 4 constraint per image Note that rank-3 constraint is not enforced

Linear algorithm revisited (Pollefeys et al., ECCV‘02) assumptions Weighted linear equations

Projective to metric Compute T from using eigenvalue decomposition of and then obtain metric reconstruction as

Alternatives: (Dual) image of absolute conic Equivalent to Absolute Dual Quadric Practical when H  can be computed first Pure rotation (Hartley’94, Agapito et al.’98,’99) Vanishing points, pure translations, modulus constraint, …

Note that in the absence of skew the IAC can be more practical than the DIAC!

Kruppa equations Limit equations to epipolar geometry Only 2 independent equations per pair But independent of plane at infinity

Refinement Metric bundle adjustment Enforce constraints or priors on intrinsics during minimization (this is „self-calibration“ for photogrammetrist )

Outline Introduction Self-calibration Dual Absolute Quadric Critical Motion Sequences

Critical motion sequences Self-calibration depends on camera motion Motion sequence is not always general enough Critical Motion Sequences have more than one potential absolute conic satisfying all constraints Possible to derive classification of CMS (Sturm, CVPR´97, Kahl, ICCV´99, Pollefeys,PhD´99)

Critical motion sequences: constant intrinsic parameters Most important cases for constant intrinsics Critical motion typeambiguity pure translationaffine transformation (5DOF) pure rotation arbitrary position for   (3DOF) orbital motionproj.distortion along rot. axis (2DOF) planar motion scaling axis  plane (1DOF) Note relation between critical motion sequences and restricted motion algorithms

Critical motion sequences: varying focal length Most important cases for varying focal length (other parameters known) Critical motion typeambiguity pure rotation arbitrary position for   (3DOF) forward motionproj.distortion along opt. axis (2DOF) translation and rot. about opt. axis scaling optical axis (1DOF) hyperbolic and/or elliptic motion one extra solution

Critical motion sequences: algorithm dependent Additional critical motion sequences can exist for some specific algorithms when not all constraints are enforced (e.g. not imposing rank 3 constraint) Kruppa equations/linear algorithm: fixating a point Some spheres also project to circles located in the image and hence satisfy all the linear/kruppa self-calibration constraints

Non-ambiguous new views for CMS restrict motion of virtual camera to CMS use (wrong) computed camera parameters (Pollefeys,ICCV´01)

Multi-view geometry

Backprojection Represent point as intersection of row and column Useful presentation for deriving and understanding multiple view geometry (notice 3D planes are linear in 2D point coordinates) Condition for solution?

Multi-view geometry (intersection constraint) (multi-linearity of determinants) (= epipolar constraint!) (counting argument: 11x2-15=7)

Multi-view geometry (multi-linearity of determinants) (= trifocal constraint!) (3x3x3=27 coefficients) (counting argument: 11x3-15=18)

Multi-view geometry (multi-linearity of determinants) (= quadrifocal constraint!) (3x3x3x3=81 coefficients) (counting argument: 11x4-15=29)

36 from perspective to omnidirectional cameras perspective camera (2 constraints / feature) radial camera (uncalibrated) (1 constraints / feature) 3 constraints allow to reconstruct 3D point more constraints also tell something about cameras multilinear constraints known as epipolar, trifocal and quadrifocal constraints (0,0) l =(y,-x) (x,y)

37 Quadrifocal constraint

38 Radial quadrifocal tensor Linearly compute radial quadrifocal tensor Q ijkl from 15 pts in 4 views Reconstruct 3D scene and use it for calibration (2x2x2x2 tensor) (2x2x2 tensor) Not easy for real data, hard to avoid degenerate cases (e.g. 3 optical axes intersect in single point). However, degenerate case leads to simpler 3 view algorithm for pure rotation Radial trifocal tensor T ijk from 7 points in 3 views Reconstruct 2D panorama and use it for calibration (x,y)

39 Dealing with Wide FOV Camera Two-step linear approach to compute radial distortion Estimates distortion polynomial of arbitrary degree (Thirthala and Pollefeys CVPR05) undistorted image estimated distortion (4-8 coefficients)

40 Dealing with Wide FOV Camera Two-step linear approach to compute radial distortion Estimates distortion polynomial of arbitrary degree (Thirthala and Pollefeys CVPR05) unfolded cubemap estimated distortion (4-8 coefficients)

41 Non-parametric distortion calibration Models fish-eye lenses, cata-dioptric systems, etc. (Thirthala and Pollefeys, ICCV’05) normalized radius angle

42 Non-parametric distortion calibration Models fish-eye lenses, cata-dioptric systems, etc. results (Thirthala and Pollefeys, ICCV’05) normalized radius angle 90 o

43 Synthetic quadrifocal tensor example Perspective Fish-eye Spherical mirror Hyperbolic mirror

44 Perspective Fish-eye

45 Spherical mirror Hyperbolic mirror

Next class: shape-from-X Photometric stereo Shape from texture Shape from focus/defocus