Image Display Method for Overlapping Layer Transparency
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current video playing technologies lack an effective method to achieve an overlapping display effect of multiple image layers, which is essential for personalized video services, such as dynamically overlaying advertisements or logos on video images.
Innovation Solution
An image display method that involves obtaining and processing a to-be-processed image comprising a first image and a second image, where the second image's pixel color data represents the transparent attribute of the first image's pixels, allowing for the generation of a third image with transparent and opaque areas, enabling the overlapping display of multiple layers.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If multiple image layers are displayed with overlapping effect, then personalized video services are enabled, but image processing complexity increases
Solution Approach 1:
The image is segmented into multiple layers (first image layer and second image layer) with independent processing. Each layer is handled separately with its own color data and transparent attribute data, allowing complex overlapping display effects to be achieved through simple per-layer processing rather than complex overall processing.
Solution Approach 2:
The patent adds a transparency dimension by introducing a second image layer that stores transparent attributes corresponding to each pixel in the first image layer. This dimensional extension enables the overlapping display effect without increasing the complexity of individual layer processing.
2Adaptability or versatility
If transparent attribute data is stored for each pixel, then overlapping display effect is achieved, but data storage requirements increase
Solution Approach 1:
The patent merges the original color data of the first image with the transparent attribute data of the second image to form integrated color data for the third image. This combining approach achieves overlapping display functionality while managing data storage efficiently by integrating rather than separately maintaining multiple data sets.
Data Source
AI summary
The present disclosure provides an image display method performed by the terminal device, including obtaining a to-be-processed image comprising a first image and a second image spliced together, pixels in the second image being in a one-to-one correspondence with pixels in the first image, and color data of each pixel in the second image representing a transparent attribute of the corresponding pixel in the first image; obtaining color data of each pixel in the first image and the color data of each pixel in the second image from the to-be-processed image; generating a third image according to the color data of each pixel in the first image and the second image; and displaying the third image.


