Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to measure average distance between neighbors for a point cloud in MeshLab

I am trying to mesh a point cloud, and calculate Gaussian and Mean curvature. I am using Meshlab.

I am trying to measure the average point cloud density, to be used in measuring curvature (APSS). The function "Radius from density" of a point cloud is confusing, and also does not include a read out.

Is there a way I can do this in Meshlab. Apologies - I am new to all of this.

like image 758
Nakul Avatar asked Oct 21 '25 05:10

Nakul


1 Answers

Here is the receipt:

  • compute radius as an estimation of the local density. To do this just type 'radius density' in the search box and choose the first filter. This filter computes for each vertex a value that is the average distance of the 'k' nearest neighbours (default k=16)
  • map the radius into the quality (type 'per vertex quality function' in the search box and choose the filter with that name. In the parameter func just type 'rad' and check the 'map into color' option. This filter will transfer the just computed radius per vertex value into the quality and will map this value into a standard rainbow color map.
  • type in the search box 'show quality hist' and choose (again :)) that option.

At this point you should get something similar to this...

enter image description here

like image 70
ALoopingIcon Avatar answered Oct 24 '25 23:10

ALoopingIcon



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!