<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Sebastian,<br><br>The class itkBSplineScatteredDataPointSetToImageFilter in the Review directory will do that for you. An example of curve fitting is illustrated in the IJ article.<br><br><a href="http://www.insight-journal.org/browse/publication/57">http://www.insight-journal.org/browse/publication/57</a><br><br>Let me know if you have additional questions.<br><br>Good luck,<br>Nick<br><div><div><br></div><div>On May 29, 2009, at 12:24 PM, sebastian ordas wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Hi folks, before I start working in the wrong direction ... can you provide me some clues on how to convert a polyline into a (1D) bspline. Should I use /an itkKernelTransform/ based class?<br><br>any example code?<br><br>thanks<br>sebastian<br>_____________________________________<br>Powered by <a href="http://www.kitware.com">www.kitware.com</a><br><br>Visit other Kitware open-source projects at<br><a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><br><br>Please keep messages on-topic and check the ITK FAQ at: http://www.itk.org/Wiki/ITK_FAQ<br><br>Follow this link to subscribe/unsubscribe:<br>http://www.itk.org/mailman/listinfo/insight-users<br></div></blockquote></div><br></body></html>