CN105472364B - The chrominance signal conversion method and device of LCDs - Google Patents
The chrominance signal conversion method and device of LCDs Download PDFInfo
- Publication number
- CN105472364B CN105472364B CN201510925030.8A CN201510925030A CN105472364B CN 105472364 B CN105472364 B CN 105472364B CN 201510925030 A CN201510925030 A CN 201510925030A CN 105472364 B CN105472364 B CN 105472364B
- Authority
- CN
- China
- Prior art keywords
- signal
- making
- rgb
- grey decision
- rgby
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
- 238000006243 chemical reaction Methods 0.000 title claims abstract description 77
- 238000000034 method Methods 0.000 title claims abstract description 59
- 230000000052 comparative effect Effects 0.000 claims 3
- 239000004973 liquid crystal related substance Substances 0.000 abstract description 18
- 239000003086 colorant Substances 0.000 description 9
- 238000010586 diagram Methods 0.000 description 4
- 241000023320 Luma <angiosperm> Species 0.000 description 2
- OSWPMRLSEDHDFF-UHFFFAOYSA-N methyl salicylate Chemical compound COC(=O)C1=CC=CC=C1O OSWPMRLSEDHDFF-UHFFFAOYSA-N 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000000295 complement effect Effects 0.000 description 1
- PCHJSUWPFVWCPO-UHFFFAOYSA-N gold Chemical group [Au] PCHJSUWPFVWCPO-UHFFFAOYSA-N 0.000 description 1
- 239000010931 gold Substances 0.000 description 1
- 229910052737 gold Inorganic materials 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 230000008054 signal transmission Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000007704 transition Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N9/00—Details of colour television systems
- H04N9/64—Circuits for processing colour signals
- H04N9/643—Hue control means, e.g. flesh tone control
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G3/00—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
- G09G3/20—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
- G09G3/34—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source
- G09G3/36—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source using liquid crystals
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N9/00—Details of colour television systems
- H04N9/64—Circuits for processing colour signals
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Chemical & Material Sciences (AREA)
- Crystallography & Structural Chemistry (AREA)
- Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Control Of Indicators Other Than Cathode Ray Tubes (AREA)
- Processing Of Color Television Signals (AREA)
- Liquid Crystal Display Device Control (AREA)
Abstract
本发明涉及一种液晶显示屏的色彩信号转换方法及装置,其中,该方法包括:比较输入的RGB信号中的R信号、G信号和B信号的灰阶值的大小;在RGB信号中的B信号的灰阶值最小并且R信号的灰阶值大于G信号的灰阶值的情况下,将RGB信号转换成第一RGBY信号并输出第一RGBY信号,其中,第一RGBY信号中的Y信号的灰阶值为RGB信号中的G信号的灰阶值,第一RGBY信号中的G信号的灰阶值为最小灰阶值,第一RGBY信号中的B信号的灰阶值为RGB信号中的B信号的灰阶值,第一RGBY信号中的R信号的灰阶值根据RGB信号中的R信号的灰阶值、第一RGBY信号中的Y信号的灰阶值、最大灰阶值以及预定的亮度曲线伽马值来确定。根据本发明,能够使得转换后的色彩信号的颜色更加鲜艳。
The present invention relates to a color signal conversion method and device for a liquid crystal display, wherein the method includes: comparing the grayscale values of the R signal, the G signal and the B signal in the input RGB signal; the B signal in the RGB signal When the grayscale value of the signal is the smallest and the grayscale value of the R signal is greater than the grayscale value of the G signal, the RGB signal is converted into a first RGBY signal and the first RGBY signal is output, wherein the Y signal in the first RGBY signal The gray scale value of the G signal in the RGB signal is the gray scale value of the G signal, the gray scale value of the G signal in the first RGBY signal is the minimum gray scale value, and the gray scale value of the B signal in the first RGBY signal is the gray scale value of the RGB signal. The grayscale value of the B signal, the grayscale value of the R signal in the first RGBY signal is based on the grayscale value of the R signal in the RGB signal, the grayscale value of the Y signal in the first RGBY signal, the maximum grayscale value and The predetermined brightness curve gamma value is determined. According to the present invention, the color of the converted color signal can be made more vivid.
Description
技术领域technical field
本发明涉及液晶显示领域,尤其涉及一种液晶显示屏的色彩信号转换方法及装置。The invention relates to the field of liquid crystal display, in particular to a method and device for converting color signals of a liquid crystal display.
背景技术Background technique
目前主流的显示设备中,LCD(英文:Liquid Crystal Display,中文:液晶显示面板)和OLED(英文:Organic Light-Emitting Diode,中文:有机电致发光显示面板)的像素一般是由RGB(红色、绿色、蓝色)三个子像素构成的,然而目前逐渐出现了RGBY(红色、绿色、蓝色、黄色)四个子像素构成的面板,由于加入了Y(黄色)信号,黄色、金色的信号得到了较好的再现,视频中较常出现的肤色画面也会更加接近真实世界的颜色,同时作为蓝色补色的黄色被增强后,对蓝色的表现力也会起到很好的提升作用。Among the current mainstream display devices, the pixels of LCD (English: Liquid Crystal Display, Chinese: Liquid Crystal Display Panel) and OLED (English: Organic Light-Emitting Diode, Chinese: Organic Electroluminescent Display Panel) are generally composed of RGB (red, Green, blue) three sub-pixels, however, RGBY (red, green, blue, yellow) four sub-pixels are gradually appearing. Since the Y (yellow) signal is added, the yellow and gold signals are obtained. With better reproduction, the skin tones that often appear in videos will be closer to real-world colors. At the same time, after the yellow that is the complementary color of blue is enhanced, it will also play a very good role in improving the expressiveness of blue.
一般情况下,诸如VGA(英文:Video Graphics Array,中文:视频图形阵列)接口、DVI(英文:Digital Visual Interface,中文:数字视频接口)等的信号传输接口传输的像素信号都是RGB信号,若将RGB信号直接应用于RGBY显示器会导致图像失真,因此需要对接入RGBY显示器的RGB信号进行转换。在传统的RGB信号转换方法中,在输入颜色不是黄色的情况下,转换后的RGB信号的色彩可能不够鲜艳,而在输入颜色为黄色的情况下,转换后的RGBY信号中黄色的色彩可能不够鲜艳。In general, the pixel signals transmitted by signal transmission interfaces such as VGA (English: Video Graphics Array, Chinese: Video Graphics Array) interface and DVI (English: Digital Visual Interface, Chinese: Digital Video Interface) are all RGB signals. Applying RGB signals directly to an RGBY display will result in image distortion, so it is necessary to convert the RGB signals connected to the RGBY display. In the traditional RGB signal conversion method, if the input color is not yellow, the color of the converted RGB signal may not be vivid enough, and if the input color is yellow, the color of yellow in the converted RGBY signal may not be enough bright.
发明内容Contents of the invention
技术问题technical problem
有鉴于此,本发明要解决的技术问题是,如何对RGB信号进行转换,以使得转换后的色彩信号的颜色更加鲜艳。In view of this, the technical problem to be solved by the present invention is how to convert the RGB signal so that the color of the converted color signal is more vivid.
解决方案solution
为了解决上述技术问题,根据本发明的一个方面,提供了一种液晶显示屏的色彩信号转换方法,包括:In order to solve the above technical problems, according to one aspect of the present invention, a color signal conversion method of a liquid crystal display is provided, including:
比较输入的RGB信号中的R信号、G信号和B信号的灰阶值的大小;Compare the grayscale values of the R signal, G signal and B signal in the input RGB signal;
在所述RGB信号中的B信号的灰阶值最小的情况下,比较所述RGB信号中的R信号与G信号的灰阶值的大小;In the case where the grayscale value of the B signal in the RGB signals is the smallest, comparing the grayscale values of the R signal and the G signal in the RGB signals;
在所述RGB信号中的R信号的灰阶值大于G信号的灰阶值的情况下,将所述RGB信号转换成第一RGBY信号并输出所述第一RGBY信号,converting the RGB signal into a first RGBY signal and outputting the first RGBY signal when the grayscale value of the R signal in the RGB signal is greater than the grayscale value of the G signal,
其中,所述第一RGBY信号中的Y信号的灰阶值为所述RGB信号中的G信号的灰阶值,Wherein, the gray scale value of the Y signal in the first RGBY signal is the gray scale value of the G signal in the RGB signal,
所述第一RGBY信号中的G信号的灰阶值为最小灰阶值,The grayscale value of the G signal in the first RGBY signal is the minimum grayscale value,
所述第一RGBY信号中的B信号的灰阶值为所述RGB信号中的B信号的灰阶值,The grayscale value of the B signal in the first RGBY signal is the grayscale value of the B signal in the RGB signal,
所述第一RGBY信号中的R信号的灰阶值根据所述RGB信号中的R信号的灰阶值、所述第一RGBY信号中的Y信号的灰阶值、最大灰阶值以及预定的亮度曲线伽马值来确定。The grayscale value of the R signal in the first RGBY signal is based on the grayscale value of the R signal in the RGB signal, the grayscale value of the Y signal in the first RGBY signal, the maximum grayscale value, and a predetermined The luma curve gamma value is determined.
对于上述色彩信号转换方法,在一种可能的实现方式中,还包括:For the above color signal conversion method, in a possible implementation manner, it also includes:
在所述RGB信号中的R信号的灰阶值小于或等于G信号的灰阶值的情况下,将所述RGB信号转换成第二RGBY信号并输出所述第二RGBY信号,converting the RGB signal into a second RGBY signal and outputting the second RGBY signal in a case where the grayscale value of the R signal in the RGB signal is less than or equal to the grayscale value of the G signal,
其中,所述第二RGBY信号中的Y信号的灰阶值为所述RGB信号中的R信号的灰阶值,Wherein, the gray scale value of the Y signal in the second RGBY signal is the gray scale value of the R signal in the RGB signal,
所述第二RGBY信号中的R信号的灰阶值为最小灰阶值,The grayscale value of the R signal in the second RGBY signal is the minimum grayscale value,
所述第二RGBY信号中的B信号的灰阶值为所述RGB信号中的B信号的灰阶值,The grayscale value of the B signal in the second RGBY signal is the grayscale value of the B signal in the RGB signal,
所述第二RGBY信号中的G信号的灰阶值根据所述RGB信号中的G信号的灰阶值、所述第二RGBY信号中的Y信号的灰阶值、最大灰阶值以及所述预定的亮度曲线伽马值来确定。The grayscale value of the G signal in the second RGBY signal is based on the grayscale value of the G signal in the RGB signal, the grayscale value of the Y signal in the second RGBY signal, the maximum grayscale value, and the The predetermined brightness curve gamma value is determined.
对于上述色彩信号转换方法,在一种可能的实现方式中,在所述RGB信号中的R信号的灰阶值大于G信号的灰阶值的情况下,根据如下公式1来计算所述第一RGBY信号中的R信号的灰阶值,For the above color signal conversion method, in a possible implementation, when the grayscale value of the R signal in the RGB signal is greater than the grayscale value of the G signal, the first The grayscale value of the R signal in the RGBY signal,
式1 Formula 1
其中,R2为所述第一RGBY信号中的R信号的灰阶值,N为最大灰阶值,R1为所述RGB信号中的R信号的灰阶值,Y2为所述第一RGBY信号中的Y信号的灰阶值,γ是预定的亮度曲线伽马值。Wherein, R2 is the gray scale value of the R signal in the first RGBY signal, N is the maximum gray scale value, R1 is the gray scale value of the R signal in the RGB signal, and Y2 is the first RGBY signal. The grayscale value of the Y signal in the RGBY signal, and γ is a predetermined gamma value of the brightness curve.
对于上述色彩信号转换方法,在一种可能的实现方式中,在所述RGB信号中的R信号的灰阶值小于或等于G信号的灰阶值的情况下,根据如下公式2来计算所述第二RGBY信号中的G信号的灰阶值,For the above color signal conversion method, in a possible implementation, when the grayscale value of the R signal in the RGB signal is less than or equal to the grayscale value of the G signal, the following formula 2 is used to calculate the the grayscale value of the G signal in the second RGBY signal,
式2 Formula 2
其中,G2为所述第二RGBY信号中的G信号的灰阶值,N为最大灰阶值,G1为所述RGB信号中的G信号的灰阶值,Y2为所述第二RGBY信号中的Y信号的灰阶值,γ是预定的亮度曲线伽马值。Wherein, G2 is the grayscale value of the G signal in the second RGBY signal, N is the maximum grayscale value, G1 is the grayscale value of the G signal in the RGB signal, and Y2 is the second The grayscale value of the Y signal in the RGBY signal, and γ is a predetermined gamma value of the brightness curve.
对于上述色彩信号转换方法,在一种可能的实现方式中,所述方法还包括:Regarding the above color signal conversion method, in a possible implementation manner, the method further includes:
在所述RGB信号中的B信号的灰阶值不是最小的情况下,将所述RGB信号转换成第三RGBY信号并输出所述第三RGBY信号,converting the RGB signal into a third RGBY signal and outputting the third RGBY signal when the grayscale value of the B signal in the RGB signal is not the smallest,
其中,将所述RGB信号转换成第三RGBY信号并输出所述第三RGBY信号,包括:Wherein, converting the RGB signal into a third RGBY signal and outputting the third RGBY signal includes:
对所述RGB信号的相对饱和度进行提升;improving the relative saturation of the RGB signal;
根据所述RGB信号的提升后的相对饱和度以及RGB三角形中的线段OD的长度,来获取所述RGB三角形中对应的点D2,所述RGB三角形用于表示所述液晶显示屏的色域范围;以及According to the enhanced relative saturation of the RGB signal and the length of the line segment OD in the RGB triangle, the corresponding point D2 in the RGB triangle is obtained, and the RGB triangle is used to represent the color gamut range of the liquid crystal display. ;as well as
根据D2的色度坐标来输出所述第三RGBY信号,其中所述第三RGBY信号中的Y信号的灰阶值为最小灰阶值,Outputting the third RGBY signal according to the chromaticity coordinates of D2, wherein the grayscale value of the Y signal in the third RGBY signal is the minimum grayscale value,
其中,在所述RGB三角形中,O点由参考白点坐标确定,D1点为所述RGB信号在所述RGB三角形中对应的点,D点为射线OD1与所述RGB三角形的交点。Wherein, in the RGB triangle, the point O is determined by the reference white point coordinates, the point D1 is the point corresponding to the RGB signal in the RGB triangle, and the point D is the intersection point of the ray OD1 and the RGB triangle.
对于上述色彩信号转换方法,在一种可能的实现方式中,根据如下公式3来获取所述第三RGBY信号在所述RGB三角形中对应的点D2,For the above color signal conversion method, in a possible implementation manner, the point D2 corresponding to the third RGBY signal in the RGB triangle is obtained according to the following formula 3,
OD2=OD*S1 式3OD2=OD*S1 Formula 3
其中,OD2为线段OD2的长度,OD为线段OD的长度,S1为提升后的相对饱和度。Among them, OD2 is the length of line segment OD2, OD is the length of line segment OD, and S1 is the relative saturation after promotion.
为了解决上述技术问题,根据本发明的另一方面,提供了一种液晶显示屏的色彩信号转换装置,包括:In order to solve the above technical problems, according to another aspect of the present invention, a color signal conversion device for a liquid crystal display is provided, including:
比较单元,用于比较输入的RGB信号中的R信号、G信号和B信号的灰阶值的大小;以及A comparison unit is used to compare the grayscale values of the R signal, the G signal and the B signal in the input RGB signal; and
转换输出单元,与所述比较单元连接,用于在所述比较单元的比较结果为所述RGB信号中的B信号的灰阶值最小并且R信号的灰阶值大于G信号的灰阶值的情况下,将所述RGB信号转换成第一RGBY信号并输出所述第一RGBY信号,The conversion output unit is connected with the comparison unit, and the comparison result of the comparison unit is that the gray scale value of the B signal in the RGB signals is the smallest and the gray scale value of the R signal is greater than the gray scale value of the G signal. case, converting the RGB signal into a first RGBY signal and outputting the first RGBY signal,
其中,所述第一RGBY信号中的Y信号的灰阶值为所述RGB信号中的G信号的灰阶值,Wherein, the gray scale value of the Y signal in the first RGBY signal is the gray scale value of the G signal in the RGB signal,
所述第一RGBY信号中的G信号的灰阶值为最小灰阶值,The grayscale value of the G signal in the first RGBY signal is the minimum grayscale value,
所述第一RGBY信号中的B信号的灰阶值为所述RGB信号中的B信号的灰阶值,The grayscale value of the B signal in the first RGBY signal is the grayscale value of the B signal in the RGB signal,
所述第一RGBY信号中的R信号的灰阶值根据所述RGB信号中的R信号的灰阶值、所述第一RGBY信号中的Y信号的灰阶值、最大灰阶值以及预定的亮度曲线伽马值来确定。The grayscale value of the R signal in the first RGBY signal is based on the grayscale value of the R signal in the RGB signal, the grayscale value of the Y signal in the first RGBY signal, the maximum grayscale value, and a predetermined The luma curve gamma value is determined.
对于上述色彩信号转换装置,在一种可能的实现方式中,所述转换输出单元还用于在所述比较单元的比较结果为所述RGB信号中的B信号的灰阶值最小并且R信号的灰阶值小于或等于G信号的灰阶值的情况下,将所述RGB信号转换成第二RGBY信号并输出所述第二RGBY信号,For the above color signal conversion device, in a possible implementation manner, the conversion output unit is further configured to obtain the comparison result of the comparison unit that the gray scale value of the B signal in the RGB signals is the smallest and the gray scale value of the R signal is the smallest. When the grayscale value is less than or equal to the grayscale value of the G signal, converting the RGB signal into a second RGBY signal and outputting the second RGBY signal,
其中,所述第二RGBY信号中的Y信号的灰阶值为所述RGB信号中的R信号的灰阶值,Wherein, the gray scale value of the Y signal in the second RGBY signal is the gray scale value of the R signal in the RGB signal,
所述第二RGBY信号中的R信号的灰阶值为最小灰阶值,The grayscale value of the R signal in the second RGBY signal is the minimum grayscale value,
所述第二RGBY信号中的B信号的灰阶值为所述RGB信号中的B信号的灰阶值,The grayscale value of the B signal in the second RGBY signal is the grayscale value of the B signal in the RGB signal,
所述第二RGBY信号中的G信号的灰阶值根据所述RGB信号中的G信号的灰阶值、所述第二RGBY信号中的Y信号的灰阶值、最大灰阶值以及所述预定的亮度曲线伽马值来确定。The grayscale value of the G signal in the second RGBY signal is based on the grayscale value of the G signal in the RGB signal, the grayscale value of the Y signal in the second RGBY signal, the maximum grayscale value, and the The predetermined brightness curve gamma value is determined.
对于上述色彩信号转换装置,在一种可能的实现方式中,在所述RGB信号中的R信号的灰阶值大于G信号的灰阶值的情况下,所述转换输出单元根据如下公式1来计算所述第一RGBY信号中的R信号的灰阶值,For the above color signal conversion device, in a possible implementation manner, in the case where the grayscale value of the R signal in the RGB signal is greater than the grayscale value of the G signal, the conversion output unit performs the following formula 1 calculating the grayscale value of the R signal in the first RGBY signal,
式1 Formula 1
其中,R2为所述第一RGBY信号中的R信号的灰阶值,N为最大灰阶值,R1为所述RGB信号中的R信号的灰阶值,Y2为所述第一RGBY信号中的Y信号的灰阶值,γ是预定的亮度曲线伽马值。Wherein, R2 is the gray scale value of the R signal in the first RGBY signal, N is the maximum gray scale value, R1 is the gray scale value of the R signal in the RGB signal, and Y2 is the first RGBY signal. The grayscale value of the Y signal in the RGBY signal, and γ is a predetermined gamma value of the brightness curve.
对于上述色彩信号转换装置,在一种可能的实现方式中,在所述RGB信号中的R信号的灰阶值小于或等于G信号的灰阶值的情况下,所述转换输出单元根据如下公式2来计算所述第二RGBY信号中的G信号的灰阶值,For the above color signal conversion device, in a possible implementation manner, in the case where the grayscale value of the R signal in the RGB signal is less than or equal to the grayscale value of the G signal, the conversion output unit is based on the following formula 2 to calculate the grayscale value of the G signal in the second RGBY signal,
式2 Formula 2
其中,G2为所述第二RGBY信号中的G信号的灰阶值,N为最大灰阶值,G1为所述RGB信号中的G信号的灰阶值,Y2为所述第二RGBY信号中的Y信号的灰阶值,γ是预定的亮度曲线伽马值。Wherein, G2 is the grayscale value of the G signal in the second RGBY signal, N is the maximum grayscale value, G1 is the grayscale value of the G signal in the RGB signal, and Y2 is the second The grayscale value of the Y signal in the RGBY signal, and γ is a predetermined gamma value of the brightness curve.
对于上述色彩信号转换装置,在一种可能的实现方式中,所述转换输出单元还用于在所述比较单元的比较结果为所述RGB信号中的B信号的灰阶值不是最小的情况下,将所述RGB信号转换成第三RGBY信号并输出所述第三RGBY信号,Regarding the above color signal conversion device, in a possible implementation manner, the conversion and output unit is further configured to be used when the comparison result of the comparison unit is that the grayscale value of the B signal in the RGB signals is not the smallest , converting the RGB signal into a third RGBY signal and outputting the third RGBY signal,
其中,将所述RGB信号转换成第三RGBY信号并输出所述第三RGBY信号,包括:Wherein, converting the RGB signal into a third RGBY signal and outputting the third RGBY signal includes:
对所述RGB信号的相对饱和度进行提升;improving the relative saturation of the RGB signal;
根据所述RGB信号的提升后的相对饱和度以及RGB三角形中的线段OD的长度,来获取所述RGB三角形中对应的点D2,所述RGB三角形用于表示所述液晶显示屏的色域范围;以及According to the enhanced relative saturation of the RGB signal and the length of the line segment OD in the RGB triangle, the corresponding point D2 in the RGB triangle is obtained, and the RGB triangle is used to represent the color gamut range of the liquid crystal display. ;as well as
根据D2的色度坐标来输出所述第三RGBY信号,其中所述第三RGBY信号中的Y信号的灰阶值为最小灰阶值,Outputting the third RGBY signal according to the chromaticity coordinates of D2, wherein the grayscale value of the Y signal in the third RGBY signal is the minimum grayscale value,
其中,在所述RGB三角形中,O点由参考白点坐标确定,D1点为所述RGB信号在所述RGB三角形中对应的点,D点为射线OD1与所述RGB三角形的交点。Wherein, in the RGB triangle, the point O is determined by the reference white point coordinates, the point D1 is the point corresponding to the RGB signal in the RGB triangle, and the point D is the intersection point of the ray OD1 and the RGB triangle.
对于上述色彩信号转换装置,在一种可能的实现方式中,所述转换输出单元根据如下公式3来获取所述第三RGBY信号在所述RGB三角形中对应的点D2,For the above color signal conversion device, in a possible implementation manner, the conversion output unit acquires the point D2 corresponding to the third RGBY signal in the RGB triangle according to the following formula 3,
OD2=OD*S1 式3OD2=OD*S1 Formula 3
其中,OD2为线段OD2的长度,OD为线段OD的长度,S1为提升后的相对饱和度。Among them, OD2 is the length of line segment OD2, OD is the length of line segment OD, and S1 is the relative saturation after promotion.
有益效果Beneficial effect
根据本发明实施例的液晶显示屏的色彩信号转换方法及装置,能够将原始的RGB信号转换成RGBY信号。在所输入的颜色为黄色的情况下,能够输出使黄色的色彩更加鲜艳的RGBY信号,在所输入的颜色不是黄色的情况下,能够输出使其它颜色的色彩更加鲜艳的RGB信号。这样,根据本发明实施例的色彩信号转换方法及装置,能够使得转换后的色彩信号的颜色更加鲜艳。The color signal conversion method and device for a liquid crystal display according to the embodiments of the present invention can convert original RGB signals into RGBY signals. When the input color is yellow, RGBY signals that make yellow more vivid can be output, and when the input color is not yellow, RGB signals that make other colors more vivid can be output. In this way, the color signal conversion method and device according to the embodiments of the present invention can make the color of the converted color signal more vivid.
根据下面参考附图对示例性实施例的详细说明,本发明的其它特征及方面将变得清楚。Other features and aspects of the present invention will become apparent from the following detailed description of exemplary embodiments with reference to the accompanying drawings.
附图说明Description of drawings
包含在说明书中并且构成说明书的一部分的附图与说明书一起示出了本发明的示例性实施例、特征和方面,并且用于解释本发明的原理。The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate exemplary embodiments, features, and aspects of the invention and together with the description, serve to explain the principles of the invention.
图1示出根据本发明一实施例的液晶显示屏的色彩信号转换方法的流程图;FIG. 1 shows a flowchart of a method for converting color signals of a liquid crystal display according to an embodiment of the present invention;
图2示出根据本发明另一实施例的液晶显示屏的色彩信号转换方法的流程图;2 shows a flowchart of a method for converting color signals of a liquid crystal display according to another embodiment of the present invention;
图3示出根据本发明一实施例由原始RGB信号的色度坐标点确定新的RGB信号的色度坐标点的示意图;3 shows a schematic diagram of determining the chromaticity coordinate points of the new RGB signal from the chromaticity coordinate points of the original RGB signal according to an embodiment of the present invention;
图4示出本发明实施例中输入颜色不是黄色时的色彩信号转换方法的具体示例;FIG. 4 shows a specific example of a color signal conversion method when the input color is not yellow in an embodiment of the present invention;
图5示出作为提升RGB信号的相对饱和度的函数的正弦函数的示意图;Figure 5 shows a schematic diagram of a sine function as a function of increasing the relative saturation of RGB signals;
图6示出根据本发明一实施例的液晶显示屏的色彩信号转换装置的结构框图。FIG. 6 shows a structural block diagram of a color signal conversion device for a liquid crystal display according to an embodiment of the present invention.
具体实施方式detailed description
以下将参考附图详细说明本发明的各种示例性实施例、特征和方面。附图中相同的附图标记表示功能相同或相似的元件。尽管在附图中示出了实施例的各种方面,但是除非特别指出,不必按比例绘制附图。Various exemplary embodiments, features, and aspects of the invention will be described in detail below with reference to the accompanying drawings. The same reference numbers in the figures indicate functionally identical or similar elements. While various aspects of the embodiments are shown in drawings, the drawings are not necessarily drawn to scale unless specifically indicated.
在这里专用的词“示例性”意为“用作例子、实施例或说明性”。这里作为“示例性”所说明的任何实施例不必解释为优于或好于其它实施例。The word "exemplary" is used exclusively herein to mean "serving as an example, embodiment, or illustration." Any embodiment described herein as "exemplary" is not necessarily to be construed as superior or better than other embodiments.
另外,为了更好的说明本发明,在下文的具体实施方式中给出了众多的具体细节。本领域技术人员应当理解,没有某些具体细节,本发明同样可以实施。在一些实例中,对于本领域技术人员熟知的方法、手段、元件和电路未作详细描述,以便于凸显本发明的主旨。In addition, in order to better illustrate the present invention, numerous specific details are given in the specific embodiments below. It will be understood by those skilled in the art that the present invention may be practiced without certain of the specific details. In some instances, methods, means, components and circuits well known to those skilled in the art have not been described in detail in order to highlight the gist of the present invention.
实施例1Example 1
图1示出根据本发明一实施例的液晶显示屏的色彩信号转换方法的流程图。如图1所示,该色彩信号转换方法主要可以包括以下步骤S100~S130。FIG. 1 shows a flow chart of a method for converting color signals of a liquid crystal display according to an embodiment of the present invention. As shown in FIG. 1 , the color signal conversion method mainly includes the following steps S100-S130.
步骤S100、比较输入的RGB信号中的R信号、G信号和B信号的灰阶值的大小。Step S100 , comparing the gray scale values of the R signal, the G signal and the B signal among the input RGB signals.
具体而言,首先将在诸如VGA接口、DVI接口等中传输的原始的RGB信号输入至本发明的色彩信号转换装置,然后色彩信号转换装置再比较所输入的RGB信号中的R信号、G信号和B信号的灰阶值的大小。其中,在一种可能的实现方式中,RGB信号中的R信号、G信号和B信号的最小灰阶值为0,最大灰阶值为255。换句话说,R信号、G信号和B信号的灰阶值均在0~255的范围内。Specifically, firstly, the original RGB signal transmitted in such as VGA interface, DVI interface, etc. is input to the color signal conversion device of the present invention, and then the color signal conversion device compares the R signal and the G signal in the input RGB signal and the size of the grayscale value of the B signal. Wherein, in a possible implementation manner, the minimum gray scale value of the R signal, the G signal and the B signal in the RGB signal is 0, and the maximum gray scale value is 255. In other words, the gray scale values of the R signal, the G signal and the B signal are all in the range of 0-255.
步骤S110、在RGB信号中的B信号的灰阶值最小的情况下,比较RGB信号中的R信号与G信号的灰阶值的大小;Step S110, when the gray scale value of the B signal in the RGB signal is the smallest, compare the gray scale value of the R signal and the G signal in the RGB signal;
步骤S120、在RGB信号中的R信号的灰阶值大于G信号的灰阶值的情况下,将RGB信号转换成第一RGBY信号并输出该第一RGBY信号。Step S120, in the case that the gray scale value of the R signal in the RGB signal is greater than the gray scale value of the G signal, convert the RGB signal into a first RGBY signal and output the first RGBY signal.
其中,所述第一RGBY信号中的Y信号的灰阶值为所述RGB信号中的G信号的灰阶值,所述第一RGBY信号中的G信号的灰阶值为最小灰阶值,所述第一RGBY信号中的B信号的灰阶值为所述RGB信号中的B信号的灰阶值,所述第一RGBY信号中的R信号的灰阶值根据所述RGB信号中的R信号的灰阶值、所述第一RGBY信号中的Y信号的灰阶值、最大灰阶值以及预定的亮度曲线伽马值来确定。Wherein, the gray scale value of the Y signal in the first RGBY signal is the gray scale value of the G signal in the RGB signal, and the gray scale value of the G signal in the first RGBY signal is the minimum gray scale value, The grayscale value of the B signal in the first RGBY signal is the grayscale value of the B signal in the RGB signal, and the grayscale value of the R signal in the first RGBY signal is based on the R in the RGB signal. The grayscale value of the signal, the grayscale value of the Y signal in the first RGBY signal, the maximum grayscale value, and a predetermined gamma value of the brightness curve are determined.
举例而言,在所输入的RGB信号中,R信号、G信号、B信号的灰阶值分别为150、100、50,则在上述步骤S100中,判断为RGB信号中的B信号的灰阶值的灰阶值最小。然后,在上述步骤S110中,判断为R信号的灰阶值大于G信号。这时,在步骤S120中,将所输入的RGB信号转换成第一RGBY信号并输出该第一RGBY信号。其中,在该RGBY信号中,Y信号的灰阶值为所输入的RGB信号中的G信号的灰阶值、即为100,G信号的灰阶值为最小灰阶值、即为0,B信号的灰阶值保持不变、即仍为50,R信号的灰阶值可以根据所输入的RGB信号中的R信号的灰阶值、第一RGBY信号中的Y信号的灰阶值、最大灰阶值以及预定的亮度曲线伽马值来确定。在一种可能的实现方式中,预定的亮度曲线伽马值为2.2。For example, among the input RGB signals, the grayscale values of the R signal, G signal, and B signal are 150, 100, and 50 respectively, then in the above step S100, it is determined that the grayscale value of the B signal in the RGB signals is The value has the smallest grayscale value. Then, in the above step S110, it is determined that the grayscale value of the R signal is greater than that of the G signal. At this time, in step S120, the input RGB signal is converted into a first RGBY signal and the first RGBY signal is output. Wherein, in the RGBY signal, the grayscale value of the Y signal is the grayscale value of the G signal in the input RGB signal, that is, 100, and the grayscale value of the G signal is the minimum grayscale value, that is, 0, B The grayscale value of the signal remains unchanged, that is, it is still 50, and the grayscale value of the R signal can be based on the grayscale value of the R signal in the input RGB signal, the grayscale value of the Y signal in the first RGBY signal, and the maximum The grayscale value and the predetermined gamma value of the brightness curve are determined. In a possible implementation manner, the predetermined gamma value of the brightness curve is 2.2.
这样,通过上述步骤S120,色彩信号转换装置就可以将输入的原始RGB信号转换成RGBY信号并输出至RGBY显示屏,以显示与转换后的信号对应的颜色。In this way, through the above step S120, the color signal conversion device can convert the input original RGB signal into an RGBY signal and output it to the RGBY display screen to display the color corresponding to the converted signal.
通过本发明实施例的上述色彩信号转换方法,能够将原始的RGB信号转换成RGBY信号。并且,通过上述色彩信号转换方法,所转换出的RGBY信号中R信号能够被更好地体现,并且黄色的色彩被增强,从而使得输出的RGBY信号的色彩更加鲜艳。Through the above color signal conversion method of the embodiment of the present invention, the original RGB signal can be converted into an RGBY signal. Moreover, through the above color signal conversion method, the R signal in the converted RGBY signal can be better reflected, and the yellow color is enhanced, so that the color of the output RGBY signal is more vivid.
在一种可能的实现方式中,本发明实施例的色彩信号转换方法还可以包括步骤S130。In a possible implementation manner, the color signal conversion method in the embodiment of the present invention may further include step S130.
步骤S130、在RGB信号中的R信号的灰阶值小于或等于G信号的灰阶值的情况下,将RGB信号转换成第二RGBY信号并输出该第二RGBY。Step S130 , in the case that the grayscale value of the R signal in the RGB signal is less than or equal to the grayscale value of the G signal, convert the RGB signal into a second RGBY signal and output the second RGBY signal.
其中,该第二RGBY信号中的Y信号的灰阶值为RGB信号中的R信号的灰阶值,该第二RGBY信号中的R信号的灰阶值为最小灰阶值,该第二RGBY信号中的B信号的灰阶值为RGB信号中的B信号的灰阶值,该第二RGBY信号中的G信号的灰阶值根据RGB信号中的G信号的灰阶值、该第二RGBY信号中的Y信号的灰阶值、最大灰阶值以及预定的亮度曲线伽马值来确定。Wherein, the grayscale value of the Y signal in the second RGBY signal is the grayscale value of the R signal in the RGB signal, the grayscale value of the R signal in the second RGBY signal is the minimum grayscale value, and the second RGBY The grayscale value of the B signal in the RGB signal is the grayscale value of the B signal in the RGB signal, and the grayscale value of the G signal in the second RGBY signal is based on the grayscale value of the G signal in the RGB signal, the second RGBY The grayscale value of the Y signal in the signal, the maximum grayscale value and the predetermined gamma value of the brightness curve are determined.
举例而言,在所输入的RGB信号中,R信号、G信号、B信号的灰阶值分别为100、150、50,则在上述步骤S100中,判断为RGB信号中的B信号的灰阶值的灰阶值最小。然后,在上述步骤S110中,判断为R信号的灰阶值小于G信号。这时,在步骤S130中,将所输入的RGB信号转换成第二RGBY信号。其中,在该第二RGBY信号中,Y信号的灰阶值为所输入的RGB信号中的R信号的灰阶值、即为100,R信号的灰阶值为最小灰阶值、即为0,B信号的灰阶值保持不变,即仍为50,G信号的灰阶值可以根据所输入的RGB信号中的G信号的灰阶值、该第二RGBY信号中的Y信号的灰阶值、最大灰阶值以及预定的亮度曲线伽马值来确定。在一种可能的实现方式中,该预定的亮度曲线伽马值与上述实施方式中预定的亮度曲线伽马值相同,也为2.2。For example, among the input RGB signals, the grayscale values of the R signal, G signal, and B signal are 100, 150, and 50 respectively, then in the above step S100, it is determined that the grayscale value of the B signal in the RGB signals is The value has the smallest grayscale value. Then, in the above step S110, it is determined that the grayscale value of the R signal is smaller than that of the G signal. At this time, in step S130, the input RGB signal is converted into a second RGBY signal. Wherein, in the second RGBY signal, the grayscale value of the Y signal is the grayscale value of the R signal in the input RGB signal, that is, 100, and the grayscale value of the R signal is the minimum grayscale value, that is, 0 , the grayscale value of the B signal remains unchanged, that is, still 50, and the grayscale value of the G signal can be based on the grayscale value of the G signal in the input RGB signal and the grayscale value of the Y signal in the second RGBY signal value, the maximum grayscale value, and the predetermined gamma value of the brightness curve. In a possible implementation manner, the predetermined luminance curve gamma value is the same as the predetermined luminance curve gamma value in the foregoing implementation manner, and is also 2.2.
这样,通过上述步骤S130,色彩信号转换装置就可以将输入的原始RGB信号转换成RGBY信号并输出至RGBY显示屏,以显示与转换后的信号对应的颜色。In this way, through the above step S130, the color signal conversion device can convert the input original RGB signal into an RGBY signal and output it to the RGBY display screen to display the color corresponding to the converted signal.
通过上述实施方式中的色彩信号转换方法,能够将原始的RGB信号转换成RGBY信号。并且,通过上述色彩信号转换方法,所转换出的RGBY信号中G信号能够被更好地体现,并且黄色的色彩被增强,从而使得输出的RGBY信号的色彩更加鲜艳。Through the color signal conversion method in the above embodiments, the original RGB signal can be converted into an RGBY signal. Moreover, through the above color signal conversion method, the G signal in the converted RGBY signal can be better reflected, and the yellow color is enhanced, so that the color of the output RGBY signal is more vivid.
通过本发明实施例的上述色彩信号转换方法,在所输入的RGB信号中,在B信号的灰阶值最小的情况下,可以判断为所输入的颜色为黄色。在这种情况下,再比较RGB信号中的R信号和G信号的灰阶值的大小,然后利用上述色彩信号转换方法中的步骤S120或S130来更好地体现R信号或G信号。如果判断为R信号的灰阶值大于G信号的灰阶值,则通过上述步骤S120来更好地体现R信号;否则,通过上述步骤S130来更好地体现G信号。通过上述色彩信号转换方法,能够使黄色的色彩被增强,从而使得RGBY信号的色彩更加鲜艳。Through the above color signal conversion method of the embodiment of the present invention, among the input RGB signals, when the gray scale value of the B signal is the smallest, it can be determined that the input color is yellow. In this case, compare the grayscale values of the R signal and the G signal in the RGB signal, and then use the step S120 or S130 in the above color signal conversion method to better reflect the R signal or the G signal. If it is determined that the grayscale value of the R signal is greater than that of the G signal, the R signal is better represented through the above step S120; otherwise, the G signal is better represented through the above step S130. Through the above color signal conversion method, the yellow color can be enhanced, thereby making the color of the RGBY signal more vivid.
实施例2Example 2
本实施例与上述实施例1的区别主要在于,在上述步骤S120中,在所输入的RGB信号中的R信号的灰阶值大于G信号的灰阶值的情况下,可以具体根据如下公式1来计算第一RGBY信号中的R信号的灰阶值,The main difference between this embodiment and the above-mentioned embodiment 1 is that in the above-mentioned step S120, in the case where the gray-scale value of the R signal in the input RGB signal is greater than the gray-scale value of the G signal, it can be specifically calculated according to the following formula 1 to calculate the grayscale value of the R signal in the first RGBY signal,
式1 Formula 1
其中,R2为第一RGBY信号中的R信号的灰阶值,N为最大灰阶值、例如为255,R1为所输入的RGB信号中的R信号的灰阶值,Y2为第一RGBY信号中的Y信号的灰阶值,γ是预定的亮度曲线伽马值、例如γ=2.2。Wherein, R2 is the grayscale value of the R signal in the first RGBY signal, N is the maximum grayscale value, for example, 255 , R1 is the grayscale value of the R signal in the input RGB signal, and Y2 is the grayscale value of the first RGBY signal. The grayscale value of the Y signal in an RGBY signal, γ is a predetermined luminance curve gamma value, for example γ=2.2.
通过本发明实施例的上述色彩信号转换方法,能够将原始的RGB信号转换成RGBY信号。并且,通过上述色彩信号转换方法,所转换出的RGBY信号中R信号的色彩被增强,即除黄色以外的其它颜色的色彩被增强,从而使得全部颜色更加鲜艳、均衡。Through the above color signal conversion method of the embodiment of the present invention, the original RGB signal can be converted into an RGBY signal. Moreover, through the above color signal conversion method, the color of the R signal in the converted RGBY signal is enhanced, that is, the colors of other colors except yellow are enhanced, so that all colors are more vivid and balanced.
在一种可能的实现方式中,在上述步骤S140中,在所输入的RGB信号中的R信号的灰阶值小于或等于G信号的灰阶值的情况下,可以具体根据如下公式2来计算第二RGBY信号中的G信号的灰阶值,In a possible implementation, in the above step S140, in the case where the grayscale value of the R signal in the input RGB signal is less than or equal to the grayscale value of the G signal, it can be specifically calculated according to the following formula 2 the grayscale value of the G signal in the second RGBY signal,
式2 Formula 2
其中,G2为第二RGBY信号中的G信号的灰阶值,N为最大灰阶值、例如为255,G1为所输入的RGB信号中的G信号的灰阶值,Y2为第二RGBY信号中的Y信号的灰阶值,γ是预定的亮度曲线伽马值、例如为γ=2.2。Wherein, G2 is the grayscale value of the G signal in the second RGBY signal, N is the maximum grayscale value, for example, 255, G1 is the grayscale value of the G signal in the input RGB signal, and Y2 is the grayscale value of the second RGBY signal. The grayscale value of the Y signal in the two RGBY signals, γ is a predetermined gamma value of the luminance curve, for example, γ=2.2.
通过上述实施方式中的色彩信号转换方法,能够将原始的RGB信号转换成RGBY信号。并且,能够更好地体现R信号或G信号,并使黄色的色彩被增强,从而使得RGBY信号的色彩更加鲜艳。Through the color signal conversion method in the above embodiments, the original RGB signal can be converted into an RGBY signal. Moreover, the R signal or the G signal can be better reflected, and the yellow color is enhanced, so that the color of the RGBY signal is more vivid.
实施例3Example 3
图2示出根据本发明另一实施例的液晶显示屏的色彩信号转换方法的流程图。图2中标号与图1相同的步骤具有相同的功能,为简明起见,省略对这些步骤的详细说明。FIG. 2 shows a flow chart of a method for converting color signals of a liquid crystal display according to another embodiment of the present invention. Steps in FIG. 2 with the same numbers as those in FIG. 1 have the same functions, and for the sake of brevity, detailed descriptions of these steps are omitted.
如图2所示,图2所示的色彩信号转换方法与图1所示色彩信号转换方法的主要区别在于,如果所输入的RGB信号中的B信号不是最小的情况下,则可以判断为所输入的信号的颜色不是黄色,则不需要启动Y像素,此时可以使Y信号为最小灰阶值,并根据以下的步骤S200(包括步骤S2010~S2030)来进行色彩增强。As shown in Figure 2, the main difference between the color signal conversion method shown in Figure 2 and the color signal conversion method shown in Figure 1 is that if the B signal in the input RGB signal is not the smallest, it can be judged that the If the color of the input signal is not yellow, there is no need to activate the Y pixel. At this time, the Y signal can be set to the minimum gray scale value, and the color enhancement can be performed according to the following steps S200 (including steps S2010-S2030).
换句话说,在本发明实施例的色彩信号转换方法中,除了上述实施例中的步骤S100~S130以外,主要还可以包括以下步骤S200(包括步骤S2010~S2030)。In other words, in the color signal conversion method of the embodiment of the present invention, in addition to the steps S100-S130 in the above-mentioned embodiment, the following step S200 (including steps S2010-S2030) may be mainly included.
步骤S200、在所输入的RGB信号中的B信号的灰阶值不是最小的情况下,将所输入的RGB信号转换成第三RGBY信号并输出该第三RGBY信号。Step S200, if the gray scale value of the B signal in the input RGB signal is not the smallest, convert the input RGB signal into a third RGBY signal and output the third RGBY signal.
其中,上述步骤S200主要可以包括以下步骤:Wherein, the above step S200 may mainly include the following steps:
步骤S2010、对所输入的RGB信号的相对饱和度进行提升;Step S2010, improving the relative saturation of the input RGB signal;
步骤S2020、根据所输入的RGB信号的提升后的相对饱和度以及RGB三角形中的线段OD的长度,来获取该RGB三角形中对应的点D2,其中,如图3所示,该RGB三角形用于表示LCD的色域范围,其中,在RGB三角形中,O点由参考白点坐标确定,D1点为所输入的RGB信号在RGB三角形中对应的点,并且连接OD1,并延OD1方向延长线段OD1以形成射线OD1,射线OD1与RGB三角形的交点为D;以及Step S2020, obtain the corresponding point D2 in the RGB triangle according to the enhanced relative saturation of the input RGB signal and the length of the line segment OD in the RGB triangle, wherein, as shown in Figure 3, the RGB triangle is used for Indicates the color gamut range of the LCD, wherein, in the RGB triangle, the O point is determined by the coordinates of the reference white point, and the D1 point is the corresponding point of the input RGB signal in the RGB triangle, and connects OD1, and extends the line segment OD1 along the OD1 direction To form ray OD1, the intersection of ray OD1 and RGB triangle is D; and
步骤S2030、根据D2的色度坐标来输出第三RGBY信号,其中第三RGBY信号中的Y信号的灰阶值为最小灰阶值。Step S2030, outputting a third RGBY signal according to the chromaticity coordinates of D2, wherein the grayscale value of the Y signal in the third RGBY signal is the minimum grayscale value.
通过本实施例的上述色彩信号转换方法,在所输入的RGB信号中的B信号的灰阶值不是最小、即所输入的颜色不是黄色的情况下,首先在RGB三角形中确定与所输入的RGB信号相对应的色度点D1,并提升所输入的RGB信号的相对饱和度,然后根据提升后的相对饱和度以及线段OD的长度获取新的色度点D2。这样,新的色度点D2和原始色度点D1的色调H相同,只是新的色度点D2相对于原始色度点D1的相对饱和度有所提升。然后,根据新的色度点D2来找出某些RGB组合,使得它们的色度坐标在RGB三角形中为D2点。最后,根据亮度最接近原始RGB信号的亮度的原则,确定最终输出的RGBY信号。Through the above-mentioned color signal conversion method of this embodiment, if the gray scale value of the B signal in the input RGB signal is not the minimum, that is, the input color is not yellow, first determine the color in the RGB triangle that is consistent with the input RGB signal. The chromaticity point D1 corresponding to the signal, and increase the relative saturation of the input RGB signal, and then obtain a new chromaticity point D2 according to the increased relative saturation and the length of the line segment OD. In this way, the hue H of the new chromaticity point D2 is the same as that of the original chromaticity point D1, but the relative saturation of the new chromaticity point D2 relative to the original chromaticity point D1 is improved. Then, some RGB combinations are found according to the new chromaticity point D2, so that their chromaticity coordinates are D2 points in the RGB triangle. Finally, according to the principle that the brightness is closest to the brightness of the original RGB signal, the final output RGBY signal is determined.
通过上述色彩信号转换方法,能够使得在所输入的颜色不是黄色的情况下,使全部颜色更加鲜艳、均衡。Through the above color signal conversion method, all colors can be made more vivid and balanced when the input color is not yellow.
在一种可能的实现方式中,在上述步骤S2020中,可以根据如下公式3来获取所述第三RGBY信号在所述RGB三角形中对应的点D2,In a possible implementation manner, in the above step S2020, the point D2 corresponding to the third RGBY signal in the RGB triangle can be obtained according to the following formula 3,
OD2=OD*S1 式3OD2=OD*S1 Formula 3
其中,OD2为线段OD2的长度,OD为线段OD的长度,S1为提升后的相对饱和度。Among them, OD2 is the length of line segment OD2, OD is the length of line segment OD, and S1 is the relative saturation after promotion.
图4示出本发明实施例中输入颜色不是黄色时的色彩信号转换方法的具体示例,如图4所示,该色彩信号转换方法主要可以包括以下步骤。FIG. 4 shows a specific example of a color signal conversion method when the input color is not yellow in an embodiment of the present invention. As shown in FIG. 4 , the color signal conversion method may mainly include the following steps.
(1)使用色彩分析仪CA310或者其它仪器分别测量LCD的RGB信号的XYZ,并且根据光的线性叠加原理可以计算出所输入的任意RGB信号的色度(x,y)和亮度Y(如图4中的步骤S300、S310)。具体地,根据光的线性叠加原理,由公式:X=Xr+Xg+Xb,Y=Yr+Yg+Yb,Z=Zr+Zg+Zb即可得到任意的RGB信号的XYZ。然后,根据色度学公式x=X/(X+Y+Z),y=Y/(X+Y+Z),可以计算出对应的色度值、即色度坐标。这样,可以计算出LCD显示全部颜色对应的色度(x,y)和亮度Y。这里,RGB信号中的R信号、G信号、B信号的灰阶值范围均可以为0~255,即最小灰阶值为0,最大灰阶值为255。换句话说,对于8bit的LCD而言,共有2553种RGB组合和颜色。(1) Use the color analyzer CA310 or other instruments to measure the XYZ of the RGB signal of the LCD, and according to the linear superposition principle of light, the chromaticity (x, y) and brightness Y of any RGB signal input can be calculated (as shown in Figure 4 Steps S300, S310 in). Specifically, according to the principle of linear superposition of light, XYZ of any RGB signal can be obtained by formulas: X=Xr+Xg+Xb, Y=Yr+Yg+Yb, Z=Zr+Zg+Zb. Then, according to the chromaticity formula x=X/(X+Y+Z), y=Y/(X+Y+Z), the corresponding chromaticity value, that is, the chromaticity coordinate can be calculated. In this way, the chromaticity (x, y) and brightness Y corresponding to all colors displayed by the LCD can be calculated. Here, the gray scale values of the R signal, the G signal, and the B signal in the RGB signals can all range from 0 to 255, that is, the minimum gray scale value is 0, and the maximum gray scale value is 255. In other words, for an 8bit LCD, there are a total of 255 3 RGB combinations and colors.
(2)根据上述色度数据,可以计算出任意输入的RGB信号的相对饱和度S(如图4所示的步骤S320)。(2) According to the above chroma data, the relative saturation S of any input RGB signal can be calculated (step S320 shown in FIG. 4 ).
具体而言,根据步骤(1)所测得的RGB从最小灰阶值到最大灰阶值、即0~255阶的色度值,可以得到如图3所示的表示LCD的色域范围的三角形(以下称为RGB三角形)。Specifically, according to the RGB measured in step (1) from the minimum gray scale value to the maximum gray scale value, that is, the chromaticity values of 0 to 255 levels, the color gamut range of the LCD can be obtained as shown in Figure 3 triangle (hereinafter referred to as RGB triangle).
根据步骤(1),可以计算出任意RGB组合的色度值,并且,能够根据所计算出的RGB组合的色度值,来确定在上述RGB三角形中与该色度值相对应的点。以待转换的RGB信号为例,可以首先计算出其色度值,然后确定与该色度值相对应的点,如图3所示为D1。其中,如图3所示,在该RGB三角形中,与RGB=(255,255,255)时对应的色度点为O。连接OD1,并将线段OD1延OD1方向延长,得到射线OD1。并且,该射线OD1与上述RGB三角形的边相交的点可以设为D。According to step (1), the chromaticity value of any RGB combination can be calculated, and the point corresponding to the chromaticity value in the RGB triangle can be determined according to the calculated chromaticity value of the RGB combination. Taking the RGB signal to be converted as an example, its chromaticity value can be calculated first, and then the point corresponding to the chromaticity value can be determined, as shown in FIG. 3 as D1. Wherein, as shown in FIG. 3 , in the RGB triangle, the chromaticity point corresponding to RGB=(255, 255, 255) is O. Connect OD1 and extend the line segment OD1 along the direction of OD1 to get the ray OD1. In addition, a point where the ray OD1 intersects with the side of the above-mentioned RGB triangle can be referred to as D.
由此,可以计算出该RGB信号的相对饱和度S=OD1/OD,其中,OD1、OD分别表示线段OD1和OD的长度。Thus, the relative saturation of the RGB signal can be calculated as S=OD1/OD, where OD1 and OD represent the lengths of the line segments OD1 and OD respectively.
(3)使用正弦函数S1=sin(S*pi/2)对饱和度S进行转换(如图4所示的步骤S330)。(3) Convert the saturation S using the sine function S1=sin(S*pi/2) (step S330 shown in FIG. 4 ).
具体而言,对于在步骤(2)中得到的相对饱和度S,在一种可能的实现方式中,可以使用正弦函数S1=sin(S*pi/2)进行适当的拉伸,以提升RGB信号的相对饱和度。由于S在(0,1)范围内,而sin函数在(0,pi/2)内非线性递增变化,因此,S1是随着S的增大而增大的。这样,可以得到RGB信号的新的相对饱和度S1,且能够保证RGB信号的平滑过渡,而不会出现过饱和现象。对饱和度拉伸的正弦函数图可以大致如图5所示。Specifically, for the relative saturation S obtained in step (2), in a possible implementation, the sine function S1=sin(S*pi/2) can be used for proper stretching to enhance the RGB The relative saturation of the signal. Since S is within the range of (0, 1), and the sin function is nonlinearly increasing within (0, pi/2), therefore, S1 increases with the increase of S. In this way, a new relative saturation S1 of the RGB signal can be obtained, and a smooth transition of the RGB signal can be ensured without oversaturation. The graph of the sinusoidal function stretched to saturation can be roughly as shown in FIG. 5 .
利用上述正弦函数,可以适当提高RGB信号的相对饱和度。当RGB信号本身的饱和度越高时,能够对其提升的程度会越来越小。这样就可以避免出现过饱和及色带或者色块的出现。Using the above sine function, the relative saturation of the RGB signal can be appropriately increased. When the saturation of the RGB signal itself is higher, the degree to which it can be improved will become smaller and smaller. In this way, oversaturation and the appearance of color bands or color blocks can be avoided.
以上以正弦函数为例说明了对RGB信号的相对饱和度进行提升。在一种可能的实现方式中,也可以使其它函数来对RGB信号的相对饱和度进行提升,只要该函数能够满足使RGB信号的相对饱和度提升,并且该函数在(0,1)的范围内呈线性递增变化即可。例如,还可以将RGB信号的相对饱和度S乘以某一大于1的数。The above uses the sine function as an example to illustrate the improvement of the relative saturation of the RGB signal. In a possible implementation, other functions can also be used to increase the relative saturation of the RGB signal, as long as the function can meet the requirements of increasing the relative saturation of the RGB signal, and the function is in the range of (0, 1) It can be changed linearly. For example, it is also possible to multiply the relative saturation S of the RGB signal by a number greater than 1.
(4)保持色调H不变,根据新的相对饱和度S1,计算出新的色度点的色度坐标D2(如图4所示的步骤S340)。(4) Keep the hue H unchanged, and calculate the chromaticity coordinate D2 of the new chromaticity point according to the new relative saturation S1 (step S340 shown in FIG. 4 ).
具体而言,根据在步骤(3)中得到的饱和度S1及步骤(2)中RGB三角形中的线段OD的长度,来确定相对饱和度提升后新的色度点D2。例如,利用上述公式3能够线段OD2的长度,从而确定出相对饱和度提升后新的色度点D2。如图3所示,新的色度点D2和原始色度点D1的色调H相同,只是饱和度有改变,即新的色度点D2相对于原始色度点D1的相对饱和度有所提升。Specifically, according to the saturation S1 obtained in step (3) and the length of the line segment OD in the RGB triangle in step (2), the new chromaticity point D2 after the relative saturation is increased is determined. For example, using the above formula 3, the length of the line segment OD2 can be used to determine the new chromaticity point D2 after the relative saturation is increased. As shown in Figure 3, the hue H of the new chromaticity point D2 is the same as that of the original chromaticity point D1, but the saturation is changed, that is, the relative saturation of the new chromaticity point D2 compared with the original chromaticity point D1 has been improved .
(5)根据D2的坐标及原始测量数据,找出某些RGB组合,使它们的色度坐标在D2点,再根据亮度最接近原始RGB亮度的原则,确定最终输出的RGB信号Y(其中,Y的灰阶值为最小灰阶值)信号(如图4所示的步骤S350)。(5) According to the coordinates of D2 and the original measurement data, find some RGB combinations so that their chromaticity coordinates are at D2, and then determine the final output RGB signal Y according to the principle that the brightness is closest to the original RGB brightness (wherein, The gray scale value of Y is the minimum gray scale value) signal (step S350 shown in FIG. 4 ).
需要说明的是,在上述色彩信号转换方法,以色度点D1进行了说明。本领域技术人员能够知道,利用上述色彩信号转换方法,能够对任意的RGB信号对应的色度点进行转换,以相对饱和度提升但色调H不变的RGB信号。It should be noted that, in the above color signal conversion method, the chromaticity point D1 is used for illustration. Those skilled in the art can know that by using the above color signal conversion method, the chromaticity point corresponding to any RGB signal can be converted to obtain an RGB signal with increased relative saturation but unchanged hue H.
通过如上所述色彩信号转换方法,能够使得在所输入的颜色不是黄色的情况下,对RGB信号的色彩进行增强,从而使得输出的RGB信号的色彩更加鲜艳。Through the above-mentioned color signal conversion method, when the input color is not yellow, the color of the RGB signal can be enhanced, so that the color of the output RGB signal is more vivid.
需要说明的是,在上述实施例中,以RGB信号的灰阶值范围为0~255阐述了本发明,本领域技术人员能够知道,RGB信号的灰阶值范围可以为其它范围。此外,在上述实施例中,以预定的亮度曲线伽马值为2.2阐述了本发明,本领域技术人员能够知道,预定的亮度曲线伽马值可以为其它值。It should be noted that, in the above embodiments, the present invention is described with the grayscale value range of the RGB signal being 0-255, and those skilled in the art will know that the grayscale value range of the RGB signal may be in other ranges. In addition, in the above embodiments, the present invention is described with the predetermined gamma value of the brightness curve being 2.2, and those skilled in the art can know that the predetermined gamma value of the brightness curve may be other values.
实施例4Example 4
图6示出根据本发明一实施例的液晶显示屏的色彩信号转换装置的结构框图。如图6所示,色彩信号转换装置60主要可以包括比较单元61和转换输出单元62。其中,比较单元61主要用于比较输入的RGB信号中的R信号、G信号和B信号的灰阶值的大小;转换输出单元62与比较单元61连接,主要用于在所述比较单元61的比较结果为所述RGB信号中的B信号的灰阶值最小并且R信号的灰阶值大于G信号的灰阶值的情况下,将所述RGB信号转换成第一RGBY信号并输出所述第一RGBY信号,其中,所述第一RGBY信号中的Y信号的灰阶值为所述RGB信号中的G信号的灰阶值,所述第一RGBY信号中的G信号的灰阶值为最小灰阶值,所述第一RGBY信号中的B信号的灰阶值为所述RGB信号中的B信号的灰阶值,所述第一RGBY信号中的R信号的灰阶值根据所述RGB信号中的R信号的灰阶值、所述第一RGBY信号中的Y信号的灰阶值、最大灰阶值以及预定的亮度曲线伽马值来确定。FIG. 6 shows a structural block diagram of a color signal conversion device for a liquid crystal display according to an embodiment of the present invention. As shown in FIG. 6 , the color signal conversion device 60 may mainly include a comparison unit 61 and a conversion output unit 62 . Wherein, the comparing unit 61 is mainly used for comparing the size of the gray scale value of the R signal, the G signal and the B signal in the RGB signal of the input; When the comparison result is that the grayscale value of the B signal in the RGB signals is the smallest and the grayscale value of the R signal is greater than the grayscale value of the G signal, the RGB signal is converted into a first RGBY signal and the first RGBY signal is output. An RGBY signal, wherein the grayscale value of the Y signal in the first RGBY signal is the grayscale value of the G signal in the RGB signal, and the grayscale value of the G signal in the first RGBY signal is the smallest grayscale value, the grayscale value of the B signal in the first RGBY signal is the grayscale value of the B signal in the RGB signal, and the grayscale value of the R signal in the first RGBY signal is based on the RGB The grayscale value of the R signal in the first RGBY signal, the grayscale value of the Y signal in the first RGBY signal, the maximum grayscale value, and the predetermined brightness curve gamma value are determined.
在一种可能的实现方式中,所述转换输出单元62还用于在所述比较单元61的比较结果为所述RGB信号中的B信号的灰阶值最小并且R信号的灰阶值小于或等于G信号的灰阶值的情况下,将所述RGB信号转换成第二RGBY信号并输出所述第二RGBY信号,其中,所述第二RGBY信号中的Y信号的灰阶值为所述RGB信号中的R信号的灰阶值,所述第二RGBY信号中的R信号的灰阶值为最小灰阶值,所述第二RGBY信号中的B信号的灰阶值为所述RGB信号中的B信号的灰阶值,所述第二RGBY信号中的G信号的灰阶值根据所述RGB信号中的G信号的灰阶值、所述第二RGBY信号中的Y信号的灰阶值、最大灰阶值以及所述预定的亮度曲线伽马值来确定。In a possible implementation manner, the conversion output unit 62 is further configured to determine that the grayscale value of the B signal in the RGB signals is the smallest and the grayscale value of the R signal is less than or If it is equal to the grayscale value of the G signal, convert the RGB signal into a second RGBY signal and output the second RGBY signal, wherein the grayscale value of the Y signal in the second RGBY signal is the The grayscale value of the R signal in the RGB signal, the grayscale value of the R signal in the second RGBY signal is the minimum grayscale value, and the grayscale value of the B signal in the second RGBY signal is the RGB signal The grayscale value of the B signal in the second RGBY signal, the grayscale value of the G signal in the second RGBY signal is based on the grayscale value of the G signal in the RGB signal, the grayscale value of the Y signal in the second RGBY signal value, the maximum grayscale value, and the predetermined gamma value of the brightness curve.
本实施例的上述色彩信号转换装置能够用来执行上述实施例1的色彩信号转换方法,该色彩信号转换方法的具体流程参见上述实施例1的具体阐述。The above-mentioned color signal conversion apparatus of this embodiment can be used to implement the color signal conversion method of the above-mentioned Embodiment 1. For the specific process of the color signal conversion method, refer to the specific description of the above-mentioned Embodiment 1.
在一种可能的实现方式中,在所述RGB信号中的R信号的灰阶值大于G信号的灰阶值的情况下,所述转换输出单元62根据如下公式1来计算所述第一RGBY信号中的R信号的灰阶值,In a possible implementation manner, when the grayscale value of the R signal in the RGB signal is greater than the grayscale value of the G signal, the conversion output unit 62 calculates the first RGBY according to the following formula 1 The grayscale value of the R signal in the signal,
式1 Formula 1
其中,R2为所述第一RGBY信号中的R信号的灰阶值,N为最大灰阶值,R1为所述RGB信号中的R信号的灰阶值,Y2为所述第一RGBY信号中的Y信号的灰阶值,γ是预定的亮度曲线伽马值。Wherein, R2 is the gray scale value of the R signal in the first RGBY signal, N is the maximum gray scale value, R1 is the gray scale value of the R signal in the RGB signal, and Y2 is the first RGBY signal. The grayscale value of the Y signal in the RGBY signal, and γ is a predetermined gamma value of the brightness curve.
在一种可能的实现方式中,在所述RGB信号中的R信号的灰阶值小于或等于G信号的灰阶值的情况下,所述转换输出单元62根据如下公式2来计算所述第二RGBY信号中的G信号的灰阶值,In a possible implementation manner, when the grayscale value of the R signal in the RGB signal is less than or equal to the grayscale value of the G signal, the conversion output unit 62 calculates the first The grayscale value of the G signal in the two RGBY signals,
式2 Formula 2
其中,G2为所述第二RGBY信号中的G信号的灰阶值,N为最大灰阶值,G1为所述RGB信号中的G信号的灰阶值,Y2为所述第二RGBY信号中的Y信号的灰阶值,γ是预定的亮度曲线伽马值。Wherein, G2 is the grayscale value of the G signal in the second RGBY signal, N is the maximum grayscale value, G1 is the grayscale value of the G signal in the RGB signal, and Y2 is the second The grayscale value of the Y signal in the RGBY signal, and γ is a predetermined gamma value of the brightness curve.
本实施例的上述色彩信号转换装置能够用来执行上述实施例2的色彩信号转换方法,该色彩信号转换方法的具体流程参见上述实施例2的具体阐述。The above-mentioned color signal conversion device of this embodiment can be used to implement the color signal conversion method of the above-mentioned embodiment 2. For the specific process of the color signal conversion method, refer to the specific description of the above-mentioned embodiment 2.
在一种可能的实现方式中,所述转换输出单元62还用于在所述比较单元61的比较结果为所述RGB信号中的B信号的灰阶值不是最小的情况下,将所述RGB信号转换成第三RGBY信号并输出所述第三RGBY信号,其中,将所述RGB信号转换成第三RGBY信号并输出所述第三RGBY信号,包括:对所述RGB信号的相对饱和度进行提升;根据所述RGB信号的提升后的相对饱和度以及RGB三角形中的线段OD的长度,来获取所述RGB三角形中对应的点D2,所述RGB三角形用于表示所述液晶显示屏的色域范围;以及根据D2的色度坐标来输出所述第三RGBY信号,其中所述第三RGBY信号中的Y信号的灰阶值为最小灰阶值,其中,在所述RGB三角形中,O点由参考白点坐标确定,D1点为所述RGB信号在所述RGB三角形中对应的点,D点为射线OD1与所述RGB三角形的交点。In a possible implementation manner, the conversion output unit 62 is further configured to convert the RGB Converting the signal into a third RGBY signal and outputting the third RGBY signal, wherein converting the RGB signal into a third RGBY signal and outputting the third RGBY signal includes: performing a relative saturation of the RGB signal Boosting: according to the boosted relative saturation of the RGB signal and the length of the line segment OD in the RGB triangle, the corresponding point D2 in the RGB triangle is obtained, and the RGB triangle is used to represent the color of the liquid crystal display domain range; and output the third RGBY signal according to the chromaticity coordinates of D2, wherein the grayscale value of the Y signal in the third RGBY signal is the minimum grayscale value, wherein, in the RGB triangle, O The point is determined by the coordinates of the reference white point, the point D1 is the point corresponding to the RGB signal in the RGB triangle, and the point D is the intersection point of the ray OD1 and the RGB triangle.
在一种可能的实现方式中,所述转换输出单元62根据如下公式3来获取所述第三RGBY信号在所述RGB三角形中对应的点D2,In a possible implementation manner, the conversion output unit 62 obtains the point D2 corresponding to the third RGBY signal in the RGB triangle according to the following formula 3,
OD2=OD*S1 式3OD2=OD*S1 Formula 3
其中,OD2为线段OD2的长度,OD为线段OD的长度,S1为提升后的相对饱和度。Among them, OD2 is the length of line segment OD2, OD is the length of line segment OD, and S1 is the relative saturation after promotion.
本实施例的上述色彩信号转换装置能够用来执行上述实施例3的色彩信号转换方法,该色彩信号转换方法的具体流程参见上述实施例3的具体阐述。The above-mentioned color signal conversion apparatus of this embodiment can be used to implement the color signal conversion method of the above-mentioned embodiment 3. For the specific process of the color signal conversion method, refer to the specific description of the above-mentioned embodiment 3.
根据本发明实施例的液晶显示屏的色彩信号转换装置,能够将原始的RGB信号转换成RGBY信号。在所输入的颜色为黄色的情况下,能够输出使黄色的色彩更加鲜艳的RGBY信号,在所输入的颜色不是黄色的情况下,能够输出使其它颜色的色彩更加鲜艳的RGB信号。这样,根据本发明实施例的色彩信号转换方装置,能够使得转换后的色彩信号的颜色更加鲜艳。The color signal conversion device for a liquid crystal display according to an embodiment of the present invention can convert an original RGB signal into an RGBY signal. When the input color is yellow, RGBY signals that make yellow more vivid can be output, and when the input color is not yellow, RGB signals that make other colors more vivid can be output. In this way, the color signal conversion device according to the embodiment of the present invention can make the color of the converted color signal more vivid.
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以所述权利要求的保护范围为准。The above is only a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Anyone skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present invention. Should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be determined by the protection scope of the claims.
Claims (12)
- A kind of 1. chrominance signal conversion method of LCDs, it is characterised in that including:Compare the size of the grey decision-making of R signal in the rgb signal of input, G-signal and B signal;In the case of the grey decision-making minimum of B signal in the rgb signal, the R signal in the rgb signal is believed with G Number grey decision-making size;In the case that the grey decision-making of R signal in the rgb signal is more than the grey decision-making of G-signal, the rgb signal is changed Into the first RGBY signals and the first RGBY signals are exported,Wherein, the grey decision-making of the Y-signal in the first RGBY signals is the grey decision-making of the G-signal in the rgb signal,The grey decision-making of G-signal in the first RGBY signals is minimum gray value,The grey decision-making of B signal in the first RGBY signals is the grey decision-making of the B signal in the rgb signal,The grey decision-making of R signal of the grey decision-making of R signal in the first RGBY signals in the rgb signal, described Grey decision-making, maximum gray value and the predetermined brightness curve gamma value of Y-signal in one RGBY signals determines so that first The color of R signal in RGBY signals is enhanced.
- 2. according to the method for claim 1, it is characterised in that also include:In the case that the grey decision-making of R signal in the rgb signal is less than or equal to the grey decision-making of G-signal, the RGB is believed Number it is converted into the 2nd RGBY signals and exports the 2nd RGBY signals,Wherein, the grey decision-making of the Y-signal in the 2nd RGBY signals is the grey decision-making of the R signal in the rgb signal,The grey decision-making of R signal in the 2nd RGBY signals is minimum gray value,The grey decision-making of B signal in the 2nd RGBY signals is the grey decision-making of the B signal in the rgb signal,The grey decision-making of G-signal of the grey decision-making of G-signal in the 2nd RGBY signals in the rgb signal, described Grey decision-making, maximum gray value and the predetermined brightness curve gamma value of Y-signal in two RGBY signals determines.
- 3. according to the method for claim 1, it is characterised in that the grey decision-making of the R signal in the rgb signal is more than G In the case of the grey decision-making of signal, the grey decision-making of the R signal in the first RGBY signals is calculated according to equation below 1,Wherein, R2For the grey decision-making of the R signal in the first RGBY signals, N is maximum gray value, R1For in the rgb signal R signal grey decision-making, Y2For the grey decision-making of the Y-signal in the first RGBY signals, γ is the predetermined brightness curve Gamma value.
- 4. according to the method for claim 2, it is characterised in that the grey decision-making of the R signal in the rgb signal be less than or In the case of grey decision-making equal to G-signal, the GTG of the G-signal in the 2nd RGBY signals is calculated according to equation below 2 Value,Wherein, G2For the grey decision-making of the G-signal in the 2nd RGBY signals, N is maximum gray value, G1For in the rgb signal G-signal grey decision-making, Y2For the grey decision-making of the Y-signal in the 2nd RGBY signals, γ is the predetermined brightness curve Gamma value.
- 5. according to the method any one of claim 1-4, it is characterised in that methods described also includes:In the case that the grey decision-making of B signal in the rgb signal is not minimum, the rgb signal is converted into the 3rd RGBY signals simultaneously export the 3rd RGBY signals,Wherein, the rgb signal is converted into the 3rd RGBY signals and exports the 3rd RGBY signals, including:Relative saturation degree to the rgb signal is lifted;The length of line segment OD in the relative saturation degree and RGB triangles after the lifting of the rgb signal, to obtain Corresponding point D2 in RGB triangles is stated, the RGB triangles are used for the gamut range for representing the LCDs;AndThe 3rd RGBY signals are exported according to D2 chromaticity coordinate, wherein the ash of the Y-signal in the 3rd RGBY signals Rank value is minimum gray value,Wherein, in the RGB triangles, for O points by being determined with reference to white point coordinates, D1 points are the rgb signal in the RGB tri- Corresponding point in angular, D points are ray OD1 and the RGB triangles intersection point.
- 6. according to the method for claim 5, it is characterised in that the 3rd RGBY signals are obtained according to equation below 3 The corresponding point D2 in the RGB triangles,OD2=OD*S1 formulas 3Wherein, OD2 is line segment OD2 length, and OD is line segment OD length, and S1 is the relative saturation degree after lifting.
- A kind of 7. chrominance signal conversion equipment of LCDs, it is characterised in that including:Comparing unit, the size of the grey decision-making of the R signal in rgb signal, G-signal and B signal for comparing input;AndOutput unit is changed, is connected with the comparing unit, for being the rgb signal in the comparative result of the comparing unit In B signal grey decision-making it is minimum and in the case that the grey decision-making of R signal is more than the grey decision-making of G-signal, by the rgb signal It is converted into the first RGBY signals and exports the first RGBY signals,Wherein, the grey decision-making of the Y-signal in the first RGBY signals is the grey decision-making of the G-signal in the rgb signal,The grey decision-making of G-signal in the first RGBY signals is minimum gray value,The grey decision-making of B signal in the first RGBY signals is the grey decision-making of the B signal in the rgb signal,The grey decision-making of R signal of the grey decision-making of R signal in the first RGBY signals in the rgb signal, described Grey decision-making, maximum gray value and the predetermined brightness curve gamma value of Y-signal in one RGBY signals determines so that first The color of R signal in RGBY signals is enhanced.
- 8. device according to claim 7, it is characterised in that the conversion output unit is additionally operable in the comparing unit Comparative result be B signal in the rgb signal grey decision-making it is minimum and the grey decision-making of R signal is less than or equal to G-signal Grey decision-making in the case of, the rgb signal is converted into the 2nd RGBY signals and exports the 2nd RGBY signals,Wherein, the grey decision-making of the Y-signal in the 2nd RGBY signals is the grey decision-making of the R signal in the rgb signal,The grey decision-making of R signal in the 2nd RGBY signals is minimum gray value,The grey decision-making of B signal in the 2nd RGBY signals is the grey decision-making of the B signal in the rgb signal,The grey decision-making of G-signal of the grey decision-making of G-signal in the 2nd RGBY signals in the rgb signal, described Grey decision-making, maximum gray value and the predetermined brightness curve gamma value of Y-signal in two RGBY signals determines.
- 9. device according to claim 7, it is characterised in that the grey decision-making of the R signal in the rgb signal is more than G In the case of the grey decision-making of signal, the conversion output unit calculates the R in the first RGBY signals according to equation below 1 The grey decision-making of signal,Wherein, R2For the grey decision-making of the R signal in the first RGBY signals, N is maximum gray value, R1For in the rgb signal R signal grey decision-making, Y2For the grey decision-making of the Y-signal in the first RGBY signals, γ is predetermined brightness curve gamma Value.
- 10. device according to claim 8, it is characterised in that the grey decision-making of the R signal in the rgb signal is less than Or in the case of the grey decision-making equal to G-signal, the conversion output unit calculates the 2nd RGBY letters according to equation below 2 The grey decision-making of G-signal in number,Wherein, G2For the grey decision-making of the G-signal in the 2nd RGBY signals, N is maximum gray value, G1For in the rgb signal G-signal grey decision-making, Y2For the grey decision-making of the Y-signal in the 2nd RGBY signals, γ is predetermined brightness curve gamma Value.
- 11. according to the device any one of claim 7-10, it is characterised in that the conversion output unit is additionally operable to The comparative result of the comparing unit is in the case that the grey decision-making of the B signal in the rgb signal is not minimum, by described in Rgb signal is converted into the 3rd RGBY signals and exports the 3rd RGBY signals,Wherein, the rgb signal is converted into the 3rd RGBY signals and exports the 3rd RGBY signals, including:Relative saturation degree to the rgb signal is lifted;The length of line segment OD in the relative saturation degree and RGB triangles after the lifting of the rgb signal, to obtain Corresponding point D2 in RGB triangles is stated, the RGB triangles are used for the gamut range for representing the LCDs;AndThe 3rd RGBY signals are exported according to D2 chromaticity coordinate, wherein the ash of the Y-signal in the 3rd RGBY signals Rank value is minimum gray value,Wherein, in the RGB triangles, for O points by being determined with reference to white point coordinates, D1 points are the rgb signal in the RGB tri- Corresponding point in angular, D points are ray OD1 and the RGB triangles intersection point.
- 12. device according to claim 11, it is characterised in that the conversion output unit obtains according to equation below 3 The 3rd RGBY signals corresponding point D2 in the RGB triangles is taken,OD2=OD*S1 formulas 3Wherein, OD2 is line segment OD2 length, and OD is line segment OD length, and S1 is the relative saturation degree after lifting.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510925030.8A CN105472364B (en) | 2015-12-14 | 2015-12-14 | The chrominance signal conversion method and device of LCDs |
PCT/CN2016/098789 WO2017101534A1 (en) | 2015-12-14 | 2016-09-13 | Colour signal conversion method and device for liquid crystal display screen |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510925030.8A CN105472364B (en) | 2015-12-14 | 2015-12-14 | The chrominance signal conversion method and device of LCDs |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105472364A CN105472364A (en) | 2016-04-06 |
CN105472364B true CN105472364B (en) | 2017-12-22 |
Family
ID=55609586
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510925030.8A Expired - Fee Related CN105472364B (en) | 2015-12-14 | 2015-12-14 | The chrominance signal conversion method and device of LCDs |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN105472364B (en) |
WO (1) | WO2017101534A1 (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105472364B (en) * | 2015-12-14 | 2017-12-22 | 合一智能科技(深圳)有限公司 | The chrominance signal conversion method and device of LCDs |
KR102503770B1 (en) * | 2018-10-29 | 2023-02-27 | 삼성디스플레이 주식회사 | Image data processing apparatus and display device including the same |
CN109215602B (en) | 2018-11-07 | 2020-07-10 | 惠科股份有限公司 | Pixel signal conversion method and device |
CN109285515B (en) | 2018-11-07 | 2020-07-10 | 惠科股份有限公司 | Pixel signal conversion method and device |
CN109166558B (en) | 2018-11-07 | 2020-07-10 | 惠科股份有限公司 | Pixel signal conversion method and device |
CN109686339B (en) * | 2019-02-27 | 2022-02-15 | 惠科股份有限公司 | Pixel signal conversion method and device |
CN109686337B (en) * | 2019-02-27 | 2021-07-27 | 惠科股份有限公司 | Pixel signal conversion method and device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101489143A (en) * | 2008-01-14 | 2009-07-22 | 胜华科技股份有限公司 | Image processing method, image data conversion method and device |
CN103430085A (en) * | 2011-03-18 | 2013-12-04 | 夏普株式会社 | Liquid crystal display device and television receiver |
CN103428512A (en) * | 2013-07-30 | 2013-12-04 | 京东方科技集团股份有限公司 | Image conversion method and device from RGB (Red Green Blue) signals to RGBY (Red Green Blue Yellow) signals |
CN104243946A (en) * | 2014-09-26 | 2014-12-24 | 深圳市华星光电技术有限公司 | Image color enhancement method and device for display |
CN104269129A (en) * | 2014-09-26 | 2015-01-07 | 京东方科技集团股份有限公司 | Display method and device for image |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003302960A (en) * | 2002-04-08 | 2003-10-24 | Sony Corp | Device and method for image display and computer program |
TWI385638B (en) * | 2007-12-21 | 2013-02-11 | Wintek Corp | Method for processing image, method and device for converting data of image |
JP4956686B2 (en) * | 2010-10-26 | 2012-06-20 | シャープ株式会社 | Display device |
CN103928011B (en) * | 2014-05-12 | 2016-03-09 | 深圳市华星光电技术有限公司 | The display packing of image and display system |
CN104299598B (en) * | 2014-11-04 | 2017-01-25 | 深圳市华星光电技术有限公司 | Three-color data to four-color data conversion system and conversion method |
CN105554488B (en) * | 2015-12-07 | 2017-10-27 | 深圳市华星光电技术有限公司 | Signal conversion method |
CN105528982B (en) * | 2015-12-09 | 2019-06-25 | 深圳市华星光电技术有限公司 | Image converter system and method for the rgb signal to RGBY signal |
CN105472364B (en) * | 2015-12-14 | 2017-12-22 | 合一智能科技(深圳)有限公司 | The chrominance signal conversion method and device of LCDs |
-
2015
- 2015-12-14 CN CN201510925030.8A patent/CN105472364B/en not_active Expired - Fee Related
-
2016
- 2016-09-13 WO PCT/CN2016/098789 patent/WO2017101534A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101489143A (en) * | 2008-01-14 | 2009-07-22 | 胜华科技股份有限公司 | Image processing method, image data conversion method and device |
CN103430085A (en) * | 2011-03-18 | 2013-12-04 | 夏普株式会社 | Liquid crystal display device and television receiver |
CN103428512A (en) * | 2013-07-30 | 2013-12-04 | 京东方科技集团股份有限公司 | Image conversion method and device from RGB (Red Green Blue) signals to RGBY (Red Green Blue Yellow) signals |
CN104243946A (en) * | 2014-09-26 | 2014-12-24 | 深圳市华星光电技术有限公司 | Image color enhancement method and device for display |
CN104269129A (en) * | 2014-09-26 | 2015-01-07 | 京东方科技集团股份有限公司 | Display method and device for image |
Also Published As
Publication number | Publication date |
---|---|
CN105472364A (en) | 2016-04-06 |
WO2017101534A1 (en) | 2017-06-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105472364B (en) | The chrominance signal conversion method and device of LCDs | |
WO2019114369A1 (en) | Primary color conversion method and converter therefor, display control method, and display device | |
TWI498872B (en) | Method and apparatus for converting rgb data signals to rgbw data signals in an oled display | |
CN104520921B (en) | Color signal process circuit, color signal processing method, display device and electronic installation | |
US10347198B2 (en) | Image displaying methods and display devices | |
TWI443639B (en) | Image display device and method of driving the same | |
JP5897159B2 (en) | Display device and control method thereof | |
WO2017004817A1 (en) | Image display method and display system | |
WO2016070447A1 (en) | System and method for conversion from rgb data to wrgb data | |
CN103325351A (en) | Image processing apparatus and image processing method | |
US20110075043A1 (en) | Color shift solution for dynamic contrast ratio in a liquid crystal display | |
KR20180062123A (en) | Display device and image processing method thereof | |
TWI545963B (en) | Gamut mapping method and the related device thereof | |
TW201415449A (en) | Image display unit, method of driving image display unit, signal generator, signal generation program, and signal generation method | |
WO2016023240A1 (en) | Method for enhancing wrgb color saturation | |
CN101740000B (en) | Color compensation method, color compensation circuit and display device | |
US9305519B2 (en) | Image color adjusting method and electronic device using the same | |
TWI446332B (en) | Gamma correction method | |
CN103000145B (en) | Multi-primary color liquid crystal display and its color signal conversion device and method | |
TWI485694B (en) | Image color adjusting method and electronic apparatus thereof | |
CN108898987B (en) | Gray scale conversion method, gray scale conversion device and display device | |
CN110085155B (en) | Method and device for display control of a display panel | |
CN103680467B (en) | Image processing method, device and display unit | |
CN102915697B (en) | Color gamut compensation method for display | |
CN113971931A (en) | Display device and vehicle display device including the same |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20200426 Address after: 310052 room 508, floor 5, building 4, No. 699, Wangshang Road, Changhe street, Binjiang District, Hangzhou City, Zhejiang Province Patentee after: Alibaba (China) Co.,Ltd. Address before: 518030 no.19l02 sannuo wisdom building, no.3012 Binhai Avenue, Nanshan District, Shenzhen City, Guangdong Province Patentee before: HEYI INTELLIGENT TECHNOLOGY (SHENZHEN) Co.,Ltd. |
|
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20171222 |