Lecture 10 Detectors and descriptors

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

Local features and image matching. Prof. Xin Yang HUST

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

Lecture 4.1 Feature descriptors. Trym Vegard Haavardsholm

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

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

Local Image Features

Motion Estimation and Optical Flow Tracking

Local invariant features

Local Features: Detection, Description & Matching

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

Computer Vision for HCI. Topics of This Lecture

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

Local Image Features

2D Image Processing Feature Descriptors

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

Local Image Features

Local features: detection and description May 12 th, 2015

The SIFT (Scale Invariant Feature

CS 558: Computer Vision 4 th Set of Notes

Feature Based Registration - Image Alignment

Local features: detection and description. Local invariant features

Implementation and Comparison of Feature Detection Methods in Image Mosaicing

SIFT - scale-invariant feature transform Konrad Schindler

Evaluation and comparison of interest points/regions

AK Computer Vision Feature Point Detectors and Descriptors

Image Matching Using SIFT, SURF, BRIEF and ORB: Performance Comparison for Distorted Images

SCALE INVARIANT FEATURE TRANSFORM (SIFT)

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

Lecture 6: Finding Features (part 1/2)

SIFT: Scale Invariant Feature Transform

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

Lecture: RANSAC and feature detectors

Scale Invariant Feature Transform

Motion illusion, rotating snakes

A Novel Extreme Point Selection Algorithm in SIFT

Prof. Feng Liu. Spring /26/2017

Outline 7/2/201011/6/

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

A NEW FEATURE BASED IMAGE REGISTRATION ALGORITHM INTRODUCTION

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

HISTOGRAMS OF ORIENTATIO N GRADIENTS

School of Computing University of Utah

A Hybrid Feature Extractor using Fast Hessian Detector and SIFT

Local Features Tutorial: Nov. 8, 04

Feature descriptors and matching

Scale Invariant Feature Transform by David Lowe

VK Multimedia Information Systems

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

Key properties of local features

convolution shift invariant linear system Fourier Transform Aliasing and sampling scale representation edge detection corner detection

State-of-the-Art: Transformation Invariant Descriptors. Asha S, Sreeraj M

SUMMARY: DISTINCTIVE IMAGE FEATURES FROM SCALE- INVARIANT KEYPOINTS

What is an edge? Paint. Depth discontinuity. Material change. Texture boundary

Robust Binary Feature using the Intensity Order

Feature Matching and Robust Fitting

Comparison of Feature Detection and Matching Approaches: SIFT and SURF

CAP 5415 Computer Vision Fall 2012

Modern to Historic Image Matching: ORB/SURF an Effective Matching Technique

Object Recognition with Invariant Features

Click to edit title style

Wikipedia - Mysid

Edge detection. Goal: Identify sudden. an image. Ideal: artist s line drawing. object-level knowledge)

Edge Detection. CSE 576 Ali Farhadi. Many slides from Steve Seitz and Larry Zitnick

SURF: Speeded Up Robust Features. CRV Tutorial Day 2010 David Chi Chung Tam Ryerson University

FESID: Finite Element Scale Invariant Detector

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

Patch Descriptors. EE/CSE 576 Linda Shapiro

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

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

Local Patch Descriptors

Edge and corner detection

A Comparison of SIFT and SURF

Local Image preprocessing (cont d)

Lecture 6: Edge Detection

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

Yudistira Pictures; Universitas Brawijaya

WAVELET TRANSFORM BASED FEATURE DETECTION

Automatic Image Alignment

Feature Detection and Matching

Automatic Image Alignment (feature-based)

A Comparison and Matching Point Extraction of SIFT and ISIFT

Evaluation of the Influence of Feature Detectors and Photometric Descriptors in Object Recognition

Performance Analysis of Computationally Efficient Model based Object Detection and Recognition Techniques

Ulas Bagci

LOCAL AND GLOBAL DESCRIPTORS FOR PLACE RECOGNITION IN ROBOTICS

EE795: Computer Vision and Intelligent Systems

IMPROVING SPATIO-TEMPORAL FEATURE EXTRACTION TECHNIQUES AND THEIR APPLICATIONS IN ACTION CLASSIFICATION. Maral Mesmakhosroshahi, Joohee Kim

EE368 Project Report CD Cover Recognition Using Modified SIFT Algorithm

IMAGE RETRIEVAL USING VLAD WITH MULTIPLE FEATURES

Stereoscopic Images Generation By Monocular Camera

Anno accademico 2006/2007. Davide Migliore

Local Feature Detectors

A Novel Algorithm for Color Image matching using Wavelet-SIFT

The Brightness Clustering Transform and Locally Contrasting Keypoints

Computer Vision I - Filtering and Feature detection

Image features. Image Features

Automatic Image Alignment

Shape recognition with edge-based features

Transcription:

