[Insight-users] regarding itk_snap segmentation
Luis Ibanez
luis.ibanez at kitware.com
Sat Aug 8 13:09:51 EDT 2009
Hi Taru,
You may want to do the following:
- Use the itkConnectedComponentImageFilter
on the resulting segmentation
- Then use the itkBinaryMask3DMeshSource
to extract an itkMesh for each one of the labels
in the connected components image
- Finally use the itkVTKPolyDataWriter to write
the itkMeshes in to .vtk legacy files.
Then to display the sufaces, yes, you need to create
a vtkActor for each one.
See for example:
InsightApplications/Auxiliary/vtk/
itkReadITKImage3DSegmentShowVTK.cxx
itkReadITKImageSegmentShowVTK.cxx
Regards,
Luis
-----------------------------
On Wed, Aug 5, 2009 at 10:00 AM, Taru S <swork24 at gmail.com> wrote:
> Hello,
>
> I am new to VTK. I have segmented a 3D MR volume using ITK-SNAP and now
> need to process each of these segmented structures using VTK.
>
> ITK-Snap allows me to save either the entire 3D segmentation or the
> individual mesh structures.
>
> Could you please guide me regarding the best way to extract the individual
> segmented structures from the full 3D segmented image (single image with all
> the segmented str not the individual meshes) so that I can process them
> individually(vtk filters - decimation etc) and create polygonal mesh models
> for each and finally a 3D volumetric model using all these meshes.
>
>
> Also, as per my understanding, I will need to create one vtkActor for each
> of the segmented structures. Please advise if this is the right way to do it
> ?
>
> I will really appreciate your help.
>
> --
> Regards,
> Taru
>
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20090808/f685b8c6/attachment.htm>
More information about the Insight-users
mailing list