Reference Vector for PCFITPLANE in Lidar Viewer?

2 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Point Cloud Processing 的更多信息

标签

产品


版本

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by