Mask-Based Image Processing for Progressive Element Reveal
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing image processing technologies lack the ability to provide diverse and dynamic special effects, failing to meet user demands for richer visual experiences.
Innovation Solution
An image processing method that involves acquiring an original image, determining masks for different elements, establishing a correspondence between these masks and frame numbers in a target video, and generating a video where elements gradually emerge over frames, enhancing visual effects by rearranging and accumulating elements over time.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If traditional image processing methods are used to add special effects, then the processing is simple and fast, but the types of special effects are limited and visual richness is insufficient
Solution Approach 1:
The original image is segmented into multiple elements through mask generation, where each mask corresponds to a specific element. This segmentation enables independent control and animation of each element, allowing for diverse special effects while maintaining a systematic processing approach.
Solution Approach 2:
The patent introduces dynamic frame-by-frame processing where elements are accumulated progressively across multiple frames. Each frame builds upon the previous one by adding new elements according to predetermined accumulation rules, creating dynamic and evolving visual effects rather than static transformations.
2Adaptability or versatility
If more elements are accumulated in the video frames to enhance visual effects, then the visual richness improves, but the processing time and computational resources increase
Solution Approach 1:
Masks for all elements are generated in advance from the original image before the frame-by-frame processing begins. This preliminary segmentation allows the subsequent accumulation process to simply composite pre-prepared elements rather than performing complex segmentation during runtime, significantly reducing processing time.
Solution Approach 2:
The patent uses mask-based copying where element definitions are extracted once and then reused across multiple frames through compositing operations. Instead of regenerating elements each frame, the system copies and positions pre-defined element masks, improving processing efficiency while maintaining visual complexity.
Data Source
AI summary
An image processing method and apparatus, an electronic device and a storage medium are provided. The method includes: acquiring an original image, and the original image including a plurality of elements; obtaining a plurality of first masks based on the original image, and different first masks corresponding to different elements; determining a correspondence between the first masks and frame numbers of a target video; and obtaining the target video, based on the correspondence between the first masks and the frame numbers of the target video, and the original image. In the target video, with a gradual progress of each frame of a picture, new elements continuously emerge.


