Image Animation Generation Using Foreground and 2D Sticker Compositing
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing animation generation methods rely heavily on manual operations using drawing tools, resulting in high costs and low efficiency.
Innovation Solution
A method involving automatic generation of animations by determining background and foreground images, rotating, scaling, and translating these images, and combining them with 2D sticker images to create animations, reducing manual intervention.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Manufacturing precision
If manual operations using drawing tools are used to generate animations, then animation quality and control precision are improved, but production cost increases and efficiency decreases
Solution Approach 1:
The system performs automatic image segmentation, background removal, and animation generation without requiring manual intervention. The computer executes algorithms to automatically process images and create animations, making the system self-sufficient for tasks that previously required human operators.
Solution Approach 2:
Manual mechanical operations with drawing tools are replaced by automated computer-based image processing algorithms. The system uses software automation to perform segmentation, background removal, and animation composition, substituting human manual labor with computational processes.
2Manufacturing precision
If manual operations using drawing tools are used to generate animations, then animation quality and control precision are improved, but development cost increases
Solution Approach 1:
The system performs automatic image segmentation, background removal, and animation generation without requiring manual intervention. The computer executes algorithms to automatically process images and create animations, making the system self-sufficient for tasks that previously required human operators.
Solution Approach 2:
Manual mechanical operations with drawing tools are replaced by automated computer-based image processing algorithms. The system uses software automation to perform segmentation, background removal, and animation composition, substituting human manual labor with computational processes.
3Productivity
If automated image processing is used to generate animations, then production efficiency is improved, but automation extent increases
Solution Approach 1:
The system performs automatic image segmentation, background removal, and animation generation without requiring manual intervention. The computer executes algorithms to automatically process images and create animations, making the system self-sufficient for tasks that previously required human operators.
Data Source
Figure 1~2
Figure 3~4
AI summary
Provided are an method for generating an animation and apparatus, an electronic device, and a computer-readable storage medium. The method for generating an animation comprises: determining a background image and a first foreground image of an original image (S110); respectively rotating, scaling and translating the first foreground image and a first 2D sticker image to obtain a second foreground image and a second 2D sticker image, wherein the first 2D sticker image is generated in advance on the basis of a predetermined coverage manner and according to the original image (S 120); mixing the second foreground image with the background image to obtain a first mixed image (S 130); and mixing the first mixed image with the second 2D sticker image to generate an animation of the original image (S140).