MSU CSE 803 Stockman CV: Matching in 2D Matching 2D images to 2D images; Matching 2D images to 2D maps or 2D models; Matching 2D maps to 2D maps.

Slides:



Advertisements
Similar presentations
Image Registration  Mapping of Evolution. Registration Goals Assume the correspondences are known Find such f() and g() such that the images are best.
Advertisements

Matching in 2D Readings: Ch. 11: Sec alignment point representations and 2D transformations solving for 2D transformations from point correspondences.
2D matching part 2 Review of alignment methods and
University of Pennsylvania 1 GRASP CIS 580 Machine Perception Fall 2004 Jianbo Shi Object recognition.
Mapping: Scaling Rotation Translation Warp
Uncertainty Representation. Gaussian Distribution variance Standard deviation.
Image alignment Image from
Object Recognition with Invariant Features n Definition: Identify objects or scenes and determine their pose and model parameters n Applications l Industrial.
Image alignment Image from
Geometric Transformations CSE P 576 Larry Zitnick
Announcements Final Exam May 16 th, 8 am (not my idea). Practice quiz handout 5/8. Review session: think about good times. PS5: For challenge problems,
Motion Analysis Slides are from RPI Registration Class.
Object Recognition Using Genetic Algorithms CS773C Advanced Machine Intelligence Applications Spring 2008: Object Recognition.
A Study of Approaches for Object Recognition
MSU CSE 240 Fall 2003 Stockman CV: 3D to 2D mathematics Perspective transformation; camera calibration; stereo computation; and more.
Object Recognition with Invariant Features n Definition: Identify objects or scenes and determine their pose and model parameters n Applications l Industrial.
Motion Analysis (contd.) Slides are from RPI Registration Class.
Uncalibrated Geometry & Stratification Sastry and Yang
3-D Geometry.
Lecture 9: Image alignment CS4670: Computer Vision Noah Snavely
3D Geometry for Computer Graphics
CV: 3D sensing and calibration
MSU CSE 803 Fall 2008 Stockman1 CV: 3D sensing and calibration Coordinate system changes; perspective transformation; Stereo and structured light.
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.
Image Stitching Ali Farhadi CSE 455
Point set alignment Closed-form solution of absolute orientation using unit quaternions Berthold K. P. Horn Department of Electrical Engineering, University.
CSE 185 Introduction to Computer Vision
CSC 589 Lecture 22 Image Alignment and least square methods Bei Xiao American University April 13.
Lecture 12: Image alignment CS4670/5760: Computer Vision Kavita Bala
Recap of linear algebra: vectors, matrices, transformations, … Background knowledge for 3DM Marc van Kreveld.
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.
Transformations Jehee Lee Seoul National University.
Digital Image Processing Lecture 7: Geometric Transformation March 16, 2005 Prof. Charlene Tsai.
视觉的三维运动理解 刘允才 上海交通大学 2002 年 11 月 16 日 Understanding 3D Motion from Images Yuncai Liu Shanghai Jiao Tong University November 16, 2002.
Geometric Camera Models
Geometric Transformations CSE 455 Ali Farhadi Many slides from Steve Seitz and Larry Zitnick.
Geometric Hashing: A General and Efficient Model-Based Recognition Scheme Yehezkel Lamdan and Haim J. Wolfson ICCV 1988 Presented by Budi Purnomo Nov 23rd.
CS 376b Introduction to Computer Vision 04 / 28 / 2008 Instructor: Michael Eckmann.
Reconnaissance d’objets et vision artificielle Jean Ponce Equipe-projet WILLOW ENS/INRIA/CNRS UMR 8548 Laboratoire.
ELE 488 Fall 2006 Image Processing and Transmission ( )
776 Computer Vision Jan-Michael Frahm Spring 2012.
Instructor: Mircea Nicolescu Lecture 9
Introduction to Medical Imaging Regis Introduction to Medical Imaging Registration Alexandre Kassel Course
Image Warping 2D Geometric Transformations
Geometry Rigid Transformations What do the words below mean? (think 1 min, discuss in group 1 min) Translation Reflection Rotation A SLIDE. The object.
Lecture 16: Image alignment
University of Ioannina
Nearest-neighbor matching to feature database
Homogeneous Coordinates (Projective Space)
Lecture 7: Image alignment
Nearest-neighbor matching to feature database
Geometric Transformations
Reflections & Rotations
Geometric Transformations
Geometric Hashing: An Overview
CV: Matching in 2D Matching 2D images to 2D images; Matching 2D images to 2D maps or 2D models; Matching 2D maps to 2D maps MSU CSE 803 Stockman.
Geometric Transformations
2D transformations (a.k.a. warping)
Geometric Transformations
9.1 TRANSFORMAIONS.
Multi-view geometry.
Essential Question: What can I add to the words slide, flip and turn to more precisely define the rigid-motion transformations – translation, reflection.
Geometric Transformations
Image Registration  Mapping of Evolution
Image Stitching Linda Shapiro ECE/CSE 576.
Geometric Transformations
Translation in Homogeneous Coordinates
Image Stitching Linda Shapiro ECE P 596.
Presentation transcript:

