An ophthalmic apparatus determines, based on information indicating a tilt of an object in a tomographic image, a direction in which luminance information of the tomographic image is to be combined. Then, the ophthalmic apparatus combines the luminance information of the tomographic image along the determined direction, thereby generating a plane image of the object.