Image Frame YUV Conversion for Bandwidth Reduction
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Picture files, which can be single-frame images or animations, have complex content and large file data, leading to high bandwidth consumption and increased costs during transmission.
Innovation Solution
A method that involves converting each image frame into YUV data, encoding the YUV data to generate a data stream, and transmitting compressed image data including a picture header information data segment, which reduces the file data amount and bandwidth costs by parsing and processing the YUV data upon receipt.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If picture files are transmitted in their original format, then image quality is preserved, but bandwidth consumption increases and transmission costs rise
Solution Approach 1:
The picture file is segmented into multiple image frames, and each frame is independently converted to YUV format. This segmentation allows for selective compression of chrominance components while preserving luminance quality, thereby maintaining perceived image quality while reducing overall data volume and bandwidth consumption
Solution Approach 2:
The color space parameter is changed from RGB to YUV, and the chrominance sampling rate is changed from 4:4:4 to 4:2:0. This parameter transformation enables significant data reduction in the chrominance channels while the human eye's lower sensitivity to color details ensures that image quality remains acceptable
2Loss of energy
If picture files are compressed to reduce data size, then bandwidth costs decrease, but file complexity and processing requirements increase
Solution Approach 1:
The conversion from RGB to YUV color space and the subsampling of chrominance components are performed in advance during the encoding phase. This preliminary action transforms the data into a more compression-friendly format before transmission, reducing the complexity of real-time processing required at the receiving end while achieving significant bandwidth cost savings
3Quantity of substance
If YUV conversion and encoding are performed on all image frames, then data volume is reduced, but processing time and computational resources increase
Solution Approach 1:
Instead of applying full compression to all components of all frames, the method applies YUV conversion and 4:2:0 subsampling selectively to the chrominance channels. This partial action approach achieves significant data volume reduction (typically 33-50% reduction) while minimizing the computational overhead compared to full-frame processing
Solution Approach 2:
The luminance component (Y channel) is preserved at full resolution while the chrominance components (U and V channels) are subsampled. This local quality differentiation exploits the human visual system's higher sensitivity to brightness details compared to color details, achieving compression with minimal perceived quality loss and reduced processing requirements
Data Source
AI summary
Embodiments of the present application disclose a picture file processing method, device, and computer storage medium. The method includes the following steps: generating, by a transmitter, a picture header information data segment of a picture file according to the picture file, and converting each image frame in the picture file into YUV data; encoding the YUV data to generate data stream, generating compressed image data, and sending the compressed image data to a receiving device, the compressed image data including the picture header information data segment and the data stream; receiving, by the receiving device, the compressed image data, and parsing the compressed image data to acquire the picture header information data segment and the data stream; and generating, by the receiving device, the YUV data according to the data stream, and processing the YUV data based on the picture header information data segment to generate the picture file.


