Parametric Curve Fitting


I must fit a parametric surface, or a curve, in the points of my image data. I was wondering how is the best way to do that? I need the parameters of the fitted curve.

Thank you

Does this example accomplish it? There are some VTK examples too:

1 Like


How can I Retrieve The parameters of The basis funcions. Should I use GenerateBSplineShapeFunctions() or GetShapeFunctions()? How do I know which polynomial piece I am retrieving?


Which filter are you using? If this is a VTK question, it should go to the VTK forum. Otherwise, I suggest you to start a new topic, and provide more information on what you are trying to accomplish and which classes are you using. Some code samples would probably be helpful in understand your problem.