Corner detection. Lecture 4 CS 664 Spring 2008

Similar documents
Convolution. 1D Formula: 2D Formula: Example on the web:

Feature Tracking and Optical Flow

Image Segmentation and Registration

Digital Imaging and Multimedia. Filters. Ahmed Elgammal Dept. of Computer Science Rutgers University

Probabilistic Latent Semantic Analysis (plsa)

Edge detection. (Trucco, Chapt 4 AND Jain et al., Chapt 5) -Edges are significant local changes of intensity in an image.

A Study on SURF Algorithm and Real-Time Tracking Objects Using Optical Flow

Computational Foundations of Cognitive Science

Sharpening through spatial filtering

Image Gradients. Given a discrete image Á Òµ, consider the smoothed continuous image ܵ defined by

Robert Collins CSE598G. More on Mean-shift. R.Collins, CSE, PSU CSE598G Spring 2006

Stitching of X-ray Images

Distinctive Image Features from Scale-Invariant Keypoints

Vision based Vehicle Tracking using a high angle camera

Canny Edge Detection

3D Model based Object Class Detection in An Arbitrary View

Practical Tour of Visual tracking. David Fleet and Allan Jepson January, 2006

Part-Based Recognition

Subspace Analysis and Optimization for AAM Based Face Alignment

siftservice.com - Turning a Computer Vision algorithm into a World Wide Web Service

Implementation of Canny Edge Detector of color images on CELL/B.E. Architecture.

2.2 Creaseness operator

Supporting Online Material for

Electrical Resonance

Randomized Trees for Real-Time Keypoint Recognition

QUALITY TESTING OF WATER PUMP PULLEY USING IMAGE PROCESSING

MVA ENS Cachan. Lecture 2: Logistic regression & intro to MIL Iasonas Kokkinos Iasonas.kokkinos@ecp.fr

Automatic 3D Reconstruction via Object Detection and 3D Transformable Model Matching CS 269 Class Project Report

Scanners and How to Use Them

Local features and matching. Image classification & object localization

Feature Point Selection using Structural Graph Matching for MLS based Image Registration

jorge s. marques image processing

Face detection is a process of localizing and extracting the face region from the

Classification of Fingerprints. Sarat C. Dass Department of Statistics & Probability

Footwear Print Retrieval System for Real Crime Scene Marks

Cloud tracking with optical flow for short-term solar forecasting

EFFICIENT VEHICLE TRACKING AND CLASSIFICATION FOR AN AUTOMATED TRAFFIC SURVEILLANCE SYSTEM

Bildverarbeitung und Mustererkennung Image Processing and Pattern Recognition

A Comparative Study between SIFT- Particle and SURF-Particle Video Tracking Algorithms

Object class recognition using unsupervised scale-invariant learning

x = + x 2 + x

Object tracking & Motion detection in video sequences

Object Recognition and Template Matching

Modelling, Extraction and Description of Intrinsic Cues of High Resolution Satellite Images: Independent Component Analysis based approaches

Dimensionality Reduction: Principal Components Analysis

Visual Categorization with Bags of Keypoints

Evaluation of Interest Point Detectors

Introduction to nonparametric regression: Least squares vs. Nearest neighbors

G E N E R A L A P P R O A CH: LO O K I N G F O R D O M I N A N T O R I E N T A T I O N I N I M A G E P A T C H E S

Adobe Illustrator CS5

A Comparative Study of SIFT and its Variants

A Comparison of Keypoint Descriptors in the Context of Pedestrian Detection: FREAK vs. SURF vs. BRISK

REAL TIME TRAFFIC LIGHT CONTROL USING IMAGE PROCESSING

Comparison of Non-linear Dimensionality Reduction Techniques for Classification with Gene Expression Microarray Data

Assessment. Presenter: Yupu Zhang, Guoliang Jin, Tuo Wang Computer Vision 2008 Fall

LABEL PROPAGATION ON GRAPHS. SEMI-SUPERVISED LEARNING. ----Changsheng Liu

Surgical Tools Recognition and Pupil Segmentation for Cataract Surgical Process Modeling

Heat Kernel Signature

Finding people in repeated shots of the same scene

Which Shape? Student Task Core Idea 4 Geometry and Measurement

Supervised Feature Selection & Unsupervised Dimensionality Reduction

