フィルターのクリア

Reference Vector for PCFITPLANE in Lidar Viewer?

3 ビュー (過去 30 日間)
Andres Morales
Andres Morales 2023 年 4 月 5 日
回答済み: Vijeta 2023 年 6 月 15 日
From the documentation, using pcfitplane without specifying a reference vector will not constrain the plane fitting.
Specifying the maxAngularDistance as one of the options, uses a provided reference vector.
Now, in the Lidar Viewer - Ground Removal tools, there's a maxAngularDistance parameter. However, there's no place to input the reference vector, see the default (guessing it might be [0,0,1]), or ignore this parameter (unconstrained plane fitting).

採用された回答

Vijeta
Vijeta 2023 年 6 月 15 日
Based on the documentation and the implementation in the Lidar Viewer - Ground Removal tools, it is likely that the reference vector used by the pcfitplane function in this case is the Z-axis, i.e. the [0,0,1] vector, unless explicitly specified otherwise.
The maxAngularDistance parameter in the Lidar Viewer - Ground Removal tools may represent the maximum angle between the estimated plane and the Z-axis, beyond which points are considered as non-ground points. This is consistent with the behavior of the pcfitplane function where the maxAngularDistance parameter can be used to specify the maximum angle between the estimated plane normal and a reference vector.
If you want to ensure that the plane fitting is constrained in a specific direction, you could explicitly specify a reference vector using the referenceVector parameter in pcfitplane. However, if you leave it unspecified, it will likely use the Z-axis as the default reference vector.
Note that if the ground surface is not flat, using a single reference vector may not be sufficient and may result in incorrect plane fitting. In this case, you may need to use more advanced algorithms or techniques, such as RANSAC, iterative fitting, or ground segmentation methods to accurately estimate the ground surface.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangePoint Cloud Processing についてさらに検索

タグ

製品


リリース

R2023a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by