This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materials including this page, select Japan from the country navigator on the bottom of this page.

What Happens in Geometric Transformation

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 value. See imwarp for more information about supported interpolation methods.

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, note how 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

Was this topic helpful?