When a tomographic image of an object in a body cavity is to be obtained
by an optical coherence tomography measurement employing a probe, the
distance between the probe and the object is measured and the optical
path length of the measuring light or the reference light is adjusted.