Feature description based on Center-Symmetric Local Mapped Patterns

Drawing Lines with Pixels. Joshua Scott March 2012

MAVIparticle Modular Algorithms for 3D Particle Characterization

Figure 1: Saving Project

More Local Structure Information for Make-Model Recognition

Review Jeopardy. Blue vs. Orange. Review Jeopardy

Generative Shape Optimizer

Linear algebra and the geometry of quadratic equations. Similarity transformations and orthogonal matrices

Chemotaxis and Migration Tool 2.0

Automated Optical Inspection is one of many manufacturing test methods common in the assembly of printed circuit boards. This list includes:

Jiří Matas. Hough Transform

Mechanical Properties - Stresses & Strains

Mean-Shift Tracking with Random Sampling

Nonlinear Iterative Partial Least Squares Method

Visual-based ID Verification by Signature Tracking

GIS Tutorial 1. Lecture 2 Map design

Fireworks CS4 Tutorial Part 1: Intro

Principal components analysis

AUTOMATIC CROWD ANALYSIS FROM VERY HIGH RESOLUTION SATELLITE IMAGES

Visualization and Feature Extraction, FLOW Spring School 2016 Prof. Dr. Tino Weinkauf. Flow Visualization. Image-Based Methods (integration-based)

Machine vision systems - 2

Recognizing Cats and Dogs with Shape and Appearance based Models. Group Member: Chu Wang, Landu Jiang

Accurate and robust image superresolution by neural processing of local image representations

Basics of Statistical Machine Learning

A Learning Based Method for Super-Resolution of Low Resolution Images

Analecta Vol. 8, No. 2 ISSN

Incremental PCA: An Alternative Approach for Novelty Detection

x 2 + y 2 = 1 y 1 = x 2 + 2x y = x 2 + 2x + 1

Digital image processing

Example: Credit card default, we may be more interested in predicting the probabilty of a default than classifying individuals as default or not.

Signature Region of Interest using Auto cropping

Statistical Machine Learning

Antenna Measurement 1 Antenna Ranges antenna range

DATA ANALYSIS II. Matrix Algorithms

Classifying Large Data Sets Using SVMs with Hierarchical Clusters. Presented by :Limou Wang

Lecture L22-2D Rigid Body Dynamics: Work and Energy

Automatic Grocery Shopping Assistant

FACTOR ANALYSIS. Factor Analysis is similar to PCA in that it is a technique for studying the interrelationships among variables.

Android Ros Application

Transcription:

Corner detection Lecture 4 CS 664 Spring 2008

Last time: Edge detection Convert a gray or color image into set of curves Represented as binary image Capture properties of shapes 2

A problem with edges Edges are insensitive to intensity changes, but not to other image transformations 3

Enter interest point detection Goal: Find points that are stable across scaling, rotation, etc. e.g. corners SIFT Features 4

Corners A corner is characterized by a region with intensity change in two different directions Use local derivative estimates Gradient oriented in different directions Not as simple as looking at gradient (partial derivatives) wrt coordinate frame 5

Corner detection: the basic idea At a corner, shifting a window in any direction should give a large change in intensity flat region: no change in all directions edge : no change along the edge direction corner : significant change in all directions 6

A simple corner detector Define the sum squared difference (SSD) between an image patch and a patch shifted by offset (x,y): where w(u,v) = or 1 in window, 0 outside Gaussian If s(x,y) is high for shifts in all 8 directions, declare a corner. Problem: not isotropic 7

Harris corner detector derivation Second-order Taylor series approximation: where A is defined in terms of partial derivatives I x = I/ x and I y = I/ y summed over (u,v): For constant t, S(x,y) < t is an ellipse 8

Eigenvector analysis The eigenvectors v 1, v 2 of A give an orthogonal basis for the ellipse I.e. directions of fastest and slowest change for λ 2 > λ 1, v 1 is the direction of fastest change (minor axis of ellipse) and v 2 is the direction of slowest change (major axis) direction of the fastest change v 2 direction of the slowest change (λ 2 ) -1/2 (λ 1 ) -1/2 v 1 9

Classify points based on eigenvalues Classification of image points using eigenvalues of M: λ 2 Edge λ 2 >> λ 1 Corner λ 1 and λ 2 are large, λ 1 ~ λ 2 ; E increases in all directions λ 1 and λ 2 are small; E is almost constant in all directions Flat region Edge λ 1 >> λ 2 λ 1 10

