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