Reference Vector for PCFITPLANE in Lidar Viewer?

2 visualizzazioni (ultimi 30 giorni)
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).

Risposta accettata

Vijeta
Vijeta il 15 Giu 2023
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.

Più risposte (0)

Prodotti


Release

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by