<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16608" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Dear all:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;I am working on generating a mesh 
surface of segmented liver CT images. Right now, I could generate the mesh 
surface and save it to stl file. But the numbers of polygon and vertices are 
very huge: 781052 and about 2.3M, respectively. The code patches are shown as 
follows.&nbsp; Is there any way to make the surface mesh much coarser? 
</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial 
size=2>***********************************************************************</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp; vtkTriangleFilter* 
triangles=vtkTriangleFilter::New();<BR>&nbsp;&nbsp;triangles-&gt;SetInput(smooth-&gt;GetOutput());<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR></FONT><FONT 
face=Arial size=2>&nbsp; vtkSTLWriter* 
stlWriter=vtkSTLWriter::New();<BR>&nbsp;&nbsp;stlWriter-&gt;SetInput(triangles-&gt;GetOutput());<BR>&nbsp;&nbsp;stlWriter-&gt;SetFileName("40g.stl");<BR>&nbsp;&nbsp;stlWriter-&gt;Write();</FONT></DIV>
<DIV><FONT face=Arial 
size=2>************************************************************************</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Best 
Wishes,<BR>-----------------------------------------------------------------<BR>Dongqing 
Chen<BR>Ph.D Candidate<BR>Rm. 07, Paul C. Lutz Hall<BR>Computer Vision &amp; 
Image Processing (CVIP) Lab<BR>Department of Electrical &amp; Computer 
Engineering<BR>Speed School of Engineering<BR>University of 
Louisville<BR>Louisville, KY. 40292<BR>U.S.A<BR>Email: <A 
href="mailto:dqchen@cvip.louisville.edu">dqchen@cvip.louisville.edu</A><BR>Phone:+1-502-852-2789 
(Lab)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
+1-502-852-6130 
(Office)<BR>-----------------------------------------------------------------</FONT></DIV></BODY></HTML>