Dynamic Pixel Format Selection for Image Texture Optimization
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing image rendering technologies in mobile devices often waste resources by using fixed pixel formats, which may not optimally represent the color depth of loaded images, leading to inefficient texture creation and rendering.
Innovation Solution
A method that dynamically determines the pixel format for texture creation by comparing the color distribution of the loaded image with reference color arrangement information, using a m-dimensional color distribution chart to calculate differences and adjust the pixel format based on standard deviation, allowing for optimized bit usage between 16-bit and 32-bit formats.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Productivity
If a fixed pixel format is used for texture creation, then the rendering process is simple and fast, but resource efficiency deteriorates due to mismatch between the fixed format and the actual color depth requirements of different images
Solution Approach 1:
The patent applies dynamics by transitioning from a static fixed pixel format to a dynamic pixel format selection mechanism. The system analyzes the color distribution of each image and dynamically determines the appropriate pixel format (e.g., RGBA8888, RGB565, RGB4444) based on the actual color depth requirements, allowing the rendering process to adapt to different image characteristics while maintaining efficiency
Solution Approach 2:
The patent changes the parameter of pixel format selection from a fixed constant to a variable determined by image analysis. By calculating color distribution metrics and comparing against reference color arrangements, the system selects the optimal pixel format parameters for each image, thereby improving resource efficiency without significantly compromising rendering speed
2Manufacturing precision
If a high-bit pixel format (e.g., RGBA8888) is used for all images, then color expression capability is improved, but resource consumption increases due to unnecessary precision for images with limited color variation
Solution Approach 1:
The patent applies local quality by matching the pixel format precision to the local color characteristics of each image. Instead of uniformly applying high-bit formats to all images, the system analyzes each image's color distribution and assigns an appropriate pixel format level, ensuring that images with rich color variation receive higher precision while simpler images use more efficient lower-bit formats
Solution Approach 2:
The patent avoids excessive application of high-bit pixel formats by applying them only when necessary. Through color distribution analysis, the system identifies when full RGBA8888 precision is needed versus when lower formats like RGB565 or RGB4444 suffice, thereby eliminating unnecessary memory consumption while preserving color expression capability where required
3Loss of energy
If a low-bit pixel format (e.g., RGB565) is used for all images, then resource consumption is reduced, but color accuracy deteriorates for images requiring higher color precision
Solution Approach 1:
The system dynamically adjusts pixel format selection based on image-specific color characteristics. By analyzing color distribution and comparing against reference arrangements, the system determines when to use lower-bit formats for memory efficiency and when to escalate to higher-bit formats to preserve color accuracy, making the precision level adaptive rather than fixed
Solution Approach 2:
The patent changes the pixel format parameter from a fixed low-bit default to a variable selection based on color accuracy requirements. Through computational analysis of color distribution metrics, the system adjusts the precision parameter to match actual image needs, ensuring color accuracy is maintained when necessary while achieving memory efficiency when possible
4Loss of energy
If dynamic pixel format determination is implemented, then resource efficiency is improved, but processing complexity increases due to color distribution analysis requirements
Solution Approach 1:
The patent applies preliminary action by pre-computing and storing reference color arrangement information that serves as a basis for pixel format determination. This pre-prepared reference data enables the dynamic selection process to proceed efficiently without requiring complex real-time calculations, thereby reducing processing complexity while maintaining resource efficiency benefits
Solution Approach 2:
The patent introduces an intermediary reference color arrangement database that mediates between the image input and pixel format selection. This reference data structure serves as a lookup table or comparison basis that simplifies the decision-making process, transforming a potentially complex analysis into a more manageable comparison task that balances resource efficiency with processing complexity
Data Source
AI summary
An image rendering method includes: loading, at an electronic device, an image by an application executed on the electronic device; loading, at the electronic device, reference color arrangement information; and determining, at the electronic device, a pixel format for a texture creation of the loaded image based on a comparison between a color value of the loaded image and the loaded reference color arrangement information.


