6.869 advances in computer vision - …...1 w x y u v w x y w x y u v w x y w x y m m m m m i i i x...

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

Upload: others

Post on 05-Aug-2020

12 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 6.869 Advances in Computer Vision - …...1 W x y u v W x y W x y u v W x y W x y m m m m m I I I x y I I x y I I u v I I u v − − = = = ∑ ∑ ∈ ∈ 9 Images as Vectors “Unwrap”

1

6.869 Advances in Computer Vision

Prof. Bill FreemanMarch 1, 2005

Page 2: 6.869 Advances in Computer Vision - …...1 W x y u v W x y W x y u v W x y W x y m m m m m I I I x y I I x y I I u v I I u v − − = = = ∑ ∑ ∈ ∈ 9 Images as Vectors “Unwrap”

2

Page 3: 6.869 Advances in Computer Vision - …...1 W x y u v W x y W x y u v W x y W x y m m m m m I I I x y I I x y I I u v I I u v − − = = = ∑ ∑ ∈ ∈ 9 Images as Vectors “Unwrap”

3

Local Features

Matching points across images important for: object identification (instance recognition)object (class) recognition pose estimationstereo (3-d shape)motion estimatestitching together photographs into a mosaicetc

Page 4: 6.869 Advances in Computer Vision - …...1 W x y u v W x y W x y u v W x y W x y m m m m m I I I x y I I x y I I u v I I u v − − = = = ∑ ∑ ∈ ∈ 9 Images as Vectors “Unwrap”

4

Today

Interesting points, correspondence.

Scale and rotation invariant descriptors [Lowe]

Page 5: 6.869 Advances in Computer Vision - …...1 W x y u v W x y W x y u v W x y W x y m m m m m I I I x y I I x y I I u v I I u v − − = = = ∑ ∑ ∈ ∈ 9 Images as Vectors “Unwrap”

5

Correspondence using window matching

Points are highly individually ambiguous…More unique matches are possible with small

regions of image.

Page 6: 6.869 Advances in Computer Vision - …...1 W x y u v W x y W x y u v W x y W x y m m m m m I I I x y I I x y I I u v I I u v − − = = = ∑ ∑ ∈ ∈ 9 Images as Vectors “Unwrap”

6

Correspondence using window matching

Left Right

error

disparity

scanline

Criterion function:

Page 7: 6.869 Advances in Computer Vision - …...1 W x y u v W x y W x y u v W x y W x y m m m m m I I I x y I I x y I I u v I I u v − − = = = ∑ ∑ ∈ ∈ 9 Images as Vectors “Unwrap”

7

Sum of Squared (Pixel) Differences

Left Right

Lw Rwm

mLw

LI

Rw

