[vtkusers] mesh subdivision and uniform point distribution

Sebastien Valette sebastien.valette at creatis.insa-lyon.fr
Mon May 7 16:14:26 EDT 2012


Hi Rui,

you could also have a look at ACVD, a program I wrote, available here:
http://www.creatis.insa-lyon.fr/site/acvd

it performs remeshing in a uniform manner.

Sebastien

Le 30/04/2012 16:26, ruifigueiredo at isr.ist.utl.pt a écrit :
>
> Thanks David for your quick reply,
>
> I gave a look what the stratified sampling algorithm you've mentioned, 
> but I still have some questions:
> 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?
>
> I've implemented an upsampling idea I found somewhere on the internet 
> that
> 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.
>
> Rui
>
>
> Quoting David Doria <daviddoria at gmail.com>:
>
>> Wenlong, ICP is for registration, not sampling.
>>
>> Rui, I you might look at something like Stratified Sampling:
>> https://github.com/daviddoria/StratifiedSampling
>>
>> or a built-in VTK option is the vtkCleanPolyDataFilter:
>> http://www.vtk.org/Wiki/VTK/Examples/Cxx/PolyData/DownsamplePointCloud
>>
>> 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.
>>
>> Good luck,
>>
>> David
>>
>
>
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at 
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at: 
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120507/44aa8cc6/attachment.htm>


More information about the vtkusers mailing list