<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi Rui,<br>
    <br>
    you could also have a look at ACVD, a program I wrote, available
    here:<br>
    <meta http-equiv="content-type" content="text/html;
      charset=ISO-8859-1">
    <a href="http://www.creatis.insa-lyon.fr/site/acvd">http://www.creatis.insa-lyon.fr/site/acvd</a><br>
    <br>
    it performs remeshing in a uniform manner.<br>
    <br>
    Sebastien<br>
    <br>
    Le 30/04/2012 16:26, <a class="moz-txt-link-abbreviated" href="mailto:ruifigueiredo@isr.ist.utl.pt">ruifigueiredo@isr.ist.utl.pt</a> a &eacute;crit&nbsp;:
    <blockquote
      cite="mid:20120430152627.197917ork5lswu80@webmail.isr.ist.utl.pt"
      type="cite">
      <br>
      Thanks David for your quick reply,
      <br>
      <br>
      I gave a look what the stratified sampling algorithm you've
      mentioned, but I still have some questions:
      <br>
      As I understood, the "Level" option controls the density of the
      points, but how is this done? Is it possible to specify the
      sampling step? Does this method works for upsampling or only for
      downsampling?
      <br>
      <br>
      I've implemented an upsampling idea I found somewhere on the
      internet that
      <br>
      upsamples the number of points inside a polygon, with a guarantee
      that, along the interpolated directions, the distance between
      interpolated locations is not greater than a threshold. Keeping
      the mesh connectivity should be easy, since the upsampling is made
      individualy for each polygon on the mesh then, one should know the
      direction of the triangulations.
      <br>
      <br>
      Rui
      <br>
      <br>
      <br>
      Quoting David Doria <a class="moz-txt-link-rfc2396E" href="mailto:daviddoria@gmail.com">&lt;daviddoria@gmail.com&gt;</a>:
      <br>
      <br>
      <blockquote type="cite">Wenlong, ICP is for registration, not
        sampling.
        <br>
        <br>
        Rui, I you might look at something like Stratified Sampling:
        <br>
        <a class="moz-txt-link-freetext" href="https://github.com/daviddoria/StratifiedSampling">https://github.com/daviddoria/StratifiedSampling</a>
        <br>
        <br>
        or a built-in VTK option is the vtkCleanPolyDataFilter:
        <br>
<a class="moz-txt-link-freetext" href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/PolyData/DownsamplePointCloud">http://www.vtk.org/Wiki/VTK/Examples/Cxx/PolyData/DownsamplePointCloud</a>
        <br>
        <br>
        However, neither of these preserve mesh connectivity (i.e. they
        are just
        <br>
        point cloud operations) so you'd have to do some remeshing after
        the fact.
        <br>
        <br>
        Good luck,
        <br>
        <br>
        David
        <br>
        <br>
      </blockquote>
      <br>
      <br>
      <br>
      ----------------------------------------------------------------
      <br>
      This message was sent using IMP, the Internet Messaging Program.
      <br>
      <br>
      _______________________________________________
      <br>
      Powered by <a class="moz-txt-link-abbreviated" href="http://www.kitware.com">www.kitware.com</a>
      <br>
      <br>
      Visit other Kitware open-source projects at
      <a class="moz-txt-link-freetext" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a>
      <br>
      <br>
      Please keep messages on-topic and check the VTK FAQ at:
      <a class="moz-txt-link-freetext" href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</a>
      <br>
      <br>
      Follow this link to subscribe/unsubscribe:
      <br>
      <a class="moz-txt-link-freetext" href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</a>
      <br>
    </blockquote>
    <br>
  </body>
</html>