Self-Calibration and Metric Reconstruction from Single Images Ruisheng Wang Frank P. Ferrie Centre for Intelligent Machines, McGill University.

Slides:



Advertisements
Similar presentations
Zhengyou Zhang Vision Technology Group Microsoft Research
Advertisements

Vanishing points  .
Practical Camera Auto-Calibration Based on Object Appearance and Motion for Traffic Scene Visual Surveillance Zhaoxiang Zhang, Min Li, Kaiqi Huang and.
Vanishing Point Detection and Tracking
Simultaneous surveillance camera calibration and foot-head homology estimation from human detection 1 Author : Micusic & Pajdla Presenter : Shiu, Jia-Hau.
3D reconstruction.
Digital Camera and Computer Vision Laboratory Department of Computer Science and Information Engineering National Taiwan University, Taipei, Taiwan, R.O.C.
Computer vision: models, learning and inference
Self-calibration.
3D M otion D etermination U sing µ IMU A nd V isual T racking 14 May 2010 Centre for Micro and Nano Systems The Chinese University of Hong Kong Supervised.
Two-view geometry.
P.1 JAMES S. Bethel Wonjo Jung Geomatics Engineering School of Civil Engineering Purdue University APR Sensor Modeling and Triangulation for an.
A Versatile Depalletizer of Boxes Based on Range Imagery Dimitrios Katsoulas*, Lothar Bergen*, Lambis Tassakos** *University of Freiburg **Inos Automation-software.
Localization of Piled Boxes by Means of the Hough Transform Dimitrios Katsoulas Institute for Pattern Recognition and Image Processing University of Freiburg.
Camera calibration and epipolar geometry
Multi video camera calibration and synchronization.
Epipolar geometry. (i)Correspondence geometry: Given an image point x in the first view, how does this constrain the position of the corresponding point.
Uncalibrated Geometry & Stratification Sastry and Yang
Image Mosaicing from Uncalibrated Views of a Surface of Revolution
Multiple View Geometry Marc Pollefeys University of North Carolina at Chapel Hill Modified by Philippos Mordohai.
Many slides and illustrations from J. Ponce
COMP322/S2000/L221 Relationship between part, camera, and robot (cont’d) the inverse perspective transformation which is dependent on the focal length.
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 11: Structure from motion CS6670: Computer Vision Noah Snavely.
Passive Object Tracking from Stereo Vision Michael H. Rosenthal May 1, 2000.
Lecture 16: Single-view modeling, Part 2 CS6670: Computer Vision Noah Snavely.
Multiple View Geometry Marc Pollefeys University of North Carolina at Chapel Hill Modified by Philippos Mordohai.
Single-view geometry Odilon Redon, Cyclops, 1914.
Projected image of a cube. Classical Calibration.
CS223b, Jana Kosecka Rigid Body Motion and Image Formation.
Camera parameters Extrinisic parameters define location and orientation of camera reference frame with respect to world frame Intrinsic parameters define.
David Luebke Modeling and Rendering Architecture from Photographs A hybrid geometry- and image-based approach Debevec, Taylor, and Malik SIGGRAPH.
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.
Projective Geometry and Single View Modeling CSE 455, Winter 2010 January 29, 2010 Ames Room.
776 Computer Vision Jan-Michael Frahm, Enrique Dunn Spring 2013.
Automatic Camera Calibration
Single View Geometry Course web page: vision.cis.udel.edu/cv April 7, 2003  Lecture 19.
© 2005 Yusuf Akgul Gebze Institute of Technology Department of Computer Engineering Computer Vision Geometric Camera Calibration.
Course 12 Calibration. 1.Introduction In theoretic discussions, we have assumed: Camera is located at the origin of coordinate system of scene.
3D SLAM for Omni-directional Camera
Y. Moses 11 Combining Photometric and Geometric Constraints Yael Moses IDC, Herzliya Joint work with Ilan Shimshoni and Michael Lindenbaum, the Technion.
May 9, 2005 Andrew C. Gallagher1 CRV2005 Using Vanishing Points to Correct Camera Rotation Andrew C. Gallagher Eastman Kodak Company
视觉的三维运动理解 刘允才 上海交通大学 2002 年 11 月 16 日 Understanding 3D Motion from Images Yuncai Liu Shanghai Jiao Tong University November 16, 2002.
CS654: Digital Image Analysis Lecture 8: Stereo Imaging.
Geometric Camera Models
© 2005 Martin Bujňák, Martin Bujňák Supervisor : RNDr.
Lecture 03 15/11/2011 Shai Avidan הבהרה : החומר המחייב הוא החומר הנלמד בכיתה ולא זה המופיע / לא מופיע במצגת.
CS654: Digital Image Analysis Lecture 25: Hough Transform Slide credits: Guillermo Sapiro, Mubarak Shah, Derek Hoiem.
Single-view geometry Odilon Redon, Cyclops, 1914.
CS-498 Computer Vision Week 7, Day 2 Camera Parameters Intrinsic Calibration  Linear  Radial Distortion (Extrinsic Calibration?) 1.
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.
Plane-based external camera calibration with accuracy measured by relative deflection angle Chunhui Cui , KingNgiNgan Journal Image Communication Volume.
3D reconstruction from uncalibrated images
3D Reconstruction Using Image Sequence
Single-view geometry Odilon Redon, Cyclops, 1914.
Robotics Chapter 6 – Machine Vision Dr. Amit Goradia.
Lecture 14: Projection CS4670 / 5670: Computer Vision Noah Snavely “The School of Athens,” Raphael.
Ancona - Municipality Hall The principal point PP is the intersection of the three heights of the triangle with vertices the three V.P. The V.P. procedure.
CS682, Jana Kosecka Rigid Body Motion and Image Formation Jana Kosecka
Calibrating a single camera
3D Single Image Scene Reconstruction For Video Surveillance Systems
Epipolar geometry.
Reconstruction.
Projective geometry Readings
Video Compass Jana Kosecka and Wei Zhang George Mason University
Camera Calibration Coordinate change Translation P’ = P – O
Single-view geometry Odilon Redon, Cyclops, 1914.
Presentation transcript:

