qiaozhijian / BSplineFittingExample

Fitting cubic spline curve to 2d points

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BSplineFitting

Fitting cubic spline curve to 2d points

This is an implementation of the paper "Fitting B-spline Curves to Point Clouds by Curvature-Based Squared Distance Minimization" by Wang et al.

This fork puts the original repository into a catkin package and uses libnabo instead of ANN.

# before catkin_make, you should git clone catkin_simple and eigen_catkin into your catkin workspace
# Please loop up the above two repositories on github

The package allows to fit open or closed B-spline curves through an unordered set of 2d points in contrast to the curves package, which assumes points to be ordered in time.

#run
./bspline_fitting_example

About

Fitting cubic spline curve to 2d points


Languages

Language:C++ 98.4%Language:CMake 1.6%