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

Similar documents
Scale Invariant Feature Transform

Scale Invariant Feature Transform

Object Recognition with Invariant Features

SCALE INVARIANT FEATURE TRANSFORM (SIFT)

Outline 7/2/201011/6/

The SIFT (Scale Invariant Feature

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

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

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

CAP 5415 Computer Vision Fall 2012

Local features: detection and description. Local invariant features

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

Local invariant features

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

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

Motion Estimation and Optical Flow Tracking

Computer Vision for HCI. Topics of This Lecture

Local Features: Detection, Description & Matching

SUMMARY: DISTINCTIVE IMAGE FEATURES FROM SCALE- INVARIANT KEYPOINTS

Feature Based Registration - Image Alignment

Local Features Tutorial: Nov. 8, 04

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

Local Feature Detectors

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

Local features: detection and description May 12 th, 2015

School of Computing University of Utah

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

Patch-based Object Recognition. Basic Idea

Local features and image matching. Prof. Xin Yang HUST

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

Anno accademico 2006/2007. Davide Migliore

Designing Applications that See Lecture 7: Object Recognition

Key properties of local features

Automatic Image Alignment (feature-based)

Eppur si muove ( And yet it moves )

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

Local Image Features

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

EE368 Project Report CD Cover Recognition Using Modified SIFT Algorithm

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

Prof. Feng Liu. Spring /26/2017

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

Feature Detection and Matching

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

Lecture 10 Detectors and descriptors

CS 558: Computer Vision 4 th Set of Notes

CS664 Lecture #21: SIFT, object recognition, dynamic programming

CS5670: Computer Vision

Large-Scale 3D Point Cloud Processing Tutorial 2013

Corner Detection. GV12/3072 Image Processing.

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

Wikipedia - Mysid

Motion illusion, rotating snakes

Local Image Features

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

Computer Vision I. Announcement. Corners. Edges. Numerical Derivatives f(x) Edge and Corner Detection. CSE252A Lecture 11

Obtaining Feature Correspondences

Scale Invariant Feature Transform by David Lowe

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

Implementing the Scale Invariant Feature Transform(SIFT) Method

SIFT: Scale Invariant Feature Transform

CS4670: Computer Vision

SIFT - scale-invariant feature transform Konrad Schindler

EE795: Computer Vision and Intelligent Systems

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

Edge and corner detection

2D Image Processing Feature Descriptors

Feature descriptors and matching

3D from Photographs: Automatic Matching of Images. Dr Francesco Banterle

Ulas Bagci

Computer Vision I. Announcements. Fourier Tansform. Efficient Implementation. Edge and Corner Detection. CSE252A Lecture 13.

Implementation and Comparison of Feature Detection Methods in Image Mosaicing

Verslag Project beeldverwerking A study of the 2D SIFT algorithm

Recognition with Bag-ofWords. (Borrowing heavily from Tutorial Slides by Li Fei-fei)

Evaluation and comparison of interest points/regions

Comparison of Feature Detection and Matching Approaches: SIFT and SURF

CS231A Section 6: Problem Set 3

AK Computer Vision Feature Point Detectors and Descriptors

Feature Matching and Robust Fitting

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

Feature Detectors and Descriptors: Corners, Lines, etc.

Object Detection by Point Feature Matching using Matlab

Local Image preprocessing (cont d)

Lecture: RANSAC and feature detectors

Motion and Tracking. Andrea Torsello DAIS Università Ca Foscari via Torino 155, Mestre (VE)

Chapter 3 Image Registration. Chapter 3 Image Registration

Category vs. instance recognition

A Novel Algorithm for Color Image matching using Wavelet-SIFT

IMAGE-GUIDED TOURS: FAST-APPROXIMATED SIFT WITH U-SURF FEATURES

Automatic Image Alignment

Visual Tracking (1) Tracking of Feature Points and Planar Rigid Objects

Object and Class Recognition I:

Distinctive Image Features from Scale-Invariant Keypoints

Distinctive Image Features from Scale-Invariant Keypoints

Comparison of Local Feature Descriptors

Distinctive Image Features from Scale-Invariant Keypoints

Image features. Image Features

A NEW FEATURE BASED IMAGE REGISTRATION ALGORITHM INTRODUCTION

Image Processing. Image Features

3D Reconstruction From Multiple Views Based on Scale-Invariant Feature Transform. Wenqi Zhu

Transcription:

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

Finding Corners Edge detectors perform poorly at corners. Corners provide repeatable points for matching, so are worth detecting. Idea: Exactly at a corner, gradient is ill defined. However, in the region around a corner, gradient has two or more different values.

Auto-Correlation Use self correlation to see if the local context is self-similar FLAT REGION No local change EDGE No change along the boundary SALIENT PONT Change in every direction

Auto-Correlation

The Harris corner detector Form the second-moment matrix: Sum over a small region around the hypothetical corner I C= I x I y 2 x Matrix is symmetric I I I x y 2 y

Simple Case First, consider case where: I x2 C= I x I y I I I x y 2 y λ1 0 = 0 λ2 This means dominant gradient directions align with x or y axis If either λ is close to 0, then this is not a corner, so look for locations where both are large.

How to recognize corners? Harris Corner Detector Shi-Tomasi Minimum Eigenvalue

Eigenvalue-based classification

General Case It can be shown that since C is symmetric: λ 0 1 1 C=R R 0 λ2 So every case is like a rotated version of the one on last slide.

To Detect Corners... Filter image with Gaussian to reduce noise Compute magnitude of the x and y gradients at each pixel Construct C in a window around each pixel (Harris uses a Gaussian window just blur) Solve for corner response R If λs are both big (product reaches local maximum and is above threshold), we have a corner (Harris also checks that ratio of λs is not too high)

Gradient Orientation Closeup

Corner Detection Corners are detected where the product of the ellipse axis lengths reaches a local maximum.

Corners are detected where the product of the ellipse axis lengths reaches a local maximum.

Example Values of R

Example Flat regions ( R <10000)

Example Edges (R<10000)

Example Corners (R>10000)

Recognition Problem Want to find in here

SIFT SIFT = Scale Invariant Feature Transform Distinctive image features from scale-invariant keypoints. David G. Lowe, International Journal of Computer Vision, 60, 2 (2004), pp. 91-110. Invariances: Scaling Rotation Illumination Deformation Provides Good localization Yes Yes Yes Maybe Yes

Invariant Local Features Image content is transformed into local feature coordinates that are invariant to translation, rotation, scale, and other imaging parameters SIFT Features

Advantages of invariant local features Locality: features are local, so robust to occlusion and clutter (no prior segmentation) Distinctiveness: individual features can be matched to a large database of objects Quantity: many features can be generated for even small objects Efficiency: close to real-time performance Extensibility: can easily be extended to wide range of differing feature types, with each adding robustness

SIFT 1. 2. 3. 4. 5. 6. Enforce invariance to scale: Compute Gaussian difference max, for may different scales; non-maximum suppression, find local maxima: keypoint candidates Localizable corner: For each maximum fit quadratic function. Compute center with sub-pixel accuracy by setting first derivative to zero. Eliminate edges: Compute ratio of eigenvalues, drop keypoints for which this ratio is larger than a threshold. Enforce invariance to orientation: Compute orientation, to achieve scale invariance, by finding the strongest second derivative direction in the smoothed image (possibly multiple orientations). Rotate patch so that orientation points up. Compute feature signature: Compute a "gradient histogram" of the local image region in a 4x4 pixel region. Do this for 4x4 regions of that size. Orient so that largest gradient points up (possibly multiple solutions). Result: feature vector with 128 values (15 fields, 8 gradients). Enforce invariance to illumination change and camera saturation: Normalize to unit length to increase invariance to illumination. Then threshold all gradients, to become invariant to camera saturation.

Find Invariant Corners 1. Enforce invariance to scale: Compute Gaussian difference max, for may different scales; non-maximum suppression, find local maxima: keypoint candidates Idea: Find Corners, but scale invariance Approach: Run linear filter (diff of Gaussians) At different resolutions of image pyramid

Difference of Gaussians Minus Equals

Build Scale-Space Pyramid All scales must be examined to identify scaleinvariant features An efficient function is to compute the Difference of Gaussian (DOG) pyramid (Burt & Adelson, 1983) R e s a m p le B lu r S u b tra c t

Key point localization Detect maxima and minima of difference-of-gaussian in scale space

Example of keypoint detection

keypoint detection 3. Eliminate edges: Compute ratio of eigenvalues, drop keypoints for which this ratio is larger than a threshold. Threshold on value at DOG peak and on ratio of principle curvatures (Harris approach)

Select canonical orientation 4. Enforce invariance to orientation: Compute orientation, to achieve scale invariance, by finding the strongest second derivative direction in the smoothed image (possibly multiple orientations). Rotate patch so that orientation points up. Create histogram of local gradient directions computed at selected scale Assign canonical orientation at peak of smoothed histogram Each key specifies stable 2D coordinates (x, y, scale, orientation) 0 2π

SIFT 5. 6. Compute feature signature: Compute a "gradient histogram" of the local image region in a 4x4 pixel region. Do this for 4x4 regions of that size. Orient so that largest gradient points up (possibly multiple solutions). Result: feature vector with 128 values (15 fields, 8 gradients). Enforce invariance to illumination change and camera saturation: Normalize to unit length to increase invariance to illumination. Then threshold all gradients, to become invariant to camera saturation. Thresholded image gradients are sampled over 16x16 array of locations in scale space Create array of orientation histograms 8 orientations x 4x4 histogram array = 128 dimensions

Nearest-neighbor feature matching Hypotheses are generated by approximate nearest neighbor matching of each feature to vectors in the database SIFT use best-bin-first (Beis & Lowe, 97) modification to k-d tree algorithm Use heap data structure to identify bins in order by their distance from query point Result: Can give speedup by factor of 1000 while finding nearest neighbor (of interest) 95% of the time

3D Object Recognition Extract outlines with background subtraction

3D Object Recognition Only 3 keys are needed for recognition, so extra keys provide robustness Affine model is no longer as accurate

Recognition under occlusion

Illumination invariance

Location recognition

Local ambiguity: What is this?

A car on the street?

An ashtray on the table?

Context Global scene context affects interpretation of local patches

The multiple personalities of a blob

Isolated object may not be recognizable Information Contextual features Local features Distance

Symptom of only using local features Some false alarms occur in image regions in which is impossible for the target to be present given the context.

Information from the context The type of scene informs us about the types of objects and their locations We know there is a keyboard present in this scene even if we cannot see it clearly. We expect no keyboard present in this scene even if there is one!

Outside the object (contextual features) Inside the object (intrinsic features) Object size Global context Local context Global appearance Parts Pixels