[vtkusers] Fitting a spline to a contour (vtkSplineWidget)

Jonathan Waite jmw at 2pti.com
Tue Apr 3 09:45:43 EDT 2007


Hello All,

 

I am attempting to convert a contour (mask or distance map) to a
vtksplinewidget.  Short of adding every pixel of the contour as a control
point, I can not seem to figure out how to map the spline onto the contour.
Is there a way to down sample the spline's control points or perhaps
interpolate the spline from polydata?  Any guidance would be much
appreciated.

 

Thanks in advance,

Jon

----------------------------------------------------------------------
Jon Waite
Software Engineer
Pathfinder Therapeutics, Inc.

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20070403/d8f4f316/attachment.htm>


More information about the vtkusers mailing list