COMP322/S2000/L23/L24/L251 Camera Calibration The most general case is that we have no knowledge of the camera parameters, i.e., its orientation, position,

Slides:



Advertisements
Similar presentations
3D reconstruction.
Advertisements

November 12, 2013Computer Vision Lecture 12: Texture 1Signature Another popular method of representing shape is called the signature. In order to compute.
MASKS © 2004 Invitation to 3D vision Lecture 7 Step-by-Step Model Buidling.
Computer vision: models, learning and inference
Mapping: Scaling Rotation Translation Warp
Camera Calibration. Issues: what are intrinsic parameters of the camera? what is the camera matrix? (intrinsic+extrinsic) General strategy: view calibration.
COMP322/S2000/L201 Recognition: Object Descriptor Example: A binary image, object is indicated by one’s Run Length.
Structure from motion.
3D Geometry and Camera Calibration. 3D Coordinate Systems Right-handed vs. left-handedRight-handed vs. left-handed x yz x yz.
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
COMP322/S2000/L221 Relationship between part, camera, and robot (cont’d) the inverse perspective transformation which is dependent on the focal length.
Uncalibrated Epipolar - Calibration
COMP322/S2000/L211 Relationship between part, camera, and robot For any object (part) on a robot pick up table, any point on the part can be given in three.
Calibration Dorit Moshe.
Single-view geometry Odilon Redon, Cyclops, 1914.
The Pinhole Camera Model
Camera Calibration CS485/685 Computer Vision Prof. Bebis.
CSE473/573 – Stereo Correspondence
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.
Camera Parameters and Calibration. Camera parameters From last time….
Today: Calibration What are the camera parameters?
Computer Vision Spring ,-685 Instructor: S. Narasimhan Wean 5403 T-R 3:00pm – 4:20pm Lecture #15.
Automatic Camera Calibration
1 Chapter 6 – Determinant Outline 6.1 Introduction to Determinants 6.2 Properties of the Determinant 6.3 Geometrical Interpretations of the Determinant;
Machine Vision for Robots
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.
Camera Calibration class 9 Multiple View Geometry Comp Marc Pollefeys.
© 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.
Geometric Models & Camera Calibration
Imaging Geometry for the Pinhole Camera Outline: Motivation |The pinhole camera.
视觉的三维运动理解 刘允才 上海交通大学 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.
CSCE 643 Computer Vision: Structure from Motion
Lecture 03 15/11/2011 Shai Avidan הבהרה : החומר המחייב הוא החומר הנלמד בכיתה ולא זה המופיע / לא מופיע במצגת.
Computer Vision : CISC 4/689 Going Back a little Cameras.ppt.
Ch. 3: Geometric Camera Calibration
CS-498 Computer Vision Week 7, Day 2 Camera Parameters Intrinsic Calibration  Linear  Radial Distortion (Extrinsic Calibration?) 1.
M. Zareinejad 1. 2 Grounded interfaces Very similar to robots Need Kinematics –––––– Determine endpoint position Calculate velocities Calculate force-torque.
Plane-based external camera calibration with accuracy measured by relative deflection angle Chunhui Cui , KingNgiNgan Journal Image Communication Volume.
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)
College Algebra Sixth Edition James Stewart Lothar Redlin Saleem Watson.
3D Reconstruction Using Image Sequence
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.
Computers in Civil Engineering 53:081 Spring 2003 Lecture #8 Roots of Equations: Systems of Equations.
3D Sensing 3D Shape from X Perspective Geometry Camera Model Camera Calibration General Stereo Triangulation 3D Reconstruction.
Camera Model Calibration
Determining 3D Structure and Motion of Man-made Objects from Corners.
Digital Image Processing Additional Material : Imaging Geometry 11 September 2006 Digital Image Processing Additional Material : Imaging Geometry 11 September.
Robotics Chapter 6 – Machine Vision Dr. Amit Goradia.
COMP322/S2000/L111 Inverse Kinematics Given the tool configuration (orientation R w and position p w ) in the world coordinate within the work envelope,
Lec 26: Fundamental Matrix CS4670 / 5670: Computer Vision Kavita Bala.
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
Computer vision: models, learning and inference
Lecture 3: Camera Rotations and Homographies
Advanced Computer Vision
Camera Calibration class 9
Multiple View Geometry for Robotics
Uncalibrated Geometry & Stratification
Camera Calibration Coordinate change Translation P’ = P – O
Multi-view geometry.
Single-view geometry Odilon Redon, Cyclops, 1914.
Image Stitching Linda Shapiro ECE/CSE 576.
Image Stitching Linda Shapiro ECE P 596.
Presentation transcript:

