How to measure average distance between neighbors

2019-07-29 07:52发布

问题:

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.

回答1:

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...