CS4670 / 5670: Computer Vision KavitaBala Lecture 15: Projection “The School of Athens,” Raphael.

Slides:



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

CS 691 Computational Photography Instructor: Gianfranco Doretto 3D to 2D Projections.
More Mosaic Madness : Computational Photography Alexei Efros, CMU, Fall 2011 © Jeffrey Martin (jeffrey-martin.com) with a lot of slides stolen from.
Paris town hall.
Computer vision: models, learning and inference
Computer vision. Camera Calibration Camera Calibration ToolBox – Intrinsic parameters Focal length: The focal length in pixels is stored in the.
Camera Models A camera is a mapping between the 3D world and a 2D image The principal camera of interest is central projection.
2D Geometric Transformations
1 Basic geometric concepts to understand Affine, Euclidean geometries (inhomogeneous coordinates) projective geometry (homogeneous coordinates) plane at.
Announcements. Projection Today’s Readings Nalwa 2.1.
Used slides/content with permission from
2D/3D Geometric Transformations CS485/685 Computer Vision Dr. George Bebis.
Lecture 5: Projection CS6670: Computer Vision Noah Snavely.
Lecture 7: Image Alignment and Panoramas CS6670: Computer Vision Noah Snavely What’s inside your fridge?
Announcements Mailing list (you should have received messages) Project 1 additional test sequences online Talk today on “Lightfield photography” by Ren.
CS485/685 Computer Vision Prof. George Bebis
Lecture 5: Cameras and Projection CS6670: Computer Vision Noah Snavely.
Lecture 6: Image transformations and alignment CS6670: Computer Vision Noah Snavely.
COMP322/S2000/L221 Relationship between part, camera, and robot (cont’d) the inverse perspective transformation which is dependent on the focal length.
Camera model Relation between pixels and rays in space ?
Announcements Mailing list Project 1 test the turnin procedure *this week* (make sure it works) vote on best artifacts in next week’s class Project 2 groups.
Lecture 13: Projection, Part 2
Lecture 12: Projection CS4670: Computer Vision Noah Snavely “The School of Athens,” Raphael.
Lecture 6: Image Warping and Projection CS6670: Computer Vision Noah Snavely.
Single-view geometry Odilon Redon, Cyclops, 1914.
The Pinhole Camera Model
CV: 3D sensing and calibration
Panoramas and Calibration : Rendering and Image Processing Alexei Efros …with a lot of slides stolen from Steve Seitz and Rick Szeliski.
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.
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.
Cameras, lenses, and calibration
Image formation and cameras
EEM 561 Machine Vision Week 10 :Image Formation and Cameras
776 Computer Vision Jan-Michael Frahm, Enrique Dunn Spring 2013.
Lecture 14: Projection CS4670 / 5670: Computer Vision Noah Snavely “The School of Athens,” Raphael.
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
CSE 681 Review: Transformations. CSE 681 Transformations Modeling transformations build complex models by positioning (transforming) simple components.
CS559: Computer Graphics Lecture 9: Projection Li Zhang Spring 2008.
May 9, 2005 Andrew C. Gallagher1 CRV2005 Using Vanishing Points to Correct Camera Rotation Andrew C. Gallagher Eastman Kodak Company
Geometric Camera Models
Peripheral drift illusion. Multiple views Hartley and Zisserman Lowe stereo vision structure from motion optical flow.
Lecture 03 15/11/2011 Shai Avidan הבהרה : החומר המחייב הוא החומר הנלמד בכיתה ולא זה המופיע / לא מופיע במצגת.
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.
Projection Readings Nalwa 2.1 Szeliski, Ch , 2.1
Camera diagram Computing K from 1 image HZ8.8 IAC and K HZ8.5 Camera matrix from F HZ9.5 IAC HZ , 8.5 Extracting camera parameters HZ6.2 Camera matrix.
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)
Image Formation and Cameras CSE 455 Linda Shapiro 1.
Single-view geometry Odilon Redon, Cyclops, 1914.
Digital Image Processing Additional Material : Imaging Geometry 11 September 2006 Digital Image Processing Additional Material : Imaging Geometry 11 September.
CS559: Computer Graphics Lecture 9: 3D Transformation and Projection Li Zhang Spring 2010 Most slides borrowed from Yungyu ChuangYungyu Chuang.
Announcements Project 1 grading session this Thursday 2:30-5pm, Sieg 327 –signup ASAP:signup –10 minute slot to demo your project for a TA »have your program.
Lecture 14: Projection CS4670 / 5670: Computer Vision Noah Snavely “The School of Athens,” Raphael.
CS-498 Computer Vision Week 7, Day 2 Camera Parameters Intrinsic Calibration  Linear  Forward and backward projection 1.
Lecture 18: Cameras CS4670 / 5670: Computer Vision KavitaBala Source: S. Lazebnik.
CSE 185 Introduction to Computer Vision
CS682, Jana Kosecka Rigid Body Motion and Image Formation Jana Kosecka
Geometric Model of Camera
CS4670 / 5670: Computer Vision Kavita Bala Lecture 20: Panoramas.
CS5670: Computer Vision Lecture 9: Cameras Noah Snavely
CS 790: Introduction to Computational Vision
Geometric Camera Models
Announcements Midterm out today Project 1 demos.
Projection Readings Nalwa 2.1.
Single-view geometry Odilon Redon, Cyclops, 1914.
The Pinhole Camera Model
Camera model and calibration
Presentation transcript:

