1 Digital Images WorldCameraDigitizer Digital Image (i) What determines where the image of a 3D point appears on the 2D image? (ii) What determines how.

Slides:



Advertisements
Similar presentations
C280, Computer Vision Prof. Trevor Darrell Lecture 2: Image Formation.
Advertisements

Single-view geometry Odilon Redon, Cyclops, 1914.
Computer Vision, Robert Pless
3D Computer Vision and Video Computing 3D Vision Lecture 3 - Part 1 Camera Models CS80000 Section 2 Spring 2005 Professor Zhigang Zhu, Rm 4439
1 A camera is modeled as a map from a space pt (X,Y,Z) to a pixel (u,v) by ‘homogeneous coordinates’ have been used to ‘treat’ translations ‘multiplicatively’
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.
Camera Calibration. Issues: what are intrinsic parameters of the camera? what is the camera matrix? (intrinsic+extrinsic) General strategy: view calibration.
Computer vision. Camera Calibration Camera Calibration ToolBox – Intrinsic parameters Focal length: The focal length in pixels is stored in the.
Camera calibration and epipolar geometry
Camera Models A camera is a mapping between the 3D world and a 2D image The principal camera of interest is central projection.
3D Vision Topic 1 of Part II Camera Models CSC I6716 Fall 2010
1 Old summary of camera modelling 3 coordinate frame projection matrix decomposition intrinsic/extrinsic param.
1 Basic geometric concepts to understand Affine, Euclidean geometries (inhomogeneous coordinates) projective geometry (homogeneous coordinates) plane at.
Multiple View Geometry Marc Pollefeys University of North Carolina at Chapel Hill Modified by Philippos Mordohai.
Geometry of Images Pinhole camera, projection A taste of projective geometry Two view geometry:  Homography  Epipolar geometry, the essential matrix.
Used slides/content with permission from
2D/3D Geometric Transformations CS485/685 Computer Vision Dr. George Bebis.
Uncalibrated Geometry & Stratification Sastry and Yang
CS485/685 Computer Vision Prof. George Bebis
Computer Vision - A Modern Approach
Camera model Relation between pixels and rays in space ?
Computer Vision : CISC4/689
Multiple View Geometry Marc Pollefeys University of North Carolina at Chapel Hill Modified by Philippos Mordohai.
Calibration Dorit Moshe.
Vision, Video and Virtual Reality 3D Vision Lecture 12 Camera Models CSC 59866CD Fall 2004 Zhigang Zhu, NAC 8/203A
Projective Geometry and Camera model Class 2
Cameras and Projections Dan Witzner Hansen Course web page:
Previously Two view geometry: epipolar geometry Stereo vision: 3D reconstruction epipolar lines Baseline O O’ epipolar plane.
The Pinhole Camera Model
The Image Formation Pipeline
CS4670 / 5670: Computer Vision KavitaBala Lecture 15: Projection “The School of Athens,” Raphael.
Cameras, lenses, and calibration
Image formation & Geometrical Transforms Francisco Gómez J MMS U. Central y UJTL.
Camera Geometry and Calibration Thanks to Martial Hebert.
Homogeneous Coordinates (Projective Space) Let be a point in Euclidean space Change to homogeneous coordinates: Defined up to scale: Can go back to non-homogeneous.
Geometric Camera Models and 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.
Geometric Camera Models
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 Chapter 2: Geometric Camera Models Objective: Formulate the geometrical relationships between image and scene measurements Scene: a 3-D function, g(x,y,z)
Computer vision: models, learning and inference M Ahad Multiple Cameras
Affine Geometry.
Part II Plane Equation and Epipolar Geometry. Duality.
1 Overview Introduction to projective geometry 1 view geometry (calibration, …) 2-view geometry (stereo, motion, …) 3- and N-view geometry Autocalibration.
MASKS © 2004 Invitation to 3D vision Uncalibrated Camera Chapter 6 Reconstruction from Two Uncalibrated Views Modified by L A Rønningen Oct 2008.
Camera Model Calibration
Single-view geometry Odilon Redon, Cyclops, 1914.
Uncalibrated reconstruction Calibration with a rig Uncalibrated epipolar geometry Ambiguities in image formation Stratified reconstruction Autocalibration.
Example: warping triangles Given two triangles: ABC and A’B’C’ in 2D (12 numbers) Need to find transform T to transfer all pixels from one to the other.
Camera Models class 8 Multiple View Geometry Comp Marc Pollefeys.
3D Computer Vision 3D Vision Lecture 3 - Part 1 Camera Models Spring 2006 Zhang Aiwu.
Lecture 18: Cameras CS4670 / 5670: Computer Vision KavitaBala Source: S. Lazebnik.
CS682, Jana Kosecka Rigid Body Motion and Image Formation Jana Kosecka
Calibrating a single camera
Nazar Khan PUCIT Lecture 19
Geometric Model of Camera
3. Transformation
Modeling 101 For the moment assume that all geometry consists of points, lines and faces Line: A segment between two endpoints Face: A planar area bounded.
Homogeneous Coordinates (Projective Space)
Geometric Camera Models
Lecturer: Dr. A.H. Abdul Hafez
Uncalibrated Geometry & Stratification
Credit: CS231a, Stanford, Silvio Savarese
Single-view geometry Odilon Redon, Cyclops, 1914.
Transformations 2 University of British Columbia
The Pinhole Camera Model
Presentation transcript:

