Computer Vision : CISC 4/689 Going Back a little Cameras.ppt.

Slides:



Advertisements
Similar presentations
Single-view geometry Odilon Redon, Cyclops, 1914.
Advertisements

The fundamental matrix F
Lecture 11: Two-view geometry
Institut für Elektrische Meßtechnik und Meßsignalverarbeitung Professor Horst Cerjak, Augmented Reality VU 2 Calibration Axel Pinz.
MASKS © 2004 Invitation to 3D vision Lecture 7 Step-by-Step Model Buidling.
Computer vision: models, learning and inference
Camera Calibration. Issues: what are intrinsic parameters of the camera? what is the camera matrix? (intrinsic+extrinsic) General strategy: view calibration.
Lecture 8: Stereo.
Image alignment Image from
Camera calibration and epipolar geometry
Image alignment Image from
Mosaics con’t CSE 455, Winter 2010 February 10, 2010.
Multiple View Geometry
Lecture 7: Image Alignment and Panoramas CS6670: Computer Vision Noah Snavely What’s inside your fridge?
Lecture 21: Multiple-view geometry and structure from motion
Multiple View Geometry Marc Pollefeys University of North Carolina at Chapel Hill Modified by Philippos Mordohai.
Lecture 9: Image alignment CS4670: Computer Vision Noah Snavely
Fitting a Model to Data Reading: 15.1,
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,
Lecture 8: Image Alignment and RANSAC
Single-view geometry Odilon Redon, Cyclops, 1914.
Camera parameters Extrinisic parameters define location and orientation of camera reference frame with respect to world frame Intrinsic parameters define.
Lecture 10: Robust fitting CS4670: Computer Vision Noah Snavely.
3-D Scene u u’u’ Study the mathematical relations between corresponding image points. “Corresponding” means originated from the same 3D point. Objective.
Instance-level recognition I. - Camera geometry and image alignment Josef Sivic INRIA, WILLOW, ENS/INRIA/CNRS UMR 8548 Laboratoire.
Robust fitting Prof. Noah Snavely CS1114
776 Computer Vision Jan-Michael Frahm, Enrique Dunn Spring 2013.
Automatic Camera Calibration
Epipolar Geometry and Stereo Vision Computer Vision CS 543 / ECE 549 University of Illinois Derek Hoiem 03/05/15 Many slides adapted from Lana Lazebnik,
Image Stitching Ali Farhadi CSE 455
CSC 589 Lecture 22 Image Alignment and least square methods Bei Xiao American University April 13.
Epipolar geometry The fundamental matrix and the tensor
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.
Course 12 Calibration. 1.Introduction In theoretic discussions, we have assumed: Camera is located at the origin of coordinate system of scene.
CSCE 643 Computer Vision: Structure from Motion
Image Stitching Ali Farhadi CSE 576 Several slides from Rick Szeliski, Steve Seitz, Derek Hoiem, and Ira Kemelmacher.
Single View Geometry Course web page: vision.cis.udel.edu/cv April 9, 2003  Lecture 20.
Vision Review: Image Formation Course web page: September 10, 2002.
Parameter estimation. 2D homography Given a set of (x i,x i ’), compute H (x i ’=Hx i ) 3D to 2D camera projection Given a set of (X i,x i ), compute.
Peripheral drift illusion. Multiple views Hartley and Zisserman Lowe stereo vision structure from motion optical flow.
Single-view geometry Odilon Redon, Cyclops, 1914.
Geometric Transformations
Feature Matching. Feature Space Outlier Rejection.
Reconnaissance d’objets et vision artificielle Jean Ponce Equipe-projet WILLOW ENS/INRIA/CNRS UMR 8548 Laboratoire.
Final Review Course web page: vision.cis.udel.edu/~cv May 21, 2003  Lecture 37.
Single-view geometry Odilon Redon, Cyclops, 1914.
776 Computer Vision Jan-Michael Frahm Spring 2012.
Robust Estimation Course web page: vision.cis.udel.edu/~cv April 23, 2003  Lecture 25.
Camera Calibration Course web page: vision.cis.udel.edu/cv March 24, 2003  Lecture 17.
EE 7730 Parametric Motion Estimation. Bahadir K. Gunturk2 Parametric (Global) Motion Affine Flow.
Lecture 10: Image alignment CS4670/5760: Computer Vision Noah Snavely
776 Computer Vision Jan-Michael Frahm Spring 2012.
Lecture 16: Image alignment
Calibrating a single camera
Epipolar Geometry and Stereo Vision
Homogeneous Coordinates (Projective Space)
Lecture 7: Image alignment
Two-view geometry Computer Vision Spring 2018, Lecture 10
Homography From Wikipedia In the field of computer vision, any
A special case of calibration
Image Stitching Slides from Rick Szeliski, Steve Seitz, Derek Hoiem, Ira Kemelmacher, Ali Farhadi.
Lecture 8: Image alignment
Single-view geometry Odilon Redon, Cyclops, 1914.
Lecture 8: Image alignment
Calibration and homographies
Back to equations of geometric transformations
CS5760: Computer Vision Lecture 9: RANSAC Noah Snavely
Image Stitching Linda Shapiro ECE/CSE 576.
Lecture 11: Image alignment, Part 2
Image Stitching Linda Shapiro ECE P 596.
Presentation transcript:

