10/12/2015 1
Fitting a transformation: feature-based alignment
Tues Oct 13
Motivation: Recognition
Figures from David Low e
Fitting a transformation: feature-based alignment Tues Oct 13 - - PDF document
10/12/2015 Fitting a transformation: feature-based alignment Tues Oct 13 Motivation: Recognition Figures from David Low e 1 10/12/2015 Motivation: medical image registration Motivation: mosaics Image f rom
Figures from David Low e
Image f rom http://graphics.cs.cmu.edu/courses/15-463/2010_f all/
Source: L. Lazebnik
Source: L. Lazebnik
Source: L. Lazebnik
matches that are related by T)
Source: L. Lazebnik
matches that are related by T)
with T)
Source: L. Lazebnik
matches that are related by T)
with T)
Source: L. Lazebnik
i i M
i i i
x x T ) ), ( ( residual
Find model M that minimizes Find transformation T that minimizes
'
Slide credit: Lana Lazebnik
translation rotation aspect affine perspective
Source: Alyosha Efros
Source: Alyosha Efros
Scaling a coordinate means multiplying each of its components by a scalar Uniform scaling means this scalar is the same for all components:
Source: Alyosha Efros
Non-uniform scaling: different scalars per component:
Source: Alyosha Efros
Source: Alyosha Efros
y x
y x
Source: Alyosha Efros
y
x
y x
Source: Alyosha Efros
y x
Source: Alyosha Efros
homogeneous image coordinates
y x
y x
Source: Alyosha Efros
y x y x
Source: Alyosha Efros
1 1 cos sin sin cos 1 ' ' y x y x 1 1 1 1 1 ' ' y x t t y x
y x
1 1 1 1 1 ' ' y x sh sh y x
y x
1 1 1 ' ' y x s s y x
y x
Source: Alyosha Efros
– e.g., a line to edge points, or a snake to a deforming contour
'
Lana Lazebnik
) , (
i i y
x ) , (
i i y
x
2 1 4 3 2 1
i i i i
' 2 2 ' 1 1
' 2 ' 1 2 1
... ... ... 1 1 1
' 3 ' 2 ' 1 3 2 1
X X X b a X X X
2
Source: Alyosha Efros
) , (
i i y
x ) , (
i i y
x
2 1 4 3 2 1
i i i i
i i i i i i
2 1 4 3 2 1
i i i i i i
2 1 4 3 2 1
new new y
http://www.vlfeat.org/overview/sift.html Interest points and their scales and orientations (random subset of 50) SIFT descriptors
http://www.vlfeat.org/overview/sift.html
Figures from David Low e, ICCV 1999
Lana Lazebnik
Source: R. Raguram
Lana Lazebnik
Least-squares fit
Source: R. Raguram
Lana Lazebnik
minimal subset
Source: R. Raguram
Lana Lazebnik
minimal subset
model
Source: R. Raguram
Lana Lazebnik
minimal subset
model
function
Source: R. Raguram
Lana Lazebnik
minimal subset
model
function
consistent with model
Source: R. Raguram
Lana Lazebnik
minimal subset
model
function
consistent with model
hypothesize-and- verify loop
Source: R. Raguram
Lana Lazebnik
56
minimal subset
model
function
consistent with model
hypothesize-and- verify loop
Source: R. Raguram
Lana Lazebnik 57
minimal subset
model
function
consistent with model
hypothesize-and- verify loop
Source: R. Raguram
Lana Lazebnik
minimal subset
model
function
consistent with model
hypothesize-and- verify loop
Source: R. Raguram
Lana Lazebnik
Source: Rick Szeliski
number of samples
Lana Lazebnik