Zernike polynomials

Last updated

The first 21 Zernike polynomials, ordered vertically by radial degree and horizontally by azimuthal degree Zernike polynomials with read-blue cmap.png
The first 21 Zernike polynomials, ordered vertically by radial degree and horizontally by azimuthal degree

In mathematics, the Zernike polynomials are a sequence of polynomials that are orthogonal on the unit disk. Named after optical physicist Frits Zernike, laureate of the 1953 Nobel Prize in Physics and the inventor of phase-contrast microscopy, they play important roles in various optics branches such as beam optics and imaging. [1] [2]

Contents

Definitions

There are even and odd Zernike polynomials. The even Zernike polynomials are defined as

(even function over the azimuthal angle ), and the odd Zernike polynomials are defined as

(odd function over the azimuthal angle ) where m and n are nonnegative integers with n  m ≥ 0 (m = 0 for spherical Zernike polynomials), is the azimuthal angle, ρ is the radial distance , and are the radial polynomials defined below. Zernike polynomials have the property of being limited to a range of −1 to +1, i.e. . The radial polynomials are defined as

for an even number of nm, while it is 0 for an odd number of nm. A special value is

Other representations

Rewriting the ratios of factorials in the radial part as products of binomials shows that the coefficients are integer numbers:

.

A notation as terminating Gaussian hypergeometric functions is useful to reveal recurrences, to demonstrate that they are special cases of Jacobi polynomials, to write down the differential equations, etc.:

for nm even.

The inverse relation expands for fixed into

with rational coefficients [3]

for even .

The factor in the radial polynomial may be expanded in a Bernstein basis of for even or times a function of for odd in the range . The radial polynomial may therefore be expressed by a finite number of Bernstein Polynomials with rational coefficients:

Noll's sequential indices

Applications often involve linear algebra, where an integral over a product of Zernike polynomials and some other factor builds a matrix elements. To enumerate the rows and columns of these matrices by a single index, a conventional mapping of the two indices n and l to a single index j has been introduced by Noll. [4] The table of this association starts as follows (sequence A176988 in the OEIS ).

n,l0,01,11,−12,02,−22,23,−13,13,−33,3
j12345678910
n,l4,04,24,−24,44,−45,15,−15,35,−35,5
j11121314151617181920

The rule is the following.

OSA/ANSI standard indices

OSA [5] and ANSI single-index Zernike polynomials using:

n,l0,01,−11,12,−22,02,23,−33,−13,13,3
j0123456789
n,l4,−44,−24,04,24,45,−55,−35,−15,15,3
j10111213141516171819

Fringe/University of Arizona indices

The Fringe indexing scheme is used in commercial optical design software and optical testing in, e.g., photolithography. [6] [7]

where is the sign or signum function. The first 20 fringe numbers are listed below.

n,l0,01,11,−12,02,22,−23,13,−14,03,3
j12345678910
n,l3,−34,24,−25,15,−16,04,44,−45,35,−3
j11121314151617181920

Wyant indices

James C. Wyant uses the "Fringe" indexing scheme except it starts at 0 instead of 1 (subtract 1). [8] This method is commonly used including interferogram analysis software in Zygo interferometers and the open source software DFTFringe.

Properties

Orthogonality

The orthogonality in the radial part reads [9]

or

Orthogonality in the angular part is represented by the elementary

where (sometimes called the Neumann factor because it frequently appears in conjunction with Bessel functions) is defined as 2 if and 1 if . The product of the angular and radial parts establishes the orthogonality of the Zernike functions with respect to both indices if integrated over the unit disk,

where is the Jacobian of the circular coordinate system, and where and are both even.

Zernike transform

Any sufficiently smooth real-valued phase field over the unit disk can be represented in terms of its Zernike coefficients (odd and even), just as periodic functions find an orthogonal representation with the Fourier series. We have

where the coefficients can be calculated using inner products. On the space of functions on the unit disk, there is an inner product defined by

The Zernike coefficients can then be expressed as follows:

Alternatively, one can use the known values of phase function G on the circular grid to form a system of equations. The phase function is retrieved by the unknown-coefficient weighted product with (known values) of Zernike polynomial across the unit grid. Hence, coefficients can also be found by solving a linear system, for instance by matrix inversion. Fast algorithms to calculate the forward and inverse Zernike transform use symmetry properties of trigonometric functions, separability of radial and azimuthal parts of Zernike polynomials, and their rotational symmetries.

Symmetries

The reflections of trigonometric functions result that the parity with respect to reflection along the x axis is

for l ≥ 0,
for l < 0.

