PCFITPLANE
将飞机适合3-D点云
句法
Description
将平面拟合到一个点云,该点云具有从距离点到平面的最大允许距离。该函数返回描述平面的几何模型。model
= PCFITPLANE(ptCloudIn
,,,,maxDistance
)
This function uses the M-estimator SAmple Consensus (MSAC) algorithm to find the plane. The MSAC algorithm is a variant of the RANdom SAmple Consensus (RANSAC) algorithm.
将平面拟合到具有1 by-3指定的其他方向约束的点云model
= PCFITPLANE(ptCloudIn
,,,,maxDistance
,,,,referenceVector
)referenceVector
输入。
fits a plane to a point cloud that has a specified maximum angular distance.model
= PCFITPLANE(ptCloudIn
,,,,maxDistance
,,,,referenceVector
,,,,maxangulardistance
)
[[
additionally returns the linear indices to the inlier and outlier points in the point cloud input.model
,,,,嵌入式
,,,,outlierIndices
] = PCFITPLANE(ptCloudIn
,,,,maxDistance
)
[[___,,,,
另外,使用前面的任何语法返回inlier点到模型的距离的平均误差。MeanError
] = PCFITPLANE(ptCloudIn
,,,,maxDistance
)
[[___] = PCFITPLANE(
uses additional options specified by one or moreptCloudIn
,,,,maxDistance
,,,,姓名,,,,Value
)姓名,,,,Value
pair arguments.
Examples
Input Arguments
输出参数
References
[1] Torr,P。H. S.和A. Zisserman。“ MLESAC:一种新的可靠估计器,并应用于估计图像几何形状。”计算机视觉和图像理解。2000。