A method for obtaining a tomographic image of a fundus by optical coherence tomography includes the steps of setting a line, based on which the fundus tomographic image is to be obtained, on a first front image of the fundus, the first front image being a still image, establishing a positional correspondence between a second front image of the fundus and the first front image by matching the first and second front images, specifying a line on the second front image based on positional information on the line set on the first front image, and the established positional correspondence, and obtaining the fundus tomographic image that corresponds to the lines on the first and second front images by scanning measurement light with the use of an optical scanner provided to an interference optical system.