The π shifts of trigonometric functions result that the parity with respect to point reflection at the center of coordinates is

where could as well be written because as even numbers are only cases to get non-vanishing Zernike polynomials. (If n is even then l is also even. If n is odd, then l is also odd.) This property is sometimes used to categorize Zernike polynomials into even and odd polynomials in terms of their angular dependence. (it is also possible to add another category with l = 0 since it has a special property of no angular dependence.)

The radial polynomials are also either even or odd, depending on order n or m:

These equalities are easily seen since with an odd (even) m contains only odd (even) powers to ρ (see examples of below).

The periodicity of the trigonometric functions results in invariance if rotated by multiples of radian around the center:

Recurrence relations

The Zernike polynomials satisfy the following recurrence relation which depends neither on the degree nor on the azimuthal order of the radial polynomials: [10]

From the definition of it can be seen that and . The following three-term recurrence relation [11] then allows to calculate all other :

The above relation is especially useful since the derivative of can be calculated from two radial Zernike polynomials of adjacent degree: [11]

The differential equation of the Gaussian Hypergeometric Function is equivalent to

Examples

Radial polynomials

The first few radial polynomials are:

Zernike polynomials

The first few Zernike modes, at various indices, are shown below. They are normalized such that: , which is equivalent to .

OSA/ANSI
index
()
Noll
index
()
Wyant
index
()
Fringe/UA
index
()
Radial
degree
()
Azimuthal
degree
()
Classical name
010100 Piston (see, Wigner semicircle distribution)
13231−1 Tilt (Y-Tilt, vertical tilt)
22121+1 Tilt (X-Tilt, horizontal tilt)
35562−2 Oblique astigmatism
443420 Defocus (longitudinal position)
56452+2Vertical astigmatism
6910113−3Vertical trefoil
77783−1 Vertical coma
88673+1Horizontal coma
9109103+3Oblique trefoil
101517184−4Oblique quadrafoil
111312134−2Oblique secondary astigmatism
12118940 Primary spherical
131211124+2Vertical secondary astigmatism
141416174+4Vertical quadrafoil

Applications

Result of the first 21 Zernike polynomials (as above) introduced as aberrations on a flat-top beam. The beam is imaged by a lens, effecting a Fourier transform, whose intensity is represented in this picture ZernikeAiryImage.jpg
Result of the first 21 Zernike polynomials (as above) introduced as aberrations on a flat-top beam. The beam is imaged by a lens, effecting a Fourier transform, whose intensity is represented in this picture

The functions are a basis defined over the circular support area, typically the pupil planes in classical optical imaging at visible and infrared wavelengths through systems of lenses and mirrors of finite diameter. Their advantages are the simple analytical properties inherited from the simplicity of the radial functions and the factorization in radial and azimuthal functions; this leads, for example, to closed-form expressions of the two-dimensional Fourier transform in terms of Bessel functions. [12] [13] Their disadvantage, in particular if high n are involved, is the unequal distribution of nodal lines over the unit disk, which introduces ringing effects near the perimeter , which often leads attempts to define other orthogonal functions over the circular disk. [14] [15] [16]

In precision optical manufacturing, Zernike polynomials are used to characterize higher-order errors observed in interferometric analyses. In wavefront slope sensors like the Shack-Hartmann, Zernike coefficients of the wavefront can be obtained by fitting measured slopes with Zernike polynomial derivatives averaged over the sampling subapertures. [17] In optometry and ophthalmology, Zernike polynomials are used to describe wavefront aberrations of the cornea or lens from an ideal spherical shape, which result in refraction errors. They are also commonly used in adaptive optics, where they can be used to characterize atmospheric distortion. Obvious applications for this are IR or visual astronomy and satellite imagery.

Another application of the Zernike polynomials is found in the Extended Nijboer–Zernike theory of diffraction and aberrations.

Zernike polynomials are widely used as basis functions of image moments. Since Zernike polynomials are orthogonal to each other, Zernike moments can represent properties of an image with no redundancy or overlap of information between the moments. Although Zernike moments are significantly dependent on the scaling and the translation of the object in a region of interest (ROI), their magnitudes are independent of the rotation angle of the object. [18] Thus, they can be utilized to extract features from images that describe the shape characteristics of an object. For instance, Zernike moments are utilized as shape descriptors to classify benign and malignant breast masses [19] or the surface of vibrating disks. [20] Zernike Moments also have been used to quantify shape of osteosarcoma cancer cell lines in single cell level. [21] Moreover, Zernike Moments have been used for early detection of Alzheimer's disease by extracting discriminative information from the MR images of Alzheimer's disease, Mild cognitive impairment, and Healthy groups. [22]

