Main Content

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

常见几何变换

使用 imwarp 工作流执行常见几何变换

几何变换将输出图像中的像素坐标映射到输入图像中的坐标。然后,映射过程根据输入图像对输出像素进行插值。

使用这些函数可执行一般的二维、三维和 N 维几何变换。要执行二维或三维几何变换,请首先创建一个几何变换对象,用来存储变换信息。然后,将要变换的图像和几何变换对象传递给 imwarp 函数。

函数

全部展开

imwarp对图像应用几何变换
transformPointsForwardApply forward geometric transformation
transformPointsInverseApply inverse geometric transformation
WarperApply same geometric transformation to many images efficiently
fitgeotrans对控制点对组进行几何变换拟合
affine2d二维仿射几何变换
affine3d(Not recommended) 3-D affine geometric transformation using postmultiply convention
rigid2d(Not recommended) 2-D rigid geometric transformation using postmultiply convention
rigid3d(Not recommended) 3-D rigid geometric transformation using postmultiply convention
projective2d(Not recommended) 2-D projective geometric transformation using postmultiply convention
geometricTransform2d2-D geometric transformation object
geometricTransform3d3-D geometric transformation object
PiecewiseLinearTransformation2D2-D piecewise linear geometric transformation
PolynomialTransformation2D2-D polynomial geometric transformation
LocalWeightedMeanTransformation2D2-D local weighted mean geometric transformation
tformarrayApply spatial transformation to N-D array
findboundsFind output bounds for spatial transformation
fliptformFlip input and output roles of spatial transformation structure
makeresamplerCreate resampling structure
maketformCreate N-D spatial transformation structure (TFORM)
tformfwdApply forward N-D spatial transformation
tforminvApply inverse N-D spatial transformation
imref2dReference 2-D image to world coordinates
imref3dReference 3-D image to world coordinates
affineOutputViewCreate output view for warping images

主题

几何变换

空间参照