pcfitplane
3 次元点群への平面の近似
構文
説明
は、インライア点から平面までの最大許容距離が指定されている点群に平面を近似します。この関数は、平面を表す幾何学的モデルを返します。model = pcfitplane(ptCloudIn,maxDistance)
この関数は、M-estimator SAmple Consensus (MSAC) アルゴリズムを使用して平面を検出します。MSAC アルゴリズムは、RANdom SAmple Consensus (RANSAC) アルゴリズムのバリアントです。
は、1 行 3 列の model = pcfitplane(ptCloudIn,maxDistance,referenceVector)referenceVector 入力によって追加の方向の制約が指定されている点群に平面を近似します。
は、最大角距離が指定されている点群に平面を近似します。model = pcfitplane(ptCloudIn,maxDistance,referenceVector,maxAngularDistance)
[ は、点群入力のインライア点と外れ値点の線形インデックスを追加で返します。model,inlierIndices,outlierIndices] = pcfitplane(___)
[ は、前述の構文のいずれかを使用し、インライア点からモデルまでの距離の平均誤差を追加で返します。model,inlierIndices,outlierIndices,meanError] = pcfitplane(___)
[___] = pcfitplane(___, は、前の構文にある引数の任意の組み合わせに加えて、名前と値の引数を 1 つ以上使用してオプションを指定します。たとえば、Name=Value)pcfitplane(ptCloud,maxDistance,referenceVector,maxAngularDistance,Confidence=95) は、インライアの最大数を見つけるための信頼度を 95 に設定します。
例
入力引数
名前と値の引数
出力引数
参照
[1] Torr, P. H. S., and A. Zisserman. “MLESAC: A New Robust Estimator with Application to Estimating Image Geometry.” Computer Vision and Image Understanding. 2000.
拡張機能
バージョン履歴
R2015b で導入
参考
オブジェクト
関数
pcshow|pcwrite|pcread|pcfitsphere|pcfitcylinder|findPointsInROI|pcmerge|pctransform|pcregistericp|pcdenoise