Higher dimensions

The concept translates to higher dimensions D if multinomials in Cartesian coordinates are converted to hyperspherical coordinates, , multiplied by a product of Jacobi polynomials of the angular variables. In dimensions, the angular variables are spherical harmonics, for example. Linear combinations of the powers define an orthogonal basis satisfying

.

(Note that a factor is absorbed in the definition of R here, whereas in the normalization is chosen slightly differently. This is largely a matter of taste, depending on whether one wishes to maintain an integer set of coefficients or prefers tighter formulas if the orthogonalization is involved.) The explicit representation is [3]

for even , else identical to zero.

See also

Related Research Articles

<span class="mw-page-title-main">Fick's laws of diffusion</span> Mathematical descriptions of molecular diffusion

Fick's laws of diffusion describe diffusion and were first posited by Adolf Fick in 1855 on the basis of largely experimental results. They can be used to solve for the diffusion coefficient, D. Fick's first law can be used to derive his second law which in turn is identical to the diffusion equation.

<span class="mw-page-title-main">Laplace's equation</span> Second-order partial differential equation

In mathematics and physics, Laplace's equation is a second-order partial differential equation named after Pierre-Simon Laplace, who first studied its properties. This is often written as

In vector calculus, the Jacobian matrix of a vector-valued function of several variables is the matrix of all its first-order partial derivatives. When this matrix is square, that is, when the function takes the same number of variables as input as the number of vector components of its output, its determinant is referred to as the Jacobian determinant. Both the matrix and the determinant are often referred to simply as the Jacobian in literature.

<span class="mw-page-title-main">Spherical harmonics</span> Special mathematical functions defined on the surface of a sphere

In mathematics and physical science, spherical harmonics are special functions defined on the surface of a sphere. They are often employed in solving partial differential equations in many scientific fields. A list of the spherical harmonics is available in Table of spherical harmonics.

<span class="mw-page-title-main">Mie scattering</span> Scattering of an electromagnetic plane wave by a sphere

In electromagnetism, the Mie solution to Maxwell's equations describes the scattering of an electromagnetic plane wave by a homogeneous sphere. The solution takes the form of an infinite series of spherical multipole partial waves. It is named after German physicist Gustav Mie.

<span class="mw-page-title-main">Pearson correlation coefficient</span> Measure of linear correlation

In statistics, the Pearson correlation coefficient (PCC) is a correlation coefficient that measures linear correlation between two sets of data. It is the ratio between the covariance of two variables and the product of their standard deviations; thus, it is essentially a normalized measurement of the covariance, such that the result always has a value between −1 and 1. As with covariance itself, the measure can only reflect a linear correlation of variables, and ignores many other types of relationships or correlations. As a simple example, one would expect the age and height of a sample of teenagers from a high school to have a Pearson correlation coefficient significantly greater than 0, but less than 1.

<span class="mw-page-title-main">Cardioid</span> Type of plane curve

In geometry, a cardioid is a plane curve traced by a point on the perimeter of a circle that is rolling around a fixed circle of the same radius. It can also be defined as an epicycloid having a single cusp. It is also a type of sinusoidal spiral, and an inverse curve of the parabola with the focus as the center of inversion. A cardioid can also be defined as the set of points of reflections of a fixed point on a circle through all tangents to the circle.

In the theory of stochastic processes, the Karhunen–Loève theorem, also known as the Kosambi–Karhunen–Loève theorem states that a stochastic process can be represented as an infinite linear combination of orthogonal functions, analogous to a Fourier series representation of a function on a bounded interval. The transformation is also known as Hotelling transform and eigenvector transform, and is closely related to principal component analysis (PCA) technique widely used in image processing and in data analysis in many fields.

The representation theory of groups is a part of mathematics which examines how groups act on given structures.

In mathematics, the Hankel transform expresses any given function f(r) as the weighted sum of an infinite number of Bessel functions of the first kind Jν(kr). The Bessel functions in the sum are all of the same order ν, but differ in a scaling factor k along the r axis. The necessary coefficient Fν of each Bessel function in the sum, as a function of the scaling factor k constitutes the transformed function. The Hankel transform is an integral transform and was first developed by the mathematician Hermann Hankel. It is also known as the Fourier–Bessel transform. Just as the Fourier transform for an infinite interval is related to the Fourier series over a finite interval, so the Hankel transform over an infinite interval is related to the Fourier–Bessel series over a finite interval.

<span class="mw-page-title-main">Plastic ratio</span> Algebraic number, approximately 1.3247

In mathematics, the plastic ratio is a geometrical proportion close to 53/40. Its true value is the real solution of the equation x3 = x + 1.

<span class="mw-page-title-main">Multiple integral</span> Generalization of definite integrals to functions of multiple variables

In mathematics (specifically multivariable calculus), a multiple integral is a definite integral of a function of several real variables, for instance, f(x, y) or f(x, y, z). Physical (natural philosophy) interpretation: S any surface, V any volume, etc.. Incl. variable to time, position, etc.

In mathematics, pseudo-Zernike polynomials are well known and widely used in the analysis of optical systems. They are also widely used in image analysis as shape descriptors.

In mathematics, the secondary measure associated with a measure of positive density ρ when there is one, is a measure of positive density μ, turning the secondary polynomials associated with the orthogonal polynomials for ρ into an orthogonal system.

In mathematics, vector spherical harmonics (VSH) are an extension of the scalar spherical harmonics for use with vector fields. The components of the VSH are complex-valued functions expressed in the spherical coordinate basis vectors.

In quantum mechanics, and especially quantum information theory, the purity of a normalized quantum state is a scalar defined as

The Mehler kernel is a complex-valued function found to be the propagator of the quantum harmonic oscillator.

The Onsager–Machlup function is a function that summarizes the dynamics of a continuous stochastic process. It is used to define a probability density for a stochastic process, and it is similar to the Lagrangian of a dynamical system. It is named after Lars Onsager and Stefan Machlup who were the first to consider such probability densities.

The Ellis wormhole is the special case of the Ellis drainhole in which the 'ether' is not flowing and there is no gravity. What remains is a pure traversable wormhole comprising a pair of identical twin, nonflat, three-dimensional regions joined at a two-sphere, the 'throat' of the wormhole. As seen in the image shown, two-dimensional equatorial cross sections of the wormhole are catenoidal 'collars' that are asymptotically flat far from the throat. There being no gravity in force, an inertial observer can sit forever at rest at any point in space, but if set in motion by some disturbance will follow a geodesic of an equatorial cross section at constant speed, as would also a photon. This phenomenon shows that in space-time the curvature of space has nothing to do with gravity.

The removal of heat from nuclear reactors is an essential step in the generation of energy from nuclear reactions. In nuclear engineering there are a number of empirical or semi-empirical relations used for quantifying the process of removing heat from a nuclear reactor core so that the reactor operates in the projected temperature interval that depends on the materials used in the construction of the reactor. The effectiveness of removal of heat from the reactor core depends on many factors, including the cooling agents used and the type of reactor. Common liquid coolants for nuclear reactors include: deionized water, heavy water, the lighter alkaline metals, lead or lead-based eutectic alloys like lead-bismuth, and NaK, a eutectic alloy of sodium and potassium. Gas cooled reactors operate with coolants like carbon dioxide, helium or nitrogen but some very low powered research reactors have even been air-cooled with Chicago Pile 1 relying on natural convection of the surrounding air to remove the negligible thermal power output. There is ongoing research into using supercritical fluids as reactor coolants but thus far neither the supercritical water reactor nor a reactor cooled with supercritical Carbon Dioxide nor any other kind of supercritical-fluid-cooled reactor has ever been built.

