<div dir="ltr">Hi. I'm slicing a binary image and obtaining a contour of it with vtkMarchingSquares. <div><br></div><div>This is the result I'm getting right now: <a href="http://tinypic.com/view.php?pic=nx3mf5&s=5">http://tinypic.com/view.php?pic=nx3mf5&s=5</a><div style>
I would like to smooth the "sawtooth" like sides. </div><div style><br></div><div style>I've tried with vtkSmoothPolyDataFilter and I've got no difference in the output. I've also tried with vtkWindowedSincPolyDataFilter and the result was a deformed triangle.</div>
<div style><br></div><div style>This is the smoothing code I've been experimenting with: <a href="http://pastie.org/8039293">http://pastie.org/8039293</a></div><div style><br></div><div style>I would really appreciate any hint.</div>
<div style><br></div><div style>Thanks in advance, </div><div style><br></div><div style>Federico</div><div><br></div></div></div>