CPC G06T 13/80 (2013.01) [G06T 3/20 (2013.01); G06T 3/40 (2013.01); G06T 3/60 (2013.01); G06T 11/001 (2013.01)] | 20 Claims |
1. A method for generating an animation, comprising:
determining a background image and a first foreground image of an original image;
rotating, scaling and translating the first foreground image to obtain a second foreground image; and rotating, scaling and translating a first 2D sticker image to obtain a second 2D sticker image, wherein the first 2D sticker image is generated in advance from the original image based on a predetermined covering manner;
mixing the second foreground image with the background image to obtain a first mixed image; and
mixing the first mixed image with the second 2D sticker image to generate an animation of the original image.
|