fitgeotrans
(不推荐)根据控制点对组进行几何变换拟合
不建议使用 fitgeotrans。请改用 fitgeotform2d 函数。有关详细信息,请参阅版本历史记录。
语法
说明
根据控制点对组 tform = fitgeotrans(movingPoints,fixedPoints,tformType)movingPoints 和 fixedPoints 进行 tformType 类型的线性几何变换拟合。
根据控制点对组 tform = fitgeotrans(movingPoints,fixedPoints,"polynomial",degree)movingPoints 和 fixedPoints 进行 PolynomialTransformation2D 对象拟合。指定多项式变换的次数,可以是 2、3 或 4。
根据控制点对组 tform = fitgeotrans(movingPoints,fixedPoints,"pwl")movingPoints 和 fixedPoints 进行 PiecewiseLinearTransformation2D 对象拟合。这种变换会创建固定控制点的 德劳内三角剖分,并将运动控制点映射到对应的固定控制点。不同仿射变换映射每个局部区域中的控制点。映射在控制点上是连续的,但不是连续可微分的。
根据控制点对组 tform = fitgeotrans(movingPoints,fixedPoints,"lwm",n)movingPoints 和 fixedPoints 进行 LocalWeightedMeanTransformation2D 对象拟合。局部加权均值变换通过使用相邻控制点在每个控制点上推断多项式来创建映射。在任何位置上的映射都取决于这些多项式的加权平均值。函数使用 n 个最近点来推断每个控制点对组的二次多项式变换。
示例
输入参数
输出参量
详细信息
参考
[1] Goshtasby, Ardeshir. “Piecewise Linear Mapping Functions for Image Registration.” Pattern Recognition 19, no. 6 (January 1986): 459–66. https://doi.org/10.1016/0031-3203(86)90044-0.
[2] Goshtasby, Ardeshir. “Image Registration by Local Approximation Methods.” Image and Vision Computing 6, no. 4 (November 1988): 255–61. https://doi.org/10.1016/0262-8856(88)90016-9.








