CSE 455 – Guest Lectures 3 lectures Contact Interest points 1

Slides:



Advertisements
Similar presentations
Recognising Panoramas M. Brown and D. Lowe, University of British Columbia.
Advertisements

Feature extraction: Corners
CSE 473/573 Computer Vision and Image Processing (CVIP)
The SIFT (Scale Invariant Feature Transform) Detector and Descriptor
Outline Feature Extraction and Matching (for Larger Motion)
TP14 - Local features: detection and description Computer Vision, FCUP, 2014 Miguel Coimbra Slides by Prof. Kristen Grauman.
Matching with Invariant Features
Computational Photography
Feature extraction: Corners 9300 Harris Corners Pkwy, Charlotte, NC.
1 Interest Operators Find “interesting” pieces of the image –e.g. corners, salient regions –Focus attention of algorithms –Speed up computation Many possible.
Object Recognition with Invariant Features n Definition: Identify objects or scenes and determine their pose and model parameters n Applications l Industrial.
1 Interest Operator Lectures lecture topics –Interest points 1 (Linda) interest points, descriptors, Harris corners, correlation matching –Interest points.
Feature matching and tracking Class 5 Read Section 4.1 of course notes Read Shi and Tomasi’s paper on.
Automatic Image Alignment (feature-based) : Computational Photography Alexei Efros, CMU, Fall 2005 with a lot of slides stolen from Steve Seitz and.
Distinctive Image Feature from Scale-Invariant KeyPoints
Feature extraction: Corners and blobs
Feature tracking Class 5 Read Section 4.1 of course notes Read Shi and Tomasi’s paper on good features.
Automatic Matching of Multi-View Images
Image Features: Descriptors and matching
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.
CS4670: Computer Vision Kavita Bala Lecture 8: Scale invariance.
Distinctive Image Features from Scale-Invariant Keypoints David G. Lowe – IJCV 2004 Brien Flewelling CPSC 643 Presentation 1.
1 Interest Operators Find “interesting” pieces of the image Multiple possible uses –image matching stereo pairs tracking in videos creating panoramas –object.
Summary of Previous Lecture A homography transforms one 3d plane to another 3d plane, under perspective projections. Those planes can be camera imaging.
Overview Introduction to local features
MASKS © 2004 Invitation to 3D vision Lecture 3 Image Primitives andCorrespondence.
Local Invariant Features
1 Interest Operators Harris Corner Detector: the first and most basic interest operator Kadir Entropy Detector and its use in object recognition SIFT interest.
Recognition and Matching based on local invariant features Cordelia Schmid INRIA, Grenoble David Lowe Univ. of British Columbia.
Overview Harris interest points Comparing interest points (SSD, ZNCC, SIFT) Scale & affine invariant interest points Evaluation and comparison of different.
Local invariant features Cordelia Schmid INRIA, Grenoble.
CSE 185 Introduction to Computer Vision Local Invariant Features.
Feature extraction: Corners 9300 Harris Corners Pkwy, Charlotte, NC.
Lecture 7: Features Part 2 CS4670/5670: Computer Vision Noah Snavely.
Local invariant features Cordelia Schmid INRIA, Grenoble.
Local invariant features Cordelia Schmid INRIA, Grenoble.
Local invariant features Cordelia Schmid INRIA, Grenoble.
Harris Corner Detector & Scale Invariant Feature Transform (SIFT)
Overview Introduction to local features Harris interest points + SSD, ZNCC, SIFT Scale & affine invariant interest point detectors Evaluation and comparison.
Feature extraction: Corners and blobs. Why extract features? Motivation: panorama stitching We have two images – how do we combine them?
Features, Feature descriptors, Matching Jana Kosecka George Mason University.
Project 3 questions? Interest Points and Instance Recognition Computer Vision CS 143, Brown James Hays 10/21/11 Many slides from Kristen Grauman and.
Local features: detection and description
Automatic Image Alignment : Computational Photography Alexei Efros, CMU, Fall 2011 with a lot of slides stolen from Steve Seitz and Rick Szeliski.
Features Jan-Michael Frahm.
CS654: Digital Image Analysis
776 Computer Vision Jan-Michael Frahm Spring 2012.
Instructor: Mircea Nicolescu Lecture 10 CS 485 / 685 Computer Vision.
CSE 185 Introduction to Computer Vision Local Invariant Features.
MASKS © 2004 Invitation to 3D vision Lecture 3 Image Primitives andCorrespondence.
Keypoint extraction: Corners 9300 Harris Corners Pkwy, Charlotte, NC.
Invariant Local Features Image content is transformed into local feature coordinates that are invariant to translation, rotation, scale, and other imaging.
776 Computer Vision Jan-Michael Frahm Spring 2012.
Presented by David Lee 3/20/2006
3D Vision Interest Points.
TP12 - Local features: detection and description
Local features: detection and description May 11th, 2017
Image Primitives and Correspondence
Feature description and matching
Features Readings All is Vanity, by C. Allan Gilbert,
The SIFT (Scale Invariant Feature Transform) Detector and Descriptor
Lecture 5: Feature detection and matching
Interest Points & Descriptors 3 - SIFT
Lecture VI: Corner and Blob Detection
Computational Photography
Feature descriptors and matching
Recognition and Matching based on local invariant features
Corner Detection COMP 4900C Winter 2008.
Presentation transcript:

