An ophthalmic apparatus includes a first acquisition unit configured to acquire a first tomogram of a subjects eye, a three-dimensional image acquisition unit configured to acquire a three-dimensional image of the subjects eye after the first tomogram is acquired, a second acquisition unit configured to acquire a second tomogram of the subjects eye corresponding to the first tomogram after the three-dimensional image is acquired, and a correction unit configured to correct a gradation of the second tomogram based on a gradation of the first tomogram.