Harris corner detection (1988) Smooth the image slightly Compute derivatives on 45 rotated axis Eigenvectors thus oriented wrt that grid Eigenvalues not affected Find eigenvalues λ 1,λ 2 of A (λ 1 <λ 2 ) If both large then high gradient in multiple directions When λ 1 larger than threshold detect a corner Eigenvalues can be computed in closed form a b b c λ 1 = ½(a+c- (a-c) 2 +4b 2 ) λ 2 = ½(a+c+ (a-c) 2 +4b 2 ) 12

Harris corner detection But square roots are expensive Approximate corner response function that avoids square roots: R ( ) 2 = λ λ k λ + λ 1 2 1 2 with k is set empirically After thresholding, keep only local maxima of R as corners prevents multiple detections of the same corner 13

Harris detector, step-by-step 14

Harris detector, step-by-step Compute corner response R 15

Harris detector, step-by-step Threshold on corner response R 16

Harris detector, step-by-step Take only local maxima of R 17

Harris detector result 18

KLT corner detector Kanade-Lucas-Tomasi (1994) Very similar to Harris, but with a greedy corner selection criterion Put all points for which λ 1 > thresh in a list L Sort the list in decreasing order by λ 1 Declare highest pixel p in L to be a corner. Then remove all points from L that are within a DxD neighborhood of p Continue until L is empty 19

Rotation invariance Harris detector properties Ellipse (eigenvectors) rotate but shape (eigenvalues) remain the same Corner response R is invariant to image rotation 20

Harris detector properties Invariant to intensity shift: I = I + b only derivatives are used, not original intensity values Insensitive to intensity scaling: I = a I R R threshold x (image coordinate) x (image coordinate) So Harris is insensitive to affine intensity changes I.e. linear scaling plus a constant offset, I = a I + b 21

Harris detector properties But Harris is not invariant to image scale All points will be classified as edges Corner! 22

Experimental evaluation Quality of Harris detector for different scale changes Repeatability rate: # correspondences # possible correspondences C.Schmid et.al. Evaluation of Interest Point Detectors. IJCV 2000 23

Experimental evaluation C.Schmid et.al. Evaluation of Interest Point Detectors. IJCV 2000 24

Scale invariant interest point detection Consider regions (e.g. circles) of different sizes around a point Regions of corresponding sizes will look the same in both images 25

Scale invariant detection The problem: how do we choose corresponding circles independently in each image? 26

A solution Design a function which is scale invariant I.e. value is the same for two corresponding regions, even if they are at different scales Example: average intensity is the same for corresponding regions, even of different sizes For a given point in an image, consider the value of f as a function of region size (circle radius) f scale = 1/2 f region size region 27 size

A solution Take a local maximum of this function The region size at which maximum is achieved should be invariant to image scale This scale invariant region size is determined independently in each image f scale = 1/2 f s 1 region size s 2 region 28 size

Choosing a function A good function for scale detection has one sharp peak f f f Good! bad bad region size region size region size A function that responds to image contrast is a good choice e.g. convolve with a kernel like the Laplacian or the Difference of Gaussians 29

Laplacian vs.. Difference of Gaussians Common choices: Laplacian: ( (,, ) (,, )) 2 L = Gxx x y + Gyy x y!!! Difference of Gaussians: DoG = G( x, y, k! ) " G( x, y,! ) 2 2 x + y # 2 1 2 2"!! G( x, y,! ) = e 30

Differences of Gaussians 31

Two approaches: Harris-Laplacian vs.. SIFT Harris-Laplacian 1 finds local maximum of Harris corner detector in image space Laplacian in scale space scale y Harris x Laplacian SIFT (Lowe) 2 finds local maximum of DoG in image space DoG in scale space scale y DoG DoG x 1 K.Mikolajczyk, C.Schmid. Indexing Based on Scale Invariant Interest Points. ICCV 2001 2 D.Lowe. Distinctive Image Features from Scale-Invariant Keypoints. Accepted to IJCV 2004 32

Scale invariance experiments Experimental evaluation of detectors w.r.t. scale change Repeatability rate: # correspondences # possible correspondences K.Mikolajczyk, C.Schmid. Indexing Based on Scale Invariant Interest Points. ICCV 2001 33