References

  1. Zernike, F. (1934). "Beugungstheorie des Schneidenverfahrens und Seiner Verbesserten Form, der Phasenkontrastmethode". Physica. 1 (8): 689–704. Bibcode:1934Phy.....1..689Z. doi:10.1016/S0031-8914(34)80259-5.
  2. Born, Max & Wolf, Emil (1999). Principles of Optics: Electromagnetic Theory of Propagation, Interference and Diffraction of Light (7th ed.). Cambridge, UK: Cambridge University Press. p. 986. ISBN   9780521642224. (see also at Google Books)
  3. 1 2 Mathar, R. J. (2009). "Zernike Basis to Cartesian Transformations". Serbian Astronomical Journal . 179 (179): 107–120. arXiv: 0809.2368 . Bibcode:2009SerAJ.179..107M. doi:10.2298/SAJ0979107M. S2CID   115159231.
  4. Noll, R. J. (1976). "Zernike polynomials and atmospheric turbulence" (PDF). J. Opt. Soc. Am. 66 (3): 207. Bibcode:1976JOSA...66..207N. doi:10.1364/JOSA.66.000207.
  5. Thibos, L. N.; Applegate, R. A.; Schwiegerling, J. T.; Webb, R. (2002). "Standards for reporting the optical aberrations of eyes" (PDF). Journal of Refractive Surgery. 18 (5): S652-60. doi:10.3928/1081-597X-20020901-30. PMID   12361175.
  6. Loomis, J., "A Computer Program for Analysis of Interferometric Data," Optical Interferograms, Reduction and Interpretation, ASTM STP 666, A. H. Guenther and D. H. Liebenberg, Eds., American Society for Testing and Materials, 1978, pp. 71–86.
  7. Genberg, V. L.; Michels, G. J.; Doyle, K. B. (2002). "Orthogonality of Zernike polynomials". Optomechanical design and Engineering 2002. Proc SPIE. Vol. 4771. pp. 276–286. doi:10.1117/12.482169.
  8. Eric P. Goodwin; James C. Wyant (2006). Field Guide to Interferometric Optical Testing. p. 25. ISBN   0-8194-6510-0.
  9. Lakshminarayanan, V.; Fleck, Andre (2011). "Zernike polynomials: a guide". J. Mod. Opt. 58 (7): 545–561. Bibcode:2011JMOp...58..545L. doi:10.1080/09500340.2011.554896. S2CID   120905947.
  10. Honarvar Shakibaei, Barmak (2013). "Recursive formula to compute Zernike radial polynomials". Opt. Lett. 38 (14): 2487–2489. Bibcode:2013OptL...38.2487H. doi:10.1364/OL.38.002487. PMID   23939089.
  11. 1 2 Kintner, E. C. (1976). "On the mathematical properties of the Zernike Polynomials". Opt. Acta. 23 (8): 679–680. Bibcode:1976AcOpt..23..679K. doi:10.1080/713819334.
  12. Tatulli, E. (2013). "Transformation of Zernike coefficients: a Fourier-based method for scaled, translated, and rotated wavefront apertures". J. Opt. Soc. Am. A. 30 (4): 726–32. arXiv: 1302.7106 . Bibcode:2013JOSAA..30..726T. doi:10.1364/JOSAA.30.000726. PMID   23595334. S2CID   23491106.
  13. Janssen, A. J. E. M. (2011). "New analytic results for the Zernike Circle Polynomials from a basic result in the Nijboer-Zernike diffraction theory". Journal of the European Optical Society: Rapid Publications. 6: 11028. Bibcode:2011JEOS....6E1028J. doi: 10.2971/jeos.2011.11028 .
  14. Barakat, Richard (1980). "Optimum balanced wave-front aberrations for radially symmetric amplitude distributions: Generalizations of Zernike polynomials". J. Opt. Soc. Am. 70 (6): 739–742. Bibcode:1980JOSA...70..739B. doi:10.1364/JOSA.70.000739.
  15. Janssen, A. J. E. M. (2011). "A generalization of the Zernike circle polynomials for forward and inverse problems in diffraction theory". arXiv: 1110.2369 [math-ph].
  16. Mathar, R. J. (2018). "Orthogonal basis function over the unit circle with the minimax property". arXiv: 1802.09518 [math.NA].
  17. Akondi, Vyas; Dubra, Alfredo (22 June 2020). "Average gradient of Zernike polynomials over polygons". Optics Express. 28 (13): 18876–18886. Bibcode:2020OExpr..2818876A. doi: 10.1364/OE.393223 . ISSN   1094-4087. PMC   7340383 . PMID   32672177.
  18. Tahmasbi, A. (2010). An Effective Breast Mass Diagnosis System using Zernike Moments. 17th Iranian Conf. on Biomedical Engineering (ICBME'2010). Isfahan, Iran: IEEE. pp. 1–4. doi:10.1109/ICBME.2010.5704941.
  19. Tahmasbi, A.; Saki, F.; Shokouhi, S.B. (2011). "Classification of Benign and Malignant Masses Based on Zernike Moments". Computers in Biology and Medicine . 41 (8): 726–735. doi:10.1016/j.compbiomed.2011.06.009. PMID   21722886.
  20. Rdzanek, W. P. (2018). "Sound radiation of a vibrating elastically supported circular plate embedded into a flat screen revisited using the Zernike circle polynomials". J. Sound Vib. 434: 91–125. Bibcode:2018JSV...434...92R. doi:10.1016/j.jsv.2018.07.035. S2CID   125512636.
  21. Alizadeh, Elaheh; Lyons, Samanthe M; Castle, Jordan M; Prasad, Ashok (2016). "Measuring systematic changes in invasive cancer cell shape using Zernike moments". Integrative Biology. 8 (11): 1183–1193. doi:10.1039/C6IB00100A. PMID   27735002.
  22. Gorji, H. T., and J. Haddadnia. "A novel method for early diagnosis of Alzheimer’s disease based on pseudo Zernike moment from structural MRI." Neuroscience 305 (2015): 361–371.