我正在编写绘图程序。我正在尝试采用有序列表鼠标位置,并近似平滑的二次 BSpline 曲线。有谁知道如何做到这一点?
谢谢!
最佳答案
"B-spline curve fitting based on adaptive curve refinement using dominant points" by Park & Lee和 "Fair interpolation and approximation of B-splines by energy minimization and points insertion" by Vassilev似乎正在解决这个问题。第一个链接上还有一些引用资料应该对您有帮助。
将高曲率区域的数据点转换为控制点并去除小曲率区域的数据点是一种通用方法。
关于c++ - 将鼠标点转换为二次 B 样条,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3291218/