COMP322/S2000/L23/L24/L251 Camera Calibration The most general case is that we have no knowledge of the camera parameters, i.e., its orientation, position, focal length, the distances between pixels in the image. Equations (non-linear) can be established to solve for these parameters (Ref. R.Tsai, in 1987 has an algorithm that will compute all these parameters). For this course, we only need to estimate the transformation matrix to allow us to compute the coordinates of any points w.r.t. the base of the robot given their corresponding pixel values, i.e.,

COMP322/S2000/L23/L24/L252 Camera Calibration Let Multiplying out, we have 4 equations: 12 unknowns ==> need 12 equations

COMP322/S2000/L23/L24/L253 Camera Calibration Three sets of known points, P 1, P 2, and P 3 : Re-arrange into Matrix form, (Ma = d): we have a (12x12) system of equations:

COMP322/S2000/L23/L24/L254 Camera Calibration Note: l The points have to be chosen carefully so that the 12x12 matrix is non-singular, i.e. inverse does exist. l Next question: what about values of b 13, b 23, b 33, and b 43 ? A: Due to the fact that z p is zero in the image plane, no equation can be formulated to derive these 4 values. !! Alternatively, we consider the inverse equation: Let

COMP322/S2000/L23/L24/L255 Camera Calibration Multiplying and obtain 4 equations: Since we can compute we can equate and sub. eq.(4) into eq.(1) to obtain: Similarly, sub. eq.(4) into eq.(2) to obtain:

COMP322/S2000/L23/L24/L256 Camera Calibration Re-arranging the terms, we have 2 equations: Dividing by m 44 and setting m ij <= (m ij / m 44 ), i.e., M = M/ m 44 and M becomes From the 2 equations, we have 11 unknowns, thus, we need 6 points to set up 11 equations to solve for the 11 unknowns.

COMP322/S2000/L23/L24/L257 Camera Calibration 11 linear equations in matrix form (Ma = d): eq.(5):

COMP322/S2000/L23/L24/L258 Camera Calibration Note: l Again, the 6 points have to be chosen very carefully so that the matrix is non-singular and a solution exists l Question: What about values of m 31, m 32, m 33, m 34 ? A: consider eq.(3), since all variables have positive values, ==>

COMP322/S2000/L23/L24/L259 Camera Calibration Thus, the transformation matrix becomes

COMP322/S2000/L23/L24/L2510 Relationship between base, part, and camera Now, we can compute the coordinates of any point w.r.t. the base of a robot given the corresponding pixel values of the point by the equation or Note: l M does not represent the parameters of the camera model l The choice of points is important. (LAB-4)

COMP322/S2000/L23/L24/L2511 Notes on LAB-4 l Develop a general program which computes the inverse of an (n by n) matrix. l Obtain test points: l use image processing to find the pixel values l use the robot arm to find the coordinates w.r.t. the base l arrange the values into matrix form l Solve for m ij in eq.(5). l Image processing program to recognize and identify the pick up locations of the part. l Question: How to compare the hole and part?

COMP322/S2000/L23/L24/L2512 Pattern (Shape) Matching Recall, we have some object descriptors: l Chain code of the object boundary; l Centroid of the object; l Orientation of the object; and l Bounding rectangle of the object. Some criteria for assembly task: l shape should be rotation invariant; and l shape is size dependent. (details are given in class)