Lecture 6: Finding Features (Part 1/2) : Professor Fei - Fei Li Stanford Vision Lab
Lecture 6: Finding Features (Part 1/2) : Professor Fei - Fei Li Stanford Vision Lab
6:
Finding
Features
(part
1/2)
Professor
Fei-Fei
Li
Stanford
Vision
Lab
by swashford
ArHculaHon
d
dq
q
Intra-category
variaHons
normalized region
e.g. color e.g. color
Problem
2:
For
each
point
correctly
recognize
the
corresponding
one
Key property:
with respect to y
Sum
over
image
region
the
area
we
are
checking
for
corner
Image I Ix Iy IxIy
where
M
is
a
22
matrix
computed
from
image
derivaHves:
I x2 I x I y Gradient with
M = w( x, y) 2
x, y I x I y I y respect to x,
times gradient
Slide credit: Rick Szeliski
with respect to y
Sum
over
image
region
the
area
we
are
checking
for
corner
I x2 I I x y
1 0
M = 2 =
I x I y I y 0 2
This
means:
Dominant
gradient
direcHons
align
with
x
or
y
axis
If
either
is
close
to
0,
then
this
is
not
a
corner,
so
look
for
I x2 I I x y
1 0
M = 2 =
I x I y I y 0 2
This
means:
Dominant
gradient
direcHons
align
with
x
or
y
axis
If
either
is
close
to
0,
then
this
is
not
a
corner,
so
look
for
Direction of the
slowest change
(max)-1/2
(min)-1/2
Fast
approximaHon
Avoid
compuHng
the
eigenvalues
:
constant
Flat
Edge
(0.04
to
0.06)
region
<0
1
Fei-Fei Li! Lecture 6 - !28
2-Oct-13
!
!
Window
FuncHon
w(x,y)
I x2 I x I y
M = w( x, y) 2
x, y I x I y I y
OpHon
1:
uniform
window
Sum
over
square
window
I x2 I x I y
M =
I x I y
x , y I y2
Problem:
not
rotaHon
invariant
1 in window, 0 outside
3. Gaussian
filter g(I)
g(Ix2) g(Iy2) g(IxIy)
4. Cornerness function two strong eigenvalues
= det[M ( I , D )] [trace(M ( I , D ))]2
= g ( I x2 ) g ( I y2 ) [ g ( I x I y )]2 [ g ( I x2 ) + g ( I y2 )]2
TranslaHon invariance?
TranslaHon
invariance
RotaHon
invariance?
TranslaHon
invariance
RotaHon
invariance
Scale
invariance?