<div>Jake,</div>
<div>&nbsp;</div>
<div>vtkDiscreteMarchingCubes will extract one or more labeled structures from a vtk image.</div>
<div>&nbsp;</div>
<div><a href="http://www.vtk.org/doc/nightly/html/classvtkDiscreteMarchingCubes.html">http://www.vtk.org/doc/nightly/html/classvtkDiscreteMarchingCubes.html</a></div>
<div>&nbsp;</div>
<div>There is a short example of usage in:</div>
<div>&nbsp;</div>
<div><a href="http://public.kitware.com/cgi-bin/viewcvs.cgi/*checkout*/Graphics/Testing/Tcl/TestDiscreteMarchingCubes.tcl?root=VTK&amp;content-type=text/plain">http://public.kitware.com/cgi-bin/viewcvs.cgi/*checkout*/Graphics/Testing/Tcl/TestDiscreteMarchingCubes.tcl?root=VTK&amp;content-type=text/plain
</a></div>
<div>&nbsp;</div>
<div>Bill<br><br></div>
<div class="gmail_quote">On Nov 28, 2007 1:11 AM, Jake Nickel &lt;<a href="mailto:jake.nickel@gmail.com">jake.nickel@gmail.com</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi All,<br><br>I have an Analyze image that is segmented into different objects in the following manner:&nbsp; All voxels associated with object 1 are assigned value = 1, voxels associated with object 2 are assigned value = 2, etc.&nbsp; (Background voxel values = 0) 
<br><br>I would like to visualize the entire data set and have a single object stand out by rendering it with a different color than the rest of the objects.&nbsp; For example, I would like object 1 to be red and objects 2 and up to be white (black background). 
<br><br>The data set is large enough to where volume rendering performance is very slow, so I have been surface rendering instead.&nbsp; I am able to read the image in using ITK and get the voxel values.&nbsp; In order to render the surface, I&#39;ve used the itkImageToVTKImageFilter to convert the image to VTK. 
<br><br>Is there a special filter that would be good for doing this?&nbsp; Or does anyone have any insight as to how I should approach this?<br><br>Thanks in advance for any help!<br><font color="#888888">-Jake<br></font><br>_______________________________________________
<br>This is the private VTK discussion list.<br>Please keep messages on-topic. Check the FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>Follow this link to subscribe/unsubscribe:
<br><a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br><br></blockquote></div><br>