Optical coherence tomography is a technique by which images of the interior of a small body structure (e.g. the inner layers of the eye) are generated. Images are produced based on patterns of light within the structure. The pattern of light scattering contains information that allows the thickness and shape of the internal structure to be determined, and thus enables an image to be generated.