[Insight-developers] How to show a segment as an overlay?

Luis Ibanez luis.ibanez at kitware.com
Mon Oct 12 12:56:10 EDT 2009


Hi Michel,

You may want to take a look at:

InsightApplications/Auxiliary/vtk/

itkReadITKImage3DExtractContourVTK.cxx
itkReadITKImage3DSegmentShowVTK.cxx
itkReadITKImageSegmentShowVTK.cxx
itkReadITKImageShowSplineVTK.cxx
itkReadITKImageShowVTK.cxx

You may also want to look at the use of
VTK paintbrushes in

http://www.vtkedge.org/vtkedge/resources/software.html


   Regards,


          Luis



--------------------------------------------------------------
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-developers
>
>


More information about the Insight-developers mailing list