Efficient Interest Point Detectors & Features

Similar documents
Efficient Interest Point Detectors & Features

Local features and image matching. Prof. Xin Yang HUST

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

Feature Detection and Matching

University of Cambridge Engineering Part IIB Module 4F12 - Computer Vision and Robotics Mobile Computer Vision

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

CS 558: Computer Vision 4 th Set of Notes

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

EE795: Computer Vision and Intelligent Systems

Click to edit title style

Lecture 10 Detectors and descriptors

Comparison of Feature Detection and Matching Approaches: SIFT and SURF

Visual Tracking (1) Pixel-intensity-based methods

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

Visual Pose Estimation System for Autonomous Rendezvous of Spacecraft

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

A MARKERLESS AUGMENTED REALITY SYSTEM FOR MOBILE DEVICES

Feature Based Registration - Image Alignment

CS 223B Computer Vision Problem Set 3

Automatic Image Alignment (feature-based)

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

Outline 7/2/201011/6/

A Fuzzy Brute Force Matching Method for Binary Image Features

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

Perception IV: Place Recognition, Line Extraction

Learning Visual Semantics: Models, Massive Computation, and Innovative Applications

Image correspondences and structure from motion

The Lucas & Kanade Algorithm

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

Feature Descriptors. CS 510 Lecture #21 April 29 th, 2013

AK Computer Vision Feature Point Detectors and Descriptors

Target Shape Identification for Nanosatellites using Monocular Point Cloud Techniques

Computer Vision for HCI. Topics of This Lecture

Hardware Acceleration of Feature Detection and Description Algorithms on Low Power Embedded Platforms

LOCAL AND GLOBAL DESCRIPTORS FOR PLACE RECOGNITION IN ROBOTICS

CS 378: Autonomous Intelligent Robotics. Instructor: Jivko Sinapov

CAP 5415 Computer Vision Fall 2012

Feature-based methods for image matching

Local Image Features

Local Image Features

A System of Image Matching and 3D Reconstruction

Visual Pose Estimation and Identification for Satellite Rendezvous Operations

A Comparison of SIFT, PCA-SIFT and SURF

CS 231A Computer Vision (Fall 2012) Problem Set 3

Appearance-Based Place Recognition Using Whole-Image BRISK for Collaborative MultiRobot Localization

Corner Detection. GV12/3072 Image Processing.

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

Stitching and Blending

EE795: Computer Vision and Intelligent Systems

Live Metric 3D Reconstruction on Mobile Phones ICCV 2013

Computational Optical Imaging - Optique Numerique. -- Multiple View Geometry and Stereo --

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

CSE 527: Introduction to Computer Vision

Semantic Kernels Binarized A Feature Descriptor for Fast and Robust Matching

ECE Digital Image Processing and Introduction to Computer Vision

Mysteries of Parameterizing Camera Motion - Part 1

ROS2D: Image Feature Detector Using Rank Order Statistics

Computer Vision I - Appearance-based Matching and Projective Geometry

Local Image Features

3D Vision. Viktor Larsson. Spring 2019

IJSER. 1. Introduction

Motion illusion, rotating snakes

Computer Vision. Exercise 3 Panorama Stitching 09/12/2013. Compute Vision : Exercise 3 Panorama Stitching

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

Application questions. Theoretical questions

