[vtkusers] How to show a segment as an overlay?

Michael Xanadu xanadu.michael at googlemail.com
Mon Oct 12 10:01:06 EDT 2009


Hello guys,

lets say i have a CT image of a liver or something and ITK delivers a binary
image which shows the liver as a segment (black/white segmentation map). I
can access the binary image pixel-wise and know which coordinates belong to
the segment.
Now I want to show the segment in the original image data in some way (i use
vtkImageViewer). For example I want to draw the segment as an overlay to
vtkImageViewer. You know what I mean?
I think I can trace the binary image pixel-wise and show each pixel which
belongs to the segment as the overlay. For this I wanted to use a widget,
but there is no special widget class in itk for "drawing" a number of single
coordinates.
The next idea i had was to use vtkLineSource and to draw the segment as
polydata of lines, but that also seems to be weird. Are there already some
good solutions (special classes etc.)? Or can anybody tell me a whole new
approach for showing segments as an overlay?

Regards, Michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20091012/cf5e22f8/attachment.htm>


More information about the vtkusers mailing list