[vtkusers] Surface artifacts from vtkVoxelContoursToSurfaceFilter

Dan Asimov dan.asimov at gmail.com
Mon Aug 29 10:03:58 EDT 2011


Hi all,

I'm trying to make a transparent surface for the heart from a stack of
medical images. I use vtkContourWidget to draw the contours then pass them
to vtkVoxelContoursToSurfaceFilter to get a surface then plot it. However, I
get a surface as in the attached image with this kind of artifacts on the
surface. I tried to smooth it using vtkSmoothPolyDataFilter but this didn't
remove them.

I thought this might occur because the surface normals are not correct, so I
tried to use the filter sequence used in the medical2 example (i.e.
vtkDataSetSurfaceFilter --> vtkPolyDataNormals --> vtkStripper -->
vtkPolyDataMapper) but still have very similar result.

What should I do to have a nice surface?

Thanks,
Dan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110829/584e28e9/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: HeartSurface.png
Type: image/png
Size: 47452 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110829/584e28e9/attachment.png>


More information about the vtkusers mailing list