[vtkusers] Filtering vtkpolydata

Ali Habib ali.mahmoud.habib at gmail.com
Wed Dec 23 17:18:04 EST 2009


Dear Bill,

I used the code it successfully work , but at some dicom it not just removed
the the region out of the image it removed the lower part of the skull as
see at the attached file , do u have any suggestion please


Best regards

On Wed, Dec 23, 2009 at 9: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
> -------------------------------------------------
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20091224/1dddd05a/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vtkconnectivityoutput.jpg
Type: image/jpeg
Size: 39897 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20091224/1dddd05a/attachment.jpg>


More information about the vtkusers mailing list