<div><div class="gmail_quote">Wenlong, ICP is for registration, not sampling.<div><br></div><div>Rui, I you might look at something like Stratified Sampling:</div><div><a href="https://github.com/daviddoria/StratifiedSampling">https://github.com/daviddoria/StratifiedSampling</a></div>
<div><br></div><div>or a built-in VTK option is the vtkCleanPolyDataFilter:</div><div><a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/PolyData/DownsamplePointCloud">http://www.vtk.org/Wiki/VTK/Examples/Cxx/PolyData/DownsamplePointCloud</a></div>
<div><br></div><div>However, neither of these preserve mesh connectivity (i.e. they are just point cloud operations) so you'd have to do some remeshing after the fact. <br clear="all"><br>Good luck,<br><br>David</div>
</div></div>