[vtkusers] Filtering vtkpolydata

David Doria daviddoria+vtk at gmail.com
Wed Dec 23 08:22:16 EST 2009


On Wed, Dec 23, 2009 at 1:46 AM, Bryn Lloyd <blloyd at vision.ee.ethz.ch>wrote:

> Dear Ali Habib,
>
>
> After applying marching cubes you have a vtkPolyData object,.
>
> Try the vtkPolyDataConnectivityFilter. You can tell it to extract only the
> largest connected part.
>
>
> Best regards
>
>
>
>
> Ali Habib wrote:
>
>> Dear All,
>>
>> after reading dicom data, and apply marching cube , I find sometimes the
>> object that I want to visualize and another parts separted from it (due to
>> bad image aquisition, noise,..)
>>
>> is there a way to just got the desiered object and delete the other things
>> , I attached an example image of what I exactly wish to obtain
>>   Best regards
>>
>> ------------------------------------------------------------------------
>>
>>
>> ------------------------------------------------------------------------
>>
>>
>> _______________________________________________
>> 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
>>
>
>
> --
> -------------------------------------------------
> Bryn Lloyd
> Computer Vision Laboratory
> ETH Zürich, Sternwartstrasse 7, ETF C110
> CH - 8092 Zürich, Switzerland
> Tel: +41 44 63 26668
> Fax: +41 44 63 21199
> -------------------------------------------------
>
>
>
We definitely need an example of this. Ali, can you post your code to the
list or to this page:
http://vtk.org/Wiki/index.php?title=VTK/Examples/vtkPolyDataConnectivityFilter&action=edit&redlink=1

once you get it working?

Thanks,

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20091223/f737d48d/attachment.htm>


More information about the vtkusers mailing list