Local Features (contd.)

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

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

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

Feature detectors and descriptors. Fei-Fei Li

Feature detectors and descriptors. Fei-Fei Li

Feature extraction: Corners and blobs

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

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

INTEREST POINTS AT DIFFERENT SCALES

Lecture 8: Interest Point Detection. Saad J Bedros

Image Analysis. Feature extraction: corners and blobs

Lecture 8: Interest Point Detection. Saad J Bedros

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

Corner detection: the basic idea

Blobs & Scale Invariance

Keypoint extraction: Corners Harris Corners Pkwy, Charlotte, NC

Lecture 7: Finding Features (part 2/2)

EE 6882 Visual Search Engine

Lecture 6: Finding Features (part 1/2)

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

Lecture 7: Finding Features (part 2/2)

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

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

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

Detectors part II Descriptors

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

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

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

Achieving scale covariance

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

Blob Detection CSC 767

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

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

CS5670: Computer Vision

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

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

Feature extraction: Corners and blobs

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

The state of the art and beyond

Scale & Affine Invariant Interest Point Detectors

Affine Adaptation of Local Image Features Using the Hessian Matrix

Wavelet-based Salient Points with Scale Information for Classification

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

Scale & Affine Invariant Interest Point Detectors

Scale-space image processing

arxiv: v1 [cs.cv] 10 Feb 2016

Interest Point Detection. Lecture-4

Image matching. by Diva Sian. by swashford

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

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

COMP 408/508. Computer Vision Fall 2017 PCA for Recognition

Harris Corner Detector

Notes on Wavelets- Sandra Chapman (MPAGS: Time series analysis) # $ ( ) = G f. y t

Feature detection.

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

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

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

Rotational Invariants for Wide-baseline Stereo

Definition: Let f(x) be a function of one variable with continuous derivatives of all orders at a the point x 0, then the series.

Maximally Stable Local Description for Scale Selection

Math 1314 Lesson 23 Partial Derivatives

* 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 BY DAVID LOWE

Lecture 05 Point Feature Detection and Matching

Perception III: Filtering, Edges, and Point-features

Estimation and detection of a periodic signal

Instance-level l recognition. Cordelia Schmid INRIA

Slide a window along the input arc sequence S. Least-squares estimate. σ 2. σ Estimate 1. Statistically test the difference between θ 1 and θ 2

SURVEY OF APPEARANCE-BASED METHODS FOR OBJECT RECOGNITION

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

A New Shape Adaptation Scheme to Affine Invariant Detector

Object Recognition Using Local Characterisation and Zernike Moments

Mathematical Notation Math Calculus & Analytic Geometry III

Machine vision, spring 2018 Summary 4

Visual Object Recognition

Linear Diffusion. E9 242 STIP- R. Venkatesh Babu IISc

Feature Vector Similarity Based on Local Structure

Edge Detection. CS 650: Computer Vision

Probabilistic Model of Error in Fixed-Point Arithmetic Gaussian Pyramid

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

CHAPTER 1: INTRODUCTION. 1.1 Inverse Theory: What It Is and What It Does

Orientation Map Based Palmprint Recognition

Algorithms for Computing a Planar Homography from Conics in Correspondence

Roberto s Notes on Differential Calculus Chapter 8: Graphical analysis Section 1. Extreme points

A Unied Factorization Algorithm for Points, Line Segments and. Planes with Uncertainty Models. Daniel D. Morris and Takeo Kanade

Mathematical Notation Math Calculus & Analytic Geometry III

Part I: Thin Converging Lens

ENSC327 Communications Systems 2: Fourier Representations. School of Engineering Science Simon Fraser University

Hilbert-Huang Transform-based Local Regions Descriptors

Computer Vision I. Announcements

Sound, Decibels, Doppler Effect

z-axis SUBMITTED BY: Ms. Harjeet Kaur Associate Professor Department of Mathematics PGGCG 11, Chandigarh y-axis x-axis

Topic02_PDE. 8/29/2006 topic02_pde 1. Computational Fluid Dynamics (AE/ME 339) MAE Dept., UMR

Computer Vision Lecture 13

