Documentation

This is machine translation

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

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

Common Geometric Transformations

Resize, rotate, crop, and perform other common image geometric image transformations

Use these functions to perform common geometric transformations. For example, use imresize to resize an image.

Functions

imcrop Crop image
imresize Resize image
imresize3 Resize 3-D volumetric intensity image
imrotate Rotate image
imrotate3 Rotate 3-D volumetric grayscale image
imtranslate Translate image
impyramid Image pyramid reduction and expansion

Topics

Understanding 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).

Resize an Image with imresize Function

This example shows how to magnify and shrink an image using the imresize function.

Rotate an Image with imrotate Function

To rotate an image, use the imrotate function.

Crop an Image

To extract a rectangular portion of an image, use the imcrop function.

Translate an Image using imtranslate Function

To shift an image vertically or horizontally, use the imtranslate function.

Crop Image Using Image Viewer App

To crop an image in the Image Viewer app, use the Crop Image tool.

Was this topic helpful?