Image Warping Implementation I
Forward mapping:
for (int u = 0; u < umax; u++) {
for (int v = 0; v < vmax; v++) {
float x = fx(u,v);
float y = fy(u,v);
dst(x,y) = src(u,v);
}
}
Source image
Destination image
(u,v)
(x,y)
f
Previous slide
Next slide
Back to first slide
View graphic version