Galilean-diagonalized spatio-temporal interest operators

SIFT: Scale Invariant Feature Transform

Traffic models on a network of roads

ELEG 3143 Probability & Stochastic Process Ch. 4 Multiple Random Variables

Video and Motion Analysis Computer Vision Carnegie Mellon University (Kris Kitani)

Transcription:

Motivation Local Features (contd.) Readings: Mikolajczyk and Schmid; F&P Ch 10 Feature points are used also or: Image alignment (homography, undamental matrix) 3D reconstruction Motion tracking Object recognition Indexing and database retrieval Robot navigation other March 6, 008 Models o Image Change We want to: detect the same interest points regardless o image changes Geometry Rotation Similarity (rotation + uniorm scale) Aine (scale dependent on direction) valid or: orthographic camera, locally planar object Photometry Aine intensity change (I a I + b) Darya Frolova, Denis Simakov http://www.wisdom.weizmann.ac.il/~deniss/vision_spring04/iles/invariantfeatures.ppt he Basic Idea Review: A Simple Example Harris corner detector We should easily recognize the point by looking through a small window Shiting a window in any direction should give a large change in intensity C.Harris, M.Stephens. A Combined Corner and Edge Detector. 1988

Harris Detector: Basic Idea Window-averaged change o intensity or the shit [u,v]: xy, [ ] Euv (, ) = wxy (, ) Ix ( + uy, + v) Ixy (, ) lat region: no change in all directions edge : no change along the edge direction corner : signiicant change in all directions Window unction Window unction w(x,y) = Shited intensity or Intensity 1 in window, 0 outside Gaussian Expanding E(u,v) in a nd order aylor series expansion, we have,or small shits [u,v], a bilinear approximation: u Euv (, ) [ uv, ] M v where M is a matrix computed rom image derivatives: I x II x y M = w( x, y) xy, I xiy Iy Intensity change in shiting window: eigenvalue analysis u Euv (, ) [ uv, ] M v Ellipse E(u,v) = const direction o the astest change λ 1, λ eigenvalues o M (λ max ) -1/ (λ min) -1/ direction o the slowest change Classiication o image points using eigenvalues o M: λ 1 and λ are small; E is almost constant in all directions λ λ >> λ 1 Flat region Corner λ 1 and λ are large, λ 1 ~ λ ; E increases in all directions λ 1 >> λ Measure o corner response: ( trace ) R = det M k M det M = λ λ 1 trace M = λ + λ 1 (k empirical constant, k = 0.04-0.06) λ 1

Harris Detector R depends only on eigenvalues o M λ R < 0 Corner he Algorithm: Find points with large corner response unction R (R > threshold) ake the points o local maxima o R R is large or a corner R > 0 R is negative with large magnitude or an edge R is small or a lat region Flat R small R < 0 λ 1 Harris Detector: Worklow Harris Detector: Worklow Compute corner response R Harris Detector: Worklow Find points with large corner response: R>threshold Harris Detector: Worklow ake only the points o local maxima o R

Harris Detector: Worklow Harris Detector: Summary Average intensity change in direction [u,v] can be expressed as a bilinear orm: u Euv (, ) [ uv, ] M v Describe a point in terms o eigenvalues o M: measure o corner response ( ) R = λ1λ k λ1+ λ A good (corner) point should have a large intensity change in all directions, i.e. R should be large positive Rotation invariance Corner response R is invariant to image rotation Partial invariance to additive and multiplicative intensity changes Only derivatives are used => invariance to intensity shit I I + b Intensity scale: I a I Ellipse rotates but its shape (i.e. eigenvalues) remains the same R threshold R x (image coordinate) x (image coordinate) Quality o Harris detector or dierent scale changes Not invariant to image scale! Repeatability rate: # correspondences # possible correspondences All points will be classiied as edges Corner! C.Schmid et.al. Evaluation o Interest Point Detectors. IJCV 000

