Point Cloud Sampling by Regular Distance
조회 수: 1 (최근 30일)
이전 댓글 표시
Recently I had implment findNearestNeighbors from matlab toolbox. But instead of searching by K — Number of nearest neighbors, can it be specific distance from the query point? Like for example export the points 1cm apart from query point for individually compare with best fit plane?
Another question is that if I need to loop through every point of the point cloud to do the query. Is there any kd/octree operation needed? I can't imagine how matlab is running 10million of loop and do plane fitting afterwards.
Thanks guys
댓글 수: 3
답변 (1개)
Sanjana
2024년 6월 10일
편집: Sanjana
2024년 6월 18일
Hi Focal,
I understand that you are looking for functions to find "nearest neighbours" in a pointCloud at certain distance from a point.
You can use the "findNeighboursinRadius" function to find indices of the points at a certain distance from a point, and then use "select" function to select obtained points in the input pointCloud.
Refer to the following example, for more information
Hope this helps!
댓글 수: 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!