arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2204.05002math.NAcs.GRcs.NA
收藏

B样条基函数Bernstein-Bézier系数的线性时间算法

Linear-time algorithm for computing the Bernstein-Bézier coefficients of B-spline basis functions

Filip Chudy, Paweł Woźny

摘要:

证明了同次B样条函数的一个新的微分递推关系。从这一关系出发,导出了计算Bernstein-Bézier形式的$m$次B样条函数系数的递推方法。其复杂性是成比例的情况下,重合的边界节点的系数的数量。这意味着,渐近地,该算法是最优的。在其他情况下,复杂度最多增加$O(m^3)$。当B样条基函数的Bernstein-Bézier系数已知时,利用作者最近提出的几何算法,可以在线性时间内计算任意B样条函数的次数.当在重点处评估B样条曲线时,该算法很好地缩放,例如,为了渲染它,因为只需要找到每个结跨度的系数一次。当在重点处评估许多B样条曲线时(如绘制张量积B样条曲面时的情况),这种方法具有比使用de Boor-Cox算法更低的计算复杂性。数值试验表明,新方法是有效的.求B样条函数在幂基中的系数的问题可以类似地解决。

英文摘要:

A new differential-recurrence relation for the B-spline functions of the same degree is proved. From this relation, a recursive method of computing the coefficients of B-spline functions of degree $m$ in the Bernstein-Bézier form is derived. Its complexity is proportional to the number of coefficients in the case of coincident boundary knots. This means that, asymptotically, the algorithm is optimal. In other cases, the complexity is increased by at most $O(m^3)$. When the Bernstein-Bézier coefficients of B-spline basis functions are known, it is possible to compute any B-spline function in linear time with respect to its degree by performing the geometric algorithm proposed recently by the authors. This algorithm scales well when evaluating the B-spline curve at multiple points, e.g., in order to render it, since one only needs to find the coefficients for each knot span once. When evaluating many B-spline curves at multiple points (as is the case when rendering tensor product B-spline surfaces), such approach has lower computational complexity than using the de Boor-Cox algorithm. The numerical tests show that the new method is efficient. The problem of finding the coefficients of the B-spline functions in the power basis can be solved similarly.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