[Insight-users] How to show a segment as an overlay?
Kishore Mosaliganti
kishoreraom at gmail.com
Mon Oct 12 11:47:11 EDT 2009
Hi Michael,
The itkLabelOverlayImageFilter overlays your binary segmentation
region over the scalar image and can output an RGB image with
user-specified opacity. This can go into the vtkImageViewer.
Kishore
On Mon, Oct 12, 2009 at 9:42 AM, Michael Xanadu
<xanadu.michael at googlemail.com> wrote:
> 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
>
> _____________________________________
> 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
>
>
More information about the Insight-users
mailing list