Moulded Grating

As optical elements, optical gratings are images having the characteristic pattern of alternating, parallel lines. The lines alternate between high and low reflectance (black-white gratings) or high and low transmittance (transparent-opaque gratings). The grating profile is the function of the reflectance or transmittance perpendicular to the lines. This function is generally a square wave, in that every transition between lines is abrupt.

A grating can be defined by six parameters:

  • Spatial frequency is the number of cycles occupying a particular distance (e.g. 10 line pairs per millimeter). The period of the grating is the inverse of the spatial frequency, measured in distance (e.g. 0.1 mm).
  • Duty Cycle is the relative thickness of high and low lines. The duty cycle is the ratio of the width of the low line (black or opaque) to one whole grating period.
  • Profile is the shape of the repeating pattern, which is typically a square wave but can also be any periodic pattern (sine wave, triangle wave, sawtooth wave, etc.).
  • Contrast is a measure of the difference in luminance between the high lines of the grating and the low lines. It is usually expressed as Michelson contrast: the difference between maximum and minimum luminance divided by their sum.
  • Orientation is the angle the grating makes with some reference orientation (such as the y-axis in a picture or of another grating). It is usually measured in degree or in radians.
  • Phase is the position of the grating profile relative to some reference position. It is usually measured in degrees (from 0 to 360 for one complete cycle) or in radians (2π for one complete cycle). For example, two identical transparent gratings of 50% duty cycle and the same orientation will appear fully opaque only if the relative phase is π (180 degrees).

Gratings with sine wave profiles are used extensively in optics to determine the transfer functions of lenses. A lens will form an image of a sine wave grating that is still sinusoidal, but with some reduction in its contrast depending on the spatial frequency and possibly some change in phase. The branch of mathematics dealing with this part of optics is Fourier analysis while the associated branch of study is Fourier optics. Gratings are also used extensively in research into visual perception. Campbell and Robson promoted using sine-wave gratings by arguing that the human visual performs a Fourier analysis on retinal images.