Zernike polynomials

From Wikipedia, the free encyclopedia
  (Redirected from Zernike polynomial)
Jump to: navigation, search
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, winner of the 1953 Nobel Prize in Physics and the inventor of phase-contrast microscopy, they play an important role in beam optics.[1][2]


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

and the odd ones as

where m and n are nonnegative integers with n ≥ m, φ is the azimuthal angle, ρ is the radial distance , and Rmn 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 Rmn are defined as

for nm even, and are identically 0 for nm odd.

Other representations[edit]

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.

Noll's sequential indices[edit]

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

n,m 0,0 1,1 1,−1 2,0 2,−2 2,2 3,−1 3,1 3,−3 3,3
j 1 2 3 4 5 6 7 8 9 10
n,m 4,0 4,2 4,−2 4,4 4,−4 5,1 5,−1 5,3 5,−3 5,5
j 11 12 13 14 15 16 17 18 19 20

The rule is that the even Z (with even azimuthal part m, ) obtain even indices j, the odd Z odd indices j. Within a given n, lower values of m obtain lower j.



The orthogonality in the radial part reads[citation needed]

Orthogonality in the angular part is represented by[citation needed]

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.

A special value is

Zernike transform[edit]

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.


The parity with respect to reflection along the x axis is

The parity with respect to point reflection at the center of coordinates is

where could as well be written because is even for the relevant, non-vanishing values. The radial polynomials are also either even or odd, depending on order n or m:

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

Recurrence relations[edit]

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

From the definition of it can be seen that and . The following three-term recurrence relation[5] 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:[5]


Radial polynomials[edit]

The first few radial polynomials are:

Zernike polynomials[edit]

The first few Zernike modes, ordered by Noll index are[3] shown below. They are normalized such that

Noll index () Radial degree () Azimuthal degree () Classical name
1 0 0 Piston
2 1 1 Tip (lateral position) (X-Tilt)
3 1 −1 Tilt (lateral position) (Y-Tilt)
4 2 0 Defocus (longitudinal position)
5 2 −2 Oblique astigmatism
6 2 2 Vertical astigmatism
7 3 −1 Vertical coma
8 3 1 Horizontal coma
9 3 −3 Vertical trefoil
10 3 3 Oblique trefoil
11 4 0 Primary spherical
12 4 2 Vertical secondary astigmatism
13 4 −2 Oblique secondary astigmatism
14 4 4 Vertical quadrafoil
15 4 −4 Oblique quadrafoil


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. 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.

In precision optical manufacturing, Zernike polynomials are used to characterize higher-order errors observed in interferometric analyses, in order to achieve desired system performance.

In optometry and ophthalmology, Zernike polynomials are used to describe aberrations of the cornea or lens from an ideal spherical shape, which result in refraction errors.

They are commonly used in adaptive optics, where they can be used to effectively cancel out atmospheric distortion. Obvious applications for this are IR or visual astronomy and satellite imagery. For example, one of the Zernike terms (for m = 0, n = 2) is called "de-focus". By coupling the output from this term to a control system, an automatic focus can be implemented.

Another application of the Zernike polynomials is found in the Extended Nijboer–Zernike (ENZ) 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.[6] 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.[7][8] Zernike Moments also have been used to quantify shape of osteosarcoma cancer cell lines in single cell level. These quantifiers of cell shape have been used to distinguish between high invasive cancer cell lines from low invasive lines.[9]

Higher dimensions[edit]

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

for even , else identical to zero.

See also[edit]


  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, and 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. 
  3. ^ a b 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. 
  4. ^ Honarvar Shakibaei Asli, Barmak; Raveendran, Paramesran (July 2013). "Recursive formula to compute Zernike radial polynomials" Opt. Lett. (OSA) 38 (14): 2487–2489. doi:10.1364/OL.38.002487
  5. ^ a b 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. 
  6. ^ 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. 
  7. ^ Tahmasbi, A.; Saki, F.; Shokouhi, S.B. (2011). "Classification of Benign and Malignant Masses Based on Zernike Moments". Computers in Biology and Medicine. 41: 726–735. doi:10.1016/j.compbiomed.2011.06.009. 
  8. ^ Tahmasbi, A. (2011). A Novel Breast Mass Diagnosis System based on Zernike Moments as Shape and Density Descriptors. 18th Iranian Conf. on Biomedical Engineering (ICBME'2011). Tehran, Iran: IEEE. pp. 100–104. doi:10.1109/ICBME.2011.6168532. 
  9. ^ 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. 

External links[edit]