필터 지우기
필터 지우기

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 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