Image Warping Implementation
Reverse mapping:
for (int x = 0; x < xmax; x++) {
for (int y = 0; y < ymax; y++) {
float u = fx-1(x,y);
float v = fy-1(x,y);
dst(x,y) = resample_src(u,v,w);
}
}
Source image
Destination image
(u,v)
(x,y)
f
Previous slide
Next slide
Back to first slide
View graphic version