Computer Vision : CISC 4/689 Going Back a little Cameras.ppt

Computer Vision : CISC 4/689 Applications of RANSAC: Solution for affine parameters Affine transform of [x,y] to [u,v]: Rewrite to solve for transform parameters:

Computer Vision : CISC 4/689 Assignment Program-1 info-Link-Link Data

Computer Vision : CISC 4/689 Another app. : Automatic Homography H Estimation How to get correct correspondences without human intervention? from Hartley & Zisserman

Computer Vision : CISC 4/689 Computing a Homography 8 degrees of freedom in 3 x 3 matrix H, so at least n = 4 pairs of 2-D points are sufficient to determine it Use same basic algorithm for P (aka Direct Linear Transformation, or DLT) to compute H –Now stacked matrix A is 2 n x 9 vs. 2 n x 12 for camera matrix P estimation because all points are 2-D 3 collinear points in either image is a degenerate configuration preventing a unique solution Lets Side-track

Computer Vision : CISC 4/689 Estimating H : DLT Algorithm x 0 i = Hx i is an equation involving homogeneous vectors, so Hx i and x 0 i need only be in the same direction, not strictly equal We can specify “same directionality” by using a cross product formulation: See Hartley & Zisserman, Chapter (linked on course page) for details

Computer Vision : CISC 4/689 Texture Mapping Needed for nice display when applying transformations (like a homography H ) to a whole image Simple approach: Iterate over source image coordinates and apply x 0 = H x to get destination pixel location –Problem: Some destination pixels may not be “hit”, leaving holes Easy solution: Iterate over destination image and apply inverse transform x = H -1 x 0 –Round off H -1 x 0 to address “nearest” source pixel value –This ensures every destination pixel is filled in

Computer Vision : CISC 4/689 Automatic H Estimation: Feature Extraction Find features in pair of images using corner detection—e.g., eigenvalue threshold of: from Hartley & Zisserman ~500 features found

Computer Vision : CISC 4/689 Automatic H Estimation: Finding Feature Matches Best match over threshold within square search window (here §300 pixels) using SSD or normalized cross-correlation from Hartley & Zisserman

Computer Vision : CISC 4/689 Automatic H Estimation: Finding Feature Matches Best match over threshold within square search window (here §300 pixels) using SSD or normalized cross-correlation from Hartley & Zisserman

Computer Vision : CISC 4/689 Automatic H Estimation: Initial Match Hypotheses 268 matched features (over SSD threshold) in left image pointing to locations of corresponding right image features from Hartley & Zisserman

Computer Vision : CISC 4/689 Automatic H Estimation: Applying RANSAC Sampling –Size: Recall that 4 correspondences suffice to define homography, so sample size s = 4 –Choice Pick SSD threshold conservatively to minimize bad matches Disregard degenerate configurations Ensure points have good spatial distribution over image Distance measure –Obvious choice is symmetric transfer error:

Computer Vision : CISC 4/689 Automatic H Estimation: Outliers & Inliers after RANSAC 43 samples used with t = 1.25 pixels 117 outliers ( ² = 0.44 ) 151 inliers from Hartley & Zisserman

Computer Vision : CISC 4/689 A Short Review of Camera Calibration

Computer Vision : CISC 4/689 Pinhole Camera Terminology Camera center/ pinhole Principal point/ image center Image point Camera point Focal length Optical axis Image plane

Computer Vision : CISC 4/689 Calibration Slides (calibration.ppt)