1. An image processing apparatus comprising: a obtaining unit configured to obtain a profile that represents a relationship between depth directional position and luminance in a tomography image of an eye and to obtain stored information including information representing a relationship between depth directional position and information regarding luminance in a tomography image of an eye; and an identifying unit configured to identify a layer boundary in a tomography image of an eye based on the profile and the stored information.