Search code examples
c++image-processingvideo-processingsmoothingbspline

B-spline curve with n control points and order k in C++


I have some 1D points and now I want to fit it into a curve. By chance, a suggestion is to use B-spline curve. I want to create B-spline curve from some n control points (some 1D points) and order (degree) k by using code C++. Could Can anyone suggest me any sample code in C++ or guide/ explain link, please? Thank you in advance.

Here is illustrate figure enter image description here


Solution

  • Try looking at Spline, B-Spline and NURBS C++ library from Stack Overflow or GNU Scientific Library – Reference Manual: Example programs for B-splines

    (A simple search in Google)