1. An image processing apparatus comprising: a processor; and a memory storing instructions that, when executed by the processor, cause the image processing apparatus to: acquire a tomogram of a fundus of a subject eye; detect a first layer boundary from the tomogram; estimate a new layer boundary based on a form of the first layer boundary; and determine a region which has a thickness equal to or more than a threshold from regions between the first layer boundary and the new layer boundary.