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.
Point spacing
Re: Point spacing
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 ;)
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