<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><DIV>Hi all vtk users.</DIV>
<DIV>Please, i need yor help. I'm really in a trouble.</DIV>
<DIV>I want to extract some particular features from polydats saved as VTK files. When i read those files, the quality of the image is not well, so i have wrong resulats of extraction.</DIV>
<DIV>I tried to smooth the surafce of the poydata but i don't have goos results.</DIV>
<DIV>I post here the code i use and i want to know if ther's another way to have better result.</DIV>
<DIV>Thank you so much.</DIV>
<DIV> </DIV>
<DIV>vtkXMLPolyDataReader *reader = vtkXMLPolyDataReader::New();<BR>reader->SetFileName(fileName);<BR>reader->Update();</DIV>
<DIV> </DIV>
<DIV>vtkSmoothPolyDataFilter *smooth = vtkSmoothPolyDataFilter::New();<BR>smooth->SetInput(reader->GetOutput());<BR>smooth->SetNumberOfIterations(100);<BR>smooth->BoundarySmoothingOn();<BR>smooth->SetFeatureAngle(120);<BR>smooth->SetEdgeAngle(90);<BR>smooth->SetRelaxationFactor(0.025);</DIV>
<DIV> </DIV></td></tr></table><br>