<!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> </DIV>
<DIV><FONT face=Arial size=2> 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. Is there any way to make the surface mesh much coarser?
</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial
size=2>***********************************************************************</FONT></DIV>
<DIV><FONT face=Arial size=2> vtkTriangleFilter*
triangles=vtkTriangleFilter::New();<BR> triangles->SetInput(smooth->GetOutput());<BR> <BR></FONT><FONT
face=Arial size=2> vtkSTLWriter*
stlWriter=vtkSTLWriter::New();<BR> stlWriter->SetInput(triangles->GetOutput());<BR> stlWriter->SetFileName("40g.stl");<BR> stlWriter->Write();</FONT></DIV>
<DIV><FONT face=Arial
size=2>************************************************************************</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </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 &
Image Processing (CVIP) Lab<BR>Department of Electrical & 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>
+1-502-852-6130
(Office)<BR>-----------------------------------------------------------------</FONT></DIV></BODY></HTML>