Jump to content

Zernike polynomials: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Added an external link
Line 741: Line 741:
* [https://github.com/tvwerkhoven/libtim-py/blob/master/libtim/zern.py Python/NumPy library for calculating Zernike polynomials]
* [https://github.com/tvwerkhoven/libtim-py/blob/master/libtim/zern.py Python/NumPy library for calculating Zernike polynomials]
* [http://www.telescope-optics.net/zernike_aberrations.htm Zernike aberrations] at [http://www.telescope-optics.net Telescope Optics]
* [http://www.telescope-optics.net/zernike_aberrations.htm Zernike aberrations] at [http://www.telescope-optics.net Telescope Optics]
* [http://www.wolframalpha.com/input/?i=Plot%5BZernikeR%5B7%2C3%2Cr%5D%2C%7Br%2C0%2C1%7D%5D Example: using WolframAlpha to plot Zernike Polynomials]


<!-- [[ja:ゼルニケの多項式]] -->
<!-- [[ja:ゼルニケの多項式]] -->

Revision as of 13:36, 19 December 2012

The first 15 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 Nobel Prize winner and optical physicist, and inventor of the phase contrast microscopy, Frits Zernike, they play an important role in beam optics.[1][2]


Definitions

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 nm, φ is the azimuthal angle, and ρ is the radial distance . 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

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.

Zernike Transform

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

where the coefficients are calculated by the inner products, Alternatively we 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 linear system, 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.

Noll's sequential indices

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) class="wikitable " 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.

Properties

Orthogonality

The orthogonality in the radial part reads

.

Orthogonality in the angular part is represented by

,
,
,

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

.

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:

.

Examples

Radial polynomials

The first few radial polynomials are:

Zernike polynomials

The first few Zernike modes, ordered by Noll index are[3]

Noll index () Radial degree () Azimuthal degree () Classical name
1 0 0 Piston
2 1 1 Tip (lateral position)
3 1 -1 Tilt (lateral position)
4 2 0 Defocus (longitudinal position)
5 2 -2 Astigmatism
6 2 2 Astigmatism
7 3 -1 Coma
8 3 1 Coma
9 3 -3 Trefoil
10 3 3 Trefoil
11 4 0 Third order spherical
12 4 2
13 4 -2
14 4 4
15 4 -4

Applications

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 an ROI, their magnitudes are independent of the rotation angle of the object.[4] 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.[5][6]

Higher Dimensions

The concept translates to higher dimensions 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 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

References

  1. ^ Zernike, F. (1934). "Beugungstheorie des Schneidenverfahrens und Seiner Verbesserten Form, der Phasenkontrastmethode". Physica I. 1, (8): 689–704. Bibcode:1934Phy.....1..689Z. doi:10.1016/S0031-8914(34)80259-5.{{cite journal}}: CS1 maint: extra punctuation (link)
  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.{{cite book}}: CS1 maint: multiple names: authors list (link)
  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. ^ 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.
  5. ^ 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.
  6. ^ 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.