The pupil function or aperture function describes how a light wave is affected upon transmission through an optical imaging system such as a camera, microscope, or the human eye. More specifically, it is a complex function of the position in the pupil[1] or aperture (often an iris) that indicates the relative change in amplitude and phase of the light wave. Sometimes this function is referred to as the generalized pupil function, in which case pupil function only indicates whether light is transmitted or not.[2] Imperfections in the optics typically have a direct effect on the pupil function, it is therefore an important tool to study optical imaging systems and their performance.[3]
The complex pupil function
P(u,v)
P(u,v)=A(u,v) ⋅ exp(i\Theta(u,v))
\Theta(u,v)
(u,v)
A(u,v)
The pupil function is also directly related to the point spread function by its Fourier transform. As such, the effect of aberrations on the point spread function can be described mathematically using the concept of the pupil function.
Since the (incoherent) point spread function is also related to the optical transfer function via a Fourier transform, a direct relationship exists between the pupil function and the optical transfer function. In the case of an incoherent optical imaging system, the optical transfer function is the auto correlation of the pupil function.[5]
In a homogeneous medium, a point source emits light with spherical wave fronts. A lens that is focused onto the point source will have optics that change the spherical wave front into a planar wave before it passes through the pupil or aperture stop. Often, additional lens element refocus the light onto a sensor or photographic film, by converting the planar wave front to a spherical wave front, centered onto the image plane. The pupil function of such an ideal system is equal to one at every point within the pupil, and zero out with it. In case of a circular pupil, this can be written mathematically as:
P(u,v)=1,\forallu,v:\sqrt{u2+v2}\leqR
P(u,v)=0,\forallu,v:\sqrt{u2+v2}>R,
R
When the point source is out of focus, the spherical wave will not be completely made planar by the optics, but will have an approximately parabolic wave front:
k(u2+v2)
P(u,v)=exp(ik(u2+v2)),\forallu,v:\sqrt{u2+v2}\leqR
P(u,v)=0,
The spherical wave could also be deformed by imperfect optics to an approximately cylindrical wave front:
ku2
P(u,v)=exp(iku2),\forallu,v:\sqrt{u2+v2}\leqR
P(u,v)=0,