主权项 |
1. A conversion system for converting Red-Green-Blue (RGB) data to Red-Green-Blue-White (RGBW) data, comprising:
a four-color determination unit configured to determine outputted RGBW values according to inputted RGB values and a color saturation value calculated from the inputted RGB values; and an output unit configured to output the outputted RGBW values; wherein, the four-color determination unit comprises:
a comparison unit configured to determine a maximum value and a minimum value of the inputted RGB values;a color saturation calculation unit configured to calculate a color saturation value according to the inputted RGB values; anda four-color calculation unit configured to calculate the outputted RGBW values according to the maximum value of the inputted RGB values, the minimum value of the inputted RGB values, and the color saturation value; and wherein, the four-color calculation unit is further configured to use a Formula 2 to calculate the outputted RGBW values,
Ro=[(Max(Ri,Gi,Bi)+Wo)/Max(Ri,Gi,Bi)]×Ri−Wo; Go=[(Max(Ri,Gi,Bi)+Wo)/Max(Ri,Gi,Bi)]×Gi−Wo; Ro=[(Max(Ri,Gi,Bi)+Wo)/Max(Ri,Gi,Bi)]×Bi−Wo; andWo=Min(Ri,Gi,Bi)×(1−S);[Formula 2]wherein, Ri represents the inputted R value, Gi represents the inputted G value, Bi represents the inputted B value, Ro represents the outputted R value, Go represents the outputted G value, Bo represents the outputted B value, Wo represents the outputted W value, S represents the color saturation value, Max(Ri,Gi,Bi) represents the maximum value of the inputted RGB values, Min(Ri,Gi,Bi) represents the minimum value of the inputted RGB values. |