<div>Dear VTK users,</div>
<div> </div>
<div>I am using vtkImageviewer2 to visialize an CT image. I would like to generate contours around the segmented regions. And then visualize the contours over the original images. vtkImageVewer2 can do that by vtkImageViewer->GetRenderer()->AddActor(contour_actor);</div>
<div> </div>
<div>What I need is to generate 2D contour lines on each slice. but now the visualization does not only include 2D contour lines but also 3D surface. While I just need to show 2D contour lines, not 3D surface.</div>
<div> </div>
<div> I check the class vtkImageViewer2. It is documented in this way.</div>
<div> </div>
<div>"This can be used to annotate an image with a PolyData of "edges" or or highlight sections of an image or display a 3D isosurface with a slice from the volume, etc. Any portions of your geometry that are in front of the displayed slice will be visible; any portions of your geometry that are behind the displayed slice will be obscured"</div>
<div> </div>
<div>This problem is also asked in this post in 2011 (<a href="http://vtk.1045678.n5.nabble.com/Generate-contours-around-the-segmented-regions-td3397963.html">http://vtk.1045678.n5.nabble.com/Generate-contours-around-the-segmented-regions-td3397963.html</a>), it suggest vtkExtractVOI but I would like to know if there is any straight-forward way to do this now.</div>
<div> </div>
<div>I would like to show 2D contour lines on each image slice. Does anyone know how to achieve it?</div>
<div> </div>
<div>Attached with the result image in that post. Actor seems to be 3D, but the image is 2D.</div>
<div> </div>
<div>Best Regrads,</div>
<div>Jason</div>