By utilizing the fact that the observation object has a three-dimensional shape and the boundary surface can be regarded as a plane surface, phase or intensity distribution is applied into a luminous flux of reference light, thereby selectively attenuating the influence of the reflected light from the boundary surface so as to obtain a high-quality OCT image.