Hello guys,<br><br>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. <br>
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?<br>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 &quot;drawing&quot; a number of single coordinates.<br>
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?<br>
<br>Regards, Michael<br>