[vtkusers] vtkContourFilter, vtkFeatureEdges, thresholding.

Luca Pamparana luca.pamparana at gmail.com
Mon Aug 6 09:41:48 EDT 2007


Hi Robert,

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.

Thanks,

Luca

On 8/6/07, Atwood, Robert C <r.atwood at imperial.ac.uk> wrote:
>
> To me that sounds like a job for ITK connected components , though so
> far I've not done the VTK<->ITK it should not be too difficult?
>
>
> > -----Original Message-----
> > From: vtkusers-bounces+r.atwood=imperial.ac.uk at vtk.org
> > [mailto:vtkusers-bounces+r.atwood=imperial.ac.uk at vtk.org] On
> > Behalf Of Luca Pamparana
> > Sent: 06 August 2007 14:08
> > To: vtkusers
> > Subject: [vtkusers] vtkContourFilter, vtkFeatureEdges, thresholding.
> >
> > Hello all,
> >
> > I have been trying to do this for some time now but with no luck.
> >
> > What I need to do is extract regions (actually the outline of
> > regions) within an input 3D image. I have a very simple
> > scenario. I have a binary image with the background being set
> > to 0 and the foreground shapes (there can be more than one
> > shape on a slice) set to 1. Now what I want to do is get (in
> > an ideal case) a closed array of the outline points for these
> > shapes. I have looked at various vtk filters like
> > vtkContourFilter, vtkFeatureEdges etc. What I cannot figure
> > out is whether they can handle such multiple shapes and how I
> > can get such arrays out of the filtered output.
> >
> > I would really appreciate it if someone can help me out with
> > this as I have spend quite a few days without much luck :(
> >
> > Thanks,
> >
> > Luca
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20070806/235a71c8/attachment.htm>


More information about the vtkusers mailing list