摘要 |
PROBLEM TO BE SOLVED: To provide a digital image processing apparatus that obtains a global motion vector representing a global motion of an image frame of a captured image, and a method of estimating a global motion of an image.SOLUTION: A digital image processing apparatus comprises: an obtaining unit configured to match an image frame of a captured image to a plurality of templates of different areas in the image frame and obtain template motion vectors respectively corresponding to the templates; a position correcting unit configured to correct a position of each of the obtained template motion vectors on the basis of a weighted sum of each of the template motion vectors and at least one neighboring motion vector neighboring with each of the template motion vectors; a score calculating unit configured to calculate a score on the basis of a confidence of each of the template motion vectors and the number of neighboring motion vectors; and a global motion estimating unit configured to select a global motion vector representing the image frame from among the template motion vectors on the basis of the calculated score. |