Azzera filtri
Azzera filtri

Point Cloud Sampling by Regular Distance

1 visualizzazione (ultimi 30 giorni)
Focal
Focal il 19 Mar 2020
Modificato: Sanjana il 18 Giu 2024
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 Commenti
John D'Errico
John D'Errico il 19 Mar 2020
what question is there in this about MATLAB?
Focal
Focal il 20 Mar 2020
Wondering if there are any methods to find point cloud's nearest neighbour by a certain dimensions. Such as 1cm instead of number of nearest neighbour.

Accedi per commentare.

Risposte (1)

Sanjana
Sanjana il 10 Giu 2024
Modificato: Sanjana il 18 Giu 2024
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!

Community Treasure Hunt

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

Start Hunting!

Translated by