subsample - space - min. space between points

Feel free to ask any question here
Post Reply
lf2e10
Posts: 1
Joined: Mon Apr 30, 2018 7:24 am

subsample - space - min. space between points

Post by lf2e10 »

Hi,
In the "space" method for sub-sampling, a subset of points can be obtained by assigning a minimum distance between points. CloudCompare always produces the same subset (from the same original point cloud) if the same minimum distance is used (run it multiple times and ever time the same subset is produced). Theoretically, if the minimum distance is the only criterion for sub-sampling from the original point cloud, there should be a variety of choices for subset. I guess that there may be some additional constraints so that a unique sub-sample is produced. Does anyone know the algorithm used in CloudCompare for the subsampling by a minimum distance?
Many thanks.
Lei
daniel
Site Admin
Posts: 7711
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: subsample - space - min. space between points

Post by daniel »

As the points are always picked in the same order (there's no 'random' process here), then the result will indeed always be the same for a given point cloud and a given 'minimum distance'.

If I remember well, the idea is to take the first point, flag it, then proceed to the next point: if this point is farther from any other flagged point than the minimal distance, then flag it as well (otherwise ignore it). And proceed to the next point, etc. At then end we only keep the flagged points.
Daniel, CloudCompare admin
Post Reply