论文标题
用于计算Zernike径向多项式的平衡二进制树方案
Balanced Binary Tree Schemes for Computing Zernike Radial Polynomials
论文作者
论文摘要
Zernike径向多项式(ZRP)在应用区域,例如光学设计,成像系统和图像处理系统等应用领域中起着重要作用。当前,有两种用于使用计算机程序自动计算ZRP的数值方案:一个基于阶乘操作可能导致溢出问题的定义,而高阶导数很麻烦,而另一个基于递归基于不稳定或高计算复杂性的递归。在本文中,我们的重点是探索用于计算ZRP的平衡二进制树(BBT)方案:首先建立了一个优雅的计算公式;其次,提出了基于BBT的递归和迭代算法。第三,严格分析算法的计算复杂性;最后,通过测试运行时间来验证和验证BBT方案的性能。理论分析表明,平衡二元树递归算法(BBRTA)和迭代算法的计算复杂性分别是指数级和二次的,这与运行时间测试相吻合。实验表明,对于平衡的二进制树迭代算法(BBTIA),时间消耗约为$ 1 \ sim 10 $微秒,具有不同的计算平台,这对于实时应用程序稳定且有效。从STEM教育的意义上讲,BBT和ZRP的联系表现出工程问题背后离散数学结构的美和应用,这值得向大学生,计算机程序员和光学工程师介绍。
Zernike radial polynomials (ZRP) play a significant role in application areas such as optics design, imaging systems, and image processing systems. Currently, there are two kinds of numerical schemes for computing the ZRP automatically with computer programs: one is based on the definition in which the factorial operations may lead to the overflow problem and the high order derivatives are troublesome, and the other is based on recursion which is either unstable or with high computational complexity. In this paper, our emphasis is focused on exploring the balanced binary tree (BBT) schemes for computing the ZRP: firstly an elegant formulae for computation is established; secondly the recursive and iterative algorithms based-on BBT are proposed; thirdly the computational complexity of the algorithms are analyzed rigorously; finally the performance of BBT schemes by testing the running time is verified and validated. Theoretical analysis shows that the computational complexity of balanced binary tree recursive algorithm (BBRTA) and iterative algorithm are exponential and quadratic respectively, which coincides with the running time test very well. Experiments show that the time consumption is about $1\sim 10$ microseconds with different computation platforms for the balanced binary tree iterative algorithm (BBTIA), which is stable and efficient for real-time applications. In the sense of STEM education, the connection of the BBT and ZRP exhibits the beauty and applications of discrete mathematical structure behind the engineering problem, which is worthy of introducing to the college students, computer programmers and optics engineers.