An image processing apparatus obtains a plurality of moving images of a predetermined site of an eye, specifies a vascular region by using at least one moving image of the plurality of moving images, and measures the sizes of blood cell aggregates in a specific vascular branch in the specified vascular region for each moving image of the plurality of moving images.