CN109410877B - Method and device for converting three-color data into four-color data - Google Patents
Method and device for converting three-color data into four-color data Download PDFInfo
- Publication number
- CN109410877B CN109410877B CN201811544856.XA CN201811544856A CN109410877B CN 109410877 B CN109410877 B CN 109410877B CN 201811544856 A CN201811544856 A CN 201811544856A CN 109410877 B CN109410877 B CN 109410877B
- Authority
- CN
- China
- Prior art keywords
- pixel
- value signal
- stimulus
- stimulus value
- sub
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 41
- 238000012545 processing Methods 0.000 claims abstract description 86
- 230000035515 penetration Effects 0.000 claims abstract description 27
- 238000006243 chemical reaction Methods 0.000 claims abstract description 22
- 230000006870 function Effects 0.000 claims description 40
- 238000001228 spectrum Methods 0.000 claims description 18
- 230000000638 stimulation Effects 0.000 claims description 16
- 238000004364 calculation method Methods 0.000 claims description 13
- 238000010606 normalization Methods 0.000 claims description 5
- 230000000007 visual effect Effects 0.000 abstract description 5
- 239000000203 mixture Substances 0.000 description 9
- 238000002834 transmittance Methods 0.000 description 8
- 239000003086 colorant Substances 0.000 description 7
- 230000003287 optical effect Effects 0.000 description 6
- 229920002120 photoresistant polymer Polymers 0.000 description 4
- 238000011161 development Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000006872 improvement Effects 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 239000000463 material Substances 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000010521 absorption reaction Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
Images
Classifications
-
- 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
- G09G3/3607—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 for displaying colours or for displaying grey scales with a specific pixel layout, e.g. using sub-pixels
Landscapes
- Engineering & Computer Science (AREA)
- Chemical & Material Sciences (AREA)
- Crystallography & Structural Chemistry (AREA)
- Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Facsimile Image Signal Circuits (AREA)
- Color Image Communication Systems (AREA)
- Processing Of Color Television Signals (AREA)
Abstract
The application relates to a method and a device for converting three-color data into four-color data. In the conversion method, a gain value corresponding to a pixel point is determined and gain processing is carried out, a normalized stimulus value signal of a white sub-pixel is determined according to the minimum value in the stimulus value signal after the gain processing, a tri-stimulus value signal of the white sub-pixel is determined by utilizing the normalized stimulus value signal of the white sub-pixel, the normalized stimulus value signals of red, green and blue sub-pixels are respectively determined according to the stimulus value signal after the gain processing and the tri-stimulus value signal of the white sub-pixel, so that the gain of the white sub-pixel is consistent with the gain of the pixel point, the influence of the white sub-pixel is eliminated from the normalized stimulus value signals of the red, green and blue sub-pixels, the penetration rate of light and the picture brightness are improved, the difference of the projection brightness of the white sub-pixel in each direction is reduced, and the condition of large visual angle color cast is improved.
Description
Technical Field
The present application relates to the field of display, and in particular, to a method and an apparatus for converting three-color data into four-color data.
Background
In general, a liquid crystal display generates a color to be displayed by color mixing of three color light sources generated by a red sub-pixel, a green sub-pixel and a blue sub-pixel. The RGB light source is formed by absorbing non-RGB light wave band by absorbing light resistance material in RGB sub-pixels (red sub-pixel, green sub-pixel and blue sub-pixel), so that RGB sub-pixels generate corresponding RGB light source. For example, the red photoresist of the red sub-pixel absorbs visible light in a non-red wavelength range and transmits visible light corresponding to the red wavelength range, and similarly, the green photoresist of the green sub-pixel absorbs visible light in a non-green wavelength range and transmits visible light corresponding to the green wavelength range, and the blue photoresist of the blue sub-pixel absorbs visible light in a non-blue wavelength range and transmits visible light corresponding to the blue wavelength range. Therefore, it can be understood that only part of the visible light backlight light source mainly comprising white light passes through the red, green and blue sub-pixels.
With the improvement of the display resolution, after the current common 4K resolution display is developed to an 8K resolution display, the increase of the sub-pixels leads to the decrease of the aperture ratio of the corresponding pixels, the transmittance of the high resolution display is reduced, and the light utilization rate is reduced. Therefore, corresponding to the development of the 4-color sub-pixels, except for the original red, green and blue sub-pixels corresponding to mixed colors, the 4 th sub-pixel development adopts a sub-pixel technology with high penetration rate, so that the display can have high resolution and can also take into account the improvement of the penetration rate of the display, the light efficiency is improved, and the high-resolution display can also take into account the cost of a backlight framework. The currently developed and commercialized 4-color sub-pixel is a color-mixed color display device composed of a white sub-pixel, a red sub-pixel, a green sub-pixel and a blue sub-pixel, wherein the white sub-pixel does not need a photoresist absorption material for absorbing visible light energy, so that the light penetration rate in the display device can be improved, and the light utilization efficiency can be further improved.
However, the currently commercially available 4-color sub-pixel product is an IPS (In-Plane Switching) liquid crystal display, which has the same transmittance at all wavelengths In the normal viewing angle and In the wide viewing angle and has the transmittance ratio at all wavelengths, so that the same color performance can be maintained In the optical characteristics of both the normal viewing angle and the wide viewing angle, and no color difference occurs. The VA (Vertical Alignment ) lcd has the characteristics of high throughput and low production cost compared to the IPS lcd, but because the characteristics of the full-wavelength transmittance of visible light at the normal viewing angle and the large viewing angle of the VA lcd are different, the optical characteristics of the VA lcd at the large viewing angle cannot be maintained the same as the colors of the VA lcd at the normal viewing angle, and the VA lcd has the problems of large viewing angle color shift defect, color distortion, and the like.
Disclosure of Invention
Based on this, the application provides a method and a device for converting three-color data into four-color data, so as to solve the problems of low light penetration rate, large viewing angle color cast and color distortion.
The application provides a method for converting three-color data into four-color data, which comprises the following steps:
determining a first stimulus value signal which has the largest influence on mixed color in the tristimulus value signals of the red sub-pixels in each pixel point, a second stimulus value signal which has the largest influence on the mixed color in the tristimulus value signals of the green sub-pixels, and a third stimulus value signal which has the largest influence on the mixed color in the tristimulus value signals of the blue sub-pixels;
respectively determining a gain value corresponding to each pixel point according to the first stimulus value signal, the second stimulus value signal and the third stimulus value signal corresponding to each pixel point;
performing gain processing on the first stimulus value signal, the second stimulus value signal and the third stimulus value signal corresponding to each pixel point by using a gain value in each pixel point, and determining a normalized stimulus value signal of a white sub-pixel according to a minimum value among the first stimulus value signal after the gain processing, the second stimulus value signal after the gain processing and the third stimulus value signal after the gain processing;
calculating a tristimulus value signal corresponding to the white sub-pixel according to the normalized stimulus value signal of the white sub-pixel; and
calculating a difference value between the first stimulus value signal after the gain processing and an X stimulus value signal having a large relationship with a red stimulus value signal among the tristimulus values signals of the white sub-pixel to be used as a normalized stimulus value signal of the red sub-pixel, calculating a difference value between the second stimulus value signal after the gain processing and a Y stimulus value signal having a large relationship with a green stimulus value signal among the tristimulus values signals of the white sub-pixel to be used as a normalized stimulus value signal of the green sub-pixel, and calculating a difference value between the third stimulus value signal after the gain processing and a Z stimulus value signal having a large relationship with a blue stimulus value signal among the tristimulus values signals of the white sub-pixel to be used as a normalized stimulus value signal of the blue sub-pixel.
In one embodiment, the determining the gain value corresponding to each pixel point according to the first stimulus value signal, the second stimulus value signal, and the third stimulus value signal corresponding to each pixel point respectively includes:
determining a maximum value and a minimum value in the first stimulation value signal, the second stimulation value signal and the third stimulation value signal corresponding to the pixel point;
judging whether the maximum value is more than 2 times of the minimum value;
if so, calculating a difference value between the maximum value and the minimum value, and taking a ratio of the maximum value to the difference value as a gain value of the pixel point;
otherwise, the gain value of the pixel point takes 2.
In one embodiment, determining the normalized stimulus value signal for the white sub-pixel according to the minimum value of the gain-processed first stimulus value signal, the gain-processed second stimulus value signal, and the gain-processed third stimulus value signal includes:
determining a minimum value of the first stimulus value signal, the second stimulus value signal, and the third stimulus value signal; and
and calculating the product of the adjustment factor of the stimulus value signal of the white sub-pixel and the minimum value, and taking the product as the normalized stimulus value signal of the white sub-pixel.
In one embodiment, before the calculating the product of the adjustment factor of the stimulation value signal of the white sub-pixel and the minimum value, the conversion method further comprises:
determining the color corresponding to each pixel point according to the gray-scale value of the red sub-pixel, the gray-scale value of the green sub-pixel and the gray-scale value of the blue sub-pixel corresponding to each pixel point, and judging the hue and the saturation of the color corresponding to each pixel point; and
and determining an adjusting factor of the normalized stimulus value signal of the white sub-pixel according to the hue and the saturation of the color corresponding to the pixel point.
In one embodiment, the adjustment factor has a value ranging from 0.8 to 1.
In one embodiment, the calculating a tristimulus value signal corresponding to the white sub-pixel according to the normalized stimulus value signal of the white sub-pixel includes:
calculating the gray-scale value of the white sub-pixel according to the normalized stimulus value signal of the white sub-pixel; and
and carrying out normalization processing on the gray-scale value of the white sub-pixel, and determining the tristimulus value of the white sub-pixel.
In one embodiment, the conversion method further includes:
calculating and outputting an output gray-scale value of the white sub-pixel according to the normalized stimulus value signal of the white sub-pixel;
calculating and outputting an output gray-scale value of the red sub-pixel according to the normalized stimulus value signal of the red sub-pixel;
calculating and outputting an output gray-scale value of the green sub-pixel according to the normalized stimulus value signal of the green sub-pixel; and
and calculating and outputting an output gray-scale value of the blue sub-pixel according to the normalized stimulus value signal of the blue sub-pixel.
Based on the same inventive concept, the present application further provides another method for converting three-color data into four-color data, comprising:
determining a first stimulus value signal which has the largest influence on mixed color in the tristimulus value signals of the red sub-pixel in the nth pixel point, a second stimulus value signal which has the largest influence on the mixed color in the tristimulus value signals of the green sub-pixel, and a third stimulus value signal which has the largest influence on the mixed color in the tristimulus value signals of the blue sub-pixel;
determining a gain value corresponding to the nth pixel point according to the first stimulus value signal, the second stimulus value signal and the third stimulus value signal corresponding to the nth pixel point;
performing gain processing on the first stimulus value signal, the second stimulus value signal and the third stimulus value signal by using a gain value in the nth pixel point, and determining a normalized stimulus value signal of the white sub-pixel according to a minimum value of the first stimulus value signal after the gain processing, the second stimulus value signal after the gain processing and the third stimulus value signal after the gain processing;
calculating a tristimulus value signal corresponding to the white sub-pixel according to the normalized stimulus value signal of the white sub-pixel; and
calculating a difference value between the first stimulus value signal after the gain processing and an X stimulus value signal having a large relationship with a red stimulus value signal among the tristimulus values signals of the white sub-pixel to be used as a normalized stimulus value signal of the red sub-pixel, calculating a difference value between the second stimulus value signal after the gain processing and a Y stimulus value signal having a large relationship with a green stimulus value signal among the tristimulus values signals of the white sub-pixel to be used as a normalized stimulus value signal of the green sub-pixel, and calculating a difference value between the third stimulus value signal after the gain processing and a Z stimulus value signal having a large relationship with a blue stimulus value signal among the tristimulus values signals of the white sub-pixel to be used as a normalized stimulus value signal of the blue sub-pixel;
wherein n is an integer greater than or equal to 1.
Based on the same inventive concept, the present application further provides a device for converting three-color data into four-color data, the device comprising:
a memory for storing computer instructions; and
and the at least one processor is connected with the memory in a communication manner and used for receiving the computer instructions in the memory and executing the conversion method for converting the three-color data into the four-color data according to the computer instructions.
In summary, the present application provides a method and an apparatus for converting three-color data into four-color data. In the conversion method, according to the determined first stimulus value signal, the second stimulus value signal and the third stimulus value signal, the gain value corresponding to each pixel point is respectively determined; secondly, performing gain processing on the first stimulus value signal, the second stimulus value signal and the third stimulus value signal corresponding to each pixel point by using a gain value in each pixel point, and determining a normalized stimulus value signal of a white sub-pixel according to a minimum value of the first stimulus value signal after the gain processing, the second stimulus value signal after the gain processing and the third stimulus value signal after the gain processing; and then calculating a tri-stimulus value signal corresponding to the white sub-pixel according to the normalized stimulus value signal of the white sub-pixel, and determining the normalized stimulus value signals of the red sub-pixel and the green sub-pixel according to the tri-stimulus value signal corresponding to the white sub-pixel, the first stimulus value signal after gain processing, the second stimulus value signal after gain processing and the third stimulus value signal after gain processing. In the conversion method provided by the application, a gain value corresponding to each pixel point is respectively determined according to the first stimulus value signal, the second stimulus value signal and the third stimulus value signal corresponding to each pixel point, then gain processing is performed on the first stimulus value signal, the second stimulus value signal and the third stimulus value signal corresponding to the pixel point by using the gain value, and a normalized stimulus value signal of a white sub-pixel is determined according to a minimum value of the first stimulus value signal after gain processing, the second stimulus value signal after gain processing and the third stimulus value signal after gain processing, so that the normalized stimulus value signal of the white sub-pixel can be adjusted according to the gain value of the pixel point, so that a gray level value of the white sub-pixel can be obtained by subsequent calculation according to the normalized stimulus value signal of the white sub-pixel, the gain of the white sub-pixel point is consistent with the gain of the pixel point, and the influence of the white sub-pixel is eliminated by the normalized stimulus value signals of the red sub-pixel, the green sub-pixel and the blue sub-pixel, so that the scheme not only improves the light penetration rate and the picture quality, but also can reduce the difference of the projection brightness of the white sub-pixel in each direction, thereby improving the condition of large visual angle color cast.
Drawings
FIG. 1 is a diagram showing the proportional characteristics of stimulus values RY, GY, BY and luminance values of an IPS LCD;
FIG. 2 is a schematic flow chart of a method for converting RGB data into WRGB data in an IPS type LCD;
FIG. 3 is a diagram showing the proportional characteristics of stimulus values RY, GY, BY and luminance values of a VA mode LCD;
FIG. 4 is a graph showing the proportional characteristics of the stimulus values RX, GY and BZ to the luminance values in a VA mode LCD;
fig. 5 is a schematic flowchart illustrating a method for converting three-color data into four-color data according to an embodiment of the present disclosure;
fig. 6 is a schematic flowchart illustrating a method for converting three-color data into four-color data based on an adjustment factor according to an embodiment of the present disclosure;
FIG. 7 is a graph of adjustment factor versus hue;
FIG. 8 is an HSV color model;
fig. 9 is a flowchart illustrating another method for converting three-color data into four-color data according to an embodiment of the present disclosure.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, embodiments accompanying the present application are described in detail below with reference to the accompanying drawings. In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present application. This application is capable of embodiments in many different forms than those described herein and those skilled in the art will be able to make similar modifications without departing from the spirit of the application and it is therefore not intended to be limited to the embodiments disclosed below.
The optical characteristics of the red, green and blue sub-pixels of the VA type LCD are different compared with the IPS LCD. The red green blue sub-pixel signals of the IPS display change with the optical brightness stimulus value corresponding to the same changes as the RY and BY signals, RY is used as the stimulus value signal with the maximum relevance to the red sub-pixel, GY is used as the stimulus value signal with the maximum relevance to the green sub-pixel, and BY is used as the stimulus value signal with the maximum relevance to the blue sub-pixel, as shown in FIG. 1.
Referring to fig. 2, in order to improve the picture quality, the difference between RY and WY is used as the normalized stimulus value signal of the red sub-pixel, the difference between GY and WY is used as the normalized stimulus value signal of the green sub-pixel, and the difference between BY and WY is used as the normalized stimulus value signal of the red sub-pixel, and then the corresponding gray level value is calculated and outputted according to the normalized stimulus value signal of each sub-pixel.
However, the variation of the red, green and blue sub-pixel signals of the VA lcd corresponding to the optical luminance stimulation value signals RY, GY and BY is as shown in fig. 3, and the variation of the red, green and blue sub-pixel signals corresponding to the optical luminance stimulation value signals is different, i.e. RY ≠ GY ≠ BY.
In the VA-type lcd, the red, green and blue sub-pixels mainly have the largest influence on the color mixture of RX stimulus values in the tri-stimulus value signals (RX, RY, RZ) of the red sub-pixel, GY stimulus values in the tri-stimulus value signals (GX, GY, GZ) of the green sub-pixel, and BZ stimulus values in the tri-stimulus value signals (BX, BY, BZ) of the blue sub-pixel. Referring to fig. 4, the proportional weight of the variation of the stimulus value signals RX, GY and BZ of the red, green and blue sub-pixels in fig. 4 (RX ≈ GY ≈ BZ) is closer to that of the variation of the stimulus value signals RY, GY and BY of the red, green and blue sub-pixels in fig. 3 (RY ≠ GY ≠ BY), and the determined stimulus value signals of the white pixels based on RX, GY and BZ can reduce the luminance difference of the pixel points in all directions to reduce the large viewing angle color difference.
Referring to fig. 5, an embodiment of the present application provides a method for converting three-color data into four-color data, including:
step S110, determining a first stimulus value signal having the largest influence on mixed color in the tristimulus value signals of the red sub-pixels in each pixel point, a second stimulus value signal having the largest influence on mixed color in the tristimulus value signals of the green sub-pixels, and a third stimulus value signal having the largest influence on mixed color in the tristimulus value signals of the blue sub-pixels;
step S120, respectively determining a gain value corresponding to each pixel point according to the first stimulus value signal, the second stimulus value signal and the third stimulus value signal corresponding to each pixel point;
step S130, performing gain processing on the first stimulus value signal, the second stimulus value signal and the third stimulus value signal corresponding to each pixel point by using a gain value in each pixel point, and determining a normalized stimulus value signal of a white sub-pixel according to a minimum value among the first stimulus value signal after the gain processing, the second stimulus value signal after the gain processing and the third stimulus value signal after the gain processing;
step S140, calculating a tristimulus value signal corresponding to the white sub-pixel according to the normalized stimulus value signal of the white sub-pixel; and
step S150, calculating a difference between the first stimulus value signal after the gain processing and an X stimulus value signal having a large relationship with a red stimulus value signal among the tristimulus values signals of the white sub-pixels as a normalized stimulus value signal of the red sub-pixels, calculating a difference between the second stimulus value signal after the gain processing and a Y stimulus value signal having a large relationship with a green stimulus value signal among the tristimulus values signals of the white sub-pixels as a normalized stimulus value signal of the green sub-pixels, and calculating a difference between the third stimulus value signal after the gain processing and a Z stimulus value signal having a large relationship with a blue stimulus value signal among the tristimulus values signals of the white sub-pixels as a normalized stimulus value signal of the blue sub-pixels.
In this embodiment, the three-color data refers to RGB data, the four-color data refers to WRGB data, the three-color gamut refers to an RGB gamut, and the primary color gamut refers to a WRGB gamut.
It can be understood that in the conversion method provided by the present application, a gain value corresponding to each pixel point is respectively determined according to the first stimulus value signal, the second stimulus value signal, and the third stimulus value signal corresponding to each pixel point, then the gain value is used to perform gain processing on the first stimulus value signal, the second stimulus value signal, and the third stimulus value signal corresponding to the pixel point, and a normalized stimulus value signal of the white sub-pixel is determined according to a minimum value of the first stimulus value signal after gain processing, the second stimulus value signal after gain processing, and the third stimulus value signal after gain processing, so that the normalized stimulus value signal of the white sub-pixel can be adjusted according to the gain value of the pixel point, so that a gray level value of the white sub-pixel can be obtained by subsequent calculation according to the normalized stimulus value signal of the white sub-pixel, the gain of the white sub-pixel point is consistent with the gain of the pixel point, and the influence of the white sub-pixel is eliminated from the normalized stimulus value signals of the red sub-pixel, the green sub-pixel and the blue sub-pixel, so that the scheme not only improves the light penetration rate and the picture brightness, but also reduces the difference of the projection brightness of the white sub-pixel in each direction, and improves the condition of large visual angle color cast.
It is understood that the more the white sub-pixel occupies, the greater the influence on the decrease in color vividness. Conversely, the smaller the proportion of the white sub-pixel, the less the influence on the decrease in the color vividness, but the lower the overall image quality luminance. Therefore, it is necessary to control the ratio of the white sub-pixels to adjust the ratio of the white sub-pixels so that the image with higher color vividness in the three-color gamut can have the same better vividness in the four-color gamut when the color vividness varies with the input signal. In this embodiment, each pixel is gained by a dynamic gain value to control the proportion of the white sub-pixels, thereby improving the picture quality.
In one embodiment, referring to fig. 6, the determining the gain value corresponding to each pixel point according to the first stimulus value signal, the second stimulus value signal, and the third stimulus value signal corresponding to each pixel point respectively includes:
determining a maximum value and a minimum value in the first stimulation value signal, the second stimulation value signal and the third stimulation value signal corresponding to the pixel point;
judging whether the maximum value is more than 2 times of the minimum value;
if so, calculating a difference value between the maximum value and the minimum value, and taking a ratio of the maximum value to the difference value as a gain value of the pixel point;
otherwise, the gain value of the pixel point takes 2.
In this embodiment, the tristimulus value signal of the red sub-pixel:
wherein R is the gray level value of the red sub-pixel, and R isXThe R isYAnd said RZIs the tristimulus value signal of the red sub-pixel, theThe above-mentionedAnd saidAre respectively the RXThe R isYAnd said RZThe corresponding power function.
Tristimulus value signals of the green sub-pixel:
wherein G is the gray scale value of the green sub-pixel, and G is the gray scale value of the green sub-pixelXThe GYAnd said GZIs the tristimulus value signal of the green sub-pixel, theThe above-mentionedAnd saidRespectively is the GZThe GYAnd said GZThe corresponding power function.
The tristimulus value signal of the blue sub-pixel:
wherein B is the gray scale value of the blue sub-pixel, and B is the gray scale value of the blue sub-pixelXThe BYAnd said BZIs the tristimulus value signal of the blue sub-pixel, theThe above-mentionedAnd saidAre respectively the BXThe BYAnd said BZThe corresponding power function.
Stimulus value signal R in the red sub-pixel tristimulus value signalXThe stimulus value signal with the maximum color mixing color in the red sub-pixel tri-stimulus value signals is the stimulus value signal RX。
Stimulus value signal G in the green sub-pixel tristimulus value signalYThe stimulus value signal with the maximum color mixture in the green sub-pixel tri-stimulus value signals isThe two-stimulus value signal is the stimulus value signal GY。
Stimulus value signal B in the blue sub-pixel tristimulus value signalZThe stimulus value signal with the maximum color mixture color in the blue sub-pixel tri-stimulus value signals is the stimulus value signal BZ。
It is understood that the gain-processed first stimulus value signal R 'in this embodiment'XG (H, S) × RX, the gain-processed second stimulus value signal GY 'is G (H, S) × GY, and the gain-processed third stimulus value signal B'Z=G(H,S)×BZ. The stimulus value signal W of the white sub-pixelY=Min(R′X,G′Y,B′Z)。
It can be understood that the Gain value Gain compares the transmittance of the white sub-pixel with the transmittance of the red, green and blue sub-pixels according to the pixel areas of the actual white sub-pixel and the red, green and blue sub-pixels. It is preferable that the maximum Gain value Gain is 2 when the white sub-pixel has the same pixel area as the red, green and blue sub-pixels, i.e. the pixel area of the white, red, green and blue sub-pixels is the same, and the sum of the transmittances of the red, green and blue sub-pixels is equal to the transmittance of the white sub-pixel. That is, the overall stimulus value of the sub-pixel with four primary colors of white, red, green and blue is 2 times of the stimulus value of the sub-pixel with three primary colors of red, green and blue. Half of the stimulus values contribute to the white sub-pixel and the other half of the stimulus values contribute to the red, green and blue sub-pixels. However, if all the signals have the maximum Gain value Gain of 2, the three primary color stimulus value signals R ″' of the four primary color sub-pixels of white, red, green and blue will occurX、G″YOr B ″)Z Maximum stimulus value 1, i.e. the case. Namely, the three primary color stimulus value signals R' of the sub-pixel with the four primary colors of white, red, green and blue appearX=R′X-WY、G″Y=G′Y-WYOr B ″)Z=B′Z-WYGreater than 1. Therefore, the design of the gain value needs to be limited to the three primary colors of the sub-pixel of the four primary colors of white, red, green and blueMaximum signal Max (R) of stimulus value signalX,GY,BZ) Equal to primary red, green and blue primary color sub-pixel stimulus value signal RX、GYAnd BZMaximum of (1), i.e., R ″)X=R′X-WY=RXOr G ″)Y=G′Y-WY=GYOr B ″)Z=B′Z-WY=BZ。
For example, when R isX=Max(RX,GY,BZ) And W isY=Min(R′X,G′Y,B′Z)=Gain×BZ,BZ=Min(RX,GY,BZ),R″X=R′X-WY=RXI.e. Gain × RX-Gain×BZ=RX,Gain=RX/(RX-BZ) I.e. Gain Max (R)X,GY,BZ)/(Max(RX,GY,BZ)-Min(RX,GY,BZ))。
In one embodiment, determining the normalized stimulus value signal for the white sub-pixel according to the minimum value of the gain-processed first stimulus value signal, the gain-processed second stimulus value signal, and the gain-processed third stimulus value signal includes:
determining a minimum value of the first stimulus value signal, the second stimulus value signal, and the third stimulus value signal; and
and calculating the product of the adjustment factor of the stimulus value signal of the white sub-pixel and the minimum value, and taking the product as the normalized stimulus value signal of the white sub-pixel.
It can be understood that, in this embodiment, the product of the adjustment factor of the stimulus value signal of the white sub-pixel and the minimum value is used as the stimulus value signal of the white sub-pixel, and different gray-scale values can be output to the white sub-pixel according to the color corresponding to the white sub-pixel, the hue and the saturation of the color, so as to improve/reduce the influence of the white sub-pixel on the color of the mixed color hue according to the display requirement of the picture, thereby presenting a high-quality picture.
In one embodiment, please refer to fig. 7, the adjustment factor of the stimulus value signal of the white sub-pixel is K(H,S)And 0.8 is equal to or less than K(H,S)Less than or equal to 1. That is, in this embodiment, the normalized stimulus value signal W 'of the white subpixel'Y=K(H,S)×WY=K(H,S)×Min(R′X,G′Y,B′Z). In addition, the range of the adjusting factor can be set according to actual needs.
In one embodiment, before determining the stimulus value signal of the white sub-pixel according to the minimum value of the first stimulus value signal, the second stimulus value signal, and the third stimulus value signal, the conversion method further includes:
determining the color corresponding to the pixel point according to the gray-scale value of the red sub-pixel, the gray-scale value of the green sub-pixel and the gray-scale value of the blue sub-pixel corresponding to each pixel point, and judging the hue and the saturation of the color corresponding to the pixel point; and
and determining an adjusting factor of the stimulus value signal of the white sub-pixel according to the hue and the saturation of the color corresponding to the pixel point.
Referring to fig. 8, in the present embodiment, the Hue and Saturation of the color corresponding to the pixel point are calculated by converting the input gray-scale Value R of the red sub-pixel, the input gray-scale Value G of the green sub-pixel, and the input gray-scale Value B of the blue sub-pixel into HSV (Hue, Saturation, and lightness) color models. Wherein, the gray scale value R of the red sub-pixel, the gray scale value G of the green sub-pixel and the gray scale value B of the blue sub-pixel are 8 bit gray scale digital signals of 0, 1, …, 255, the brightness normalization signals of each gray scale signal corresponding to the maximum gray scale value 255 are R, G and B respectively, wherein, the gray scale value R of the red sub-pixel, the gray scale value G of the green sub-pixel and the gray scale value B of the blue sub-pixel are all 8 bit gray scale digital signals of 0Andthe gamma isr、γgAnd gammabThe digital gray scale signal is converted into an exponential parameter of the luminance signal for a luminance gain gamma (gamma) signal. The algorithm for converting the gray-scale value R of the red sub-pixel, the gray-scale value G of the green sub-pixel and the gray-scale value B of the blue sub-pixel into the HSV color model is as follows:
where h is the value corresponding to hue and s is the value corresponding to saturation.
In one embodiment, the calculating a tristimulus value signal corresponding to the white sub-pixel according to the normalized stimulus value signal of the white sub-pixel includes:
calculating the gray-scale value of the white sub-pixel according to the normalized stimulus value signal of the white sub-pixel; and
and carrying out normalization processing on the gray-scale value of the white sub-pixel, and determining the tristimulus value of the white sub-pixel.
In this embodiment, the normalized stimulus value signal W 'is obtained from the white sub-pixel'YAnd calculating the gray-scale value W of the white sub-pixel, wherein the value range of W is 0-255. Then, a stimulus value signal W 'with a large correlation between the white sub-pixel and the red stimulus value signal is calculated from the gray-scale value W of the white sub-pixel'XAnd a stimulus value signal W 'having a large correlation with the blue stimulus value signal'Z。
Wherein,
It is understood that the color mixture color of the red, green, and blue subpixels in the RGB display mode is the same as or as close as possible to the color mixture color of the white, red, green, and blue subpixels in the WRGB display mode, i.e., R'X=R″X+W′X,G′Y=G″Y+W′Y,B′Z=B″Z+W′ZThe effect of the tristimulus values of the white sub-pixel on the red, green and blue sub-pixels should be eliminated.
In this embodiment, in the color gamut corresponding to the four-color data, the normalized stimulus value signal R ″ of the red sub-pixelX=R′X-W′XNormalized stimulus value signal G' of the green sub-pixelY=G′Y-W′YNormalized stimulus value signal B' of the blue sub-pixelZ=B′Z-W′Z. Therefore, the overlapping part of the white sub-pixel is eliminated in the red, green and blue sub-pixels, so that the color mixture color of the red sub-pixel, the green sub-pixel and the blue sub-pixel in the RGB display mode is the same as or close to the color mixture color of the white sub-pixel, the red sub-pixel, the green sub-pixel and the blue sub-pixel in the WRGB display mode. It is to be noted that it is preferable that,and when the normalized stimulus value signal of the red/green/blue sub-pixel is greater than or equal to 1, the normalized stimulus value signal of the red/green/blue sub-pixel takes a value of 1.
In one embodiment, the determining the first stimulus value signal having the greatest influence on mixed color in the tristimulus value signals of the red sub-pixels, the second stimulus value signal having the greatest influence on mixed color in the tristimulus value signals of the green sub-pixels, and the third stimulus value signal having the greatest influence on mixed color in the tristimulus value signals of the blue sub-pixels includes:
calculating the overlapping of a stimulus function X, a stimulus function Y and a stimulus function Z with the penetration spectrum of the red sub-pixel respectively, wherein the overlapping part of the penetration spectrum of the red sub-pixel and the stimulus function X is maximum, and determining a stimulus value signal R in the red sub-pixel tri-stimulus value signal according to the calculation resultXThe stimulus value signal with the maximum color mixing in the red sub-pixel tri-stimulus value signal RXAs the first stimulus value signal;
calculating the overlapping of a stimulus function X, a stimulus function Y and a stimulus function Z with the penetration spectrum of the green sub-pixel respectively, wherein the overlapping part of the penetration spectrum of the green sub-pixel and the stimulus function Y is the largest, and determining a stimulus value signal G in the tri-stimulus value signal of the green sub-pixel according to the calculation resultYThe stimulus value signal with the maximum color mixing color in the green sub-pixel tri-stimulus value signals, and the stimulus value signal GYAs the second stimulus value signal; and
calculating the overlapping of a stimulus function X, a stimulus function Y and a stimulus function Z with the penetration spectrum of the blue sub-pixel respectively, wherein the overlapping part of the penetration spectrum of the blue sub-pixel and the stimulus function Z is maximum, and determining a stimulus value signal B in the tri-stimulus value signal of the blue sub-pixel according to the calculation resultZThe stimulus value signal with the maximum color mixing color in the blue sub-pixel tri-stimulus value signals is selected, and the stimulus value signal B is selectedZAs the third stimulus value signal.
In one embodiment, the conversion method further includes:
calculating and outputting an output gray-scale value of the white sub-pixel according to the normalized stimulus value signal of the white sub-pixel;
calculating and outputting an output gray-scale value of the red sub-pixel according to the normalized stimulus value signal of the red sub-pixel;
calculating and outputting an output gray-scale value of the green sub-pixel according to the normalized stimulus value signal of the green sub-pixel; and
and calculating and outputting an output gray-scale value of the blue sub-pixel according to the normalized stimulus value signal of the blue sub-pixel.
In this embodiment, the output gray-scale values of the white sub-pixel, the red sub-pixel, the green sub-pixel, and the blue sub-pixel are respectively:
wherein, the Wout、Rout、Gout、BoutAnd WoutThe output gray-scale values of the white sub-pixel, the red sub-pixel, the green sub-pixel, the blue sub-pixel and the white sub-pixel are respectively.
In one embodiment, before determining the first stimulus value signal, the second stimulus value signal, and the third stimulus value signal, the conversion method further includes:
acquiring a gray-scale value of a red sub-pixel, a gray-scale value of a green sub-pixel and a gray-scale value of a blue sub-pixel in each pixel point of a current frame picture; and
and respectively calculating a tristimulus value signal of the red sub-pixel, a tristimulus value signal of the green sub-pixel and a tristimulus value signal of the blue sub-pixel according to the gray-scale value of the red sub-pixel, the gray-scale value of the green sub-pixel and the gray-scale value of the blue sub-pixel.
Based on the same inventive concept, the present application further provides another method for converting three-color data into four-color data, please refer to fig. 9, where the method includes:
step S210, determining a first stimulus value signal with the largest influence on mixed color in the tristimulus value signals of the red sub-pixel in the nth pixel point, a second stimulus value signal with the largest influence on mixed color in the tristimulus value signals of the green sub-pixel, and a third stimulus value signal with the largest influence on mixed color in the tristimulus value signals of the blue sub-pixel;
step S220, determining a gain value corresponding to the nth pixel point according to the first stimulus value signal, the second stimulus value signal and the third stimulus value signal corresponding to the nth pixel point;
step S230, performing gain processing on the first stimulus value signal, the second stimulus value signal, and the third stimulus value signal by using the gain value in the nth pixel point, and determining a normalized stimulus value signal of the white subpixel according to a minimum value of the first stimulus value signal after the gain processing, the second stimulus value signal after the gain processing, and the third stimulus value signal after the gain processing;
step S240, calculating a tristimulus value signal corresponding to the white sub-pixel according to the normalized stimulus value signal of the white sub-pixel; and
step S250, calculating a difference value between the first stimulus value signal after the gain processing and an X stimulus value signal having a large relationship with a red stimulus value signal among the tristimulus values signals of the white sub-pixels as a normalized stimulus value signal of the red sub-pixels, calculating a difference value between the second stimulus value signal after the gain processing and a Y stimulus value signal having a large relationship with a green stimulus value signal among the tristimulus values signals of the white sub-pixels as a normalized stimulus value signal of the green sub-pixels, and calculating a difference value between the third stimulus value signal after the gain processing and a Z stimulus value signal having a large relationship with a blue stimulus value signal among the tristimulus values signals of the white sub-pixels as a normalized stimulus value signal of the blue sub-pixels;
wherein n is an integer greater than or equal to 1.
In the conversion method provided by the application, a gain value corresponding to a pixel point is determined according to the first stimulus value signal, the second stimulus value signal and the third stimulus value signal corresponding to the pixel point, then gain processing is performed by using the first stimulus value signal, the second stimulus value signal and the third stimulus value signal, and a normalized stimulus value signal of a white sub-pixel is determined according to a minimum value of the first stimulus value signal after gain processing, the second stimulus value signal after gain processing and the third stimulus value signal after gain processing, so that the normalized stimulus value signal of the white sub-pixel can be adjusted according to the gain value, and a gray level value of the white sub-pixel can be obtained by subsequent calculation according to the normalized stimulus value signal of the white sub-pixel, so that the gain of the white sub-pixel point is consistent with the gain of the pixel point, and the influence of the white sub-pixel is eliminated from the normalized stimulus value signals of the red sub-pixel, the green sub-pixel and the blue sub-pixel, so that the scheme not only improves the light penetration rate and the picture brightness, but also reduces the difference of the projection brightness of the white sub-pixel in each direction, and improves the condition of large visual angle color cast.
It is understood that the more the white sub-pixel occupies, the greater the influence on the decrease in color vividness. Conversely, the smaller the proportion of the white sub-pixel, the less the influence on the decrease in the color vividness, but the lower the overall image quality luminance. Therefore, it is necessary to control the ratio of the white sub-pixels to adjust the ratio of the white sub-pixels so that the image with higher color vividness in the three-color gamut can have the same better vividness in the four-color gamut when the color vividness varies with the input signal. In this embodiment, each pixel is gained by a dynamic gain value to control the proportion of the white sub-pixels, thereby improving the picture quality.
In one embodiment, the determining the gain value corresponding to the nth pixel point according to the first stimulus value signal, the second stimulus value signal and the third stimulus value signal comprises:
determining the maximum value and the minimum value in the first stimulation value signal, the second stimulation value signal and the third stimulation value signal corresponding to the nth pixel point;
judging whether the maximum value is more than 2 times of the minimum value;
if so, calculating a difference value between the maximum value and the minimum value, and taking a ratio of the maximum value to the difference value as a gain value of the pixel point;
otherwise, the gain value of the pixel point takes 2.
In this embodiment, the stimulus value signal R in the red sub-pixel tristimulus value signalXThe stimulus value signal with the maximum color mixing color in the red sub-pixel tri-stimulus value signals is the stimulus value signal RX。
Stimulus value signal G in the green sub-pixel tristimulus value signalYThe stimulus value signal with the maximum color mixture color in the green sub-pixel tri-stimulus value signals is the stimulus value signal GY。
Stimulus value signal B in the blue sub-pixel tristimulus value signalZThe stimulus value signal with the maximum color mixture color in the blue sub-pixel tri-stimulus value signals is the stimulus value signal BZ。
It is understood that the gain-processed first stimulation value signal in the present embodimentNo. R'XG (H, S) × RX, the gain-processed second stimulus value signal GY 'is G (H, S) × GY, and the gain-processed third stimulus value signal B'Z=G(H,S)×BZ. The stimulus value signal W of the white sub-pixelY=Min(R′X,G′Y,B′Z)。
In one embodiment, determining the normalized stimulus value signal for the white sub-pixel according to the minimum value of the gain-processed first stimulus value signal, the gain-processed second stimulus value signal, and the gain-processed third stimulus value signal includes:
determining a minimum value of the first stimulus value signal, the second stimulus value signal, and the third stimulus value signal; and
and calculating the product of the adjustment factor of the stimulus value signal of the white sub-pixel and the minimum value, and taking the product as the normalized stimulus value signal of the white sub-pixel.
In one embodiment, before determining the stimulus value signal of the white sub-pixel according to the minimum value of the first stimulus value signal, the second stimulus value signal, and the third stimulus value signal, the conversion method further includes:
determining the color corresponding to the pixel point according to the gray-scale value of the red sub-pixel, the gray-scale value of the green sub-pixel and the gray-scale value of the blue sub-pixel corresponding to the pixel point, and judging the hue and the saturation of the color corresponding to the pixel point; and
and determining an adjusting factor of the stimulus value signal of the white sub-pixel according to the hue and the saturation of the color corresponding to the pixel point.
In one embodiment, the calculating a tristimulus value signal corresponding to the white sub-pixel according to the normalized stimulus value signal of the white sub-pixel includes:
calculating the gray-scale value of the white sub-pixel according to the normalized stimulus value signal of the white sub-pixel; and
and carrying out normalization processing on the gray-scale value of the white sub-pixel, and determining the tristimulus value of the white sub-pixel.
In this embodiment, in the color gamut corresponding to the four-color data, the normalized stimulus value signal R ″ of the red sub-pixelX=R′X-W′XNormalized stimulus value signal G' of the green sub-pixelY=G′Y-W′YNormalized stimulus value signal B' of the blue sub-pixelZ=B′Z-W′Z。
In one embodiment, the conversion method further includes:
calculating and outputting an output gray-scale value of the white sub-pixel according to the normalized stimulus value signal of the white sub-pixel;
calculating and outputting an output gray-scale value of the red sub-pixel according to the normalized stimulus value signal of the red sub-pixel;
calculating and outputting an output gray-scale value of the green sub-pixel according to the normalized stimulus value signal of the green sub-pixel; and
and calculating and outputting an output gray-scale value of the blue sub-pixel according to the normalized stimulus value signal of the blue sub-pixel.
In this embodiment, the output gray-scale values of the white sub-pixel, the red sub-pixel, the green sub-pixel, and the blue sub-pixel are respectively:
wherein, the Wout、Rout、Gout、BoutAnd WoutThe output gray-scale values of the white sub-pixel, the red sub-pixel, the green sub-pixel, the blue sub-pixel and the white sub-pixel are respectively.
Based on the same inventive concept, the application also provides a device for converting three-color data into four-color data, which comprises a memory and at least one processor. The memory is for storing computer instructions. The at least one processor is communicatively coupled to the memory and configured to receive the computer instructions from the memory and execute, according to the computer instructions:
determining a first stimulus value signal which has the largest influence on mixed color in the tristimulus value signals of the red sub-pixels in each pixel point, a second stimulus value signal which has the largest influence on the mixed color in the tristimulus value signals of the green sub-pixels, and a third stimulus value signal which has the largest influence on the mixed color in the tristimulus value signals of the blue sub-pixels;
respectively determining a gain value corresponding to each pixel point according to the first stimulus value signal, the second stimulus value signal and the third stimulus value signal corresponding to each pixel point;
performing gain processing on the first stimulus value signal, the second stimulus value signal and the third stimulus value signal corresponding to each pixel point by using a gain value in each pixel point, and determining a normalized stimulus value signal of a white sub-pixel according to a minimum value among the first stimulus value signal after the gain processing, the second stimulus value signal after the gain processing and the third stimulus value signal after the gain processing;
calculating a tristimulus value signal corresponding to the white sub-pixel according to the normalized stimulus value signal of the white sub-pixel; and
calculating a difference value between the first stimulus value signal after the gain processing and an X stimulus value signal having a large relationship with a red stimulus value signal among the tristimulus values signals of the white sub-pixel to be used as a normalized stimulus value signal of the red sub-pixel, calculating a difference value between the second stimulus value signal after the gain processing and a Y stimulus value signal having a large relationship with a green stimulus value signal among the tristimulus values signals of the white sub-pixel to be used as a normalized stimulus value signal of the green sub-pixel, and calculating a difference value between the third stimulus value signal after the gain processing and a Z stimulus value signal having a large relationship with a blue stimulus value signal among the tristimulus values signals of the white sub-pixel to be used as a normalized stimulus value signal of the blue sub-pixel.
In one embodiment, the determining the gain value corresponding to each pixel point according to the first stimulus value signal, the second stimulus value signal, and the third stimulus value signal corresponding to each pixel point respectively includes:
determining a maximum value and a minimum value in the first stimulus value signal, the second stimulus value signal and the third stimulus value signal corresponding to each pixel point;
judging whether the maximum value is more than 2 times of the minimum value;
if so, calculating a difference value between the maximum value and the minimum value, and taking a ratio of the maximum value to the difference value as a gain value of the pixel point;
otherwise, the gain value of the pixel point takes 2.
In one embodiment, determining the normalized stimulus value signal for the white sub-pixel according to the minimum value of the gain-processed first stimulus value signal, the gain-processed second stimulus value signal, and the gain-processed third stimulus value signal includes:
determining a minimum value of the first stimulus value signal, the second stimulus value signal, and the third stimulus value signal; and
and calculating the product of the adjustment factor of the stimulus value signal of the white sub-pixel and the minimum value, and taking the product as the normalized stimulus value signal of the white sub-pixel.
In one embodiment, before the calculating the product of the adjustment factor of the stimulus value signal for the white sub-pixel and the minimum value, the at least one processor for executing the computer instructions is further for performing:
determining the color corresponding to each pixel point according to the gray-scale value of the red sub-pixel, the gray-scale value of the green sub-pixel and the gray-scale value of the blue sub-pixel corresponding to each pixel point, and judging the hue and the saturation of the color corresponding to each pixel point; and
and determining an adjusting factor of the normalized stimulus value signal of the white sub-pixel according to the hue and the saturation of the color corresponding to the pixel point.
In one embodiment, the at least one processor configured to execute the computer instructions is further configured to:
calculating and outputting an output gray-scale value of the white sub-pixel according to the normalized stimulus value signal of the white sub-pixel;
calculating and outputting an output gray-scale value of the red sub-pixel according to the normalized stimulus value signal of the red sub-pixel;
calculating and outputting an output gray-scale value of the green sub-pixel according to the normalized stimulus value signal of the green sub-pixel; and
and calculating and outputting an output gray-scale value of the blue sub-pixel according to the normalized stimulus value signal of the blue sub-pixel.
In summary, the present application provides a method and an apparatus for converting three-color data into four-color data. In the conversion method, according to the determined first stimulus value signal, the second stimulus value signal and the third stimulus value signal, the gain value corresponding to each pixel point is respectively determined; secondly, performing gain processing on the first stimulus value signal, the second stimulus value signal and the third stimulus value signal corresponding to each pixel point by using a gain value in each pixel point, and determining a normalized stimulus value signal of a white sub-pixel according to a minimum value of the first stimulus value signal after the gain processing, the second stimulus value signal after the gain processing and the third stimulus value signal after the gain processing; and then calculating a tri-stimulus value signal corresponding to the white sub-pixel according to the normalized stimulus value signal of the white sub-pixel, and determining the normalized stimulus value signals of the red sub-pixel and the green sub-pixel according to the tri-stimulus value signal corresponding to the white sub-pixel, the first stimulus value signal after gain processing, the second stimulus value signal after gain processing and the third stimulus value signal after gain processing. In the conversion method provided by the application, a gain value corresponding to each pixel point is respectively determined according to the first stimulus value signal, the second stimulus value signal and the third stimulus value signal corresponding to each pixel point, then gain processing is performed on the first stimulus value signal, the second stimulus value signal and the third stimulus value signal corresponding to the pixel point by using the gain value, and a normalized stimulus value signal of a white sub-pixel is determined according to a minimum value of the first stimulus value signal after gain processing, the second stimulus value signal after gain processing and the third stimulus value signal after gain processing, so that the normalized stimulus value signal of the white sub-pixel can be adjusted according to the gain value of the pixel point, so that a gray level value of the white sub-pixel can be obtained by subsequent calculation according to the normalized stimulus value signal of the white sub-pixel, the gain of the white sub-pixel point is consistent with the gain of the pixel point, and the influence of the white sub-pixel is eliminated by the normalized stimulus value signals of the red sub-pixel, the green sub-pixel and the blue sub-pixel, so that the scheme not only improves the light penetration rate and the picture quality, but also can reduce the difference of the projection brightness of the white sub-pixel in each direction, thereby improving the condition of large visual angle color cast.
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the claims. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.
Claims (9)
1. A method for converting three color data to four color data, comprising:
determining a first stimulus value signal which has the largest influence on mixed color in the tristimulus value signals of the red sub-pixels in each pixel point, a second stimulus value signal which has the largest influence on the mixed color in the tristimulus value signals of the green sub-pixels, and a third stimulus value signal which has the largest influence on the mixed color in the tristimulus value signals of the blue sub-pixels;
respectively determining a gain value corresponding to each pixel point according to the first stimulus value signal, the second stimulus value signal and the third stimulus value signal corresponding to each pixel point;
performing gain processing on the first stimulus value signal, the second stimulus value signal and the third stimulus value signal corresponding to each pixel point by using a gain value in each pixel point, and determining a normalized stimulus value signal of a white sub-pixel according to a minimum value among the first stimulus value signal after the gain processing, the second stimulus value signal after the gain processing and the third stimulus value signal after the gain processing;
calculating a tristimulus value signal corresponding to the white sub-pixel according to the normalized stimulus value signal of the white sub-pixel; and
calculating a difference value between the first stimulus value signal after the gain processing and an X stimulus value signal having a large relationship with a red stimulus value signal among the tristimulus values signals of the white sub-pixel to be used as a normalized stimulus value signal of the red sub-pixel, calculating a difference value between the second stimulus value signal after the gain processing and a Y stimulus value signal having a large relationship with a green stimulus value signal among the tristimulus values signals of the white sub-pixel to be used as a normalized stimulus value signal of the green sub-pixel, and calculating a difference value between the third stimulus value signal after the gain processing and a Z stimulus value signal having a large relationship with a blue stimulus value signal among the tristimulus values signals of the white sub-pixel to be used as a normalized stimulus value signal of the blue sub-pixel;
the determining the first stimulus value signal having the greatest influence on the mixed color in the tristimulus value signals of the red sub-pixels in each pixel point, the second stimulus value signal having the greatest influence on the mixed color in the tristimulus value signals of the green sub-pixels, and the third stimulus value signal having the greatest influence on the mixed color in the tristimulus value signals of the blue sub-pixels includes:
calculating the overlapping of a stimulus function X, a stimulus function Y and a stimulus function Z with the penetration spectrum of the red sub-pixel respectively, wherein the overlapping part of the penetration spectrum of the red sub-pixel and the stimulus function X is maximum, and determining a stimulus value signal R in the red sub-pixel tri-stimulus value signal according to the calculation resultXThe stimulus value signal with the largest influence on mixed color in the red sub-pixel tri-stimulus value signals RXAs the first stimulus value signal;
calculating the overlapping of a stimulus function X, a stimulus function Y and a stimulus function Z with the penetration spectrum of the green sub-pixel respectively, wherein the overlapping part of the penetration spectrum of the green sub-pixel and the stimulus function Y is the largest, and determining a stimulus value signal G in the tri-stimulus value signal of the green sub-pixel according to the calculation resultYThe stimulus value signal with the largest influence on mixed color in the green sub-pixel tri-stimulus value signals, and the stimulus value signal GYAs the second stimulus value signal; and
calculating the overlapping of a stimulus function X, a stimulus function Y and a stimulus function Z with the penetration spectrum of the blue sub-pixel respectively, wherein the overlapping part of the penetration spectrum of the blue sub-pixel and the stimulus function Z is maximum, and determining a stimulus value signal B in the tri-stimulus value signal of the blue sub-pixel according to the calculation resultZThe stimulus value signal which has the greatest influence on the mixed color in the blue sub-pixel tri-stimulus value signalsAnd the stimulus value signal BZAs the third stimulus value signal.
2. The conversion method according to claim 1, wherein the determining the gain value corresponding to each pixel point according to the first stimulus value signal, the second stimulus value signal and the third stimulus value signal corresponding to each pixel point respectively comprises:
determining a maximum value and a minimum value in the first stimulation value signal, the second stimulation value signal and the third stimulation value signal corresponding to the pixel point;
judging whether the maximum value is more than 2 times of the minimum value;
if so, calculating a difference value between the maximum value and the minimum value, and taking a ratio of the maximum value to the difference value as a gain value of the pixel point;
otherwise, the gain value of the pixel point takes 2.
3. The conversion method according to claim 1, wherein determining a normalized stimulus value signal for a white sub-pixel based on a minimum of the gain-processed first stimulus value signal, the gain-processed second stimulus value signal, and the gain-processed third stimulus value signal comprises:
determining a minimum value of the first stimulus value signal, the second stimulus value signal, and the third stimulus value signal; and
and calculating the product of the adjustment factor of the stimulus value signal of the white sub-pixel and the minimum value, and taking the product as the normalized stimulus value signal of the white sub-pixel.
4. The conversion method of claim 3, wherein prior to said calculating the product of the adjustment factor of the stimulus value signal for the white sub-pixel and the minimum value, the conversion method further comprises:
determining the color corresponding to each pixel point according to the gray-scale value of the red sub-pixel, the gray-scale value of the green sub-pixel and the gray-scale value of the blue sub-pixel corresponding to each pixel point, and judging the hue and the saturation of the color corresponding to each pixel point; and
and determining an adjusting factor of the normalized stimulus value signal of the white sub-pixel according to the hue and the saturation of the color corresponding to the pixel point.
5. The conversion method according to claim 3 or 4, characterized in that the adjustment factor has a value in the range of 0.8-1.
6. The conversion method according to claim 1, wherein said calculating the tristimulus value signal corresponding to the white sub-pixel according to the normalized stimulus value signal of the white sub-pixel comprises:
calculating the gray-scale value of the white sub-pixel according to the normalized stimulus value signal of the white sub-pixel; and
and carrying out normalization processing on the gray-scale value of the white sub-pixel, and determining the tristimulus value of the white sub-pixel.
7. The conversion method of claim 1, further comprising:
calculating and outputting an output gray-scale value of the white sub-pixel according to the normalized stimulus value signal of the white sub-pixel;
calculating and outputting an output gray-scale value of the red sub-pixel according to the normalized stimulus value signal of the red sub-pixel;
calculating and outputting an output gray-scale value of the green sub-pixel according to the normalized stimulus value signal of the green sub-pixel; and
and calculating and outputting an output gray-scale value of the blue sub-pixel according to the normalized stimulus value signal of the blue sub-pixel.
8. A method for converting three color data to four color data, comprising:
determining a first stimulus value signal which has the largest influence on mixed color in the tristimulus value signals of the red sub-pixel in the nth pixel point, a second stimulus value signal which has the largest influence on the mixed color in the tristimulus value signals of the green sub-pixel, and a third stimulus value signal which has the largest influence on the mixed color in the tristimulus value signals of the blue sub-pixel; wherein n is an integer greater than or equal to 1;
determining a gain value corresponding to the nth pixel point according to the first stimulus value signal, the second stimulus value signal and the third stimulus value signal corresponding to the nth pixel point;
performing gain processing on the first stimulus value signal, the second stimulus value signal and the third stimulus value signal by using a gain value in the nth pixel point, and determining a normalized stimulus value signal of the white sub-pixel according to a minimum value of the first stimulus value signal after the gain processing, the second stimulus value signal after the gain processing and the third stimulus value signal after the gain processing;
calculating a tristimulus value signal corresponding to the white sub-pixel according to the normalized stimulus value signal of the white sub-pixel; and
calculating a difference value between the first stimulus value signal after the gain processing and an X stimulus value signal having a large relationship with a red stimulus value signal among the tristimulus values signals of the white sub-pixel to be used as a normalized stimulus value signal of the red sub-pixel, calculating a difference value between the second stimulus value signal after the gain processing and a Y stimulus value signal having a large relationship with a green stimulus value signal among the tristimulus values signals of the white sub-pixel to be used as a normalized stimulus value signal of the green sub-pixel, and calculating a difference value between the third stimulus value signal after the gain processing and a Z stimulus value signal having a large relationship with a blue stimulus value signal among the tristimulus values signals of the white sub-pixel to be used as a normalized stimulus value signal of the blue sub-pixel;
the determining the first stimulus value signal having the greatest influence on the mixed color in the tristimulus value signals of the red sub-pixel in the nth pixel point, the second stimulus value signal having the greatest influence on the mixed color in the tristimulus value signals of the green sub-pixel, and the third stimulus value signal having the greatest influence on the mixed color in the tristimulus value signals of the blue sub-pixel includes:
calculating the overlapping of a stimulus function X, a stimulus function Y and a stimulus function Z with the penetration spectrum of the red sub-pixel respectively, wherein the overlapping part of the penetration spectrum of the red sub-pixel and the stimulus function X is maximum, and determining a stimulus value signal R in the red sub-pixel tri-stimulus value signal according to the calculation resultXThe stimulus value signal with the largest influence on mixed color in the red sub-pixel tri-stimulus value signals RXAs the first stimulus value signal;
calculating the overlapping of a stimulus function X, a stimulus function Y and a stimulus function Z with the penetration spectrum of the green sub-pixel respectively, wherein the overlapping part of the penetration spectrum of the green sub-pixel and the stimulus function Y is the largest, and determining a stimulus value signal G in the tri-stimulus value signal of the green sub-pixel according to the calculation resultYThe stimulus value signal with the largest influence on mixed color in the green sub-pixel tri-stimulus value signals, and the stimulus value signal GYAs the second stimulus value signal; and
calculating the overlapping of a stimulus function X, a stimulus function Y and a stimulus function Z with the penetration spectrum of the blue sub-pixel respectively, wherein the overlapping part of the penetration spectrum of the blue sub-pixel and the stimulus function Z is maximum, and determining a stimulus value signal B in the tri-stimulus value signal of the blue sub-pixel according to the calculation resultZThe stimulus value signal with the largest influence on mixed color in the blue sub-pixel tri-stimulus value signals is selected as the stimulus value signal BZAs the third stimulus value signal
Wherein n is an integer greater than or equal to 1.
9. A device for converting three-color data to four-color data, said device comprising:
a memory for storing computer instructions; and
at least one processor, communicatively coupled to the memory, for receiving the computer instructions in the memory and performing the method of converting three-color data to four-color data according to any one of claims 1-8 according to the computer instructions.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811544856.XA CN109410877B (en) | 2018-12-17 | 2018-12-17 | Method and device for converting three-color data into four-color data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811544856.XA CN109410877B (en) | 2018-12-17 | 2018-12-17 | Method and device for converting three-color data into four-color data |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109410877A CN109410877A (en) | 2019-03-01 |
CN109410877B true CN109410877B (en) | 2021-02-26 |
Family
ID=65459514
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811544856.XA Active CN109410877B (en) | 2018-12-17 | 2018-12-17 | Method and device for converting three-color data into four-color data |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109410877B (en) |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4109702B1 (en) * | 2007-02-08 | 2008-07-02 | 株式会社イクス | Image quality adjustment apparatus, image quality adjustment method, and image quality adjustment program |
CN101350171B (en) * | 2008-09-12 | 2012-01-25 | 友达光电股份有限公司 | Method for displaying color of four-color display |
CN102402937B (en) * | 2011-12-15 | 2014-02-26 | 深圳市华星光电技术有限公司 | Color adjustment device, color adjustment method and display |
CN104078020B (en) * | 2014-07-17 | 2016-08-17 | 深圳市华星光电技术有限公司 | Liquid crystal indicator, four color transducers and RGB data are to the conversion method of RGBW data |
CN104809994B (en) * | 2015-04-24 | 2017-09-29 | 青岛海信电器股份有限公司 | A kind of RGBW types four primary display GTG Combination conversion method |
US10224004B2 (en) * | 2017-02-06 | 2019-03-05 | Mediatek, Inc. | Automatic white balance based on surface reflection decomposition |
CN110691227B (en) * | 2018-07-05 | 2024-04-09 | 华为技术有限公司 | Video signal processing method and device |
-
2018
- 2018-12-17 CN CN201811544856.XA patent/CN109410877B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN109410877A (en) | 2019-03-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109377961B (en) | Method and device for converting three-color data into four-color data | |
US10839759B2 (en) | Signal processing method and display device | |
US10446095B2 (en) | Image processing method of display device, image processing structure, and display device | |
US11270657B2 (en) | Driving method, driving apparatus, display device and computer readable medium | |
US9886882B2 (en) | Grayscale compensation method | |
WO2019238071A1 (en) | Colour gamut conversion method, colour gamut converter, display apparatus, image signal conversion method, computer device, and non-transitory storage medium | |
CN108053797B (en) | driving method and driving device of display device | |
CN107863083B (en) | Driving method and driving device of display device | |
WO2020103242A1 (en) | Array substrate and display panel | |
CN107978289B (en) | Driving method and driving device of display device | |
CN109166558B (en) | Pixel signal conversion method and device | |
CN109285515B (en) | Pixel signal conversion method and device | |
US10204568B2 (en) | Driving methods and driving devices of display panels | |
CN107863084B (en) | Driving method and driving device of display device | |
WO2020103244A1 (en) | Pixel drive method, pixel drive apparatus, and computer device | |
US20210183323A1 (en) | Driving method of display device and display device | |
CN109410874B (en) | Method and device for converting three-color data into four-color data | |
US20190228720A1 (en) | Backlight adjustment method of display panel, backlight adjustment device, and display device | |
CN109215602B (en) | Pixel signal conversion method and device | |
CN111862888B (en) | Four-color low-blue-light wide-color-gamut display method, device, system and storage medium | |
CN109377962B (en) | Method and device for converting three-color data into four-color data | |
CN112884661A (en) | Image processing apparatus, display apparatus, computer-readable storage medium, and image processing method | |
CN109461418B (en) | Method and device for converting three-color data into four-color data | |
CN109410877B (en) | Method and device for converting three-color data into four-color data | |
CN109410876B (en) | Method and device for converting three-color data into four-color data |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |