Main Content

本页翻译不是最新的。点击此处可查看最新英文版本。

常见几何变换

调整图像大小、旋转、裁剪和平移图像

使用这些函数可执行常见的几何变换。例如,使用 imrotate 旋转图像。

函数

imcrop裁剪图像
imcrop3Crop 3-D image
imresize调整图像大小
imresize3Resize 3-D volumetric intensity image
imrotate旋转图像
imrotate3Rotate 3-D volumetric grayscale image
imtranslateTranslate image
impyramidImage pyramid reduction and expansion

主题

  • 调整图像大小

    通过指定乘法缩放因子或指定所需的图像输出大小来更改图像的大小。

  • Resize Image and Preserve Aspect Ratio

    Resize an image without changing the ratio of width to height.

  • Rotate an Image

    Rotate an image by a specified rotation angle and optionally crop the rotated image to be the same size as the original image.

  • 裁剪图像

    通过指定裁剪区域的大小和位置,或通过使用交互式工具在图窗窗口中拖出图像裁剪区域,来裁剪图像的矩形部分。

  • Translate an Image Using imtranslate Function

    Shift an image vertically or horizontally by a specified number of pixels.