imwarp determines the value of pixels in the output image by mapping
the new locations back to the corresponding locations in the input image (inverse mapping).
imwarp interpolates within the input image to compute the output pixel
imwarp for more information about supported
The following figure illustrates a translation transformation. By convention, the axes in
input space are labeled u and v and the axes in
output space are labelled x and y. In the figure,
imwarp modifies the spatial coordinates that define the locations
of pixels in the input image. The pixel at (1,1) is now positioned at (41,41). In the
checkerboard image, each black, white, and gray square is 10 pixels high and 10 pixels wide.
(For more information about the distinction between spatial coordinates and pixel coordinates,
see Image Coordinate Systems. )
Input Image Translated