本页对应的英文页面已更新,但尚未翻译。 若要查看最新内容,请点击此处访问英文页面。
二维仿射几何变换
affine2d
对象存储有关二维仿射几何变换的信息,并支持正向变换和逆变换。
您可以使用以下方法创建 affine2d
对象:
imregtform
- 使用相似性优化来估计将运动图像映射到固定图像的几何变换。
imregcorr
- 使用相位相关性来估计将运动图像映射到固定图像的几何变换。
fitgeotrans
- 估计在两个图像之间映射成对控制点的几何变换。
randomAffine2d
- 创建随机二维仿射变换。
此处介绍的 affine2d
函数。
tform = affine2d
创建一个 affine2d
对象,其默认属性设置对应于恒等变换。
tform = affine2d(
将属性 T
)T
设置为指定的有效仿射变换矩阵。
invert | Invert geometric transformation |
isRigid | Determine if transformation is rigid transformation |
isSimilarity | Determine if transformation is similarity transformation |
isTranslation | Determine if transformation is pure translation |
outputLimits | Find output spatial limits given input spatial limits |
transformPointsForward | Apply forward geometric transformation |
transformPointsInverse | Apply inverse geometric transformation |