Self-Calibration and Metric Reconstruction from Single Images Ruisheng Wang Frank P. Ferrie Centre for Intelligent Machines, McGill University

Outline Contributions Existing Methods The Idea Our Method Comparison Conclusion

Contributions We developed a direct solution to 3D reconstruction from single images which is model based – No model-to-image projection and readjustment procedure We made it possible to perform accurate 3D measurement using an uncalibrated* camera based on single images only We quantitatively evaluated our model-based approach with vanishing point based method, and the results indicate our approach is better than vanishing point based method * Intrinsic parameters known/estimated

Three vanishing points Vanishing Points (VPs) Based Method Determine three orthogonal vanishing points – Manual detection – Search over Gaussian sphere – Hough transform – Projective geometry Determine camera focal length and rotation Determine camera translation and model dimensions

Problems in VPs Based Method Three orthogonal VPs may not be always available – One or two vanishing point only Hard to accurately determine VPs – Need many lines The accuracy of VPs affects the accuracy of the 3D reconstruction 1 Point Perspective2 Points Perspective

Methods with Ground Control Points/Lines Point-based methods – Collinearity Equations Line-based methods – Model-to-Image Fitting From Debevec et al.1996

The Idea Use model to estimate camera exterior orientation – Need 6 parameters X3, Y3, L, W, H, If an object-centered coordinate system selected – Need three parameters L, W, H Divide camera parameters into two groups: rotation and translation It’s possible to estimate relative camera exterior orientation without using GCPs and Vanishing Points L H 3 6 WX Y Z H W Z 3Y X O L X3, Y3

Overview of Our Approach Self-Calibration – Recover camera rotation Initial estimate of camera rotation Refinement of camera rotation – Determine camera translation and building dimensions Simultaneous estimates of camera translation and the first building dimensions Metric Reconstruction – Roughly estimate the second building orientation – Refine the second building orientation – Determine the second building dimensions and location

Initial estimate of camera rotation Refinement of camera rotation Recover Camera Rotation Imaging Geometry Relationship

Form objective function Solve a constrained quadratic form minimization problem Determine Camera Translation and the First Building Dimensions Imaging Geometry Relationship

Building 2 Model edge 56 (v, u) Camera Coordinate System Image edge 56{(x 1, y 1, -f), (x 2, y 2, -f)} Object Coordinate System Building 1 Model edge 67(v, u) 5 m (m x, m y, m z ) C 3( X 3, Y 3 ) z Y t(X 0, Y 0,Z 0 ) R 1 Assuming both buildings lie on the same ground plane Initial estimate of the second building orientation Refinement of the second building orientation Recover the Second Building Orientation Imaging Geometry Relationship x

Building 2 Model edge 56 (v, u) Camera Coordinate System Image edge 56{(x 1, y 1, -f), (x 2, y 2, -f)} Object Coordinate System Building 1 Model edge 67(v, u) 5 m (m x, m y, m z ) C 3( X 3, Y 3 ) z Y t(X 0, Y 0,Z 0 ) R 1 Determine the Second Building Dimensions and Locations Unknown parameters – Building dimensions L, W, H – Building location X 3, Y 3 Known parameters – Camera pose – Building orientation Solution – Solve a set of linear equations Imaging Geometry Relationship x

Comparison with VP based Methods Using Identical Simulation Data Using same error for two methods – Additive random noise in endpoints of image segments – Principle points offsets Impact on the outputs from two methods – Camera pose – Geometry of the reconstructed buildings – Topology of the reconstructed buildings

Random Errors in Image Segments

Principle Point Offsets

Comparison Using Identical Real Data Digital Camera: Canon PowerShot SD750 Image size (3072x 2304 pixels) Image 2: Burnside Hall, McGill universityImage 1: Two boxes

Results from the Image 1 Unit: mmDimensions measured using a ruler Dimensions computed from the image Absolute errors Left Box Width V M Height V M Right Box Length V M Width V M49.61 Height V M

Results from the Image 2 Unit: meterDimensions from DWG fileDimensions computed from the image Length Width Height D model of Burnside Hall in Google Earth Visualization of the recovered camera pose and building

Conclusions Interactive solution to metric reconstruction from single images – Model-based approach but without model-to-image projection and readjustment procedure – better than vanishing point based methods Using an off-the-shelf camera, taking a picture, one can get object dimensions

Thank You!

Experimental Design Camera Parameters Building Parameters Focal Length (m) X 0 (m)Y 0 (m)Z 0 (m)Omg (degree) Phi ( degree) Kap ( degree) Building 1Building 2 Length (m) Width (m) Height (m) Orientation along X axis (degree) Location of a building model vertex (m)X3X Y3Y