<div dir="ltr">Tariq,<div><br></div><div>One possibility would be this pipeline:</div><div><br></div><div><image reader> -> vtkThreshold -> vtkDataSetSurfaceFilter</div><div><br></div><div>Another could be</div><div><br></div><div><image reader> -> vtkThreshold -> vtkDiscreteMarchingCubes</div><div><br></div><div>Hope that helps,</div><div>Cory</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 22, 2015 at 10:52 PM, tariq <span dir="ltr"><<a href="mailto:tdinar@gmail.com" target="_blank">tdinar@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">hi,<br>
<br>
<br>
I have a black and white image, that has one black connected region.  Is<br>
there a way to extract the black connected region and have it  as polydata?<br>
I want to visualize this region as polydata and work with its geometry<br>
without the image data.<br>
<br>
I am kind of not experienced with VTK and this might be a simple question.<br>
<br>
Thanks.<br>
T.<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/Image-Blob-as-polydata-tp5734533.html" rel="noreferrer" target="_blank">http://vtk.1045678.n5.nabble.com/Image-Blob-as-polydata-tp5734533.html</a><br>
Sent from the VTK - Users mailing list archive at Nabble.com.<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" 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" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/vtkusers</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Cory Quammen<br>R&D Engineer<br>Kitware, Inc.</div>
</div>