Consider regions (e.g. circles) o dierent sizes around a point Regions o corresponding sizes will look the same in both images he problem: how do we choose corresponding circles independently in each image? Solution: Design a unction on the region (circle), which is scale invariant (the same or corresponding regions, even i they are at dierent scales) Example: average intensity. For corresponding regions (even o dierent sizes) it will be the same. For a point in one image, we can consider it as a unction o region size (circle radius) Common approach: ake a local maximum o this unction Observation: region size, or which the maximum is achieved, should be invariant to image scale. Important: this scale invariant region size is ound in each image independently! Image 1 scale = 1/ Image Image 1 scale = 1/ Image region size region size s 1 region size s region size Scale Invariant Detectors Functions or determining scale Kernels: ( xx (,, ) yy (,, )) L= G x y + G x y σ σ σ (Laplacian) = Kernel Image Harris-Laplacian 1 Find local maximum o: Harris corner detector in space (image coordinates) Laplacian in scale scale y Harris x Laplacian DoG = G( x, y, kσ ) G( x, y, σ ) (Dierence o Gaussians) where Gaussian SIF (Lowe) Find local maximum o: Dierence o Gaussians in space and scale scale y DoG x + y 1 πσ σ Gxy (,, σ ) = e Note: both kernels are invariant to scale and rotation DoG 1 K.Mikolajczyk, C.Schmid. Indexing Based on Scale Invariant Interest Points. ICCV 001 D.Lowe. Distinctive Image Features rom Scale-Invariant Keypoints. Accepted to IJCV 004 x

Scale Invariant Detectors Experimental evaluation o detectors w.r.t. scale change Repeatability rate: # correspondences # possible correspondences : Summary Given: two images o the same scene with a large scale dierence between them Goal: ind the same interest points independently in each image Solution: search or maxima o suitable unctions in scale and in space (over the image) K.Mikolajczyk, C.Schmid. Indexing Based on Scale Invariant Interest Points. ICCV 001 Methods: 1. Harris-Laplacian [Mikolajczyk, Schmid]: maximize Laplacian over scale, Harris measure o corner response over the image. SIF [Lowe]: maximize Dierence o Gaussians over scale and space Aine Invariant Detection Above we considered: Similarity transorm (rotation + uniorm scale) Aine Invariant Detection ake a local intensity extremum as initial point Go along every ray starting rom this point and stop when extremum o unction is reached Now we go on to: Aine transorm (rotation + non-uniorm scale) points along the ray We will obtain approximately corresponding regions () t = t 1 t o It () I 0 I () t I dt 0 Remark: we search or scale in every direction.uytelaars, L.V.Gool. Wide Baseline Stereo Matching Based on Local, Ainely Invariant Regions. BMVC 000. Aine Invariant Detection Aine Invariant Detection Algorithm summary (detection o aine invariant region): Start rom a local intensity extremum point Go in every direction until the point o extremum o some unction Curve connecting the points is the region boundary Compute geometric moments o orders up to or this region Replace the region with ellipse all points corresponding to extremum o (t) along rays originating rom the same local extremum are linked to enclose an (ainely invariant) region (see igure ). his oten irregularly-shaped region is then replaced by an ellipse having the same shape moments up to the second order. his ellipse-itting is ainely invariant as well..uytelaars, L.V.Gool. Wide Baseline Stereo Matching Based on Local, Ainely Invariant Regions. BMVC 000.

Aine Invariant Detection Aine Invariant Detection he regions ound may not exactly correspond, so we approximate them with ellipses Geometric Moments: mpq p q = x y ( x, y) dxdy Fact: moments m pq uniquely determine the unction aking to be the characteristic unction o a region (1 inside, 0 outside), moments o orders up to allow to approximate the region by an ellipse his ellipse will have the same moments o orders up to as the original region Covariance matrix o region points deines an ellipse: p 1 1 1 p 1 pp region 1 ( p = [x, y] is relative to the center o mass) q= Ap AΣ A 1 q Ellipses, computed or corresponding regions, also correspond! 1 q 1 qq region Aine Invariant Detection : Summary Under aine transormation, we do not know in advance shapes o the corresponding regions Ellipse given by geometric covariance matrix o a region robustly approximates this region For corresponding regions ellipses also correspond. Methods: 1. Search or extremum along rays [uytelaars, Van Gool]:. Maximally Stable Extremal Regions [Matas et.al.]