用RANSAC拟合多项式到点
求多项式系数,P
= fitPolynomialRANSAC (xyPoints
,N
,maxDistance
)P
,通过对给定的一小组点进行抽样xyPoints
生成多项式拟合。最内饰的合体maxDistance
返回。如果找不到合适的,那么P
返回空的。的function uses the M-estimator sample consensus (MSAC) algorithm, a variation of the random sample consensus (RANSAC) algorithm to fit the data.
[
返回逻辑数组,P
,inlierIdx
) = fitPolynomialRANSAC (___)inlierIdx
,它指定与拟合多项式相嵌的数据点的索引maxDistance
.使用前面语法中的输入参数。
[___) = fitPolynomialRANSAC (___、名称、值)
指定由一个或多个指定的附加选项名称,值
对参数。
Torr, P. H. S.和A. Zisserman。“MLESAC:一种新的用于估计图像几何的鲁棒估计器”。计算机视觉与图像理解.第18卷,第1期,2000年4月,138-156页。