[vtkusers] How to remove smallest unconnected objects from VTK file?

R K Shyam Prakash ramakrishna.prakash at quest-global.com
Mon Apr 19 08:48:25 EDT 2004


Look at vtkConnectivityFilter and use SetExtractionModeToLargestRegion()

--Shyam

> -----Original Message-----
> From: vtkusers-admin at vtk.org [mailto:vtkusers-admin at vtk.org] 
> On Behalf Of Jonathan Bailleul
> Sent: Monday, April 19, 2004 5:45 PM
> To: VTK-User
> Subject: [vtkusers] How to remove smallest unconnected 
> objects from VTK file?
> 
> 
> (sorry for multiple sendings, I got a problem with my messenger)
> 
> Dear All,
> 
> I'm applying marching cubes on volumes to get meshes from 
> anatomical structures. The output gives a main object, and 
> several little objects besides with far less triangles (this 
> is normal regarding the input volumes).
> 
> My question is: how to remove them as simply as possible? 
> 
> This might seem trivial, but not for me at the moment. 
> In advance, thank you for your help.
> 
> 
> -- 
> -----------------------------------
> Jonathan BAILLEUL, Doctorant
> GREYC Image - Université de Caen 
> http://www.greyc.ismra.fr/~bailleul
> 
> _______________________________________________
> This is the private VTK discussion list. 
> Please keep messages on-topic. Check the FAQ at: 
<http://public.kitware.com/cgi-bin/vtkfaq>
Follow this link to subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtkusers




More information about the vtkusers mailing list