CS4670 / 5670: Computer Vision KavitaBala Lecture 15: Projection “The School of Athens,” Raphael

Announcements Prelim on Thu – Everything before this slide – Bring your calculator – 7:30 pm, Location: Call Auditorium, Kennedy Hall

Camera parameters How many numbers do we need to describe a camera? We need to describe its pose in the world We need to describe its internal parameters

A Tale of Two Coordinate Systems “The World” Camera x y z v w u o COP Two important coordinate systems: 1. World coordinate system 2. Camera coordinate system

Camera parameters To project a point (x,y,z) in world coordinates into a camera First transform (x,y,z) into camera coordinates Need to know – Camera position (in world coordinates) – Camera orientation (in world coordinates) Then project into the image plane – Need to know camera intrinsics These can all be described with matrices

Projection equation The projection matrix models the cumulative effect of all parameters Camera parameters

Projection equation The projection matrix models the cumulative effect of all parameters Camera parameters A camera is described by several parameters Translation T of the optical center from the origin of world coords Rotation R of the image plane focal length f, principal point (x’ c, y’ c ), pixel size (s x, s y ) blue parameters are called “extrinsics,” red are “intrinsics”

Projection equation The projection matrix models the cumulative effect of all parameters Useful to decompose into a series of operations projectionintrinsicsrotationtranslation identity matrix Camera parameters A camera is described by several parameters Translation T of the optical center from the origin of world coords Rotation R of the image plane focal length f, principal point (x’ c, y’ c ), pixel size (s x, s y ) blue parameters are called “extrinsics,” red are “intrinsics” The definitions of these parameters are not completely standardized –especially intrinsics—varies from one book to another

Projection matrix 0 = (in homogeneous image coordinates)

Extrinsics How do we get the camera to “canonical form”? – (Center of projection at the origin, x-axis points right, y-axis points up, z-axis points backwards) 0

Affine change of coordinates Coordinate frame: point plus basis Need to change representation of point from one basis to another Canonical: origin (0,0) w/ axes e1, e2 “Frame to canonical” matrix has frame in columns – takes points represented in frame – represents them in canonical basis Recap from 4620 C C

Another way of thinking about this Change of coordinates Recap from 4620 C

On the Board Recap from 4620

Coordinate frame summary Frame = point plus basis Frame matrix (frame-to-canonical) is Move points to and from frame by multiplying with F Recap from 4620 C

Extrinsics How do we get the camera to “canonical form”? – (Center of projection at the origin, x-axis points right, y-axis points up, z-axis points backwards) 0 Step 1: Translate by -c

Extrinsics How do we get the camera to “canonical form”? – (Center of projection at the origin, x-axis points right, y-axis points up, z-axis points backwards) 0 Step 1: Translate by -c

Extrinsics How do we get the camera to “canonical form”? – (Center of projection at the origin, x-axis points right, y-axis points up, z-axis points backwards) 0 Step 1: Translate by -c Step 2: Rotate by R 3x3 rotation matrix

Extrinsics How do we get the camera to “canonical form”? – (Center of projection at the origin, x-axis points right, y-axis points up, z-axis points backwards) 0 Step 1: Translate by -c Step 2: Rotate by R

Perspective projection (intrinsics) (converts from 3D rays in camera coordinate system to pixel coordinates)

Perspective projection (intrinsics) in general, : aspect ratio (1 unless pixels are not square) : skew (0 unless pixels are shaped like rhombi/parallelograms) : principal point ((0,0) unless optical axis doesn’t intersect projection plane at origin) (upper triangular matrix) (converts from 3D rays in camera coordinate system to pixel coordinates)

Projection matrix (t in book’s notation) translationrotationprojection intrinsics

Focal length Can think of as “zoom” Related to field of view 24mm50mm 200mm 800mm

Fredo Durand

01/21/dolly_zoom_supercut_video_shows_th e_vertigo_effect_in_jaws_goodfellas_raging.h tml

Fredo Durand