1 Digital Images WorldCameraDigitizer Digital Image (i) What determines where the image of a 3D point appears on the 2D image? (ii) What determines how bright that image point is? Reflectance, radiometry geometry

2 change of coordinate system: the same pt in two different systems oxy and ox’y’ point transfomation: a point (x,y) is transformed (translated) into (x’,y’) within the same coordinate frame Two different interpretations: Review of some basic geometry (compulsary for vision, graphics and robotics)

3 R is a rotation matrix=orthonormal = orthogonal and unit vectors, 2*2 matrix (only 1 d.o.f.) such that 2D general Euclidean transformation:

4 One example of R might be: 3D Euclidean transformation: Different sign

5 Naturally everything starts from the known vector space add two vectors multiply any vector by any scalar zero vector – origin finite basis One step further … vector, affine, and Euclidean spaces

6 Affine geometry and affine coordinates: E1 and e2 are any noncolinear vectors, not necessarily orthogonal unit ones No more rotation as no perpendicularity (as no dot prod.)

7 Distances -- eucl. Coord Angles, ortho Ratios – affine coord. parallelism Dot product Linear dependency

8 Given 3 points (2 vectors) on the plane, we can define an affine coordinate frame (affine basis), Any 4 th point can be expressed in terms of affine coordinates …

9 Geometric modeling of a camera u v X u O X’ u’ P3 P2 How to relate a 3D point X (in oxyz) to a 2D point in pixels (u,v)?

10 Pinhole cameras Abstract camera model - box with a small hole in it Pinhole cameras work in practice

11 Distant objects are smaller:

12 Parallel lines meet:

13 each set of parallel lines (=direction) meets at a different point –The vanishing point for this direction Sets of parallel lines on the same plane lead to collinear vanishing points. –The line is called the horizon for that plane Good ways to spot faked images –scale and perspective don’t work –vanishing points behave badly –supermarket tabloids are a great source. Vanishing points:

14

15 Vector space to affine: isomorph, one-to-one (pt=vector) vector to Euclidean as an enrichment: scalar prod. Pts, lines, parallelism Angle, distances, circles

16 X Y Z x y u v X x O f Camera coordinate frame

17 In more familiar matrix form:

18 x o y uv X Y Z x y u v X x O f Image coordinate frame

19 Image coordiante frame: intrinsic parameters If u not perpendicular to v, but an angle alpha:

20 Camera calibration matrix

21 Focal length in horizontal/vertical pixels (2) (or focal length in pixels + aspect ratio) the principal point (2) the skew (1) 5 intrinsic parameters one rough example: 135 film In practice, for most of CCD cameras: alpha u = alpha v i.e. aspect ratio=1 alpha = 90 i.e. skew s=0 (u0,v0) the middle of the image only focal length in pixels?

22 Xw Yw Zw XwXw X Y Z x y u v X x O f World (object) coordinate frame

23 World coordinate frame: extrinsic parameters Relation between the abstract algebraic and geometric models is in the intrinsic/extrinsic parameters! 6 extrinsic parameters

24 Finally, we should count properly... Finally, we have a map from a space pt (X,Y,Z) to a pixel (u,v) by

25 Summary of camera modelling 3 coordinate frame projection matrix decomposition intrinsic/extrinsic param