Corner detection: the basic idea

Similar documents
INTEREST POINTS AT DIFFERENT SCALES

Feature extraction: Corners and blobs

Advances in Computer Vision. Prof. Bill Freeman. Image and shape descriptors. Readings: Mikolajczyk and Schmid; Belongie et al.

Corners, Blobs & Descriptors. With slides from S. Lazebnik & S. Seitz, D. Lowe, A. Efros

CS4670: Computer Vision Kavita Bala. Lecture 7: Harris Corner Detec=on

Feature detectors and descriptors. Fei-Fei Li

Feature detectors and descriptors. Fei-Fei Li

Edges and Scale. Image Features. Detecting edges. Origin of Edges. Solution: smooth first. Effects of noise

Extract useful building blocks: blobs. the same image like for the corners

Lecture 8: Interest Point Detection. Saad J Bedros

Local Features (contd.)

Invariant local features. Invariant Local Features. Classes of transformations. (Good) invariant local features. Case study: panorama stitching

Blobs & Scale Invariance

Lecture 8: Interest Point Detection. Saad J Bedros

CSE 473/573 Computer Vision and Image Processing (CVIP)

LoG Blob Finding and Scale. Scale Selection. Blobs (and scale selection) Achieving scale covariance. Blob detection in 2D. Blob detection in 2D

SIFT keypoint detection. D. Lowe, Distinctive image features from scale-invariant keypoints, IJCV 60 (2), pp , 2004.

CS 3710: Visual Recognition Describing Images with Features. Adriana Kovashka Department of Computer Science January 8, 2015

Blob Detection CSC 767

Achieving scale covariance

Detectors part II Descriptors

Machine vision. Summary # 4. The mask for Laplacian is given

Image Analysis. Feature extraction: corners and blobs

Lecture 12. Local Feature Detection. Matching with Invariant Features. Why extract features? Why extract features? Why extract features?

Machine vision, spring 2018 Summary 4

Recap: edge detection. Source: D. Lowe, L. Fei-Fei

CS5670: Computer Vision

Image matching. by Diva Sian. by swashford

Keypoint extraction: Corners Harris Corners Pkwy, Charlotte, NC

Vlad Estivill-Castro (2016) Robots for People --- A project for intelligent integrated systems

Lecture 7: Finding Features (part 2/2)

Lecture 7: Finding Features (part 2/2)

EE 6882 Visual Search Engine

Overview. Introduction to local features. Harris interest points + SSD, ZNCC, SIFT. Evaluation and comparison of different detectors

SIFT, GLOH, SURF descriptors. Dipartimento di Sistemi e Informatica

Overview. Harris interest points. Comparing interest points (SSD, ZNCC, SIFT) Scale & affine invariant interest points

Properties of detectors Edge detectors Harris DoG Properties of descriptors SIFT HOG Shape context

Lecture 6: Finding Features (part 1/2)

Scale & Affine Invariant Interest Point Detectors

Scale & Affine Invariant Interest Point Detectors

Perception III: Filtering, Edges, and Point-features

Lecture 11: Differential Geometry

Edge Detection PSY 5018H: Math Models Hum Behavior, Prof. Paul Schrater, Spring 2005

Interest Operators. All lectures are from posted research papers. Harris Corner Detector: the first and most basic interest operator

Given a feature in I 1, how to find the best match in I 2?

Lecture 6: Edge Detection. CAP 5415: Computer Vision Fall 2008

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

SURF Features. Jacky Baltes Dept. of Computer Science University of Manitoba WWW:

Wavelet-based Salient Points with Scale Information for Classification

Feature detection.

Instance-level l recognition. Cordelia Schmid INRIA

Conic Sections and Polar Graphing Lab Part 1 - Circles

Instance-level recognition: Local invariant features. Cordelia Schmid INRIA, Grenoble

Scale Space Smoothing, Image Feature Extraction and Bessel Filters

Filtering and Edge Detection

Instance-level recognition: Local invariant features. Cordelia Schmid INRIA, Grenoble

Edge Detection. Computer Vision P. Schrater Spring 2003

Instance-level recognition: Local invariant features. Cordelia Schmid INRIA, Grenoble

Lecture 05 Point Feature Detection and Matching

arxiv: v1 [cs.cv] 10 Feb 2016

Edge Detection. Image Processing - Computer Vision

Edge Detection. CS 650: Computer Vision

* h + = Lec 05: Interesting Points Detection. Image Analysis & Retrieval. Outline. Image Filtering. Recap of Lec 04 Image Filtering Edge Features

SIFT: Scale Invariant Feature Transform

Scale-space image processing

VIDEO SYNCHRONIZATION VIA SPACE-TIME INTEREST POINT DISTRIBUTION. Jingyu Yan and Marc Pollefeys

A A x i x j i j (i, j) (j, i) Let. Compute the value of for and

Face detection and recognition. Detection Recognition Sally

Robert Collins CSE598G Mean-Shift Blob Tracking through Scale Space

Feature extraction: Corners and blobs

Advanced Features. Advanced Features: Topics. Jana Kosecka. Slides from: S. Thurn, D. Lowe, Forsyth and Ponce. Advanced features and feature matching

Dimensionality Reduction and Principal Components

Connection of Local Linear Embedding, ISOMAP, and Kernel Principal Component Analysis

Feature Extraction and Image Processing

Optical flow. Subhransu Maji. CMPSCI 670: Computer Vision. October 20, 2016

6.869 Advances in Computer Vision. Prof. Bill Freeman March 1, 2005

Instance-level l recognition. Cordelia Schmid & Josef Sivic INRIA

2D Image Processing Face Detection and Recognition

Dimensionality Reduction and Principle Components

Lecture 7: Edge Detection

Linear Algebra. Chapter 8: Eigenvalues: Further Applications and Computations Section 8.2. Applications to Geometry Proofs of Theorems.

Harris Corner Detector

Principal Component Analysis and Singular Value Decomposition. Volker Tresp, Clemens Otte Summer 2014

SIFT: SCALE INVARIANT FEATURE TRANSFORM BY DAVID LOWE

HW3 - Due 02/06. Each answer must be mathematically justified. Don t forget your name. 1 2, A = 2 2

Image Segmentation: Definition Importance. Digital Image Processing, 2nd ed. Chapter 10 Image Segmentation.

Feature Tracking. 2/27/12 ECEn 631

Edge Detection. Introduction to Computer Vision. Useful Mathematics Funcs. The bad news

Outline. Convolution. Filtering

Differential Equations on Cubic Julia Sets

Laplacian Filters. Sobel Filters. Laplacian Filters. Laplacian Filters. Laplacian Filters. Laplacian Filters

Image enhancement. Why image enhancement? Why image enhancement? Why image enhancement? Example of artifacts caused by image encoding

Introduction to gradient descent

Lesson 04. KAZE, Non-linear diffusion filtering, ORB, MSER. Ing. Marek Hrúz, Ph.D.

Lecture 04 Image Filtering

SURVEY OF APPEARANCE-BASED METHODS FOR OBJECT RECOGNITION

Image Processing 1 (IP1) Bildverarbeitung 1

MACHINE LEARNING. Methods for feature extraction and reduction of dimensionality: Probabilistic PCA and kernel PCA

Overview. Introduction to local features. Harris interest points + SSD, ZNCC, SIFT. Evaluation and comparison of different detectors

Transcription:

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

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

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