[vtkusers] vtkContourFilter, vtkFeatureEdges, thresholding.
Atwood, Robert C
r.atwood at imperial.ac.uk
Mon Aug 6 09:19:53 EDT 2007
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
>
More information about the vtkusers
mailing list