An image processing apparatus determines an exceptional frame of a plurality of frames forming a moving image captured by an ophthalmic apparatus including an aberration correction device, and applies image processing of a blood vessel area for a frame, among the plurality of frames, which has not been determined as the exceptional frame.