Hi, I want to use a smoothing tool for my poly data.
my poly data is a surface mesh of grey matter.
However, when I use a smoothing filter, the surfaces intersect each other.
int smoothingIterations = 40; double passBand = 0.001; double featureAngle = 90.0; vtkWindowedSincPolyDataFilter smoother = vtkWindowedSincPolyDataFilter.New(); smoother.SetInputConnection(surface.GetOutputPort()); smoother.SetNumberOfIterations(smoothingIterations); smoother.BoundarySmoothingOff(); smoother.FeatureEdgeSmoothingOff(); smoother.NonManifoldSmoothingOff(); smoother.NormalizeCoordinatesOff(); smoother.SetFeatureAngle(featureAngle); smoother.SetPassBand(passBand); smoother.Update();
this is my sample code.
How can I smooth complicated surface mesh such as GM, WM without any line intersection, triangle intersection?
If any suggestions, it would be so great