MSU CSE 803 Stockman CV: Matching in 2D Matching 2D images to 2D images; Matching 2D images to 2D maps or 2D models; Matching 2D maps to 2D maps

MSU CSE 803 Stockman 2D Matching Problem 1) Need to match images to maps or models 2) need to match images to images Applications 1) land use inventory matches images to maps 2) object recognition matches images to models 3) comparing X-rays before and after surgery

MSU CSE 803 Stockman Methods for study Recognition by alignment Pose clustering Geometric hashing Local focus feature Relational matching Interpretation tree Discrete relaxation

MSU CSE 803 Stockman Tools and methods Algebra of affine transformations scaling, rotation, translation, shear Least-squares fitting Nonlinear warping General algorithms graph-matching, pose clustering, discrete relaxation, interpretation tree

MSU CSE 803 Stockman Alignment or registration DEF: Image registration is the process by which points of two images from similar viewpoints of essentially the same scene are geometrically transformed so that corresponding features of the two images have the same coordinates

MSU CSE 803 Stockman x y u v

11 matching control points x, y, u, v below = T [ u, v, 1] = T [x, y, 1] t

MSU CSE 803 Stockman Least Squares in MATLAB BigPic = LilPic = [ a11 a21 a12 a22 = a13 a23 ]

MSU CSE 803 Stockman Least squares in MATLAB 2 >> AFFINE = BigPic \ LilPic AFFINE = >> ERROR = LilPic - BigPic * AFFINE ERROR = Worst is 1.8 pixels The solution is such that the 11D vector at the right has the smallest L2 norm

MSU CSE 803 Stockman Least squares in MATLAB 3 X = >> Y Y = >> T = X \ Y T = >> E = Y - X*T E = Solution from 4 points has smaller error on those points

MSU CSE 803 Stockman Least squares in MATLAB 4 When the affine transformation obtained from 4 matching points is applied to all 11 points, the error is much worse than when the transformation was obtained from those 11 points. >> E2 = LilPic - BigPic * T E2 =

MSU CSE 803 Stockman Components of transformations Scaling, rotation, translation, shear

MSU CSE 803 Stockman scaling transformation

MSU CSE 803 Stockman Rotation transformation

MSU CSE 803 Stockman Pure rotation

MSU CSE 803 Stockman Orthogonal tranformations DEF: set of vectors is orthogonal if all pairs are perpendicular DEF: set of vectors is orthonormal if it is orthogonal and all vectors have unit length Orthogonal transformations preserve angles Orthonormal transformations preserve angles and distances Rotations and translations are orthonormal DEF: a rigid transformation is combined rotation and translation

MSU CSE 803 Stockman Translation requires homogeneous coordinates

MSU CSE 803 Stockman Rotation, scaling, translation

MSU CSE 803 Stockman Model of shear

MSU CSE 803 Stockman General affine transformation

MSU CSE 803 Stockman Solving for an RST using control points

MSU CSE 803 Stockman Extracting a subimage by subsampling

MSU CSE 803 Stockman Subsampling transformation

MSU CSE 803 Stockman subsampling At MSU, even the pigs are smart.

MSU CSE 803 Stockman recognition by alignment Automatically match some salient points Derive a transformation based on the matching points Verify or refute the match using other feature points If verified, then registration is done, else try another set of matching points

MSU CSE 803 Stockman Recognition by alignment

MSU CSE 803 Stockman Feature points and distances

MSU CSE 803 Stockman Image features pts and distances

MSU CSE 803 Stockman Point matches reflect distances

MSU CSE 803 Stockman Once matching bases fixed can find any other feature point in terms of the matching transformation can go back into image to explore for the holes that were missed (C and D) can determine grip points for a pick and place robot ( transform R and Q into the image coordinates)

MSU CSE 803 Stockman Compute transformation Once we have matching control points (H2, A) and (H3, B) we can compute a rigid transform

MSU CSE 803 Stockman Get rotation easily, then translation

MSU CSE 803 Stockman Generalized Hough transform Cluster evidence in transform parameter space

MSU CSE 803 Stockman See plastic slides matching maps to images

MSU CSE 803 Stockman “Best” affine transformation from overdetermined matches

MSU CSE 803 Stockman “Best” affine transformaiton Use as many matching pairs ((x,y)(u,v)) as possible

MSU CSE 803 Stockman result for previous town match