Lecture 10 Detectors and descriptors Properties of detectors Edge detectors Harris DoG Properties of detectors SIFT Shape context Silvio Savarese Lecture 10-26-Feb-14

From the 3D to 2D & vice versa P = [x,y,z] p = [x,y] 3D world Image Let s now focus on 2D

How to represent images?

The big picture Feature Detection e.g. DoG Feature Description e.g. SIFT Estimation Matching Indexing Detection

Estimation Courtesy of TKK Automation Technology Laboratory

Estimation

Matching Image 1 Image 2

Matching H

Object modeling and detection A

Lecture 10 Detectors and descriptors Properties of detectors Edge detectors Harris DoG Properties of detectors SIFT Shape context Silvio Savarese Lecture 10-26-Feb-14

Edge detection

What causes an edge? Identifies sudden changes in an image Depth discontinuity Surface orientation discontinuity Reflectance discontinuity (i.e., change in surface material properties) Illumination discontinuity (e.g., highlights; shadows)

Good detection accuracy: Edge Detection Criteria for optimal edge detection (Canny 86): minimize the probability of false positives (detecting spurious edges caused by noise), false negatives (missing real edges) Good localization: edges must be detected as close as possible to the true edges. Single response constraint: minimize the number of local maxima around the true edge (i.e. detector must return single point for each true edge point)

Examples: Edge Detection True edge Poor robustness to noise Poor localization Too many responses

Designing an edge detector Two ingredients: Use derivatives (in x and y direction) to define a location with high gradient. Need smoothing to reduce noise prior to taking derivative

Designing an edge detector f g f * g d ( f g) dx = (d g/ d x) * f = derivative of Gaussian filter Source: S. Seitz

