Abstract
For some time it has been known and recommended that the calculation of Zernike polynomials to radial orders higher than 8 to 10 should be performed using recurrence relations rather than explicit expressions due increasingly large cancellation errors. This paper presents a set of simple recurrence relations that can be used for the unit-normalized Zernike polynomials in polar coordinates and easily adapted to Cartesian coordinates as well. The recurrence relations are also well suited for the calculation of the Cartesian derivatives of the Zernike polynomials. The recurrence relations are easily extended to arbitrarily high orders. Assessments of the precision achievable with standard 64-bit floating point arithmetic show that Zernike polynomials up to radial order 30 can be calculated over the unit disc with errors not exceeding 5E-14, and up to radial order 50 with errors not exceeding 1.2E-13. Comparison with the Zernike capability in OpticStudio (Zemax) shows that the recurrence relations are superior in performance (both speed and precision) over the existing algorithm implemented in the software. General pseudo-code for the calculation of Zernike polynomials and their derivatives is also presented.
© 2018 Optical Society of America under the terms of the OSA Open Access Publishing Agreement
1. Introduction
The Zernike circle polynomials are widely used in optical design and analysis [1–15], opto-mechanical design and analysis [16–19], and other disciplines such as ophthalmology [20–23], image analysis and pattern recognition [24–28], and anatomy [29]. Due to their mathematical properties, Zernike polynomials can be used to represent optical surfaces such as free-form surfaces, perturbations to ideal optical surfaces due to fabrication errors or environmental effects, aberrations in optical wavefronts, or patterns and structures in captured images. As part of these types of analysis for calculating fitting coefficients (or Zernike moments) [30–34], it is important to calculate Zernike polynomials up to high orders at selected sample points in the unit disc, and for certain applications such as ray tracing through optical surfaces with Zernike polynomial definitions it is also important to calculate the Cartesian derivatives of the Zernike polynomials [9, 35–38].
Numerous workers have pointed out that the explicit expressions for the Zernike polynomials [1-2, 39] are inefficient and suffer from large cancellation errors for higher-order polynomials and have devised various schemes using recurrence relations for their efficient calculation [9, 13, 25, 38, 40–47]. These recurrence relations are all recurrence relations for the radial component of the Zernike polynomials, and the relations vary in the number of terms involved and the complexity of the coefficients involved which may complicate the implementation of such schemes for the calculation of Zernike polynomials.
Papakostas et al. [48] studied the stability of recursive algorithms used to calculate Zernike moments of a digitized image, and Singh and Walla [49] also considered the numerical stability of three recursive algorithms for calculating the radial Zernike polynomials.
The stability of factorials larger than 21 was the concern of Camacho-Bello et al. [50] who developed a high-precision and fast algorithm for calculating Jacobi-Fourier moments of digitized images that can also be applied to calculating Zernike moments. Janssen and Dirksen [51] used the connection between the radial Zernike polynomials and Chebyshev polynomials to calculate Zernike polynomials of arbitrary radial order using a discrete Fourier (cosine) transform.
In this paper, we have selected one simple recurrence relation with coefficients that do not depend on radial or azimuthal orders and which contains no singularities. In Sec. 2 we introduce the nomenclature selected for this paper, and in Sec. 3 we introduce the recurrence relation for the radial polynomials and for the angular components. In Sec. 4 we present an alternate representation for this recurrence relation, and in Sec. 5 we use these recurrence relations to derive a set of recurrence relations for the Zernike polynomials in Cartesian coordinates that do not involve polar coordinates at all. In Sec. 6 we derive a set of recurrence relations for the Cartesian derivatives of the Zernike polynomials that are closely related to the Cartesian recurrence relations in Sec. 5. In Sec. 7 we present analysis of the accuracy to be expected when using these recurrence relations to calculate Zernike polynomials to very high radial orders in standard 64-bit floating point precision. In Sec. 8 we compare the presented recurrence relations with algorithms in current commercial software for optical design and analysis and it is shown that the recurrence relations are far superior in performance for both execution time and arithmetic precision over the existing software. Details on the implementation of these recurrence relations are also given in two appendices in the form of explicit expressions and general pseudo-code.
Details in works on Zernike polynomials are often obfuscated by the different notations and conventions used in literature. The differences are in the way the polynomials are normalized, how the azimuthal index is defined, and how the 2-index numbering scheme gets mapped to a single index. In this paper, we use unit-normalized Zernike polynomials arranged according to the azimuthal scheme set forth by Rimmer and Wyant [39], and we refer to discussions by Schwiegerling [52], Doyle, Genberg, and Michels [17] and others [9, 53, 54] for details on normalizations and numbering schemes for Zernike polynomials.
2. Zernike polynomials – definitions
The Zernike polynomials is a set of polynomials defined on the unit disc
However, the Zernike polynomials are most often defined using polar coordinates
because the polynomials are separable in polar coordinates. Thus, the polynomials can be defined in a double-index form for integers and [5, 39]where the radial polynomials are defined asThe polynomials defined in (3) are orthogonal over the unit disc and are unit-normalized in the sense that for each polynomial For many applications it is more convenient to consider the -normalized polynomials (normalized to unit standard deviation)whereis a normalization factor and where is the usual Kronecker delta. Thus for a linear combination of Zernike polynomialswe have the following expression for the variance of over the unit disc , due to the orthogonality of the Zernike polynomials,3. Recurrence relations for radial -polynomials
The explicit expression in Eq. (4) for the radial polynomials contains terms with alternating signs and for large radial orders the polynomials may suffer from relatively large errors due to cancellation of several large terms [42]. For this reason, many recursive relations have been developed that allow the radial polynomials of higher radial orders to be calculated recursively from radial polynomials of lower radial orders [9, 38, 40, 41, 43, 44]. Many of these recurrence relations differ in number of polynomials involved and in complexity of the coefficients. Here, we shall focus on a recurrence relation given by Shakibaei and Paramesran [44] who compared it favorably for speed with earlier relations given by Kintner [10] and Prata and Rusch [40]. Noll [9] showed the relationship between the radial polynomials and the ordinary Bessel functions
where and are ordinary Bessel functions of the first kind. Many recurrence relations for the radial polynomials can be derived using recurrence relations for the ordinary Bessel functions [55]. In particular, using the recurrence relation [55]we now have, for , and even,For , and even, we haveSince, for , we have, see [56],by setting identically for , Eqs. (12) and (13) can then be combined, for , and even, into the recurrence relationwhich Shakibaei and Paramesran derived using a recurrence relation for Chebyshev polynomials [44]. With the starting polynomialsall radial polynomials of radial orders can be calculated recursively from Eq. (15). Shakibaei and Paramesran [44] gave tables with the amount of calculations needed to calculate all radial polynomials up to a certain radial order and they showed the computational flow involved to calculate the radial polynomials.In order to calculate the full set of Zernike polynomials in Eq. (3) we must also calculate the trigonometric functions and for and multiply these with the corresponding radial polynomials. The calculation of the trigonometric functions can be done efficiently recursively using the addition formulas for the trigonometric functions or de Moivre’s formula in matrix form
Hence, to calculate all Zernike polynomials up to a certain radial order at a point in the unit disc, we first calculate and using Eq. (2):and then apply Eqs. (15) and (17) recursively with Eq. (16) providing the starting values and whereWe can reformulate the recurrence relation Eq. (15) as
with the following exceptions:4. Recurrence relations for radial -polynomials
From the explicit expression for the radial polynomials in Eq. (4) it follows that every term in the polynomial contains the factor and since each such radial polynomial ends up being multiplied with or , it is of interest to consider the polynomials defined by
With this definition, the equivalent of Eq. (3) then becomes
and the counterpart to Eq. (17) is thenWe notice that to use the recurrence relation Eq. (25) it is not necessary to calculate and since the relation only involves and .
If we insert Eq. (23) into the recurrence relation Eqs. (20)-(22), we obtain the recurrence relations for these -polynomials
with the following exceptions:For the -polynomials we have the starting polynomials
The recurrence relations for the -polynomials appear to be slightly simpler than the corresponding recurrence relations for the -polynomials in Sec. 3.5. Recurrence relations in Cartesian coordinates for Zernike -polynomials
We will now derive a set of recurrence relations for the Zernike polynomials directly in Cartesian coordinates . For this, we use the recurrence relations for the radial -polynomials from Sec. 3 along with the addition formulas for the trigonometric functions. For we have in general from Eq. (3), with ,
Similarly, for we haveHence, in Cartesian coordinates we have the recurrence relation
with the following exceptions The starting polynomials are6. Recurrence relations for Cartesian derivatives of Zernike polynomials
Since the Cartesian derivatives and are functions of and in fact are polynomials in and , they can be expressed as finite linear combinations of Zernike polynomials up to radial order , see, e.g., Noll [9] or Zhao and Burge [35]. In this Section, we shall provide a set of recurrence relations for the derivatives closely related to the Cartesian recurrence relations given in Sec. 5. Janssen [38] considered the complex-valued functions
and derived the following expressions for the Cartesian derivativesWhen making use of the translation
inserted into Eq. (40), we get, by separating the real and imaginary parts and using Eq. (19),andWe see, by replacing by that Eq. (43) is equivalent to Eq. (44).Similarly, when inserting Eq. (42) into Eq. (41), we get
Equations (44) and (45) are the general recursive relations for the Cartesian derivatives of the Zernike polynomials. They have exceptions similar to the exceptions for the Zernike polynomials in Sec. 5:
The starting expressions for the Cartesian derivatives areThe recursive relations for the derivatives at a given radial order at a point only involve the Zernike polynomials and derivatives at lower radial orders at that point. The derivatives can be calculated after the polynomials have been calculated, or they can be calculated concurrently with the polynomials. In Appendix A we provide the recursive formulas for both the polynomials and their derivatives for sufficiently high radial orders that the recursive patterns with their exceptions should be clear. In Appendix B we provide pseudo-code for the efficient calculation of both the Zernike polynomials and their Cartesian derivatives.
We mention here that recurrence relations similar to Eqs. (44) and (45) with the exceptions Eqs. (46)-(50) were derived by Stephenson [37] for the Cartesian derivatives of the -normalized Zernike polynomials.
It is also noticed that the recurrence relations presented here can be implemented in code that calculates the Zernike polynomials at lower orders using explicit expressions and then feed these into the recurrence relations for calculation for the higher radial orders.
7. Estimations of accuracy of recurrence relations for Zernike polynomials
In order to assess the accuracy of the recurrence relations for Zernike polynomials presented in Sections 3, 4, and 5, we implemented these in compiled software using both 64-bit and 128-bit floating point precision. Generally, 64-bit floating point precision (double precision) is considered to provide full 15-17 decimal digits of precision, whereas 128-bit floating precision (quadruple precision) is considered to provide 34 decimal digits of precision. When estimating errors in the double precision algorithms, we used the difference between the result calculated in 64-bit precision and that calculated in 128-bit precision. The unit-normalized Zernike polynomials considered here have values over the unit disc that are always in the interval .
We first estimated the errors in the algorithm using -polynomials in Sec. 3. Here, we calculated the radial polynomials up to radial order 30 in the interval using a very fine subdivision. In addition, we calculated the angular factors in Eq. (17) up to azimuthal orders 30 in the interval using a very fine subdivision of 200000 points. For the angular factors, we found that the maximum error over the interval in or using Eq. (17) in 64-bit precision could be estimated very accurately as
We then estimated the error in calculating all the Zernike polynomials up to a radial order by combining the maximum error in the radial polynomials with the maximum error in the angular factors, either conservatively by just adding the errors (assuming worst-case combination), or more empirically by rss-ing the errors together.This analysis was repeated for the algorithm using -polynomials in Sec. 4. Here, each calculated -polynomial was multiplied with the corresponding factor , see Eq. (23), to recover the corresponding -polynomial, and the estimated errors were determined.
To validate these error estimation methods, separating the radial and angular variables, we also calculated all the Zernike polynomials up to a radial order over the full unit disc Eq. (1) using first the -polynomial method from Sec. 4, and secondly the recurrence relations in Sec. 5. The results of all these analyses are combined in Fig. 1. From this we see, that the -polynomials provide better accuracy than the -polynomials, and that the rss-estimate of the errors from the separated radial and angular variables provides a very good estimate when compared with the rigorous calculation over the full unit disc. Finally, it is also seen that the Cartesian algorithm in Sec. 5 gives the best accuracy of the three methods examined here.
Hence, up to radial order 20, this method will calculate the Zernike polynomials over the unit disc in 64-bit precision with an error not exceeding , and up to radial order 30, the error is not exceeding .
This analysis only considered the maximum error over the unit disc among all Zernike polynomials with the same radial order. We also conducted a more detailed analysis, capturing the maximum error over the unit disc for each Zernike polynomial up to a certain maximum radial order using the Cartesian recurrence relations of Sec. 5. The results for radial orders up to 30 are shown in Fig. 2, and for radial orders up to order 50 in Fig. 3. From these figures it is seen that the largest errors are encountered in Zernike polynomials with azimuthal indices close to . These are the polynomials that have the highest number of predecessor polynomials in the Cartesian recursive scheme for the Zernike polynomials, hence they will generally suffer from having the largest accumulative errors. Up to radial order 30 using 64-bit floating point arithmetic, errors in calculating any Zernike polynomial anywhere in the unit disc do not exceed , and for radial orders up to 50, the errors do not exceed .
Whereas the use of Zernike polynomials with radial orders 8 to 12 or smaller may be sufficient in for much analysis in optical design and fabrication, papers in image analysis [24–28] may indicate a need for calculating Zernike polynomials with radial orders as high as 40. Zernike polynomials with radial orders as high as 20 to 30 can also be useful in modeling environmental and mount effects on optical surface deformations [19].
8. Comparison of performance with OpticStudio
In this section we report results of comparing the performance in both accuracy and speed of the recursive relations for Zernike polynomials with the performance of Zernike polynomials provided by the commercial software OpticStudio by Zemax [57]. For this analysis version 17.5 of OpticStudio was available. OpticStudio provides support for Zernike polynomials up to radial order 20. The Zernike polynomials in OpticStudio are -normalized following a linear numbering scheme set forth by Noll [9] in which Zernike polynomials with a cosine-term are always given an even number [17, 52]. When comparing Zernike polynomial values computed by OpticStudio with those calculated using the recurrence relations presented here, the normalization constants of Eq. (7) and the difference in numbering schemes were taken into account.
We first calculated all Zernike polynomials through radial order 20 (231 terms) at selected points in the unit disc by assigning unit coefficients to a Standard Zernike Sag surface, one polynomial at a time, and requesting the surface sag written out with a sufficient number of digits. These values were then compared with 128-bit calculated values using recurrence relations. Here, we considered 3 points in the unit disc, , , and . The distances of these points from the center of the unit disc are 0.7714, 0.7071, and 0.9987, respectively. The errors at each of these points for all Zernike polynomials from radial orders 9 through 20 are shown in Fig. 4.
The analysis clearly shows that for radial orders from 15 and up to 20, some Zernike polynomial values in OpticStudio may suffer a loss in precision of 3 to 5 decimal digits.
To better assess the performance of the recursive relations algorithm compared with the current implementation of Zernike polynomials in OpticStudio, we wrote a Dynamic Link Library (DLL) module for a user-defined surface sag using the recursive algorithm with the –polynomials of Sec. 4. A DLL is a module of compiled code that gets linked with the main software (OpticStudio) at run-time with very little compute overhead when compared with features that are parts of the standard software. We set up an optical model with a Zernike Standard Sag (type SZERNSAG) on one surface and the user-defined DLL surface on an adjacent surface, each with unit normalization radius. The coefficients were generated in ZPL macros so that the complete surface sag description would be
where the coefficients were generated using an arbitrary, but deterministic, algorithmFor the Zernike Standard Sag surface, that uses the -normalized Zernike polynomials, the coefficients in Eq. (54) were multiplied with the corresponding normalization coefficients in Eq. (7). We then used the ZPL macro language to calculate the difference between the “native” Zernike Standard Sag and the user-defined surface using recursively calculated Zernike polynomials. The results are presented in Fig. 5.
It is seen that the larger errors are located near the edge of the unit disc, and that 4 to 5 decimal digits may get lost in the algorithm currently used in OpticStudio.
Finally, we used the user-defined surface DLL to compare execution speeds between the algorithm used in the Zernike Standard Sag surface and the recursive relations algorithm used in the user-defined surface. We used the Surface Sag tool in the Analyze section to generate a grey-scale plot of the surface. We set it up in a ZPL macro that could set the grid-size and choose between the Zernike Standard Sag surface and the user-defined surface and accurately record the time for calculating and displaying the surface plot. Hence, the overhead would be identical for the two surface types, both run on the same hardware. The results of this analysis are shown in Fig. 6 for different grid-sizes. For the larger grid-sizes where the bulk of the CPU time was spent generating Zernike polynomial values, it is seen that a gain of a factor of upward of 10 in speed can be expected if the calculation of Zernike polynomials is implemented using recurrence relations.
Calculations involving Zernike polynomials of radial orders less than about 10 (the first 66 polynomials) are not seriously affected in precision when using existing algorithms. However, from these results we see that the OpticStudio software would benefit in both precision and speed if recursive relations were implemented for the calculation of Zernike polynomials.
9. Summary and conclusions
We have presented a set of recursive relations for calculating Zernike polynomials and their Cartesian derivatives. For the Zernike polynomials, we presented two sets of recursive relations for the radial polynomials (-polynomials and -polynomials) operating in polar coordinates, and one set operating directly in Cartesian coordinates. These are useful when all Zernike polynomials up to a certain radial order must be evaluated at a specified point in the unit disc. The Cartesian derivatives of the Zernike polynomials at the given point can be calculated concurrently with the Zernike polynomials or after the Zernike polynomials have been calculated.
We presented detailed assessments of the precision achievable with these recurrence relations in Sec. 7, and we concluded that the algorithm working directly in Cartesian coordinates is superior in accuracy over the algorithms using the radial polynomials and polar coordinates. In Sec. 8 we compared the performance (precision and speed) of these recurrence relations with existing algorithms available in commercial software widely used in industry, concluding that the commercial software can benefit significantly in both accuracy and speed by implementing a recursive relations algorithm for calculating the Zernike polynomials.
Appendix A – Recursive formulas in Cartesian coordinates
In this Appendix, we provide explicit details for the recursive relations for the Zernike polynomials and their Cartesian derivatives in Cartesian coordinates as presented in Secs. 5 and 6 (see Fig. 7). We provide these in tabular form giving expressions for the polynomials as well as the derivatives (meaning ) and (meaning ) for radial orders 0 through 6 and 9 to 10.
Appendix B – Pseudo code for Zernike polynomials and derivatives
In this Appendix, we provide a reference to pseudo code, as shown in Code File 1 (Ref [58]), in sufficient detail for the calculation of all Zernike polynomials and their Cartesian derivatives at a point in the unit disc up to a certain radial order using the recurrence relations presented in Secs. 5 and 6. The code is similar to C-language code without terminating semicolons and with some {} brackets omitted. The exception clauses from Secs. 5 and 6 are clearly marked in the code. The statements calculating the Cartesian derivatives are also easily identifiable. If code for just calculating the Zernike polynomials is desired, the statements for the derivatives should be left out. These could instead be implemented in a separate procedure for the calculation of the derivatives that is called after the Zernike polynomials have been calculated.
Funding
Lockheed Martin Corporation.
Acknowledgment
The author wants to thank Zac Granger, Bruce Herman, and Mike Jacoby for many fruitful discussions and encouragements.
References and links
1. F. Zernike, “Beugungstheorie des Schneidenverfahrens und seiner verbesserten Form, der Phasenkontrast-methode,” Physica 1(7-12), 689–704 (1934). [CrossRef]
2. M. Born and E. Wolf, Principles of Optics, 6th ed. (Pergamon, 1993).
3. E. H. Linfoot, Recent Advances in Optics (Clarendon, 1955).
4. E. Wolf, “The diffraction theory of aberrations,” Rep. Prog. Phys. 14(1), 95–120 (1951). [CrossRef]
5. D. Malacara, “Zernike polynomials and wavefront fitting,” in Optical Shop Testing, 2nd ed., D. Malacara, ed. (John Wiley & Sons, 1992), Appendix 2, pp 489–503.
6. V. N. Mahajan, “Zernike polynomials and wavefront fitting,” in Optical Shop Testing, 3rd ed., D. Malacara, ed. (Wiley-Interscience, 2007).
7. A. B. Bhatia, E. Wolf, and M. Born, “On the circle polynomials of Zernike and related orthogonal sets,” Math. Proc. Camb. Philos. Soc. 50(01), 40–48 (1954). [CrossRef]
8. V. Lakshminarayanan and A. Fleck, “Zernike polynomials: a guide,” J. Mod. Opt. 58(7), 545–561 (2011). [CrossRef]
9. R. J. Noll, “Zernike polynomials and atmospheric turbulence,” J. Opt. Soc. Am. 66(3), 207–211 (1976). [CrossRef]
10. E. C. Kintner, “On the mathematical properties of the Zernike polynomials,” Opt. Acta (Lond.) 23(8), 679–680 (1976). [CrossRef]
11. J. Y. Wang and D. E. Silva, “Wave-front interpretation with Zernike polynomials,” Appl. Opt. 19(9), 1510–1518 (1980). [CrossRef] [PubMed]
12. C. J. R. Sheppard, S. Campbell, and M. D. Hirschhorn, “Zernike expansion of separable functions of Cartesian coordinates,” Appl. Opt. 43(20), 3963–3966 (2004). [CrossRef] [PubMed]
13. S. N. Bezdidko, “Orthogonal aberrations: theory, methods, and practical applications in computational optics,” J. Opt. Technol. 63(6), 351–359 (2016). [CrossRef]
14. V. N. Mahajan, “Zernike circle polynomials and optical aberrations of systems with circular pupils,” Appl. Opt. 33(34), 8121–8124 (1994). [CrossRef] [PubMed]
15. H. H. van Brug, “Efficient Cartesian representation of Zernike polynomials in computer memory,” Proc. SPIE 3190, 382–392 (1997). [CrossRef]
16. V. L. Genberg, G. J. Michels, and K. B. Doyle, “Orthogonality of Zernike polynomials,” Proc. SPIE 4771, 276–286 (2002). [CrossRef]
17. K. B. Doyle, V. L. Genberg, and G. J. Michels, Integrated Optomechanical Analysis, 2nd ed. (SPIE, 2012).
18. P. Forney, “Integrated optical design,” Proc. SPIE 4441, 53–59 (2001). [CrossRef]
19. E. T. Kvamme, D. M. Stubbs, and M. S. Jacoby, “The opto-mechanical design process: from vision to reality,” Proc. SPIE 10371, 103710P (2017).
20. D. A. Atchison, “Recent advances in representation of monochromatic aberrations of human eyes,” Clin. Exp. Optom. 87(3), 138–148 (2004). [CrossRef] [PubMed]
21. D. A. Atchison, D. H. Scott, and M. J. Cox, “Mathematical treatment of ocular aberrations: a user’s guide,” in Vision Science and Its Applications, V. Lakshminarayanan, ed., 35, 110–130 (2000).
22. D. R. Iskander, M. R. Morelande, M. J. Collins, and B. Davis, “Modeling of corneal surfaces with radial polynomials,” IEEE Trans. Biomed. Eng. 49(4), 320–328 (2002). [CrossRef] [PubMed]
23. S. A. Comastri, L. I. Perez, G. D. Pérez, G. Martin, and K. Bastida, “Zernike expansion coefficients: rescaling and decentring for different pupils and evaluation of corneal aberrations,” J. Opt. A, Pure Appl. Opt. 9(3), 209–221 (2007). [CrossRef]
24. Y.-H. Pang, A. B. J. Teoh, and D. C. L. Ngo, “A discriminant pseudo Zernike moments in face recognition,” J. Res. Pract. In Inform. Techn. 38(2), 197–211 (2006).
25. K. Hosny, “Fast computation of accurate pseudo Zernike moments for binary and gray-level images,” Int. Arab J. Inf. Technol. 11(3), 243–249 (2014).
26. J. Gu, H. Z. Shu, C. Toumoulin, and L. M. Luo, “A novel algorithm for fast computation of Zernike moments,” Patt. Recogn. 35(12), 2905–2911 (2002). [CrossRef]
27. K. C. Otiniano-Rodríguez, G. Cámara-Chávez, and D. Menotti, “Hu and Zernike moments for sign language recognition,” in 2012 International Conference on Image Processing, Computer Vision, and Pattern Recognition, IPCV'12 (2012), pp. 1–5.
28. K. M. Hosny, “A systematic method for efficient computation of full and subsets Zernike moments,” Inf. Sci. 180(11), 2299–2313 (2010). [CrossRef]
29. E. A. Kaye, Y. Hertzberg, M. Marx, B. Werner, G. Navon, M. Levoy, and K. B. Pauly, “Application of Zernike polynomials towards accelerated adaptive focusing of transcranial high intensity focused ultrasound,” Med. Phys. 39(10), 6254–6263 (2012). [CrossRef] [PubMed]
30. D. Malacara, J. M. Carpio-Valadéz, and J. J. Sánchez-Mondragón, “Wavefront fitting with discrete orthogonal polynomials in a unit radius circle,” Opt. Eng. 29(6), 672–675 (1990). [CrossRef]
31. R. J. Mathar, “Zernike basis to Cartesian transformations,” Serb. Astron. J. 179(179), 107–120 (2009). [CrossRef]
32. T. Tanabe, M. Shibuya, and K. Maehara, “Convergence and differentiation of Zernike expansion: application for an analysis of odd-order surfaces,” Opt. Eng. 55(3), 035101 (2016). [CrossRef]
33. C.-W. Chong, R. Mukundan, and P. Raveendran, “An efficient algorithm for fast computation of pseudo-Zernike moments,” Int. J. Pattern Recognit. Artif. Intell. 17(6), 1011–1016 (2003). [CrossRef]
34. J. L. Rayces, “Least-squares fitting of orthogonal polynomials to the wave-aberration function,” Appl. Opt. 31(13), 2223–2228 (1992). [CrossRef] [PubMed]
35. C. Zhao and J. H. Burge, “Orthonormal vector polynomials in a unit circle, Part I: Basis set derived from gradients of Zernike polynomials,” Opt. Express 15(26), 18014–18024 (2007). [CrossRef] [PubMed]
36. A. Gavrielides, “Vector polynomials orthogonal to the gradient of Zernike polynomials,” Opt. Lett. 7(11), 526–528 (1982). [CrossRef] [PubMed]
37. P. C. L. Stephenson, “Recurrence relations for the Cartesian derivatives of the Zernike polynomials,” J. Opt. Soc. Am. A 31(4), 708–715 (2014). [CrossRef] [PubMed]
38. A. J. E. M. Janssen, “Zernike expansion of derivatives and Laplacians of the Zernike circle polynomials,” J. Opt. Soc. Am. A 31(7), 1604–1613 (2014). [CrossRef] [PubMed]
39. M. P. Rimmer and J. C. Wyant, “Evaluation of large aberrations using a lateral-shear interferometer having variable shear,” Appl. Opt. 14(1), 142–150 (1975). [CrossRef] [PubMed]
40. A. Prata Jr and W. V. T. Rusch, “Algorithm for computation of Zernike polynomials expansion coefficients,” Appl. Opt. 28(4), 749–754 (1989). [CrossRef] [PubMed]
41. S.-K. Hwang and W.-Y. Kim, “A novel approach to the fast computation of Zernike moments,” Pattern Recognit. 39(11), 2065–2076 (2006). [CrossRef]
42. G. W. Forbes, “Robust and fast computation for the polynomials of optics,” Opt. Express 18(13), 13851–13862 (2010). [CrossRef] [PubMed]
43. S. N. Bezdidko, “Study of the properties of Zernike’s orthogonal polynomials,” Proc. SPIE 5174, 227–234 (2003). [CrossRef]
44. B. Honarvar Shakibaei and R. Paramesran, “Recursive formula to compute Zernike radial polynomials,” Opt. Lett. 38(14), 2487–2489 (2013). [CrossRef] [PubMed]
45. P. Novák and J. Novák, “Efficient and stable numerical method for evaluation of Zernike polynomials and their Cartesian derivatives,” Proc. SPIE 8789, 878913 (2013). [CrossRef]
46. P. Novák, J. Novák, and A. Mikš, “Fast and robust computation of Cartesian derivatives of Zernike polynomials,” Opt. Lasers Eng. 52, 7–12 (2014). [CrossRef]
47. J. J. M. Braat and A. J. E. M. Janssen, “Double Zernike expansion of the optical aberration function from its power series expansion,” J. Opt. Soc. Am. A 30(6), 1213–1222 (2013). [CrossRef] [PubMed]
48. G. A. Papakostas, Y. S. Boutalis, C. N. Papaodysseus, and D. K. Fragoulis, “Numerical stability of fast computation algorithms of Zernike moments,” Appl. Math. Comput. 195(1), 326–345 (2008). [CrossRef]
49. C. Singh and E. Walla, “Fast and numerically stable methods for the computation of Zernike moments,” J. Patt. Recogn. 43(7), 2497–2506 (2010). [CrossRef]
50. C. Camacho-Bello, C. Toxqui-Quitl, A. Padilla-Vivanco, and J. J. Báez-Rojas, “High-precision and fast computation of Jacobi-Fourier moments for image description,” J. Opt. Soc. Am. A 31(1), 124–134 (2014). [CrossRef] [PubMed]
51. A. J. E. M. Janssen and P. Dirksen, “Computing Zernike polynomials of arbitrary degree using the discrete Fourier transform,” J. European Opt. Soc. 2, 07012 (2007). [CrossRef]
52. J. Schwiegerling, “Review of Zernike polynomials and their use in describing the impact of misalignment in optical systems,” Proc. SPIE 10377, 103770D (2017).
53. J. Loomis, “A computer program for analysis of interferometric data,” in Optical Interferograms – Reduction and Interpretation, American Society for Testing and Materials Special Technical Publication 666, A. H. Guenther and D. H. Liebenberg, ed., (Philadelphia, 1978), 71–86.
54. J. S. Loomis, “Evaluation of optical aberrations in point images,” Appl. Opt. 31(13), 2211–2222 (1992). [CrossRef] [PubMed]
55. M. Abramowitz and I. A. Stegun, eds., Handbook of Mathematical Functions With Formulas, Graphs, and Mathematical Tables, (Dover Publications, 1972).
56. I. S. Gradshteyn and I. M. Ryzhik, Table of Integrals, Series and Products, (Academic Press, 1980).
57. OpticStudio is a registered trademark of Zemax LLC, www.zemax.com
58. T. B. Andersen, “Zernike_pol_algorithm.txt”, figshare (2018) [retrieved 02 April 2018], https://doi.org/10.6084/m9.figshare.6073898.