+ All Categories
Home > Documents > Distinctive Image Features from Scale-Invariant Keypoints

Distinctive Image Features from Scale-Invariant Keypoints

Date post: 15-Feb-2016
Category:
Upload: malaya
View: 50 times
Download: 0 times
Share this document with a friend
Description:
Distinctive Image Features from Scale-Invariant Keypoints. David G. Lowe International Journal of Computer Vision(IJCV), 2004. Extracting distinctive invariant features. Points are individually ambiguous More unique matches are possible with small regions of images . - PowerPoint PPT Presentation
Popular Tags:
27
Distinctive Image Features from Scale-Invariant Keypoints David G. Lowe International Journal of Computer Vision(IJCV), 2004
Transcript
Page 1: Distinctive Image Features from Scale-Invariant  Keypoints

Distinctive Image Featuresfrom Scale-Invariant Keypoints

David G. LoweInternational Journal of Computer Vision(IJCV), 2004

Page 2: Distinctive Image Features from Scale-Invariant  Keypoints

Extracting distinctive invariant features

• Points are individually ambiguous• More unique matches are possible with small

regions of images

http://www.csie.ntu.edu.tw/~cyy/courses/vfx/05spring/lectures/handouts/lec04_feature.pdf

Page 3: Distinctive Image Features from Scale-Invariant  Keypoints

Desired properties for features

• Invariant: invariant to scale, rotation, affine, illumination and noise for robust matching across a substantial range of affine distortion, viewpoint change and so on.

• Distinctive: a single feature can be correctly matched with high probability

Page 4: Distinctive Image Features from Scale-Invariant  Keypoints

Moravec corner detector (1980)• We should easily recognize the point by looking

through a small window• Shifting a window in any direction should give a

large change in intensity

Page 5: Distinctive Image Features from Scale-Invariant  Keypoints

Moravec corner detector

flat

Page 6: Distinctive Image Features from Scale-Invariant  Keypoints

Moravec corner detector

flat

Page 7: Distinctive Image Features from Scale-Invariant  Keypoints

Moravec corner detector

flat edge

Page 8: Distinctive Image Features from Scale-Invariant  Keypoints

Moravec corner detector

flat edge cornerisolated point

Page 9: Distinctive Image Features from Scale-Invariant  Keypoints

Moravec corner detectorChange of intensity for the shift [u,v]:

2

,

( , ) ( , ) ( , ) ( , )x y

E u v w x y I x u y v I x y

IntensityShifted intensity

Window function

Four shifts: (u,v) = (1,0), (1,1), (0,1), (-1, 1)Problem: responds too strong for edges because only minimum of E is taken into account

Page 10: Distinctive Image Features from Scale-Invariant  Keypoints

Harris corner detector [1992]Consider all small shifts by Taylor’s expansion

W(x, y): Gaussian function

vu

yxIyxIyxIvyuxI yx )],(),([),(),(

( , ) ,u

E u v u v Mv

=>

M: 2x2 Hessian matrix, 1, 2 – eigenvalues of M

Page 11: Distinctive Image Features from Scale-Invariant  Keypoints

Harris corner detector

Classification of image points using eigenvalues of M:

1

2

Corner1 and 2 are large, 1 ~ 2;E increases in all directions

edge 1 >> 2

edge 2 >> 1

flat

Measure of corner response:

2det traceR M k M

1 2

1 2

dettrace

MM

Page 12: Distinctive Image Features from Scale-Invariant  Keypoints

Harris Detector: Problem

• non-invariant to image scale!

All points will be classified as edges

Corner !

Page 13: Distinctive Image Features from Scale-Invariant  Keypoints

Scale-invariant feature transform (SIFT)

• Scale-invariant feature transform (or SIFT) is an algorithm to detect and describe local features in images.– Distinctive features– Invariant to image scale, rotation and affine

distortion– Applied locally on key-points – Based upon the image gradients in a local

neighborhood

Page 14: Distinctive Image Features from Scale-Invariant  Keypoints

SIFT stages:• Scale-space extrema detection• Keypoint localization• Orientation assignment• Keypoint descriptor

local descriptor

detector

descriptor

Page 15: Distinctive Image Features from Scale-Invariant  Keypoints

1. Detection of scale-space extremaConvolution with a variable-scale Gaussian

Difference-of-Gaussian (DoG) filter

Page 16: Distinctive Image Features from Scale-Invariant  Keypoints

Scale space doubles for the next octave

K=2(1/s), s+3 images for each octave

k∙

2

Page 17: Distinctive Image Features from Scale-Invariant  Keypoints

DoG

• Efficient function to compute• A close approximation to the scale-normalized

Laplacian of Gaussian

Page 18: Distinctive Image Features from Scale-Invariant  Keypoints

2. Keypoint localization

X is selected if it is larger or smaller than all 26 neighbors

Page 19: Distinctive Image Features from Scale-Invariant  Keypoints

Decide scale sampling frequency

Page 20: Distinctive Image Features from Scale-Invariant  Keypoints

Pre-smoothing

=1.6, plus a double expansion

Page 21: Distinctive Image Features from Scale-Invariant  Keypoints

2. Accurate keypoint localization

If has offset larger than 0.5, sample point is changed.

If is less than 0.03 (low contrast), it is discarded.

Reject points with low contrast and poorly localized along an edge

Page 22: Distinctive Image Features from Scale-Invariant  Keypoints

Eliminating edge responses

r=10

Let

Keep the points with

Page 23: Distinctive Image Features from Scale-Invariant  Keypoints
Page 24: Distinctive Image Features from Scale-Invariant  Keypoints

3. Orientation assignment• By assigning a consistent orientation, the keypoint

descriptor can be orientation invariant.• For a keypoint, L is the image with the closest scale

– 36-bin orientation histogram over 360° – weighted by m– Peak is the dominant orientation– Local peak within 80% creates multiple

orientations– About 15% has multiple orientations

Page 25: Distinctive Image Features from Scale-Invariant  Keypoints

4. Local image descriptor• Image gradients are sampled over 16x16 array of

locations in scale space• Create array of orientation histograms• 8 orientations x 4x4 histogram array = 128

dimensions

Page 26: Distinctive Image Features from Scale-Invariant  Keypoints

Recognition examples

Page 27: Distinctive Image Features from Scale-Invariant  Keypoints

Recommended