Point spacing

Feel free to ask any question here
Post Reply
CWSI_1996
Posts: 1
Joined: Wed Apr 05, 2023 1:53 pm

Point spacing

Post by CWSI_1996 »

Hi all,

For a project I need the average point spacing of the point cloud. I have seen somewhere that the point density can be used, but I do not really understand how this would work. Could someone elaborate on this.
Thanks in advance.
daniel
Site Admin
Posts: 7717
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Point spacing

Post by daniel »

Well, in earlier versions of CC, the density could be computed in several ways, among which one was simply by finding the closest point to each point (which is equivalent to compute the distance to their nearest neighbor). Then you could compute the average of these distances.

But this feature has been discontinued. You would have to use version 2.10 or earlier (see https://www.cloudcompare.org/doc/wiki/index.php/Density). You have to use the 'Approximate' calculation method, and choose the surface density output. Then, you have to massage the result to convert this surface density (= 1 / (pi * R^2)) by inverting the scalar field values, divide them by Pi, and eventually compute the square root (all that with the SF Arithmetic tool). Not easy ;)
Daniel, CloudCompare admin
Post Reply