Color Conversion System Preventing RGB Saturation
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing color conversion methods often result in converted color values exceeding the predefined range in the RGB color space, causing saturation and color variation when converting from YCbCr to RGB, particularly due to large or small Y, Cb, and Cr values.
Innovation Solution
A color conversion method and system that calculates source maximum and minimum values based on destination color space parameters, adjusts the Y value to stay within these limits, and uses converting parameters to ensure R, G, and B values do not exceed the RGB range, thereby preventing color variation.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If color conversion is performed from YCbCr to RGB using standard converting parameters, then color information can be converted between different color spaces, but the converted R, G, or B color value may exceed the predefined range of 0-255, causing saturation and color variation
Solution Approach 1:
The patent calculates the source maximum value and source minimum value before performing the color conversion. These pre-computed boundary values are then used to adjust the Y, Cb, and Cr components during conversion, ensuring the output R, G, B values remain within the 0-255 range. This preliminary calculation and adjustment prevents color saturation before it occurs.
Solution Approach 2:
The patent modifies the converting parameters by introducing source maximum and source minimum values that are calculated based on the destination color space's maximum and minimum color values. These adjusted parameters are then used in the conversion formulas to constrain the output within the valid RGB range, preventing color value overflow.
2Manufacturing precision
If the Y, Cb, and Cr color values are adjusted to prevent converted color values from exceeding the RGB range, then color accuracy is maintained, but the conversion process becomes more complex
Solution Approach 1:
The source maximum and source minimum values are pre-calculated before the main conversion process. This allows the conversion formulas to use these pre-computed values directly, avoiding the need for complex real-time calculations during the actual color conversion, thus reducing overall process complexity while maintaining accuracy.
Solution Approach 2:
The patent introduces source maximum and source minimum values as intermediary parameters that mediate between the YCbCr input values and the RGB output values. These intermediary values simplify the conversion process by providing clear boundary constraints that can be directly applied in the conversion formulas, rather than requiring complex iterative adjustment processes.
Data Source
AI summary
A color conversion method is utilized for converting a plurality of source information in a source color space to a plurality of destination information in a destination color space. The color conversion method includes obtaining a first color value and a plurality of second color values of a pixel; performing a computation on at least one converting parameter, the plurality of second color values, a plurality of maximum values and minimum values corresponding to the plurality of destination information to obtain a source maximum value and a source minimum value; generating an adjustment value according to the first color value, the source maximum value, and the source minimum value; and performing a computation for obtaining a plurality of destination color values of the pixel according to the at least one converting parameter, the adjustment value, and the plurality of second color values.


