1. An image processing apparatus comprising: a determination unit configured to determine one or more exceptional frames of a plurality of frames forming a moving image captured by an ophthalmic apparatus including an aberration correction device; and a processing unit configured to apply image processing of a blood vessel area for a frame, among the plurality of frames, which has not been determined as the one or more exceptional frames, wherein said determination unit determines a degree of an exception for each of the one or more exceptional frames, and wherein said processing unit executes blood vessel extraction processing using the plurality of frames, and changes a processing parameter to be applied between (a) the one or more exceptional frames and (b) frames other than the one or more exceptional frames, while changing the processing parameter for the one or more exceptional frames according to the degree of the exception.