The SIFT (Scale Invariant Feature

Hough Transform and RANSAC

SIFT: Scale Invariant Feature Transform

ARTVision Tracker 2D

Computer vision: models, learning and inference. Chapter 13 Image preprocessing and feature extraction

VK Multimedia Information Systems

Motion Estimation and Optical Flow Tracking

Image features. Image Features

Eligible Features Segregation for Real-time Visual Odometry

Mosaics. Today s Readings

Edge and corner detection

521466S Machine Vision Assignment #3 Image Features

AN ADVANCED SCALE INVARIANT FEATURE TRANSFORM ALGORITHM FOR FACE RECOGNITION

IJESRT INTERNATIONAL JOURNAL OF ENGINEERING SCIENCES & RESEARCH TECHNOLOGY A SURVEY ON VIDEO STABILIZATION TECHNIQUES

Local Patch Descriptors

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

Online Learning of Binary Feature Indexing for Real-time SLAM Relocalization

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

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

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

Scale Invariant Feature Transform

A NEW FEATURE BASED IMAGE REGISTRATION ALGORITHM INTRODUCTION

Department of Electrical and Electronic Engineering, University of Peradeniya, KY 20400, Sri Lanka

Local features: detection and description May 12 th, 2015

Object Recognition with Invariant Features

Determinant of homography-matrix-based multiple-object recognition

Robotics Programming Laboratory

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

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

Local features: detection and description. Local invariant features

ORB Feature Extraction and Matching in Hardware

A Systems View of Large- Scale 3D Reconstruction

Object Detection by Point Feature Matching using Matlab

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

Transcription:

Efficient Interest Point Detectors & Features Instructor - Simon Lucey 16-423 - Designing Computer Vision Apps

Today Review. Efficient Interest Point Detectors. Efficient Descriptors.

Review In classical Structure from Motion (SfM) computer vision pipeline there are four steps, 1. Locate interest points.

Review - Harris Corner Detector Make decision based on image structure tensor H = X i2n @I(x i ) @x @I(x i ) @x T

Scalar Measures of Cornerness" A popular measure for measuring a corner, 1 + 2 tr[h (x,y) ]= r x I(x, y) 2 2 + r y I(x, y) 2 2 L I(x, y) 2 2 Laplacian (L)

Scalar Measures of Cornerness" A popular measure for measuring a corner, 1 + 2 tr[h (x,y) ]= r x I(x, y) 2 2 + r y I(x, y) 2 2 L I(x, y) 2 2 Laplacian (L) Difference of Gaussians (DOG)

Example - DoGs in SIFT

Review In classical Structure from Motion (SfM) computer vision pipeline there are four steps, 1. Locate interest points. 2. Generate descriptors. I 1 I 2

Review - SIFT Descriptor 1. Compute image gradients 2. Pool into local histograms 3. Concatenate histograms 4. Normalize histograms

Review In classical Structure from Motion (SfM) computer vision pipeline there are four steps, 1. Locate interest points. 2. Generate descriptors. 3. Matching descriptors.

Matching Descriptors Descriptor at position x {x} View 1 View 2??? See BFMatcher class in OpenCV!!!

Matching Descriptors View 1 View 2 (i) = arg min j {x (1) i } {x (2) j } 2 2 Variants other than nearest neighbor are possible!!!

Matching Descriptors View 1 View 2 (i) = arg min j {x (1) i } {x (2) j } 2 2 Variants other than nearest neighbor are possible!!!

Review In classical Structure from Motion (SfM) computer vision pipeline there are four steps, 1. Locate interest points. 2. Generate descriptors. 3. Matching descriptors. 4. Robust fit. arg min {x (1) i hom[x (2) (i) ; ]}

Robust Estimation Least squares criterion is not robust to outliers For example, the two outliers here cause the fitted line to be quite wrong. One approach to fitting under these circumstances is to use RANSAC Random sampling by consensus

RANSAC

RANSAC

Fitting a homography with RANSAC Original images Initial matches Inliers from RANSAC

?

Today Review. Efficient Interest Point Detectors. Efficient Descriptors.

Efficient Interest Point Detection Most classical interest point detectors require the employment of oriented edges. r x I Horizontal r x I r y I Vertical r y

Problem - Gaussian Filtering is Slow Naively, filtering with Gaussians is relatively slow on most modern architectures. 2 1, 0, 3 1 42, 0, 25 1, 0, 1 (Sobel) Does not lend itself well to parallelization as the variance of the Gaussian filter increases (even with FFT). Computational cost increases dramatically as a function of the size of the filter.

In MATLAB, Gaussian Filter is Separable >> h1d = fspecial( gaussian,[25,1],3); >> h2d = kron(h1d,h1d );

Gaussian Filter is Separable In MATLAB, >> mesh(i) >> h2d = imfilter(i, h1d); >> h2d = imfilter(h2d, h1d ); >> mesh(h2d)

More Problems - Scale However, even slower when you have to process things across multiple scales. 2 1, 0, 3 1 42, 0, 25 1, 0, 1 2 1, 0, 3 1 42, 0, 25 1, 0, 1 2 1, 0, 3 1 42, 0, 25 1, 0, 1

Solution - Box Filters One strategy has been to approximate oriented filters with box filters. Most notably the SURF (Speed Up Robust Feature) descriptor of Bay et al. ECCV 2006.

Integral Image Trick We need to compute the box filter values many, many times and we must do it very fast! I(x,y ) II(x, y) = x x, y y I(x,y ) (x, y) 25 (Black)

Computing Integral Images Computing sum of pixels in a rectangular area: f(a) = 26 (Black)

Computing Integral Images Computing sum of pixels in a rectangular area: f(a) = II(A) A 27 (Black)

Computing Integral Images Computing sum of pixels in a rectangular area: f(a) = II(A) II(B) B A 28 (Black)

Computing Integral Images Computing sum of pixels in a rectangular area: f(a) = II(A) II(B) II(C) B C A 29 (Black)

Computing Integral Images Computing sum of pixels in a rectangular area: f(a) = II(A) II(B) II(C) + II(D) D B C A 30 (Black)

Computing Integral Images Computing sum of pixels in a rectangular area: f(a) = II(A) II(B) II(C) + II(D) D B C A A 3 box filter array takes only 8 lookups. 30 (Black)

Fast Gaussian Filtering Iterative box filters can also be applied to obtain extremely efficient Gaussian filtering, In MATLAB, >> mesh(b) >> mesh(imfilter(imfilter(b,b),b))

SURF - Efficient Computation Positives:- Filters can be efficiently applied irrespective of size. Integral images well suited in particular to SIMD. Can take advantage of fixed integer arithmetic. Negatives:- Due to recursive nature cannot be easily parallelized. All pixels in local region need to be touched. Outputs floating/integer point metric of interest. 32

FAST Features from Accelerated Segment Test (FAST) - basis for most modern day computationally efficient interest point detectors. Proposed by Rosten et al. PAMI 2010. Operates by considering a circle of sixteen pixels around the corner candidate. 15 16 1 2 3 14 13 12 p 4 5 6 11 10 9 8 7

FAST Features from Accelerated Segment Test (FAST) - basis for most modern day computationally efficient interest point detectors. Proposed by Rosten et al. PAMI 2010. Operates by considering a circle of sixteen pixels around the corner candidate. 15 16 1 2 3 14 13 12 p 4 5 6 11 10 9 8 7

Why is it FAST? FAST relies heavily upon simple binary test, Does not have to touch all pixels before making a decision. Again, lends itself strongly to the employment of SIMD. Does not rely on integral images. Very good at finding possible corner candidates. Can still fire on edges, (can use Harris to remove false positives). Is NOT multi-scale. I(x p ) t>i(x n )

Today Review. Efficient Interest Point Detectors. Efficient Descriptors.

SURF Descriptor SURF also proposed a more efficient descriptor extraction strategy using box filters, Rest of the descriptor quite similar to SIFT.

Reminder - SIFT Descriptor 1. Compute image gradients 2. Pool into local histograms 3. Concatenate histograms 4. Normalize histograms

BRIEF Descriptor Proposed by Calonder et al. ECCV 2010. Borrows idea that binary comparison is very fast on modern chipset architectures, 1:I(x + 1 ) >I(x + 2 ) I(x, 1, 2) ={ 0 : otherwise Combine features together compactly, I(x) = X i 2 i 1 I(x, (i) 1, (i) 2 )

Why do Binary Features Work? Success of binary features says something about perception itself. Absolute values of pixels do not matter. Makes sense as variable lighting source will effect the gain and bias of pixels, but the local ordering should remain relatively constant.

BRIEF Descriptor Do not need to touch all pixels, can choose randomly and sparsely, { 1, 2} pairs

BRIEF Descriptor Measuring distance between descriptors, d( {x i }, {x j }) = Hamming distance e.g., 2 3 2 3 1 1 405, 405 ( ) d =1 1 0 Why not use Euclidean distance?

ORB Rublee et al. ICCV 2011 proposed Oriented FAST and Rotated BRIEF (ORB). Essentially combines FAST with BRIEF. Demonstrated that ORB is 2 orders of magnitude faster than SIFT. Very useful for mobile devices.

ORB ORB is patent free and available in OpenCV, Detector ORB SURF SIFT Time per frame (ms) 15.3 217.3 5228.7 These times were averaged over 24 640x480 images from the Pascal dataset [9]. ORB is an order of magnitude faster than SURF, and over two orders faster than SIFT.

ORB SLAM Taken from: Mur-Artal, Raul, J. M. M. Montiel, and Juan D. Tardós. "Orb-slam: a versatile and accurate monocular slam system." IEEE Transactions on Robotics 31.5 (2015): 1147-1163.

ORB SLAM Taken from: Mur-Artal, Raul, J. M. M. Montiel, and Juan D. Tardós. "Orb-slam: a versatile and accurate monocular slam system." IEEE Transactions on Robotics 31.5 (2015): 1147-1163.

ORB SLAM Taken from: Mur-Artal, Raul, J. M. M. Montiel, and Juan D. Tardós. "Orb-slam: a versatile and accurate monocular slam system." IEEE Transactions on Robotics 31.5 (2015): 1147-1163.

More to read E. Rublee et al. ORB: an efficient alternative to SIFT or SURF, ICCV 2011. Calonder et al. BRIEF: Binary Robust Independent Elementary Features, ECCV 2010. E. Rosten et al. Faster and better: A machine learning approach to corner detection IEEE Trans. PAMI 2010. P. Kovesi Fast Almost Gaussian Filtering DICTA 2010. 1 Faster and better: a machine learning approach to corner detection Edward Rosten, Reid Porter, and Tom Drummond Edward Rosten and Reid Porter are with Los Alamos National Laboratory, Los Alamos, New Mexico, USA, 87544. Email: edrosten@lanl.gov, rporter@lanl.gov Tom Drummond is with Cambridge University, Cambridge University Engineering Department, Trumpington Street, Cambridge, UK, CB2 1PZ Email: twd20@cam.ac.uk