Local Image Features

Similar documents
Local Image Features

Motion illusion, rotating snakes

Local Image Features

Feature Matching and Robust Fitting

Local Features and Bag of Words Models

CS 558: Computer Vision 4 th Set of Notes

CS 4495 Computer Vision A. Bobick. CS 4495 Computer Vision. Features 2 SIFT descriptor. Aaron Bobick School of Interactive Computing

Computer Vision for HCI. Topics of This Lecture

Feature descriptors and matching

ECE Digital Image Processing and Introduction to Computer Vision

Local features: detection and description. Local invariant features

Wikipedia - Mysid

The SIFT (Scale Invariant Feature

Local features and image matching. Prof. Xin Yang HUST

CEE598 - Visual Sensing for Civil Infrastructure Eng. & Mgmt.

Prof. Feng Liu. Spring /26/2017

Feature Detection and Matching

Local invariant features

Scale Invariant Feature Transform

Local features: detection and description May 12 th, 2015

SIFT: SCALE INVARIANT FEATURE TRANSFORM SURF: SPEEDED UP ROBUST FEATURES BASHAR ALSADIK EOS DEPT. TOPMAP M13 3D GEOINFORMATION FROM IMAGES 2014

Scale Invariant Feature Transform

SIFT - scale-invariant feature transform Konrad Schindler

Outline 7/2/201011/6/

Lecture 10 Detectors and descriptors

Motion Estimation and Optical Flow Tracking

Patch Descriptors. CSE 455 Linda Shapiro

Patch Descriptors. EE/CSE 576 Linda Shapiro

Evaluation and comparison of interest points/regions

Feature Based Registration - Image Alignment

Midterm Wed. Local features: detection and description. Today. Last time. Local features: main components. Goal: interest operator repeatability

Augmented Reality VU. Computer Vision 3D Registration (2) Prof. Vincent Lepetit

CAP 5415 Computer Vision Fall 2012

CS5670: Computer Vision

Features Points. Andrea Torsello DAIS Università Ca Foscari via Torino 155, Mestre (VE)

SURF. Lecture6: SURF and HOG. Integral Image. Feature Evaluation with Integral Image

Automatic Image Alignment (feature-based)

Click to edit title style

Building a Panorama. Matching features. Matching with Features. How do we build a panorama? Computational Photography, 6.882

Feature Detection. Raul Queiroz Feitosa. 3/30/2017 Feature Detection 1

Local Features: Detection, Description & Matching

Lecture 4.1 Feature descriptors. Trym Vegard Haavardsholm

Image Features: Local Descriptors. Sanja Fidler CSC420: Intro to Image Understanding 1/ 58

EECS150 - Digital Design Lecture 14 FIFO 2 and SIFT. Recap and Outline

Vision and Image Processing Lab., CRV Tutorial day- May 30, 2010 Ottawa, Canada

EE795: Computer Vision and Intelligent Systems

AK Computer Vision Feature Point Detectors and Descriptors

Feature descriptors. Alain Pagani Prof. Didier Stricker. Computer Vision: Object and People Tracking

SCALE INVARIANT FEATURE TRANSFORM (SIFT)

SUMMARY: DISTINCTIVE IMAGE FEATURES FROM SCALE- INVARIANT KEYPOINTS

Key properties of local features

Object Recognition with Invariant Features

Previous Lecture - Coded aperture photography

CS4670: Computer Vision

Bias-Variance Trade-off (cont d) + Image Representations

Scale Invariant Feature Transform by David Lowe

Automatic Image Alignment

Image Features: Detection, Description, and Matching and their Applications

2D Image Processing Feature Descriptors

Low-level Vision Processing Algorithms Speaker: Ito, Dang Supporter: Ishii, Toyama and Y. Murakami

BSB663 Image Processing Pinar Duygulu. Slides are adapted from Selim Aksoy

Introduction. Introduction. Related Research. SIFT method. SIFT method. Distinctive Image Features from Scale-Invariant. Scale.

Object Category Detection. Slides mostly from Derek Hoiem

Harder case. Image matching. Even harder case. Harder still? by Diva Sian. by swashford

Computer Vision I - Filtering and Feature detection

Harder case. Image matching. Even harder case. Harder still? by Diva Sian. by swashford

School of Computing University of Utah

A Comparison of SIFT, PCA-SIFT and SURF

EE368 Project Report CD Cover Recognition Using Modified SIFT Algorithm

Image matching. Announcements. Harder case. Even harder case. Project 1 Out today Help session at the end of class. by Diva Sian.

Automatic Image Alignment

A NEW FEATURE BASED IMAGE REGISTRATION ALGORITHM INTRODUCTION

Multi-modal Registration of Visual Data. Massimiliano Corsini Visual Computing Lab, ISTI - CNR - Italy

Patch-based Object Recognition. Basic Idea

3D Vision. Viktor Larsson. Spring 2019

Image Features. Work on project 1. All is Vanity, by C. Allan Gilbert,

Edge and corner detection

Ulas Bagci

Computer Vision. Recap: Smoothing with a Gaussian. Recap: Effect of σ on derivatives. Computer Science Tripos Part II. Dr Christopher Town

Local Features Tutorial: Nov. 8, 04

Local Feature Detectors

Local Patch Descriptors

Implementation and Comparison of Feature Detection Methods in Image Mosaicing

SIFT: Scale Invariant Feature Transform

Peripheral drift illusion

Lecture 6: Finding Features (part 1/2)

Advanced Video Content Analysis and Video Compression (5LSH0), Module 4

Performance Evaluation of Scale-Interpolated Hessian-Laplace and Haar Descriptors for Feature Matching

CEE598 - Visual Sensing for Civil Infrastructure Eng. & Mgmt.

Category vs. instance recognition

Lecture: RANSAC and feature detectors

Image Matching. AKA: Image registration, the correspondence problem, Tracking,

3D Photography. Marc Pollefeys, Torsten Sattler. Spring 2015

Computer Vision I - Basics of Image Processing Part 2

Implementing the Scale Invariant Feature Transform(SIFT) Method

A Tutorial on VLFeat

Comparison of Feature Detection and Matching Approaches: SIFT and SURF

Corner Detection. GV12/3072 Image Processing.

III. VERVIEW OF THE METHODS

Designing Applications that See Lecture 7: Object Recognition

Transcription:

Local Image Features Computer Vision CS 143, Brown Read Szeliski 4.1 James Hays Acknowledgment: Many slides from Derek Hoiem and Grauman&Leibe 2008 AAAI Tutorial

This section: correspondence and alignment Correspondence: matching points, patches, edges, or regions across images

Overview of Keypoint Matching 1. Find a set of distinctive keypoints A 1 A 2 A 3 2. Define a region around each keypoint f A d( f A, f B ) T f B K. Grauman, B. Leibe 3. Extract and normalize the region content 4. Compute a local descriptor from the normalized region 5. Match local descriptors

Review: Harris corner detector E(u, v) Approximate distinctiveness by local auto-correlation. Approximate local auto-correlation by second moment matrix Quantify distinctiveness (or cornerness) as function of the eigenvalues of the second moment matrix. But we don t actually need to compute the eigenvalues by using the determinant and trace of the second moment matrix. ( max ) -1/2 ( min) -1/2

Harris Detector [Harris88] Second moment matrix 2 I x ( D) I xi y ( D) ( I, D) g( ) 2 1. Image I I xi y ( D) I y ( D) derivatives (optionally, blur first) I x I y det M trace M 1 2 1 2 2. Square of derivatives 3. Gaussian filter g( I ) I x 2 I y 2 I x I y g(i x2 ) g(i y2 ) g(i x I y ) 4. Cornerness function both eigenvalues are strong 2 har det[ (, )] [trace( (, )) ] g I D 2 2 2 2 2 ( I x ) g( I y ) [ g( I xi y)] [ g( I x ) g( I y I D )] 2 5. Non-maxima suppression 5 har

So far: can localize in x-y, but not scale

Automatic Scale Selection f I (, )) ( (, i x f I x )) 1 i m i i m ( 1 How to find corresponding patch sizes? K. Grauman, B. Leibe

Automatic Scale Selection Function responses for increasing scale (scale signature) f ( I (, )) i i i 1 i x m f ( I 1 ( x, )) m K. Grauman, B. Leibe

Automatic Scale Selection Function responses for increasing scale (scale signature) f ( I (, )) i i i 1 i x m f ( I 1 ( x, )) m K. Grauman, B. Leibe

Automatic Scale Selection Function responses for increasing scale (scale signature) f ( I (, )) i i i 1 i x m f ( I 1 ( x, )) m K. Grauman, B. Leibe

Automatic Scale Selection Function responses for increasing scale (scale signature) f ( I (, )) i i i 1 i x m f ( I 1 ( x, )) m K. Grauman, B. Leibe

Automatic Scale Selection Function responses for increasing scale (scale signature) f ( I (, )) i i i 1 i x m f ( I 1 ( x, )) m K. Grauman, B. Leibe

Automatic Scale Selection Function responses for increasing scale (scale signature) f I (, )) i i i im f ( I 1 ( x, )) m K. Grauman, B. Leibe ( 1 x

What Is A Useful Signature Function? Difference-of-Gaussian = blob detector K. Grauman, B. Leibe

Difference-of-Gaussian (DoG) - = K. Grauman, B. Leibe

DoG Efficient Computation Computation in Gaussian scale pyramid Sampling with step 4 =2 Original image 1 4 2 K. Grauman, B. Leibe

Find local maxima in position-scale space of Difference-of-Gaussian 5 4 L xx ( ) L ( ) yy 3 2 List of (x, y, s) K. Grauman, B. Leibe

Results: Difference-of-Gaussian K. Grauman, B. Leibe

Orientation Normalization Compute orientation histogram Select dominant orientation Normalize: rotate to fixed orientation [Lowe, SIFT, 1999] T. Tuytelaars, B. Leibe 0 2 p

Maximally Stable Extremal Regions [Matas 02] Based on Watershed segmentation algorithm Select regions that stay stable over a large parameter range K. Grauman, B. Leibe

Example Results: MSER 23 K. Grauman, B. Leibe

Image representations Templates Intensity, gradients, etc. Histograms Color, texture, SIFT descriptors, etc.

Image Representations: Histograms Global histogram Represent distribution of features Color, texture, depth, Space Shuttle Cargo Bay Images from Dave Kauchak

Image Representations: Histograms Histogram: Probability or count of data in each bin Joint histogram Requires lots of data Loss of resolution to avoid empty bins Marginal histogram Requires independent features More data/bin than joint histogram Images from Dave Kauchak

What kind of things do we compute histograms of? Color L*a*b* color space HSV color space Texture (filter banks or HOG over regions)

What kind of things do we compute histograms of? Histograms of oriented gradients SIFT Lowe IJCV 2004

SIFT vector formation Computed on rotated and scaled version of window according to computed orientation & scale resample the window Based on gradients weighted by a Gaussian of variance half the window (for smooth falloff)

SIFT vector formation 4x4 array of gradient orientation histogram weighted by magnitude 8 orientations x 4x4 array = 128 dimensions Motivation: some sensitivity to spatial layout, but not too much. showing only 2x2 here but is 4x4

Ensure smoothness Gaussian weight Trilinear interpolation a given gradient contributes to 8 bins: 4 in space times 2 in orientation

Reduce effect of illumination 128-dim vector normalized to 1 Threshold gradient magnitudes to avoid excessive influence of high gradients after normalization, clamp gradients >0.2 renormalize

Local Descriptors: Shape Context Count the number of points inside each bin, e.g.: Count = 4... Count = 10 Log-polar binning: more precision for nearby points, more flexibility for farther points. Belongie & Malik, ICCV 2001 K. Grauman, B. Leibe

Shape Context Descriptor

Local Descriptors: Geometric Blur Compute edges at four orientations Extract a patch in each channel Example descriptor ~ (Idealized signal) Apply spatially varying blur and sub-sample Berg & Malik, CVPR 2001 K. Grauman, B. Leibe

Self-similarity Descriptor Matching Local Self-Similarities across Images and Videos, Shechtman and Irani, 2007

Self-similarity Descriptor Matching Local Self-Similarities across Images and Videos, Shechtman and Irani, 2007

Self-similarity Descriptor Matching Local Self-Similarities across Images and Videos, Shechtman and Irani, 2007

Learning Local Image Descriptors, Winder and Brown, 2007

Local Descriptors Most features can be thought of as templates, histograms (counts), or combinations The ideal descriptor should be Robust Distinctive Compact Efficient Most available descriptors focus on edge/gradient information Capture texture information Color rarely used K. Grauman, B. Leibe

Matching Local Features Nearest neighbor (Euclidean distance) Threshold ratio of nearest to 2 nd nearest descriptor Lowe IJCV 2004

SIFT Repeatability Lowe IJCV 2004

SIFT Repeatability

SIFT Repeatability Lowe IJCV 2004

Local Descriptors: SURF Fast approximation of SIFT idea Efficient computation by 2D box filters & integral images 6 times faster than SIFT Equivalent quality for object identification GPU implementation available Feature extraction @ 200Hz (detector + descriptor, 640 480 img) http://www.vision.ee.ethz.ch/~surf [Bay, ECCV 06], [Cornelis, CVGPU 08] K. Grauman, B. Leibe

Local Descriptors: Shape Context Count the number of points inside each bin, e.g.: Count = 4... Count = 10 Log-polar binning: more precision for nearby points, more flexibility for farther points. Belongie & Malik, ICCV 2001 K. Grauman, B. Leibe

Local Descriptors: Geometric Blur Compute edges at four orientations Extract a patch in each channel Example descriptor ~ (Idealized signal) Apply spatially varying blur and sub-sample Berg & Malik, CVPR 2001 K. Grauman, B. Leibe

Choosing a detector What do you want it for? Precise localization in x-y: Harris Good localization in scale: Difference of Gaussian Flexible region shape: MSER Best choice often application dependent Harris-/Hessian-Laplace/DoG work well for many natural categories MSER works well for buildings and printed things Why choose? Get more points with more detectors There have been extensive evaluations/comparisons [Mikolajczyk et al., IJCV 05, PAMI 05] All detectors/descriptors shown here work well

Comparison of Keypoint Detectors Tuytelaars Mikolajczyk 2008

Choosing a descriptor Again, need not stick to one For object instance recognition or stitching, SIFT or variant is a good choice

Things to remember Keypoint detection: repeatable and distinctive Corners, blobs, stable regions Harris, DoG Descriptors: robust and selective spatial histograms of orientation SIFT

Next time Feature tracking