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).
댓글 수: 0
채택된 답변
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
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Point Cloud Processing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!