Feature points are extracted from an image of a plurality of frames. A
blurring direction component of a previous frame image is judged from
motion vectors of the next frame image acquired with reference to feature
points of the extracted previous frame image. Images of the same blurring
direction are selected and grouped from the image of a plurality of
frames based on that judgment result. After performing position
compensation, an additive composite of a grouped composite image is
created for each group so that feature points conform to grouped images.
Subsequently, inverse transform filter processing is applied to the
grouped composite image data and hand shake compensation by group is
accomplished which compensates the blurring direction component matched
to a group. Upon position compensation, an additive composite is
generated of a hand shake compensated image so that feature points of
each grouped composite image conform to hand shake compensation.