Camera Calibration from Planar Patterns Homework 2 Help SessionCS223bStanford University Mitul Saha (courtesy: Jean-Yves Bouguet, Intel)

Slides:



Advertisements
Similar presentations
Zhengyou Zhang Vision Technology Group Microsoft Research
Advertisements

Instituto de Sistemas e Robótica TELE-3D Calibrator Camera Calibration Using Intel OpenCV Library.
Single-view geometry Odilon Redon, Cyclops, 1914.
Simultaneous surveillance camera calibration and foot-head homology estimation from human detection 1 Author : Micusic & Pajdla Presenter : Shiu, Jia-Hau.
Lecture 11: Two-view geometry
Last 4 lectures Camera Structure HDR Image Filtering Image Transform.
Correcting Projector Distortions on Planar Screens via Homography
Two-View Geometry CS Sastry and Yang
Self-calibration.
Two-view geometry.
Omnidirectional camera calibration
Image alignment Image from
Single-view metrology
1 Old summary of camera modelling 3 coordinate frame projection matrix decomposition intrinsic/extrinsic param.
Some useful linear algebra. Linearly independent vectors span(V): span of vector space V is all linear combinations of vectors v i, i.e.
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
Epipolar Geometry and the Fundamental Matrix F
Announcements Project 2 questions Midterm out on Thursday
Lecture 21: Multiple-view geometry and structure from motion
3D reconstruction of cameras and structure x i = PX i x’ i = P’X i.
Uncalibrated Epipolar - Calibration
Lecture 20: Light, color, and reflectance CS6670: Computer Vision Noah Snavely.
Panorama signups Panorama project issues? Nalwa handout Announcements.
Lecture 16: Single-view modeling, Part 2 CS6670: Computer Vision Noah Snavely.
Camera calibration and single view metrology Class 4 Read Zhang’s paper on calibration
Lecture 20: Two-view geometry CS6670: Computer Vision Noah Snavely.
Panoramas and Calibration : Rendering and Image Processing Alexei Efros …with a lot of slides stolen from Steve Seitz and Rick Szeliski.
Projected image of a cube. Classical Calibration.
CSE 576, Spring 2008Projective Geometry1 Lecture slides by Steve Seitz (mostly) Lecture presented by Rick Szeliski.
Camera parameters Extrinisic parameters define location and orientation of camera reference frame with respect to world frame Intrinsic parameters define.
Today: Calibration What are the camera parameters?
Sebastian Thrun CS223B Computer Vision, Winter Stanford CS223B Computer Vision, Winter 2006 Lecture 4 Camera Calibration Professor Sebastian Thrun.
Projective Geometry and Single View Modeling CSE 455, Winter 2010 January 29, 2010 Ames Room.
Single-view modeling, Part 2 CS4670/5670: Computer Vision Noah Snavely.
Automatic Camera Calibration
Lecture 12: Image alignment CS4670/5760: Computer Vision Kavita Bala
Simple Calibration of Non-overlapping Cameras with a Mirror
Camera Geometry and Calibration Thanks to Martial Hebert.
© 2005 Yusuf Akgul Gebze Institute of Technology Department of Computer Engineering Computer Vision Geometric Camera Calibration.
Last Lecture (optical center) origin principal point P (X,Y,Z) p (x,y) x y.
Camera calibration Digital Visual Effects Yung-Yu Chuang with slides by Richard Szeliski, Steve Seitz,, Fred Pighin and Marc Pollefyes.
Metrology 1.Perspective distortion. 2.Depth is lost.
Vision Review: Image Formation Course web page: September 10, 2002.
Project 2 –contact your partner to coordinate ASAP –more work than the last project (> 1 week) –you should have signed up for panorama kitssigned up –sign.
Announcements Project 3 due Thursday by 11:59pm Demos on Friday; signup on CMS Prelim to be distributed in class Friday, due Wednesday by the beginning.
Camera Calibration Sebastian Thrun, Gary Bradski, Daniel Russakoff Stanford CS223B Computer Vision (with material from.
Ch. 3: Geometric Camera Calibration
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.
Reconnaissance d’objets et vision artificielle Jean Ponce Equipe-projet WILLOW ENS/INRIA/CNRS UMR 8548 Laboratoire.
Calibration.
Single-view geometry Odilon Redon, Cyclops, 1914.
Project 1 Due NOW Project 2 out today –Help session at end of class Announcements.
Project 2 went out on Tuesday You should have a partner You should have signed up for a panorama kit Announcements.
Multi-view geometry. Multi-view geometry problems Structure: Given projections of the same 3D point in two or more images, compute the 3D coordinates.
Lecture 16: Image alignment
Calibrating a single camera
Geometric Camera Calibration
55:148 Digital Image Processing Chapter 11 3D Vision, Geometry
Digital Visual Effects, Spring 2007 Yung-Yu Chuang 2007/4/17
Two-view geometry Computer Vision Spring 2018, Lecture 10
A study of the paper Rui Rodrigues, João P
Some useful linear algebra
George Mason University
Projective geometry Readings
Lecture 8: Image alignment
Camera Calibration from Planar Patterns
Back to equations of geometric transformations
Announcements Project 2 extension: Friday, Feb 8
Presentation transcript:

Camera Calibration from Planar Patterns Homework 2 Help SessionCS223bStanford University Mitul Saha (courtesy: Jean-Yves Bouguet, Intel)

Camera Calibration Object Space Image Space x c y c M m m = [ Camera Projection Matrix ] M A [R t] camera intrinsics extrinsics f x f y f x alpha* o x o y 0 001

Camera Calibration Object Space Image Space x c y c M m m = [ Camera Projection Matrix ] M A [R t] camera intrinsics extrinsics f x f y f x alpha* o x o y Camera calibration is about finding the camera intrinsics But, why do we need them?

Camera Calibration Common approach Planar pattern Non-planar pattern

Camera Calibration from Planar Patterns ICCV Zhang’99: “Flexible Calibration by Viewing a Plane From Unknown Orientations” m = [ Camera Projection Matrix ] M A [R t] observed estimate: A [R t] M Minimize:

Camera Calibration from Planar Patterns ICCV Zhang’99: “Flexible Calibration by Viewing a Plane From Unknown Orientations” m = [ Camera Projection Matrix ] M A [R t] observed estimate: A [R t] M Minimize: Two steps: Find an initial solution for A [R t] Minimize the objective function using the initial solution

Camera Calibration from Planar Patterns Finding an initial solution –First step Estimate the image homography matrix H for each image [u, v, 1] T x is the eigenvector of L T L with smallest eigenvalue Initial solution for minimization: Minimize: L

Camera Calibration from Planar Patterns Finding an initial solution –First step Estimate the image homography matrix H for each image –Second step Solve for b in the linear system: V b = 0 b is the eigenvector of V T V with smallest eigenvalue V = B = A –T A -1

Camera Calibration from Planar Patterns Finding an initial solution –First step Estimate the image homography matrix H for each image –Second step Solve for b in the linear system: b yields the intrinsic parameter matrix A. Rotation matrix [r1 r2 r3] and translation t is computed from: V b = 0

Camera Calibration from Planar Patterns Finding an initial solution –First step Estimate the image homography matrix H for each image –Second step Solve for b in the linear system: b yields the intrinsic parameter matrix A. Rotation matrix [r1 r2 r3] and translation t: But the computed rotation matrix does not satisfy the properties of rotation matrix: R T R=RR T =I. One can it enforce by: min||R new - R||, [U D V] = SVD(R), R new = UV T V b = 0

Camera Calibration from Planar Patterns m = [ Camera Projection Matrix ] M A [R t] observed estimate: A [R t] M Minimize: Two steps: Find an initial solution for A [R t] Minimize the objective function using the initial solution use “lsqnonlin” in Matlab