|
SOLUTIONS
|
MATHEMATICA 内置符号
FindGeometricTransform
FindGeometricTransform[pts1, pts2]
找到两个几何结构
和
之间的几何变换,并且返回对齐错误信息,以及变换函数.
更多信息更多信息
- FindGeometricTransform 返回形如
的一个表达式,其中 err 是平均对齐错误的估计量,而 trfun 是一个变换函数. 函数 trfun 可用于坐标
,使其与坐标
对齐. - 几何结构
和
可以是位置坐标列表或者 Mathematica 图形对象. - FindGeometricTransform[image1, image2] 使用两个图像之间相应的点来求几何变换.
- FindGeometricTransform 可用于任何维度空间中的点,以及内置的二维和三维图形基元.
- FindGeometricTransform 采用
选项. 默认情况下,对于给定的坐标集,自动找到最合适的几何变换.
选项的可能设置包括:-
"Translation" 只平移 "Rigid" 平移和旋转 "Similarity" 平移、旋转和缩放 "Affine" 线性变换和平移 "Perspective" 线性分式变换 - FindGeometricTransform 可采用 Method 选项. 默认设置为 Method->Automatic,它选择一个合适的拟合方法以计算变换.
- 可用的拟合方法:
-
"Linear" 基于 SVD 的线性求解器 "RANSAC" 随机抽样一致性方法 "FindFit" 使用 FindFit - 设置
时,某些坐标可能被认为是孤立点,并且可能不被用于决定几何变换.
版本 8 的新功能
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »
