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> &lt;<a href="mailto:r.atwood@imperial.ac.uk">r.atwood@imperial.ac.uk</a>&gt; 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&#39;ve not done the VTK&lt;-&gt;ITK it should not be too difficult?<br><br><br>&gt; -----Original Message-----<br>&gt; From: vtkusers-bounces+r.atwood=
<a href="mailto:imperial.ac.uk@vtk.org">imperial.ac.uk@vtk.org</a><br>&gt; [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>&gt; Behalf Of Luca Pamparana
<br>&gt; Sent: 06 August 2007 14:08<br>&gt; To: vtkusers<br>&gt; Subject: [vtkusers] vtkContourFilter, vtkFeatureEdges, thresholding.<br>&gt;<br>&gt; Hello all,<br>&gt;<br>&gt; I have been trying to do this for some time now but with no luck.
<br>&gt;<br>&gt; What I need to do is extract regions (actually the outline of<br>&gt; regions) within an input 3D image. I have a very simple<br>&gt; scenario. I have a binary image with the background being set<br>&gt; to 0 and the foreground shapes (there can be more than one
<br>&gt; shape on a slice) set to 1. Now what I want to do is get (in<br>&gt; an ideal case) a closed array of the outline points for these<br>&gt; shapes. I have looked at various vtk filters like<br>&gt; vtkContourFilter, vtkFeatureEdges etc. What I cannot figure
<br>&gt; out is whether they can handle such multiple shapes and how I<br>&gt; can get such arrays out of the filtered output.<br>&gt;<br>&gt; I would really appreciate it if someone can help me out with<br>&gt; this as I have spend quite a few days without much luck :(
<br>&gt;<br>&gt; Thanks,<br>&gt;<br>&gt; Luca<br>&gt;<br></blockquote></div><br>