1. An image processing apparatus for generating image data for displaying a stereoscopic image on the basis of an image for a left eye and an image for a right eye, comprising: first detecting means for detecting image pairs each taken in a continuous shooting mode among a plurality of images; second detecting means for detecting image pairs each taken consecutively within a predetermined time among the plurality of images; presenting means for presenting said image pairs detected by said first detecting means or said second detecting means to a user; and generating means for setting one of two images comprising a said image pair selected by the user among said image pairs presented-by said presenting means as said image for the left eye and the other as said image for the right eye, and generating the image data for displaying said stereoscopic image.