Affine Linear Transformations Prof. Graeme Bailey (notes modified from Noah Snavely, Spring 2009)

Slides:



Advertisements
Similar presentations
Feature extraction: Corners
Advertisements

CSE 473/573 Computer Vision and Image Processing (CVIP)
TP14 - Local features: detection and description Computer Vision, FCUP, 2014 Miguel Coimbra Slides by Prof. Kristen Grauman.
CSE 473/573 Computer Vision and Image Processing (CVIP)
Image alignment Image from
1 Computer Graphics Chapter 6 2D Transformations.
Features CSE 455, Winter 2010 February 1, Neel Joshi, CSE 455, Winter Review From Last Time.
Patch Descriptors CSE P 576 Larry Zitnick
HCI 530 : Seminar (HCI) Damian Schofield. HCI 530: Seminar (HCI) Transforms –Two Dimensional –Three Dimensional The Graphics Pipeline.
2D Geometric Transformations
CS4670: Computer Vision Kavita Bala Lecture 10: Feature Matching and Transforms.
Feature extraction: Corners 9300 Harris Corners Pkwy, Charlotte, NC.
Lecture 6: Feature matching CS4670: Computer Vision Noah Snavely.
Object Recognition with Invariant Features n Definition: Identify objects or scenes and determine their pose and model parameters n Applications l Industrial.
Lecture 8: Geometric transformations CS4670: Computer Vision Noah Snavely.
Image transformations, Part 2 Prof. Noah Snavely CS1114
Lecture 4: Feature matching
3-D Geometry.
Automatic Image Alignment (feature-based) : Computational Photography Alexei Efros, CMU, Fall 2005 with a lot of slides stolen from Steve Seitz and.
Feature extraction: Corners and blobs
Feature-based object recognition Prof. Noah Snavely CS1114
Object Recognition Using Distinctive Image Feature From Scale-Invariant Key point D. Lowe, IJCV 2004 Presenting – Anat Kaspi.
Detecting Patterns So far Specific patterns (eyes) Generally useful patterns (edges) Also (new) “Interesting” distinctive patterns ( No specific pattern:
Lecture 3a: Feature detection and matching CS6670: Computer Vision Noah Snavely.
Automatic Image Alignment (feature-based) : Computational Photography Alexei Efros, CMU, Fall 2006 with a lot of slides stolen from Steve Seitz and.
Lecture 6: Feature matching and alignment CS4670: Computer Vision Noah Snavely.
Computing transformations Prof. Noah Snavely CS1114
Robust fitting Prof. Noah Snavely CS1114
Object Tracking/Recognition using Invariant Local Features Applications l Mobile robots, driver assistance l Cell phone location or object recognition.
IMAGE MOSAICING Summer School on Document Image Processing
Lecture 4: Feature matching CS4670 / 5670: Computer Vision Noah Snavely.
Feature extraction: Corners 9300 Harris Corners Pkwy, Charlotte, NC.
776 Computer Vision Jan-Michael Frahm, Enrique Dunn Spring 2013.
Geometric Transformations CSE 455 Ali Farhadi Many slides from Steve Seitz and Larry Zitnick.
Lecture 7: Features Part 2 CS4670/5670: Computer Vision Noah Snavely.
Feature extraction: Corners and blobs. Why extract features? Motivation: panorama stitching We have two images – how do we combine them?
Fitting image transformations Prof. Noah Snavely CS1114
Project 3 questions? Interest Points and Instance Recognition Computer Vision CS 143, Brown James Hays 10/21/11 Many slides from Kristen Grauman and.
Lecture 5: Image Interpolation and Features
Local features: detection and description
Features Jan-Michael Frahm.
776 Computer Vision Jan-Michael Frahm Spring 2012.
Image matching by Diva SianDiva Sian by swashfordswashford TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: AAAAAA.
Announcements Project 1 Out today Help session at the end of class.
Lecture 14: Feature matching and Transforms CS4670/5670: Computer Vision Kavita Bala.
Keypoint extraction: Corners 9300 Harris Corners Pkwy, Charlotte, NC.
Blob detection.
Lecture 5: Feature detection and matching CS4670 / 5670: Computer Vision Noah Snavely.
Recognizing objects Prof. Noah Snavely CS1114
776 Computer Vision Jan-Michael Frahm Spring 2012.
Lecture 07 13/12/2011 Shai Avidan הבהרה: החומר המחייב הוא החומר הנלמד בכיתה ולא זה המופיע / לא מופיע במצגת.
Image Features: Points and Regions
TP12 - Local features: detection and description
Lecture 4: Harris corner detection
Local features: detection and description May 11th, 2017
Feature description and matching
Features Readings All is Vanity, by C. Allan Gilbert,
Object recognition Prof. Graeme Bailey
More Image Manipulation
Announcements Project 1 Project 2 (panoramas)
The SIFT (Scale Invariant Feature Transform) Detector and Descriptor
Lecture 5: Feature detection and matching
Announcement Project 1 1.
SIFT keypoint detection
Lecture VI: Corner and Blob Detection
Feature descriptors and matching
Lecture 5: Feature invariance
Presented by Xu Miao April 20, 2005
Lecture 5: Feature invariance
Local features and image matching May 7th, 2019
Presentation transcript:

Affine Linear Transformations Prof. Graeme Bailey (notes modified from Noah Snavely, Spring 2009)

More image transformations  Recall from last time … the default rotation is around the point (0, 0) – the upper-left corner of the image 2  This probably isn’t really what we want…

Translation  We really want to rotate around the center of the image  Nice trick: move the center of the image to the origin, apply the default rotation, then move the center back. If T is the translation, R the desired rotation, and D the default rotation, then R = T -1 DT. We often call this conjugation of D by T … it’s a very useful trick in a great many different contexts!  But technically, translation isn’t a linear function - check the two definition properties for f(v) = v + w (for some constant vector w)… –f(v + u) =? f(v) + f(u) –f(av) =? a f(v)  Formally we call this an affine linear function 3 LHS = v + u + w RHS = v + u + 2w LHS = av + w RHS = av + 2aw

Reminder: shear from lecture 15  Shear 4 Remember again that for images, the positive y direction is downwards!!

Detour: Homogeneous coordinates  We want a way to use MATLAB’s matrix routines to compute translations, but matrices only do linear functions…  Ans: add a dimension! Add a 1 to the end of our 2D point (x, y)  (x, y, 1) to give a point on the plane parallel to the 2D coordinate plane at height 1 = “homogeneous” 2D points  Essentially each line through the origin in 3D ‘corresponds’ to a point in 2D (what about the lines actually in the xy-plane?)  We can represent transformations on 2D homogeneous coordinates as 3D matrices  ‘Shear’ in 3D is linear, and ‘is’ translation in (homog) 2D !!!! 5

Translation via homogeneous coordinates 6  Other transformations just add an extra row and column with [ ] scale rotation Shear parallel to the xy-plane by adding s to the x direction and t to the y direction s t 1 =

Rotation about image centre  Translate center to origin  Rotate  Translate back to center  Combining these gives T R T 7

Invariant local features  Find features that are invariant to transformations –geometric invariance: translation, rotation, scale –photometric invariance: brightness, exposure, … Feature Descriptors (Slides courtesy Steve Seitz)

Why local features?  Locality –features are local, so robust to occlusion and clutter  Distinctiveness: –can differentiate a large database of objects  Quantity –hundreds or thousands in a single image  Efficiency –real-time performance achievable 9

More motivation…  Feature points are used for: –Image alignment (e.g., mosaics) –3D reconstruction –Motion tracking –Object recognition –Robot navigation –…

SIFT Features  Scale-Invariant Feature Transform

SIFT descriptor  Very complicated, but very powerful  (The details aren’t all that important for this class.)  128 dimensional descriptor Adapted from a slide by David Lowe

Properties of SIFT  Extraordinarily robust matching technique –Can handle significant changes in illumination Sometimes even day vs. night (below) –Fast and efficient—can run in real time –Lots of code available

Do these two images overlap? NASA Mars Rover images

Answer below

Image transformations  What about a general homogeneous transformation?  Called a 2D affine transformation 16

Solving for image transformations  Given a set of matching points between image 1 and image 2… … can we solve for an affine transformation T mapping 1 to 2? 17