« Uncalibrated Vision based on Structured Light » Joaquim Salvi 2 David Fofi 1 El Mustapha Mouaddib 3 3 CREA EA 3299 Université de Picardie Jules Verne.

Slides:



Advertisements
Similar presentations
Computer Vision, Robert Pless
Advertisements

3D reconstruction.
Computer vision: models, learning and inference
1 pb.  camera model  calibration  separation (int/ext)  pose Don’t get lost! What are we doing? Projective geometry Numerical tools Uncalibrated cameras.
Mapping: Scaling Rotation Translation Warp
Two-view geometry.
Lecture 8: Stereo.
Camera calibration and epipolar geometry
Structure from motion.
Single-view metrology
Multiple View Geometry Marc Pollefeys University of North Carolina at Chapel Hill Modified by Philippos Mordohai.
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.
3D reconstruction of cameras and structure x i = PX i x’ i = P’X i.
Many slides and illustrations from J. Ponce
Uncalibrated Epipolar - Calibration
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,
Stereo and Structure from Motion
Single-view geometry Odilon Redon, Cyclops, 1914.
Projected image of a cube. Classical Calibration.
Camera Calibration CS485/685 Computer Vision Prof. Bebis.
Camera parameters Extrinisic parameters define location and orientation of camera reference frame with respect to world frame Intrinsic parameters define.
Stockman MSU/CSE Math models 3D to 2D Affine transformations in 3D; Projections 3D to 2D; Derivation of camera matrix form.
CS 558 C OMPUTER V ISION Lecture IX: Dimensionality Reduction.
Today: Calibration What are the camera parameters?
3-D Scene u u’u’ Study the mathematical relations between corresponding image points. “Corresponding” means originated from the same 3D point. Objective.
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
Introduction à la vision artificielle III Jean Ponce
Euclidean cameras and strong (Euclidean) calibration Intrinsic and extrinsic parameters Linear least-squares methods Linear calibration Degenerate point.
Camera Geometry and Calibration Thanks to Martial Hebert.
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 : –
Metrology 1.Perspective distortion. 2.Depth is lost.
Geometric Camera Models
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.
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.
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.
MASKS © 2004 Invitation to 3D vision Uncalibrated Camera Chapter 6 Reconstruction from Two Uncalibrated Views Modified by L A Rønningen Oct 2008.
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 : –
Robotics Chapter 6 – Machine Vision Dr. Amit Goradia.
EECS 274 Computer Vision Projective Structure from Motion.
Multi-view geometry. Multi-view geometry problems Structure: Given projections of the same 3D point in two or more images, compute the 3D coordinates.
Calibrating a single camera
The Brightness Constraint
Epipolar geometry.
3D Photography: Epipolar geometry
The Brightness Constraint
Geometric Camera Models
3D reconstruction class 11
Multiple View Geometry for Robotics
Uncalibrated Geometry & Stratification
Two-view geometry.
Two-view geometry.
Multi-view geometry.
Single-view geometry Odilon Redon, Cyclops, 1914.
Presentation transcript:

« Uncalibrated Vision based on Structured Light » Joaquim Salvi 2 David Fofi 1 El Mustapha Mouaddib 3 3 CREA EA 3299 Université de Picardie Jules Verne Amiens, France 2 VICOROB - IIiA Universitat de Girona Girona, España 1 Le2i UMR CNRS 5158 Université de Bourgogne Le Creusot, France

0. Outline 1.Introduction 2.Tools for uncalibrated vision 3.Uncalibrated reconstruction 4.Experimental results 5.Conclusion ……………………………

I. Introduction 1.Structured light vision 2.Calibration vs uncalibration ……………………………

IMAGE PLANE PATTERN FRAME « Structured light vision » ……………….. J. Salvi, J. Batlle, E. Mouaddib, "A robust-coded pattern projection for dynamic measurement of moving scenes", Pattern Recognition Letters, 19, pp , J. Batlle, E. Mouaddib, J. Salvi, "Recent progress in coded structured light to solve the correspondence problem. A survey", Pattern Recognition, 31(7), pp , ……………………...……………………………

DRAWBACKS OF HARD-CALIBRATION: Off-line process (calibration pattern, etc.) Has to be repeated each time one of the parameters is modified Working with a camera with automatic focus and aperture is NOT possible. Visual adaptation to the environment is not allowed! A slide or LCD projector needs to be focused. RECONSTRUCTION FROM UNCALIBRATED SENSOR... « Calibration vs uncalibration » ……………………...……………………………

II. Tools for uncalibrated vision 1.Test of spatial colinearity 2.Test of coplanarity 3.Stability of the cross-ratio 4.Validity of the affine model ……………………………

« Test of spatial colinearity » S R Q P Cross-ratio within the pattern and cross-ratio within the image are equals if the points are colinear. ……………………...……………………………

« Test of coplanarity » p o'p' q'r' s' o qr s {o;p,q,r,s}={o';p',q',r'} Cross-ratio within the pattern and cross-ratio within the image are equals if the point are colinear. ……………………...……………………………

« Stability of the cross-ratio » Error on cross-ratios with a noise from 0 to 0.5d (d is the distance between two successive points) Nota: to compare cross-ratios a projective distance is necessary. Method of the random cross-ratios. ……………….. K. Aström, L. Morin, "Random cross-ratios", Research Report n°rt 88 imag-14, LIFIA, ……………………...……………………………

