An image as a basis of a mosaic image is segmented into MN areas by the
process shown in FIG. 4 (S300), and the image characteristics of
the segmented areas (S301), and those of source images (S305) are
obtained. When the source image is a moving image, the image characteristics of
that moving image are obtained from those of a plurality of still images in the
moving image (S304). Source images corresponding to the segmented areas
are determined (S309) and pasted (S310), thus generating a mosaic image.