According to the present invention, an image processing apparatus is
provided for inputting moving image data composed of a plurality of
frames, for detecting definitions of a plurality of frames in the moving
image data and a range of successive frames indicating an image similar
to that of the image of the frame which is arbitrarily designated among
the moving image data, and for selecting one of the frames in the moving
image data which is inputted based on the definition and the similarity
range.