CS 223b Assignment 2: Review Vaibhav Vaish Escher: Looking inside “Another World”

Slides:



Advertisements
Similar presentations
Camera Calibration.
Advertisements

Feature Based Image Mosaicing
The fundamental matrix F
Last 4 lectures Camera Structure HDR Image Filtering Image Transform.
Correcting Projector Distortions on Planar Screens via Homography
Mapping: Scaling Rotation Translation Warp
CSc D Computer Vision – Ioannis Stamos 3-D Computer Vision CSc Camera Calibration.
Image alignment Image from
Postcalibrating RBLFs Vaibhav Vaish. A “Really Big Light Field” 1300x1030 color images 62x56 viewpoints per slab Seven slabs of 3472 images each
Stanford CS223B Computer Vision, Winter 2007 Lecture 8 Structure From Motion Professors Sebastian Thrun and Jana Košecká CAs: Vaibhav Vaish and David Stavens.
3D reconstruction of cameras and structure x i = PX i x’ i = P’X i.
Uncalibrated Epipolar - Calibration
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,
Image Stitching and Panoramas
Sebastian Thrun and Jana Kosecha CS223B Computer Vision, Winter 2007 Stanford CS223B Computer Vision, Winter 2007 Lecture 4 Camera Calibration Professors.
Single-view geometry Odilon Redon, Cyclops, 1914.
Projected image of a cube. Classical Calibration.
Camera Calibration CS485/685 Computer Vision Prof. Bebis.
CS4670: Computer Vision Kavita Bala Lecture 7: Harris Corner Detection.
Camera parameters Extrinisic parameters define location and orientation of camera reference frame with respect to world frame Intrinsic parameters define.
Stockman MSU/CSE Math models 3D to 2D Affine transformations in 3D; Projections 3D to 2D; Derivation of camera matrix form.
CSCE 641 Computer Graphics: Image-based Modeling (Cont.) Jinxiang Chai.
CS 223b Assignment 3: Review Vaibhav Vaish. Epipolar Geometry From Multiple View Geometry, Hartley & Zisserman, Pg. 211 CC’C’
Sebastian Thrun CS223B Computer Vision, Winter Stanford CS223B Computer Vision, Winter 2006 Lecture 4 Camera Calibration Professor Sebastian Thrun.
Automatic Camera Calibration
Lecture 12: Image alignment CS4670/5760: Computer Vision Kavita Bala
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.
Last Lecture (optical center) origin principal point P (X,Y,Z) p (x,y) x y.
Course 12 Calibration. 1.Introduction In theoretic discussions, we have assumed: Camera is located at the origin of coordinate system of scene.
Imaging Geometry for the Pinhole Camera Outline: Motivation |The pinhole camera.
ENE MATHLAB ® Lecture 3: Matrix Review. Determinant  To use MATLAB to compute determinants:  Enter the determinant as an array.  Use ‘det’ command.
CS654: Digital Image Analysis Lecture 8: Stereo Imaging.
CSCE 643 Computer Vision: Structure from Motion
Metrology 1.Perspective distortion. 2.Depth is lost.
Peripheral drift illusion. Multiple views Hartley and Zisserman Lowe stereo vision structure from motion optical flow.
Lecture 03 15/11/2011 Shai Avidan הבהרה : החומר המחייב הוא החומר הנלמד בכיתה ולא זה המופיע / לא מופיע במצגת.
Computer Vision : CISC 4/689 Going Back a little Cameras.ppt.
Single-view geometry Odilon Redon, Cyclops, 1914.
Ch. 3: Geometric Camera Calibration
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)
Reconnaissance d’objets et vision artificielle Jean Ponce Equipe-projet WILLOW ENS/INRIA/CNRS UMR 8548 Laboratoire.
Chapter 7 Day 3 Book Section 7.5 Get 2 grids for the 2 shift problems!
ELE 488 Fall 2006 Image Processing and Transmission ( )
Lecture 9 Feature Extraction and Motion Estimation Slides by: Michael Black Clark F. Olson Jean Ponce.
3D Reconstruction Using Image Sequence
3D Sensing 3D Shape from X Perspective Geometry Camera Model Camera Calibration General Stereo Triangulation 3D Reconstruction.
Camera Model Calibration
Single-view geometry Odilon Redon, Cyclops, 1914.
Instructor: Mircea Nicolescu Lecture 9
Midterm Review. Tuesday, November 3 7:15 – 9:15 p.m. in room 113 Psychology Closed book One 8.5” x 11” sheet of notes on both sides allowed Bring a calculator.
Use Linear Equations in Slope- Intercept Form Lesson 5.2 OBJ: to write an equation of a line using points on the line.
EE 7730 Parametric Motion Estimation. Bahadir K. Gunturk2 Parametric (Global) Motion Affine Flow.
Lecture 10: Image alignment CS4670/5760: Computer Vision Noah Snavely
Multiplication Timed Tests.
Lecture 16: Image alignment
Calibrating a single camera
Depth from disparity (x´,y´)=(x+D(x,y), y)
Graphing Linear Inequalities
Lecture 7: Image alignment
Find 4 A + 2 B if {image} and {image} Select the correct answer.
Camera Calibration class 9
2D transformations (a.k.a. warping)
Lecture 8: Image alignment
Single-view geometry Odilon Redon, Cyclops, 1914.
The Pinhole Camera Model
Calibration and homographies
Image Stitching Linda Shapiro ECE/CSE 576.
Lecture 11: Image alignment, Part 2
Image Stitching Linda Shapiro ECE P 596.
Presentation transcript:

CS 223b Assignment 2: Review Vaibhav Vaish Escher: Looking inside “Another World”

Harris Corner Detection: Demo

Harris Corner Detection If we shift the image, do the corners shift by the same amount ?

Camera Calibration: What is it ? Given a (3D) point, what is the location of its (2D) projection in the camera ? (X,Y,Z) (x,y)

Perspective Camera: 3x4 matrix Pixel coordinates: (x/w, y/w) This can be shown from the lecture notes You can refer to the text for more details … … but is not really needed for this homework.

Affine Camera Not as accurate as perspective model … … but much simpler!

Affine Camera No division involved … linear relation Proof: see Multiple View Geometry, Ch 5, by Hartley and Zisserman if interested

Step 1: Locate feature points Harris corners Stanford Calibration Grid Detector – For Linux (vine.stanford.edu) only!

Step 2: Get Correspondences Associate grid corners (x i, y i ) with 3D coordinates (X i, Y i, Z i ) – Mismatches can be fatal

Step 3: Set up system of equations Ax = b x : unknown entries of camera matrix A : depends on 3D coordinates b: depends on corner coordinates Question: What are the sizes of A, x, b ?

Step 4: Solve it Ax = b Find x * which minimizes the squared error ||Ax – b|| 2 In Matlab: x * = A \ b

Step 4.1: Debug it How do we check if the calibration parameters are “correct” ? – Look at the average error ||Ax – b|| – Test the camera matrix on some 3D points and compare with the actual images Common Bugs: – Mismatch between features and 3D points – Incorrect 3D coordinates

A Cube in Perspective Belvedere M. C. Escher, 1958