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 4495 Computer Vision A. Bobick. CS 4495 Computer Vision. Features 2 SIFT descriptor. Aaron Bobick School of Interactive Computing

CS 558: Computer Vision 4 th Set of Notes

Feature descriptors and matching

Wikipedia - Mysid

ECE Digital Image Processing and Introduction to Computer Vision

Local features: detection and description. Local invariant features

Computer Vision for HCI. Topics of This Lecture

Local features and image matching. Prof. Xin Yang HUST

The SIFT (Scale Invariant Feature

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

Prof. Feng Liu. Spring /26/2017

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

Local features: detection and description May 12 th, 2015

Scale Invariant Feature Transform

Feature Detection and Matching

Local invariant features

SIFT - scale-invariant feature transform Konrad Schindler

Patch Descriptors. EE/CSE 576 Linda Shapiro

Lecture 10 Detectors and descriptors

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

Patch Descriptors. CSE 455 Linda Shapiro

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

CS5670: Computer Vision

CAP 5415 Computer Vision Fall 2012

Outline 7/2/201011/6/

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

Motion Estimation and Optical Flow Tracking

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

Feature Based Registration - Image Alignment

Automatic Image Alignment (feature-based)

SUMMARY: DISTINCTIVE IMAGE FEATURES FROM SCALE- INVARIANT KEYPOINTS

Evaluation and comparison of interest points/regions

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

Lecture 4.1 Feature descriptors. Trym Vegard Haavardsholm

Key properties of local features

Click to edit title style

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

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

Local Features: Detection, Description & Matching

2D Image Processing Feature Descriptors

EE795: Computer Vision and Intelligent Systems

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

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

CS4670: Computer Vision

Previous Lecture - Coded aperture photography

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

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

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

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

Object Recognition with Invariant Features

School of Computing University of Utah

SCALE INVARIANT FEATURE TRANSFORM (SIFT)

Patch-based Object Recognition. Basic Idea

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

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

Automatic Image Alignment

Scale Invariant Feature Transform by David Lowe

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

Local Features Tutorial: Nov. 8, 04

AK Computer Vision Feature Point Detectors and Descriptors

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

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

A NEW FEATURE BASED IMAGE REGISTRATION ALGORITHM INTRODUCTION

EE368 Project Report CD Cover Recognition Using Modified SIFT Algorithm

Implementing the Scale Invariant Feature Transform(SIFT) Method

Structure from Motion

Local Feature Detectors

Edge and corner detection

Local Patch Descriptors

VK Multimedia Information Systems

SIFT: Scale Invariant Feature Transform

Lecture 6: Finding Features (part 1/2)

Category vs. instance recognition

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

Automatic Image Alignment

3D Vision. Viktor Larsson. Spring 2019

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

Comparison of Feature Detection and Matching Approaches: SIFT and SURF

Implementation and Comparison of Feature Detection Methods in Image Mosaicing

Discovering Visual Hierarchy through Unsupervised Learning Haider Razvi

Peripheral drift illusion

Lecture: RANSAC and feature detectors

A Comparison of SIFT, PCA-SIFT and SURF

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

Corner Detection. GV12/3072 Image Processing.

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

Eppur si muove ( And yet it moves )

Designing Applications that See Lecture 7: Object Recognition

TA Section 7 Problem Set 3. SIFT (Lowe 2004) Shape Context (Belongie et al. 2002) Voxel Coloring (Seitz and Dyer 1999)

Computer Vision I - Basics of Image Processing Part 2

Image Segmentation and Registration

Transcription:

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

Flashed Face Distortion 2nd Place in the 8th Annual Best Illusion of the Year Contest, VSS 2012

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 7 har

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

Kristen Grauman Local features: main components 1) Detection: Identify the interest points 2) Description: Extract vector feature descriptor surrounding each interest point. x (1) [ x,, x (1) 1 1 d ] 3) Matching: Determine correspondence between descriptors in two views x (2) [ x,, x (2) 2 1 d ]

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: 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

Shape Context Descriptor

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

Kristen Grauman Local features: main components 1) Detection: Identify the interest points 2) Description: Extract vector feature descriptor surrounding each interest point. x (1) [ x,, x (1) 1 1 d ] 3) Matching: Determine correspondence between descriptors in two views x (2) [ x,, x (2) 2 1 d ]

Matching Simplest approach: Pick the nearest neighbor. Threshold on absolute distance Problem: Lots of self similarity in many photos

Distance: 0.34, 0.30, 0.40 Distance: 0.61 Distance: 1.22

Nearest Neighbor Distance Ratio NN1 NN2 where NN1 is the distance to the first nearest neighbor and NN2 is the distance to the second nearest neighbor. Sorting by this ratio puts matches in order of confidence.

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

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