Patent ID: 11956543
Assignee: CANON KABUSHIKI KAISHA
Field: Audio-visual technology (Electrical engineering)
Classification: CPC G  H | IPC G  H

Claim 13:
14. A non-transitory computer-readable storage medium that stores a program for causing a computer to execute an image processing method, the image processing method comprising:
performing electronic enlargement of enlarging and outputting a predetermined region from a captured image;
detecting a motion vector from a plurality of captured images;
calculating a first representative motion vector by setting a weight of a first motion vector detected in the predetermined region greater than a weight of a second motion vector detected in a region outside the predetermined region;
calculating a second representative motion vector by setting a weight of the second motion vector greater than a weight of the first motion vector; and
calculating a third representative motion vector based on the first representative motion vector and the second representative motion vector, wherein in calculation of the third representative motion vector, the third representative motion vector is determined by setting a weight of the first representative motion vector greater than a weight of the second representative motion vector when an enlargement magnification in the electronic enlargement is equal to or greater than a threshold, and the third representative motion vector is determined by setting a weight of the second representative motion vector greater than a weight of the first representative motion vector when an enlargement magnification in the electronic enlargement is less than the threshold.