« Validity of the affine model » ……………………...…………………………… affine projection m n m' n' Valid if  0

III. Uncalibrated reconstruction 1.Projective reconstruction 2.Structured light limitations 3.Euclidean constraints through structured lighting ……………………………

Recover the scene structure from n images and m points and... Intrinsic parameters Extrinsic parameters Scene geometry Points matching    PROJECTIVE RECONSTRUCTION « Projective reconstruction » ……………………...……………………………

PARAMETERS ESTIMATION APPROACH, CANONICAL REPRESENTATION « Structured light limitations » ……………….. R. Mohr, B. Boufama, P. Brand, “Accurate projective reconstruction”, Proc. of the 2 nd ESPRIT-ARPA-NSF Workshop on Invariance, Azores, pp , Q.-T. Luong, T. Viéville, "Canonical representations for the geometries of multiple projective views", Proc. of the 3 rd Euro. Conf. on Computer Vision, Stockholm (Sweden), = MOVEMENT OF THE PROJECTOR MOVEMENT OF THE 3-D POINTS THE PATTERN SLIDES ALONG THE OBJECTS RECONSTRUCTION FROM TWO VIEWS (i.e. one view and one pattern projection) CAMERA + PROJECTOR HETEROGENEITY OF THE SENSOR INTRINSIC PARAMETERS CANNOT BE ASSUMED CONSTANT ……………………...……………………………

n images composed by m points... p ij : image point A j : projection matrix P j : object point (U ij, V ij ) : pixel co-ordinates « The parameters estimation approach » ……………………...……………………………

A unique solution cannot be performed because... W is a 4x4 invertible matrix… a collineation of the 3-D space 4x4 - 1 (scale factor) = 15 degrees of freedom, thus... 5 co-ordinates object points assigned to AN ARBITRARY PROJECTIVE BASIS. A RECONSTRUCTION WITH RESPECT TO A PROJECTIVE FRAME (distances, angles, parallelism are not preserved) « The parameters estimation approach » ……………………...……………………………

Euclidean transformations form a sub-group of projective transformations... A collineation W upgrades projective reconstruction to Euclidean one. TRANSLATING EUCLIDEAN KNOWLEDGE OF THE SCENE INTO MATHEMATICAL CONSTRAINTS ON THE ENTRIES OF W. Matching projective points with their corresponding Euclidean points ? YES, BUT... Euclidean co-ordinates of points are barely available… … if they are: pattern cross-points have to be projected exactly onto these object points. « From projective to Euclidean » ……………….. B. Boufama, R. Mohr, F. Veillon, "Euclidean constraints for uncalibrated reconstruction", Proc. of the 4 th Int. Conf. on Computer Vision, Berlin (Germany), pp , ……………………...……………………………

PROJECTED SQUARE ONTO A PLANAR SURFACE IMAGE CAPTURE A B C D The sensor behaviour is assumed to be affine... « Parallelogram constraints » ……………………...……………………………

Pattern Vert. plane Horiz. plane Points belonging to horizontal or vertical plane... Arbitrary distance between two planes... Cross-point as origin… « Alignment constraints » ……………………...……………………………

otherwise… reduced orthogonality constraint: « Orthogonality constraints » ……………………...…………………………… A'B' ·A'C' = (x A' - x B' )(x A' - x C' )+ (y A' - y B' )(y A' - y C' )+ (z A' - z B' )(z A' -z C' ) = 0 (x A' - x B' )(x A' - x C' )+ (y A' - y B' )(y A' - y C' ) = 0 Light stripes Light planes Projected lines Planar surfaces A C B A' B' C'

« Example » ……………………...…………………………… An alignment constraint : x A' = x B' (relation between unknown Euclidean points) We have: [x A' ; y A' ; z A' ; t A' ] T = W· [x A ; y A ; z A ; t A ] T [x B' ; y B' ; z B' ; t B' ] T = W· [x B ; y B ; z B ; t B ] T Then: W 1i ·x A = W 1i ·x B (relation between known projective points) … same way for the other constraints… The set of equations is solved by a non-linear optimisation method as Levenberg-Marquardt. 15 independent constraints are necessary (W is a 4  4 matrix defined up to a scale factor)

IV. Experimental results 1.Colinearity 2.Coplanarity 3.Euclidean reconstruction ……………………………

« Colinearity » Theoretical (pattern) cross-ratio = Measured (image) cross-ratio = Projective error =6.9  Decision = the points are colinear Theoretical cross-ratio = Measured cross-ratio = Projective error =6.2  Decision = the points are not colinear ……………………...……………………………

« Coplanarity » Theoretical cross-ratio = 2 Measured cross-ratio = 1.96 Projective error =2.2  Decision = the points are coplanar Theoretical cross-ratio = 2 Measured cross-ratio = Projective error =5.9  Decision = the points are not coplanar ……………………...……………………………

« Euclidean reconstruction: synthetic data » re-projection of 3D points onto the image planes (circles: synthetic points, crosses: re-projections) ……………………...……………………………

« Euclidean reconstructions » ……………………...……………………………

V. Conclusion ……………………………

Projective reconstruction from a single pattern projection and a single image capture. Pattern projection used to retrieve geometrical knowledge of the scene: uncalibrated Euclidean reconstruction. Structured lighting ensures there is known scene structure. Structured light provides numerous contraints. Tests of colinearity and coplanarity can be used to retrieve projective basis (5 points, no 4 of them being coplanar, no 3 of them being colinear).