A new tomographic image is generated using a reverse image in which at least one portion of a tomographic image of a retina of an eye to be examined is reversed and the tomographic image so that the reverse image is located on a side on which the retinal layer in the tomographic image is in contact with an end of the tomographic image.