CSE 455 – Guest Lectures 3 lectures Contact Interest points 1 interest points, descriptors, Harris corners, correlation matching Interest points 2 improving feature matching and indexing, SIFT Image Stitching automatically combine multiple images to give seamless, “stitched” result Contact Matthew Brown, Microsoft Research brown@microsoft.com

Interest Operators Find “interesting” pieces of the image e.g. corners, salient regions Focus attention of algorithms Speed up computation Many possible uses in matching/recognition Search Object recognition Image alignment & stitching Stereo Tracking …

Interest points 0D structure 1D structure 2D structure not useful for matching 1D structure edge, can be localised in 1D, subject to the aperture problem 2D structure corner, or interest point, can be localised in 2D, good for matching Interest Points have 2D structure. Edge Detectors e.g. Canny [Canny86] exist, but descriptors are more difficult.

Goal: Local invariant photometric descriptors ( ) local descriptor Local : robust to occlusion/clutter + no segmentation Photometric : (use pixel values) distinctive descriptions Invariant : to image transformations + illumination changes

History - Matching 1. Matching based on correlation alone 2. Matching based on geometric primitives e.g. line segments Not very discriminating (why?) Solution : matching with interest points & correlation [ A robust technique for matching two uncalibrated images through the recovery of the unknown epipolar geometry, Z. Zhang, R. Deriche, O. Faugeras and Q. Luong, Artificial Intelligence 1995 ]

Approach Extraction of interest points with the Harris detector Comparison of points with cross-correlation Verification with the fundamental matrix (later in the course or 576)

Interest points extracted with Harris (~ 500 points) Harris detector Interest points extracted with Harris (~ 500 points)

Harris detector

Harris detector

Cross-correlation matching Initial matches – motion vectors (188 pairs)

Robust estimation of the fundamental matrix (RANSAC) Global constraints Robust estimation of the fundamental matrix (RANSAC) 99 inliers 89 outliers

Summary of the approach Very good results in the presence of occlusion and clutter local information discriminant greyvalue information robust estimation of the global relation between images works well for limited view point changes Solution for more general view point changes wide baseline matching (different viewpoint, scale and rotation) local invariant descriptors based on greyvalue information

Invariant Features Schmid & Mohr 1997, Lowe 1999, Baumberg 2000, Tuytelaars & Van Gool 2000, Mikolajczyk & Schmid 2001, Brown & Lowe 2002, Matas et. al. 2002, Schaffalitzky & Zisserman 2002

Approach interest points ( ) local descriptor 1) Extraction of interest points (characteristic locations) 2) Computation of local descriptors (rotational invariants) 3) Determining correspondences 4) Selection of similar images

Harris detector Based on the idea of auto-correlation Important difference in all directions => interest point

Autocorrelation Autocorrelation function (ACF) measures the self similarity of a signal

Autocorrelation a a a Autocorrelation related to sum-square difference: (if ∫f(x)2dx = 1)

