<div dir="ltr"><div>Dear Bill,</div>
<div> </div>
<div>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 </div>

<div> </div>
<div> </div>
<div>Best regards<br><br></div>
<div class="gmail_quote">On Wed, Dec 23, 2009 at 9:46 AM, Bryn Lloyd <span dir="ltr">&lt;<a href="mailto:blloyd@vision.ee.ethz.ch">blloyd@vision.ee.ethz.ch</a>&gt;</span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">Dear Ali Habib,<br><br><br>After applying marching cubes you have a vtkPolyData object,.<br><br>Try the vtkPolyDataConnectivityFilter. You can tell it to extract only the largest connected part.<br>
<br><br>Best regards<br><br><br><br><br>Ali Habib wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div>
<div></div>
<div class="h5">Dear All,<br><br>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,..)<br><br>
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<br>  Best regards<br><br></div></div>------------------------------------------------------------------------<br>
<br><br>------------------------------------------------------------------------<br><br>_______________________________________________<br>Powered by <a href="http://www.kitware.com/" target="_blank">www.kitware.com</a><br>
<br>Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br><br>Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>Follow this link to subscribe/unsubscribe:<br><a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br></blockquote><br><br>-- <br>-------------------------------------------------<br>
<font color="#888888">Bryn Lloyd<br>Computer Vision Laboratory<br>ETH Zürich, Sternwartstrasse 7, ETF C110<br>CH - 8092 Zürich, Switzerland<br>Tel: +41 44 63 26668<br>Fax: +41 44 63 21199<br>-------------------------------------------------<br>
</font></blockquote></div><br></div>