Smoothing I y) g(x, ' I 2 2 2 2 2 2 1 ), ( y x e y x g I g I g S y x g g y g x g g I g g y x I g I g y x Derivative y x S S = gradient vector Edge detector in 2D

Canny Edge Detection (Canny 86): See CS131A for details Most widely used edge detector in computer vision. original Canny with Canny with The choice of depends on desired behavior large detects large scale edges small detects fine features

Other edge detectors: - Sobel - Canny-Deriche - Differential

Corner/blob detectors

Repeatability The same feature can be found in several images despite geometric and photometric transformations Saliency Each feature is found at an interesting region of the image Locality A feature occupies a relatively small area of the image;

Repeatability Illumination invariance Scale invariance Pose invariance Rotation Affine

Saliency Locality

Corners detectors

Harris corner detector C.Harris and M.Stephens. "A Combined Corner and Edge Detector. Proceedings of the 4th Alvey Vision Conference: pages 147--151. See CS131A for details

Harris Detector: Basic Idea Explore intensity changes within a window as the window changes location flat region: no change in all directions edge : no change along the edge direction corner : significant change in all directions

Results

Blob detectors

Edge detection f g f * g d ( f g) dx Source: S. Seitz

Edge detection f g f * g d dx 2 2 ( f g) d dx 2 f 2 g = second derivative of Gaussian filter = Laplacian of the gaussian

Edge detection as zero crossing f Edge d dx 2 2 g Second derivative of Gaussian (Laplacian) d 2 f 2 dx g Edge = zero crossing of second derivative Source: S. Seitz

Edge detection as zero crossing * = edge edge

From edges to blobs Blob = superposition of nearby edges * * * = = = maximum Magnitude of the Laplacian response achieves a maximum at the center of the blob, provided the scale of the Laplacian is matched to the scale of the blob

From edges to blobs Blob = superposition of nearby edges * * * = = = What if the blob is slightly thicker or slimmer? maximum

Scale selection Convolve signal with Laplacians at several sizes and looking for the maximum response increasing σ g d dx g d dx 2 2 g

Scale normalization To keep the energy of the response the same, must multiply Gaussian derivative by σ Laplacian is the second Gaussian derivative, so it must be multiplied by σ 2

Characteristic scale We define the characteristic scale as the scale that produces peak of Laplacian response Original signal Scale-normalized Laplacian response σ = 1 σ = 2 σ = 4 σ = 8 σ = 16 Maximum

Blob detection in 2D Laplacian of Gaussian: Circularly symmetric operator for blob detection in 2D Scale-normalized: g g 2 g 2 norm x 2 y 2 2 2

Characteristic scale We define the characteristic scale as the scale that produces peak of Laplacian response characteristic scale T. Lindeberg (1998). "Feature detection with automatic scale selection." International Journal of Computer Vision 30 (2): pp 77--116.

Scale-space blob detector 1. Convolve image with scale-normalized Laplacian at several scales 2. Find maxima of squared Laplacian response in scale-space 3. This indicate if a blob has been detected 4. And what s its intrinsic scale

Scale-space blob detector: Example

Scale-space blob detector: Example

Scale-space blob detector: Example

Difference of Gaussians (DoG) David G. Lowe. "Distinctive image features from scale-invariant keypoints. IJCV 60 (2), 04 Approximating the Laplacian with a difference of Gaussians: 2 L Gxx x y Gyy x y (,, ) (,, ) (Laplacian) DoG G( x, y, k) G( x, y, ) (Difference of Gaussians) ***or*** Difference of gaussian blurred images at scales k and L

Detector Illumination Rotation Scale View point Harris corner Yes Yes No No Lowe 99 (DoG) Mikolajczyk & Schmid 01, 02 Tuytelaars, 00 Kadir & Brady, 01 Yes Yes Yes No Yes Yes Yes Yes Yes Yes No (Yes 04 ) Yes Yes Yes Yes no Matas, 02 Yes Yes Yes no

Lecture 10 Detectors and descriptors Properties of detectors Edge detectors Harris DoG Properties of detectors SIFT Shape context Silvio Savarese Lecture 10-26-Feb-14

The big picture Feature Detection e.g. DoG Feature Description e.g. SIFT Estimation Matching Indexing Detection

Invariant w.r.t: Properties Depending on the application a descriptor must incorporate information that is: Illumination Pose Scale Intraclass variability Highly distinctive (allows a single feature to find its correct match with good probability in a large database of features)

The simplest descriptor M 1 x NM vector of pixel intensities w= [ ] w n (w (w w) w) Makes the descriptor invariant with respect to affine transformation of the illumination condition N

Illumination normalization Affine intensity change: I I + b a I + b Make each patch zero mean: I Then make unit variance: x (image coordinate)

Why can t we just use this? Sensitive to small variation of: location Pose Scale intra-class variability Poorly distinctive

Sensitive to pose variations Normalized Correlation: Norm. corr w n w n (w (w w)(w w)(w w ) w )

Descriptor Illumination Pose Intra-class variab. PATCH Good Poor Poor

Bank of filters image filter bank filter responses More robust but still quite sensitive to pose variations descriptor

Descriptor Illumination Pose Intra-class variab. PATCH Good Poor Poor FILTERS Good Medium Medium

SIFT descriptor David G. Lowe. "Distinctive image features from scale-invariant keypoints. IJCV 60 (2), 04 Alternative representation for image patches Location and characteristic scale s given by DoG detector s

SIFT descriptor Alternative representation for image patches Location and characteristic scale s given by DoG detector s Compute gradient at each pixel N x N spatial bins Compute an histogram of M orientations for each bean 1 1 M

SIFT descriptor Alternative representation for image patches Location and characteristic scale s given by DoG detector Compute gradient at each pixel N x N spatial bins Compute an histogram of M orientations for each bean Gaussian center-weighting 1 1 M

SIFT descriptor Alternative representation for image patches Location and characteristic scale s given by DoG detector Compute gradient at each pixel N x N spatial bins Compute an histogram of M orientations for each bean Gaussian center-weighting Normalized unit norm Typically M = 8; N= 4 1 x 128 descriptor

SIFT descriptor Robust w.r.t. small variation in: Illumination (thanks to gradient & normalization) Pose (small affine variation thanks to orientation histogram ) Scale (scale is fixed by DOG) Intra-class variability (small variations thanks to histograms)

Rotational invariance Find dominant orientation by building a orientation histogram Rotate all orientations by the dominant orientation 0 2 This makes the SIFT descriptor rotational invariant

Pose normalization View 1 Scale, rotation & sheer View 2

Descriptor Illumination Pose Intra-class variab. PATCH Good Poor Poor FILTERS Good Medium Medium SIFT Good Good Medium

Shape context descriptor Belongie et al. 2002 Histogram (occurrences within each bin) 3 1 0 0 1 2 3 4 5 // 10 11 12 13 14. Bin # 13 th

Shape context descriptor

Other detectors/descriptors HOG: Histogram of oriented gradients Dalal & Triggs, 2005 SURF: Speeded Up Robust Features Herbert Bay, Andreas Ess, Tinne Tuytelaars, Luc Van Gool, "SURF: Speeded Up Robust Features", Computer Vision and Image Understanding (CVIU), Vol. 110, No. 3, pp. 346--359, 2008 FAST (corner detector) Rosten. Machine Learning for High-speed Corner Detection, 2006. ORB: an efficient alternative to SIFT or SURF Ethan Rublee, Vincent Rabaud, Kurt Konolige, Gary R. Bradski: ORB: An efficient alternative to SIFT or SURF. ICCV 2011 Fast Retina Key- point (FREAK) A. Alahi, R. Ortiz, and P. Vandergheynst. FREAK: Fast Retina Keypoint. In IEEE Conference on Computer Vision and Pattern Recognition, 2012. CVPR 2012 Open Source Award Winner.

Next lecture: Image Classification by Deep Networks