Background: Moravec Corner Detector take a window w in the image shift it in four directions (1,0), (0,1), (1,1), (-1,1) compute a difference for each compute the min difference at each pixel local maxima in the min image are the corners w E(x,y) = ∑ w(u,v) |I(x+u,y+v) – I(u,v)|2 u,v in w

Shortcomings of Moravec Operator Only tries 4 shifts. We’d like to consider “all” shifts. Uses a discrete rectangular window. We’d like to use a smooth circular (or later elliptical) window. Uses a simple min function. We’d like to characterize variation with respect to direction. Result: Harris Operator

Harris detector Auto-correlation fn (SSD) for a point and a shift Discrete shifts can be avoided with the auto-correlation matrix what is this?

Harris detector Rewrite as inner (dot) product The centre portion is a 2x2 matrix

Auto-correlation matrix M Harris detector Auto-correlation matrix M

Harris detection Auto-correlation matrix Interest point detection captures the structure of the local neighborhood measure based on eigenvalues of M 2 strong eigenvalues => interest point 1 strong eigenvalue => contour 0 eigenvalue => uniform region Interest point detection threshold on the eigenvalues local maximum for localization

Some Details from the Harris Paper Corner strength R = Det(M) – k Tr(M)2 Let  and  be the two eigenvalues Tr(M) =  +  Det(M) =  R is positive for corners, - for edges, and small for flat regions Select corner pixels that are 8-way local maxima

Determining correspondences ( ) ? ( ) = Vector comparison using a distance measure What are some suitable distance measures?

Distance Measures W1 W2 SSD = ∑∑(W1(i,j) –(W2(i,j))2 We can use the sum-square difference of the values of the pixels in a square neighborhood about the points being compared. W1 W2 SSD = ∑∑(W1(i,j) –(W2(i,j))2

Some Matching Results

Some Matching Results

Summary of the approach Basic feature matching = Harris Corners & Correlation Very good results in the presence of occlusion and clutter local information discriminant greyvalue information invariance to image rotation and illumination Not invariance to scale and affine changes Solution for more general view point changes local invariant descriptors to scale and rotation extraction of invariant points and regions

Rotation/Scale Invariance original translated rotated scaled Translation Rotation Scale Is Harris invariant? ? Is correlation invariant?

Rotation/Scale Invariance original translated rotated scaled Translation Rotation Scale Is Harris invariant? ? Is correlation invariant?

Rotation/Scale Invariance original translated rotated scaled Translation Rotation Scale Is Harris invariant? YES ? Is correlation invariant?

Rotation/Scale Invariance original translated rotated scaled Translation Rotation Scale Is Harris invariant? YES ? Is correlation invariant?

Rotation/Scale Invariance original translated rotated scaled Translation Rotation Scale Is Harris invariant? YES NO Is correlation invariant? ?

Rotation/Scale Invariance original translated rotated scaled Translation Rotation Scale Is Harris invariant? YES NO Is correlation invariant? ?

Rotation/Scale Invariance original translated rotated scaled Translation Rotation Scale Is Harris invariant? YES NO Is correlation invariant? ?

Rotation/Scale Invariance original translated rotated scaled Translation Rotation Scale Is Harris invariant? YES NO Is correlation invariant? ?

Rotation/Scale Invariance original translated rotated scaled Translation Rotation Scale Is Harris invariant? YES NO Is correlation invariant?

Invariant Features Local image descriptors that are invariant (unchanged) under image transformations

Canonical Frames

Canonical Frames

Multi-Scale Oriented Patches Extract oriented patches at multiple scales

Multi-Scale Oriented Patches Sample scaled, oriented patch

Multi-Scale Oriented Patches Sample scaled, oriented patch 8x8 patch, sampled at 5 x scale

Multi-Scale Oriented Patches Sample scaled, oriented patch 8x8 patch, sampled at 5 x scale Bias/gain normalised I’ = (I – )/ 8 pixels 40 pixels

Matching Interest Points: Summary Harris corners / correlation Extract and match repeatable image features Robust to clutter and occlusion BUT not invariant to scale and rotation Multi-Scale Oriented Patches Corners detected at multiple scales Descriptors oriented using local gradient Also, sample a blurred image patch Invariant to scale and rotation NEXT: SIFT – state of the art image features