An image processing apparatus obtains an image of an eye area, determines a measurement target among multiple vascular branches based on information regarding multiple vascular branches that include multiple vascular bifurcations in the obtained image, and measures the size of a blood cell aggregate in the determined measurement target.