RGB to YUV Image Conversion via Pixel Correlation Copying
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Converting RGB format image data to YUV format requires extensive calculations, making it unsuitable for platforms with limited computing resources.
Innovation Solution
A digital image conversion method that compares the RGB signal of a current pixel with a forward-correlated pixel's RGB indication signal, copying the YUV signal if identical and recalculating it if different, thereby reducing the computational load by leveraging pixel correlation.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Measurement precision
If pixel-wise image conversion is performed according to the conversion equation, then accurate conversion of image format is achieved, but a large amount of calculation is required
Solution Approach 1:
The patent applies the copying principle by detecting whether adjacent pixels have identical RGB values and copying their YUV conversion results directly, avoiding redundant calculations. When a pixel's RGB values match its adjacent pixel's RGB values, the converted YUV values are copied from the adjacent pixel instead of recalculating, thus maintaining conversion accuracy while significantly reducing computational load.
Solution Approach 2:
The patent applies local quality by treating different regions of the image differently based on local pixel characteristics. Instead of uniformly converting all pixels using the full conversion equation, the method locally identifies regions with identical adjacent pixel values and applies simplified copying operations only in those specific locations, while maintaining accurate conversion elsewhere.
2Reliability
If pixel-wise conversion is performed for all pixels, then complete image conversion is achieved, but the method is not suitable for platforms with limited computing resources
Solution Approach 1:
The patent reduces device complexity requirements by implementing a copying mechanism that avoids redundant calculations. By detecting identical RGB values in adjacent pixels and copying their YUV conversion results, the system achieves complete image conversion with significantly reduced computational resource requirements, making it suitable for platforms with limited computing resources.
Solution Approach 2:
The patent applies parameter changes by dynamically adjusting the conversion process based on pixel value characteristics. When adjacent pixels have identical RGB parameters, the system changes the conversion approach from full calculation to simple copying operations, thereby reducing the computational parameters and resource requirements while maintaining conversion completeness.
Data Source
AI summary
Embodiments of the present disclosure disclose a digital image conversion method and apparatus. The method includes: acquiring an RGB indication signal of a forward-correlated pixel of a current pixel; comparing an RGB signal of the current pixel with the RGB indication signal of the forward-correlated pixel; acquiring a YUV indication signal of the forward-correlated pixel and assigning the YUV indication signal to a YUV signal of the current pixel, if the RGB signal of the current pixel is identical to the RGB indication signal of the forward-correlated pixel; and recalculating the YUV signal of the current pixel according to the RGB signal of the current pixel, if the RGB signal of the current pixel is different from the RGB indication signal of the forward-correlated pixel. The digital image conversion method and apparatus disclosed in the embodiments of the present disclosure can effectively reduce the amount of calculation required for image data conversion.


