Hi Robert,<br><br>Yes you are right, unfortunately I am not using ITK in my project and wondering if it is worthwhile to use ITK for just using this filter. Maybe there is a way in VTK to achieve this without too much coding.
<br><br>Thanks,<br><br>Luca<br><br><div><span class="gmail_quote">On 8/6/07, <b class="gmail_sendername">Atwood, Robert C</b> <<a href="mailto:r.atwood@imperial.ac.uk">r.atwood@imperial.ac.uk</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
To me that sounds like a job for ITK connected components , though so<br>far I've not done the VTK<->ITK it should not be too difficult?<br><br><br>> -----Original Message-----<br>> From: vtkusers-bounces+r.atwood=
<a href="mailto:imperial.ac.uk@vtk.org">imperial.ac.uk@vtk.org</a><br>> [mailto:<a href="mailto:vtkusers-bounces+r.atwood=imperial.ac.uk@vtk.org">vtkusers-bounces+r.atwood=imperial.ac.uk@vtk.org</a>] On<br>> Behalf Of Luca Pamparana
<br>> Sent: 06 August 2007 14:08<br>> To: vtkusers<br>> Subject: [vtkusers] vtkContourFilter, vtkFeatureEdges, thresholding.<br>><br>> Hello all,<br>><br>> I have been trying to do this for some time now but with no luck.
<br>><br>> What I need to do is extract regions (actually the outline of<br>> regions) within an input 3D image. I have a very simple<br>> scenario. I have a binary image with the background being set<br>> to 0 and the foreground shapes (there can be more than one
<br>> shape on a slice) set to 1. Now what I want to do is get (in<br>> an ideal case) a closed array of the outline points for these<br>> shapes. I have looked at various vtk filters like<br>> vtkContourFilter, vtkFeatureEdges etc. What I cannot figure
<br>> out is whether they can handle such multiple shapes and how I<br>> can get such arrays out of the filtered output.<br>><br>> I would really appreciate it if someone can help me out with<br>> this as I have spend quite a few days without much luck :(
<br>><br>> Thanks,<br>><br>> Luca<br>><br></blockquote></div><br>