Fitting an open curve to point cloud data

An open target shape and an initial open B-spline curve with 8 control points.

The fitting curve generated by PDM in 20 iterations.

The fitting curve generated by TDM diverges after 20 iterations.

The fitting curve generated by SDM in 20 iterations.