f
(
x,y
)
g
(
x’,y’
)
x
y
Inverse warping
Get each pixel
g
(
x’,y’
) from its corresponding location
(
x,y
)
=
h
-1
(
x’,y’
) in the first image
x
x’
h
-1
(
x,y
)
Q:
what if pixel comes from “between” two pixels?
y’
A:
resample
color value
–
We discussed resampling techniques before
•
nearest neighbor, bilinear, Gaussian, bicubic