RI),( LL yx ),( LL ydx −

∑∈

−−=

+≤≤−+≤≤−=

),(),(

2

2222

)],(),([),,(:disparity offunction a as differenceintensity themeasurescost SSD The

,|,),(:function window thedefine We

pixels. of windowsby ingcorrespond are and

yxWvuRLr

mmmmm

RL

m

vduIvuIdyxC

yvyxuxvuyxW

mmww

Page 8: 6.869 Advances in Computer Vision - …...1 W x y u v W x y W x y u v W x y W x y m m m m m I I I x y I I x y I I u v I I u v − − = = = ∑ ∑ ∈ ∈ 9 Images as Vectors “Unwrap”

8

Image Normalization• Even when the cameras are identical models, there

can be differences in gain and sensitivity.• The cameras do not see exactly the same surfaces,

so their overall light levels can differ.• For these reasons and more, it is a good idea to

normalize the pixels in each window:

pixel Normalized ),(),(ˆ

magnitude Window )],([

pixel Average ),(

),(

),(),(

2),(

),(),(),(

1

yxW

yxWvuyxW

yxWvuyxW

m

mm

mm

IIIyxIyxI

vuII

vuII

−−

=

=

=

Page 9: 6.869 Advances in Computer Vision - …...1 W x y u v W x y W x y u v W x y W x y m m m m m I I I x y I I x y I I u v I I u v − − = = = ∑ ∑ ∈ ∈ 9 Images as Vectors “Unwrap”

9

Images as Vectors“Unwrap”image to form vector, using raster scan order

Left Right

LwRw m

m

Lw

Lw

row 3

m

m

m

row 1

row 2

Each window is a vectorin an m2 dimensionalvector space.Normalization makesthem unit length.

Page 10: 6.869 Advances in Computer Vision - …...1 W x y u v W x y W x y u v W x y W x y m m m m m I I I x y I I x y I I u v I I u v − − = = = ∑ ∑ ∈ ∈ 9 Images as Vectors “Unwrap”

10

Image windows as vectors

Page 11: 6.869 Advances in Computer Vision - …...1 W x y u v W x y W x y u v W x y W x y m m m m m I I I x y I I x y I I u v I I u v − − = = = ∑ ∑ ∈ ∈ 9 Images as Vectors “Unwrap”

11

Possible metrics

Lw)(dwRDistance?

Angle?

Page 12: 6.869 Advances in Computer Vision - …...1 W x y u v W x y W x y u v W x y W x y m m m m m I I I x y I I x y I I u v I I u v − − = = = ∑ ∑ ∈ ∈ 9 Images as Vectors “Unwrap”

12

Image Metrics(Normalized) Sum of Squared Differences

2

),(),(

2SSD

)(

)],(ˆ),(ˆ[)(

dww

vduIvuIdC

RL

yxWvuRL

m

−=

−−= ∑∈

Lw)(dwR

Normalized Correlation

θcos)(

),(ˆ),(ˆ)(),(),(

NC

=⋅=

−= ∑∈

dww

vduIvuIdC

RL

yxWvuRL

m

)(maxarg)(minarg 2* dwwdwwd RLdRLd ⋅=−=

Page 13: 6.869 Advances in Computer Vision - …...1 W x y u v W x y W x y u v W x y W x y m m m m m I I I x y I I x y I I u v I I u v − − = = = ∑ ∑ ∈ ∈ 9 Images as Vectors “Unwrap”

13

Local Features

Not all points are equally good for matching…

Page 14: 6.869 Advances in Computer Vision - …...1 W x y u v W x y W x y u v W x y W x y m m m m m I I I x y I I x y I I u v I I u v − − = = = ∑ ∑ ∈ ∈ 9 Images as Vectors “Unwrap”

14

Page 15: 6.869 Advances in Computer Vision - …...1 W x y u v W x y W x y u v W x y W x y m m m m m I I I x y I I x y I I u v I I u v − − = = = ∑ ∑ ∈ ∈ 9 Images as Vectors “Unwrap”

15

Page 16: 6.869 Advances in Computer Vision - …...1 W x y u v W x y W x y u v W x y W x y m m m m m I I I x y I I x y I I u v I I u v − − = = = ∑ ∑ ∈ ∈ 9 Images as Vectors “Unwrap”

16

Aperture Problem and Normal Flow

Page 17: 6.869 Advances in Computer Vision - …...1 W x y u v W x y W x y u v W x y W x y m m m m m I I I x y I I x y I I u v I I u v − − = = = ∑ ∑ ∈ ∈ 9 Images as Vectors “Unwrap”

17

Aperture Problem and Normal Flow

Page 18: 6.869 Advances in Computer Vision - …...1 W x y u v W x y W x y u v W x y W x y m m m m m I I I x y I I x y I I u v I I u v − − = = = ∑ ∑ ∈ ∈ 9 Images as Vectors “Unwrap”

18

Aperture Problem and Normal Flow

Page 19: 6.869 Advances in Computer Vision - …...1 W x y u v W x y W x y u v W x y W x y m m m m m I I I x y I I x y I I u v I I u v − − = = = ∑ ∑ ∈ ∈ 9 Images as Vectors “Unwrap”

19

Aperture Problem and Normal Flow

Page 20: 6.869 Advances in Computer Vision - …...1 W x y u v W x y W x y u v W x y W x y m m m m m I I I x y I I x y I I u v I I u v − − = = = ∑ ∑ ∈ ∈ 9 Images as Vectors “Unwrap”

20

Aperture Problem and Normal Flow

Page 21: 6.869 Advances in Computer Vision - …...1 W x y u v W x y W x y u v W x y W x y m m m m m I I I x y I I x y I I u v I I u v − − = = = ∑ ∑ ∈ ∈ 9 Images as Vectors “Unwrap”

21

Aperture Problem and Normal Flow

Page 22: 6.869 Advances in Computer Vision - …...1 W x y u v W x y W x y u v W x y W x y m m m m m I I I x y I I x y I I u v I I u v − − = = = ∑ ∑ ∈ ∈ 9 Images as Vectors “Unwrap”

22

(Review) Differential approach:Optical flow constraint equation

),,(),,( tyxItttvytuxI =+++ δδδBrightness should stay constant as you track motion

),,(),,( tyxItItIvtIutyxI tyx =+++ δδδ

1st order Taylor series, valid for small tδ

0=++ tyx IvIuIConstraint equation

“BCCE” - Brightness Change Constraint Equation

Page 23: 6.869 Advances in Computer Vision - …...1 W x y u v W x y W x y u v W x y W x y m m m m m I I I x y I I x y I I u v I I u v − − = = = ∑ ∑ ∈ ∈ 9 Images as Vectors “Unwrap”

23

Aperture Problem and Normal Flow

0

0

=•∇

=++

UI

IvIuI tyxr

The gradient constraint:

Defines a line in the (u,v) space

u

v

II

IIu t

∇∇

∇−=⊥

Normal Flow:

Page 24: 6.869 Advances in Computer Vision - …...1 W x y u v W x y W x y u v W x y W x y m m m m m I I I x y I I x y I I u v I I u v − − = = = ∑ ∑ ∈ ∈ 9 Images as Vectors “Unwrap”

24

Combining Local Constraints

u

v 11tIUI −=•∇

22tIUI −=•∇33tIUI −=•∇

etc.

Page 25: 6.869 Advances in Computer Vision - …...1 W x y u v W x y W x y u v W x y W x y m m m m m I I I x y I I x y I I u v I I u v − − = = = ∑ ∑ ∈ ∈ 9 Images as Vectors “Unwrap”

25

Lucas-Kanade: Integrate gradients over a Patch

( )∑Ω∈

++=yx

tyx IvyxIuyxIvuE,

2),(),(),(Assume a single velocity for all pixels within an image patch

Solve with:

⎟⎟⎠

⎞⎜⎜⎝

⎛−=⎟⎟

⎞⎜⎜⎝

⎥⎥⎦

⎢⎢⎣

∑∑

∑∑∑∑

ty

tx

yyx

yxx

IIII

vu

IIIIII2

2

On the LHS: sum of the 2x2 outer product tensor of the gradient vector

( ) tT IIUII ∑∑ ∇−=∇∇r

Page 26: 6.869 Advances in Computer Vision - …...1 W x y u v W x y W x y u v W x y W x y m m m m m I I I x y I I x y I I u v I I u v − − = = = ∑ ∑ ∈ ∈ 9 Images as Vectors “Unwrap”

26

Local Patch Analysis

Page 27: 6.869 Advances in Computer Vision - …...1 W x y u v W x y W x y u v W x y W x y m m m m m I I I x y I I x y I I u v I I u v − − = = = ∑ ∑ ∈ ∈ 9 Images as Vectors “Unwrap”

27

Selecting Good Features• What’s a “good feature”?

– Satisfies brightness constancy– Has sufficient texture variation– Does not have too much texture variation– Corresponds to a “real” surface patch– Does not deform too much over time

Page 28: 6.869 Advances in Computer Vision - …...1 W x y u v W x y W x y u v W x y W x y m m m m m I I I x y I I x y I I u v I I u v − − = = = ∑ ∑ ∈ ∈ 9 Images as Vectors “Unwrap”

28

Good Features to Track

⎟⎟⎠

⎞⎜⎜⎝

⎛−=⎟⎟

⎞⎜⎜⎝

⎥⎥⎦

⎢⎢⎣

∑∑

∑∑∑∑

ty

tx

yyx

yxx

IIII

vu

IIIIII2

2

A u = b

When is This Solvable?• A should be invertible • A should not be too small due to noise

– eigenvalues λ1 and λ2 of A should not be too small• A should be well-conditioned

– λ1/ λ2 should not be too large (λ1 = larger eigenvalue)

Both conditions satisfied when min(λ1, λ2) > c

Page 29: 6.869 Advances in Computer Vision - …...1 W x y u v W x y W x y u v W x y W x y m m m m m I I I x y I I x y I I u v I I u v − − = = = ∑ ∑ ∈ ∈ 9 Images as Vectors “Unwrap”

29

Harris detector

⎥⎥⎥

⎢⎢⎢

∑∑∑∑

∈∈

∈∈

Wyxkky

Wyxkkykkx

Wyxkkykkx

Wyxkkx

kkkk

kkkk

yxIyxIyxI

yxIyxIyxI

),(

2

),(

),(),(

2

)),((),(),(

),(),()),((Auto-correlation matrix

• Auto-correlation matrix– captures the structure of the local neighborhood– measure based on eigenvalues of this matrix

• 2 strong eigenvalues => interest point• 1 strong eigenvalue => contour• 0 eigenvalue => uniform region

• Interest point detection– threshold on the eigenvalues– local maximum for localization

Page 30: 6.869 Advances in Computer Vision - …...1 W x y u v W x y W x y u v W x y W x y m m m m m I I I x y I I x y I I u v I I u v − − = = = ∑ ∑ ∈ ∈ 9 Images as Vectors “Unwrap”

30

Selecting Good Features

λ1 and λ2 are large

Page 31: 6.869 Advances in Computer Vision - …...1 W x y u v W x y W x y u v W x y W x y m m m m m I I I x y I I x y I I u v I I u v − − = = = ∑ ∑ ∈ ∈ 9 Images as Vectors “Unwrap”

31

Selecting Good Features

large λ1, small λ2

Page 32: 6.869 Advances in Computer Vision - …...1 W x y u v W x y W x y u v W x y W x y m m m m m I I I x y I I x y I I u v I I u v − − = = = ∑ ∑ ∈ ∈ 9 Images as Vectors “Unwrap”

32

Selecting Good Features

small λ1, small λ2

Page 33: 6.869 Advances in Computer Vision - …...1 W x y u v W x y W x y u v W x y W x y m m m m m I I I x y I I x y I I u v I I u v − − = = = ∑ ∑ ∈ ∈ 9 Images as Vectors “Unwrap”

33

Today

Interesting points, correspondence.

Scale and rotation invariant descriptors [Lowe]

Page 34: 6.869 Advances in Computer Vision - …...1 W x y u v W x y W x y u v W x y W x y m m m m m I I I x y I I x y I I u v I I u v − − = = = ∑ ∑ ∈ ∈ 9 Images as Vectors “Unwrap”

CVPR 2003 Tutorial

Recognition and Matching Based on Local Invariant

Features

David Lowe Computer Science DepartmentUniversity of British Columbia

Page 35: 6.869 Advances in Computer Vision - …...1 W x y u v W x y W x y u v W x y W x y m m m m m I I I x y I I x y I I u v I I u v − − = = = ∑ ∑ ∈ ∈ 9 Images as Vectors “Unwrap”

35

Invariant Local Features• Image content is transformed into local feature

coordinates that are invariant to translation, rotation, scale, and other imaging parameters

SIFT Features

Page 36: 6.869 Advances in Computer Vision - …...1 W x y u v W x y W x y u v W x y W x y m m m m m I I I x y I I x y I I u v I I u v − − = = = ∑ ∑ ∈ ∈ 9 Images as Vectors “Unwrap”

Advantages of invariant local features

• Locality: features are local, so robust to occlusion and clutter (no prior segmentation)

• Distinctiveness: individual features can be matched to a large database of objects

• Quantity: many features can be generated for even small objects

• Efficiency: close to real-time performance

• Extensibility: can easily be extended to wide range of differing feature types, with each adding robustness

Page 37: 6.869 Advances in Computer Vision - …...1 W x y u v W x y W x y u v W x y W x y m m m m m I I I x y I I x y I I u v I I u v − − = = = ∑ ∑ ∈ ∈ 9 Images as Vectors “Unwrap”

37

Scale invarianceRequires a method to repeatably select points in location

and scale:• The only reasonable scale-space kernel is a Gaussian

(Koenderink, 1984; Lindeberg, 1994)• An efficient choice is to detect peaks in the difference of

Gaussian pyramid (Burt & Adelson, 1983; Crowley & Parker, 1984 – but examining more scales)

• Difference-of-Gaussian with constant ratio of scales is a close approximation to Lindeberg’s scale-normalized Laplacian (can be shown from the heat diffusion equation)

Blur

Res ample

Subtra ct

Blur

Res ample

Subtra ct

Page 38: 6.869 Advances in Computer Vision - …...1 W x y u v W x y W x y u v W x y W x y m m m m m I I I x y I I x y I I u v I I u v − − = = = ∑ ∑ ∈ ∈ 9 Images as Vectors “Unwrap”

38

Scale space processed one octave at a time

Page 39: 6.869 Advances in Computer Vision - …...1 W x y u v W x y W x y u v W x y W x y m m m m m I I I x y I I x y I I u v I I u v − − = = = ∑ ∑ ∈ ∈ 9 Images as Vectors “Unwrap”

39

Key point localization• Detect maxima and minima of

difference-of-Gaussian in scale space

• Fit a quadratic to surrounding values for sub-pixel and sub-scale interpolation (Brown & Lowe, 2002)

• Taylor expansion around point:

• Offset of extremum (use finite differences for derivatives):

Blur

Res ample

Subtra ct

Page 40: 6.869 Advances in Computer Vision - …...1 W x y u v W x y W x y u v W x y W x y m m m m m I I I x y I I x y I I u v I I u v − − = = = ∑ ∑ ∈ ∈ 9 Images as Vectors “Unwrap”

40

Select canonical orientation

0 2π

• Create histogram of local gradient directions computed at selected scale

• Assign canonical orientation at peak of smoothed histogram

• Each key specifies stable 2D coordinates (x, y, scale, orientation)

Page 41: 6.869 Advances in Computer Vision - …...1 W x y u v W x y W x y u v W x y W x y m m m m m I I I x y I I x y I I u v I I u v − − = = = ∑ ∑ ∈ ∈ 9 Images as Vectors “Unwrap”

41

Example of keypoint detectionThreshold on value at DOG peak and on ratio of principle curvatures (Harris approach)

(a) 233x189 image(b) 832 DOG extrema(c) 729 left after peak

value threshold(d) 536 left after testing

ratio of principlecurvatures

Page 42: 6.869 Advances in Computer Vision - …...1 W x y u v W x y W x y u v W x y W x y m m m m m I I I x y I I x y I I u v I I u v − − = = = ∑ ∑ ∈ ∈ 9 Images as Vectors “Unwrap”

42

SIFT vector formation• Thresholded 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 43: 6.869 Advances in Computer Vision - …...1 W x y u v W x y W x y u v W x y W x y m m m m m I I I x y I I x y I I u v I I u v − − = = = ∑ ∑ ∈ ∈ 9 Images as Vectors “Unwrap”

43

Feature stability to noise• Match features after random change in image scale &

orientation, with differing levels of image noise• Find nearest neighbor in database of 30,000 features

Page 44: 6.869 Advances in Computer Vision - …...1 W x y u v W x y W x y u v W x y W x y m m m m m I I I x y I I x y I I u v I I u v − − = = = ∑ ∑ ∈ ∈ 9 Images as Vectors “Unwrap”

44

Feature stability to affine change• Match features after random change in image scale &

orientation, with 2% image noise, and affine distortion• Find nearest neighbor in database of 30,000 features

Page 45: 6.869 Advances in Computer Vision - …...1 W x y u v W x y W x y u v W x y W x y m m m m m I I I x y I I x y I I u v I I u v − − = = = ∑ ∑ ∈ ∈ 9 Images as Vectors “Unwrap”

45

Distinctiveness of features• Vary size of database of features, with 30 degree affine

change, 2% image noise• Measure % correct for single nearest neighbor match

Page 46: 6.869 Advances in Computer Vision - …...1 W x y u v W x y W x y u v W x y W x y m m m m m I I I x y I I x y I I u v I I u v − − = = = ∑ ∑ ∈ ∈ 9 Images as Vectors “Unwrap”

46

Page 47: 6.869 Advances in Computer Vision - …...1 W x y u v W x y W x y u v W x y W x y m m m m m I I I x y I I x y I I u v I I u v − − = = = ∑ ∑ ∈ ∈ 9 Images as Vectors “Unwrap”

47

Page 48: 6.869 Advances in Computer Vision - …...1 W x y u v W x y W x y u v W x y W x y m m m m m I I I x y I I x y I I u v I I u v − − = = = ∑ ∑ ∈ ∈ 9 Images as Vectors “Unwrap”

48

A good SIFT features tutorial

http://www.cs.toronto.edu/~jepson/csc2503/tutSIFT04.pdfBy Estrada, Jepson, and Fleet.

Page 49: 6.869 Advances in Computer Vision - …...1 W x y u v W x y W x y u v W x y W x y m m m m m I I I x y I I x y I I u v I I u v − − = = = ∑ ∑ ∈ ∈ 9 Images as Vectors “Unwrap”

49

An application of SIFT features in my own research…

Page 50: 6.869 Advances in Computer Vision - …...1 W x y u v W x y W x y u v W x y W x y m m m m m I I I x y I I x y I I u v I I u v − − = = = ∑ ∑ ∈ ∈ 9 Images as Vectors “Unwrap”

50

The couch potato project: Learning from looking at images.

Bill Freeman, MITJoint work with: Josef Sivic, Andrew Zisserman (Oxford);

Bryan Russell (MIT), Alyosha Efros (CMU).

December 18, 2004

Page 51: 6.869 Advances in Computer Vision - …...1 W x y u v W x y W x y u v W x y W x y m m m m m I I I x y I I x y I I u v I I u v − − = = = ∑ ∑ ∈ ∈ 9 Images as Vectors “Unwrap”

51

What can you learn aboutobject categories by simply looking at images?

Page 52: 6.869 Advances in Computer Vision - …...1 W x y u v W x y W x y u v W x y W x y m m m m m I I I x y I I x y I I u v I I u v − − = = = ∑ ∑ ∈ ∈ 9 Images as Vectors “Unwrap”

52

Labelled training databasesLabelling object classes in images is tedious, and can introduce biases.

Page 53: 6.869 Advances in Computer Vision - …...1 W x y u v W x y W x y u v W x y W x y m m m m m I I I x y I I x y I I u v I I u v − − = = = ∑ ∑ ∈ ∈ 9 Images as Vectors “Unwrap”

53

Discover topics

Find words

Form histograms

Page 54: 6.869 Advances in Computer Vision - …...1 W x y u v W x y W x y u v W x y W x y m m m m m I I I x y I I x y I I u v I I u v − − = = = ∑ ∑ ∈ ∈ 9 Images as Vectors “Unwrap”

54

Page 55: 6.869 Advances in Computer Vision - …...1 W x y u v W x y W x y u v W x y W x y m m m m m I I I x y I I x y I I u v I I u v − − = = = ∑ ∑ ∈ ∈ 9 Images as Vectors “Unwrap”

55

SIFT (scale invariant feature transforms)

David Lowe,IJCV 2004

Page 56: 6.869 Advances in Computer Vision - …...1 W x y u v W x y W x y u v W x y W x y m m m m m I I I x y I I x y I I u v I I u v − − = = = ∑ ∑ ∈ ∈ 9 Images as Vectors “Unwrap”

56

Visual words

• Vector quantize SIFT descriptors to a vocabulary of 2237 “visual words”.

• Heuristic design of descriptors makes these words somewhat invariant to:– Lighting– 2-d Orientation– 3-d Viewpoint

Page 57: 6.869 Advances in Computer Vision - …...1 W x y u v W x y W x y u v W x y W x y m m m m m I I I x y I I x y I I u v I I u v − − = = = ∑ ∑ ∈ ∈ 9 Images as Vectors “Unwrap”

57

Examples of visual words

Page 58: 6.869 Advances in Computer Vision - …...1 W x y u v W x y W x y u v W x y W x y m m m m m I I I x y I I x y I I u v I I u v − − = = = ∑ ∑ ∈ ∈ 9 Images as Vectors “Unwrap”

58

More visual words

Page 59: 6.869 Advances in Computer Vision - …...1 W x y u v W x y W x y u v W x y W x y m m m m m I I I x y I I x y I I u v I I u v − − = = = ∑ ∑ ∈ ∈ 9 Images as Vectors “Unwrap”

59

Polysemy—the same word with different meanings

Page 60: 6.869 Advances in Computer Vision - …...1 W x y u v W x y W x y u v W x y W x y m m m m m I I I x y I I x y I I u v I I u v − − = = = ∑ ∑ ∈ ∈ 9 Images as Vectors “Unwrap”

60

Experiment E

Page 61: 6.869 Advances in Computer Vision - …...1 W x y u v W x y W x y u v W x y W x y m m m m m I I I x y I I x y I I u v I I u v − − = = = ∑ ∑ ∈ ∈ 9 Images as Vectors “Unwrap”

61

Observation matrix – experiment EVisual word #

Frame #

13.8 % non-zero entries

Page 62: 6.869 Advances in Computer Vision - …...1 W x y u v W x y W x y u v W x y W x y m m m m m I I I x y I I x y I I u v I I u v − − = = = ∑ ∑ ∈ ∈ 9 Images as Vectors “Unwrap”

Binarized observation matrix –experiment E

Frame #

Visual word #

13.8 % non-zero entries62

Page 63: 6.869 Advances in Computer Vision - …...1 W x y u v W x y W x y u v W x y W x y m m m m m I I I x y I I x y I I u v I I u v − − = = = ∑ ∑ ∈ ∈ 9 Images as Vectors “Unwrap”

63

Page 64: 6.869 Advances in Computer Vision - …...1 W x y u v W x y W x y u v W x y W x y m m m m m I I I x y I I x y I I u v I I u v − − = = = ∑ ∑ ∈ ∈ 9 Images as Vectors “Unwrap”

64

Example segmentationsFaces Background IMotorbikes Background IIAirplanes Background IIICars

Original images

Segmentations

All detected visual words

001986000117 000306 001448 010748 010758002359001567

Page 65: 6.869 Advances in Computer Vision - …...1 W x y u v W x y W x y u v W x y W x y m m m m m I I I x y I I x y I I u v I I u v − − = = = ∑ ∑ ∈ ∈ 9 Images as Vectors “Unwrap”

65

Page 66: 6.869 Advances in Computer Vision - …...1 W x y u v W x y W x y u v W x y W x y m m m m m I I I x y I I x y I I u v I I u v − − = = = ∑ ∑ ∈ ∈ 9 Images as Vectors “Unwrap”

66

Page 67: 6.869 Advances in Computer Vision - …...1 W x y u v W x y W x y u v W x y W x y m m m m m I I I x y I I x y I I u v I I u v − − = = = ∑ ∑ ∈ ∈ 9 Images as Vectors “Unwrap”

67

Page 68: 6.869 Advances in Computer Vision - …...1 W x y u v W x y W x y u v W x y W x y m m m m m I I I x y I I x y I I u v I I u v − − = = = ∑ ∑ ∈ ∈ 9 Images as Vectors “Unwrap”

68

Page 69: 6.869 Advances in Computer Vision - …...1 W x y u v W x y W x y u v W x y W x y m m m m m I I I x y I I x y I I u v I I u v − − = = = ∑ ∑ ∈ ∈ 9 Images as Vectors “Unwrap”

69

Page 70: 6.869 Advances in Computer Vision - …...1 W x y u v W x y W x y u v W x y W x y m m m m m I I I x y I I x y I I u v I I u v − − = = = ∑ ∑ ∈ ∈ 9 Images as Vectors “Unwrap”

70

FacesMotorbikesAirplanesCars

Background IBackground IIBackground III

Page 71: 6.869 Advances in Computer Vision - …...1 W x y u v W x y W x y u v W x y W x y m m m m m I I I x y I I x y I I u v I I u v − − = = = ∑ ∑ ∈ ∈ 9 Images as Vectors “Unwrap”

71

Page 72: 6.869 Advances in Computer Vision - …...1 W x y u v W x y W x y u v W x y W x y m m m m m I I I x y I I x y I I u v I I u v − − = = = ∑ ∑ ∈ ∈ 9 Images as Vectors “Unwrap”

72

Page 73: 6.869 Advances in Computer Vision - …...1 W x y u v W x y W x y u v W x y W x y m m m m m I I I x y I I x y I I u v I I u v − − = = = ∑ ∑ ∈ ∈ 9 Images as Vectors “Unwrap”

73

FacesMotorbikesAirplanesCars

Background IBackground IIBackground III

Page 74: 6.869 Advances in Computer Vision - …...1 W x y u v W x y W x y u v W x y W x y m m m m m I I I x y I I x y I I u v I I u v − − = = = ∑ ∑ ∈ ∈ 9 Images as Vectors “Unwrap”

74