[vtkusers] vtkImageSkeleton2D to vktPolydata

Eddy Cappeau ecappeau at phenix-systems.com
Fri Apr 15 11:49:02 EDT 2011


Hello,

I used vtkImageSkeleton2D to calculate the skeleton of a shape.
It work very well but now, I'd like to extract a vtkPolydata from it.

So, I've tried vtkContour on my image, but the result is a little bit noisy.

For example :

this is the initial shape :
     http://img38.imageshack.us/img38/2671/shapeb.png

This is the skeleton image :
     http://img217.imageshack.us/img217/5739/skel.png

This is the polydata extract with a vtkcontour from the skeleton image :
     http://img98.imageshack.us/img98/8683/skelpolydata.png

Is there a way to get a clean vtkPolydata of the skeleton ?


-- 
Eddy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110415/6ed4a40c/attachment.htm>


More information about the vtkusers mailing list