Display processing method, device, display device and readable storage medium
By converting the video signals input from professional-grade monitors YUV format and compensating the chromaticity, the problem of low color saturation of low grayscale pixels is solved, significantly improving the display effect.
Patent Information
- Application Number
- CN202210110737.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-01-29
- Publication Date
- 2025-05-16
- Estimated Expiration
- 2042-01-29
AI Technical Summary
Professional-grade displays with high display effects have low color saturation problems when displaying low grayscale pixels.
By converting the input RGB video signal into a YUV video signal, and compensating the first chromaticity U and the second chromaticity V of the pixel during the conversion process, the compensation amount of the low-brightness pixel is greater than that of the high-brightness pixel, thereby improving the color saturation of the pixel.
Improves the color saturation of low grayscale pixels and improves the display effect, especially on professional-grade displays with high display effects.
Smart Images

Figure CN114257774B_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present invention relate to the field of display technology, and in particular, to a display processing method, device, display device, and readable storage medium. Background Art
[0002] Professional-grade monitors are needed in fields such as broadcasting and television. These professional-grade monitors have more stringent requirements on image quality. However, for LCD display devices, due to their own driving characteristics, low grayscale pixels will have the problem of low color saturation. This problem is more obvious on professional-grade monitors with high display effects. Summary of the invention
[0003] The embodiments of the present invention provide a display processing method, device, display device and readable storage medium to solve the problem that a professional-grade display with high display effect may have low color saturation when displaying low grayscale pixels.
[0004] To solve the above problems, the present invention is achieved as follows:
[0005] In a first aspect, an embodiment of the present invention provides a display processing method, the method comprising the following steps:
[0006] Obtaining an input video signal, wherein the format of the input video signal is RGB format;
[0007] Converting the input video signal into a YUV video signal, wherein when converting the input video signal into a video signal in a YUV format, compensating for a first chromaticity U and a second chromaticity V of each pixel;
[0008] Performing normalization processing on the YUV video signal;
[0009] Convert the normalized YUV video signal to an RGB output video signal.
[0010] In some embodiments, converting the input video signal into a YUV video signal comprises:
[0011] In the process of converting the input video signal into a YUV video signal, the first chromaticity U and the second chromaticity V of the pixel are compensated according to the brightness Y of the pixel, and the compensation amount of the first chromaticity U of the pixel with low brightness is greater than the compensation amount of the first chromaticity U of the pixel with high brightness, and / or the compensation amount of the second chromaticity V of the pixel with low brightness is greater than the compensation amount of the second chromaticity V of the pixel with high brightness.
[0012] In some embodiments, converting the input video signal into a YUV video signal comprises:
[0013] The brightness Y, the first chrominance U and the second chrominance V of the YUV video signal are calculated by the following formula:
[0014] Y = k1*R+k2*G+k3*B;
[0015] U = (lgN / lgY)*(BY) / k4;
[0016] V = (lgN / lgY)*(RY) / k5;
[0017] Among them, k1, k2, k3, k4 and k5 are preset conversion constants; R is the red channel component of the input video signal, G is the green channel component of the input video signal, B is the red and blue channel components of the input video signal; N is a preset compensation constant.
[0018] In some embodiments, converting the input video signal into a YUV video signal comprises:
[0019] The brightness Y, the first chrominance U and the second chrominance V of the YUV video signal are calculated by the following formula:
[0020] Y = k1*R+k2*G+k3*B;
[0021] If Y is less than the preset brightness threshold, then
[0022] U = (lgN / lgY)*(BY) / k4;
[0023] V = (lgN / lgY)*(RY) / k5;
[0024] If Y is not less than the preset brightness threshold, then
[0025] U = K*(BY) / k4;
[0026] V = K*(RY) / k5;
[0027] Among them, k1, k2, k3, k4 and k5 are preset conversion constants; R is the red channel component of the input video signal, G is the green channel component of the input video signal, and B is the red and blue channel components of the input video signal; N is a preset compensation constant, and K is a compensation coefficient determined according to the preset brightness threshold, the compensation constant and the brightness Y of the pixel.
[0028] In some embodiments, K is determined by the following formula:
[0029]
[0030] Wherein, the brightness Y is represented by 8-byte bit depth, and M1 is a preset brightness threshold corresponding to the 8-byte bit depth brightness format; or
[0031]
[0032] The brightness Y is represented by 10-byte data, and M2 is a preset brightness threshold corresponding to the 10-byte bit depth brightness format.
[0033] In some embodiments, the brightness Y is represented by 8-byte bit depth and the value of N is 240 to 255, or the brightness Y is represented by 10-byte data and the value of N is 900 to 1023.
[0034] In some embodiments, converting the input video signal into a YUV video signal further comprises:
[0035] The calculated brightness Y is converted into integer data, and the calculated first chromaticity U and the second chromaticity V are first converted into floating point data and then converted into integer data.
[0036] In a second aspect, an embodiment of the present invention provides a display processing device, including:
[0037] An input video signal acquisition module is used to acquire an input video signal, wherein the format of the input video signal is RGB format;
[0038] A compensation conversion module, used for converting the input video signal into a YUV video signal, wherein when converting the input video signal into a video signal in a YUV format, a first chromaticity U and a second chromaticity V of each pixel are compensated;
[0039] A normalization processing module, used for performing normalization processing on the YUV video signal;
[0040] The conversion output module is used to convert the normalized YUV video signal into an RGB output video signal.
[0041] In a third aspect, an embodiment of the present invention further provides a display device, comprising: a display, a memory, a processor, and a program stored in the memory and executable on the processor; the processor is used to read the program in the memory to implement the steps of the method described in the first aspect above.
[0042] In a fourth aspect, an embodiment of the present invention further provides a readable storage medium for storing a program, wherein the program, when executed by a processor, implements the steps in the method described in the first aspect.
[0043] In an embodiment of the present invention, a display processing method includes obtaining an input video signal, wherein the format of the input video signal is RGB format; converting the input video signal into a YUV video signal, wherein when converting the input video signal into a video signal in YUV format, compensating the first chromaticity U and the second chromaticity V of each pixel; normalizing the YUV video signal; and converting the normalized YUV video signal into an RGB output video signal. In the technical solution of this embodiment, in the process of converting the input video signal into a YUV video signal, the first chromaticity U and the second chromaticity V of each pixel are compensated, that is, the color components are compensated, so that the saturation of the pixel color can be improved, which helps to improve the display effect. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative labor.
[0045] Figure 1 is a flow chart of a display processing method provided by an embodiment of the present invention;
[0046] Figure 2 is another flow chart of the display processing method provided by an embodiment of the present invention;
[0047] Figure 3 is a schematic diagram of the structure of a display processing device provided by an embodiment of the present invention;
[0048] Figure 4 is an accuracy curve of a display in the related art;
[0049] Figure 5 is the accuracy curve of the display in the embodiment of the present invention;
[0050] Figure 6 It is a schematic diagram of the structure of a display device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0051] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0052] The terms "first", "second" etc. in the embodiments of the present invention are used to distinguish similar objects, and need not be used to describe a specific order or sequential order. In addition, the terms "include" and "have" and any variation thereof are intended to cover non-exclusive inclusions, for example, the process, method, system, product or equipment comprising a series of steps or units need not be limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or equipment. In addition, "and / or" is used in the present application to represent at least one of the connected objects, such as A and / or B and / or C, which represents 7 situations including single A, single B, single C, and A and B all exist, B and C all exist, A and C all exist, and A, B and C all exist.
[0053] An embodiment of the present invention provides a display processing method.
[0054] The technical solution of this embodiment is applied to a liquid crystal display device, which can be, for example, a liquid crystal display device with high display effect, such as a stacked screen display device. A stacked screen display device refers to a device that uses a stacked dual liquid crystal panel to display images, wherein one liquid crystal panel is used to achieve pixel-level backlight control, and the other liquid crystal panel is used to control the display of color images. In this way, the display contrast can be greatly improved to meet the high-definition display requirements in the fields of medical treatment, broadcasting, and surveillance.
[0055] In one embodiment, Figure 1 and Figure 2 As shown, the display processing method includes the following steps:
[0056] Step 101: Obtain an input video signal.
[0057] In the technical solution of this embodiment, the format of the input video signal is RGB (red, green and blue) format, and the three components R, G and B correspond to the color components of the three color channels of red channel, green channel and blue channel respectively.
[0058] Step 102: Convert the input video signal into a YUV video signal.
[0059] In the technical solution of this embodiment, when the input video signal is converted into a video signal in YUV format, the first chromaticity U and the second chromaticity V of each pixel are compensated, the first chromaticity U corresponds to the blue chromaticity component, and the second chromaticity V corresponds to the red chromaticity component. It should be understood that the signal formats of the RGB format and the YUV format in this embodiment can refer to the relevant technology, and no further limitation and description are made here.
[0060] In some embodiments, step 102 specifically includes:
[0061] In the process of converting the input video signal into a YUV video signal, the first chromaticity U and the second chromaticity V of the pixel are compensated according to the brightness Y of the pixel, and the compensation amount of the first chromaticity U of the pixel with low brightness is greater than the compensation amount of the first chromaticity U of the pixel with high brightness, and / or the compensation amount of the second chromaticity V of the pixel with low brightness is greater than the compensation amount of the second chromaticity V of the pixel with high brightness.
[0062] In this embodiment, the first chromaticity U and the second chromaticity V of low brightness (low grayscale) pixels are compensated. It should be understood that for high brightness pixels, their color saturation is relatively accurate. If the low brightness and high brightness pixels are compensated at the same time with the same ratio or compensation amount, the high brightness pixels will be displayed abnormally due to excessive saturation.
[0063] In this embodiment, the first chromaticity U and the second chromaticity V of the low-brightness pixel are compensated, and the compensation amount is relatively high, so that the saturation of the low-brightness pixel can be improved.
[0064] Step 103: normalize the YUV video signal.
[0065] After the input video signal is converted into a YUV video signal, the YUV video signal is further normalized, and the normalization step specifically includes one or more of brightness normalization, contrast normalization, and color saturation normalization. The normalization process itself can refer to the relevant technology and is not further limited here.
[0066] Step 104: Convert the normalized YUV video signal into an RGB output video signal.
[0067] During implementation, the RGB output video signal can be compensated and corrected as needed, such as performing Gamma correction according to the color temperature, and finally, the display device is controlled to display the picture according to the compensated and corrected RGB output video signal.
[0068] In the technical solution of this embodiment, in the process of converting the input video signal into a YUV video signal, the first chromaticity U and the second chromaticity V of each pixel are compensated, that is, the color component is compensated, so as to improve the saturation of the pixel color and help improve the display effect.
[0069] In some embodiments, step 102 includes:
[0070] The brightness Y, the first chrominance U and the second chrominance V of the YUV video signal are calculated by the following formula:
[0071] Y = k1*R+k2*G+k3*B;
[0072] U = (lgN / lgY)*(BY) / k4;
[0073] V = (lgN / lgY)*(RY) / k5;
[0074] In this embodiment, k1, k2, k3, k4 and k5 are preset conversion constants. When converting an input video signal in RGB format into a YUV video signal based on different conversion standards, k1, k2, k3, k4 and k5 can select corresponding values.
[0075] Exemplarily, based on a conversion method, the above formula can be specifically written as:
[0076] Y=0.2627*R+0.6780*G+0.0593*B;
[0077] U = (lgN / lgY)*(BY) / 1.8814;
[0078] V=(lgN / lgY)*(RY) / 1.4746.
[0079] For example, based on another conversion method, the above formula can be specifically written as:
[0080] Y=0.299*R+0.587*G+0.114*B;
[0081] U = (lgN / lgY)*(BY) / 1.772;
[0082] V = (lgN / lgY)*(RY) / 1.402.
[0083] It can be understood that the above k1, k2, k3, k4 and k5 are all constants that can be determined according to different conversion standards. Therefore, in this embodiment, no further limitation is made on the values of k1, k2, k3, k4 and k5.
[0084] Compared with the related art, the present embodiment introduces a conversion coefficient (lgN / lgY) in the conversion process. The conversion coefficient can be understood as the logarithm of N with brightness Y as the base (log Y N).
[0085] R is the red channel component of the input video signal, G is the green channel component of the input video signal, B is the red and blue channel components of the input video signal; and N is a preset compensation constant.
[0086] In this embodiment, when the format of brightness Y is 8 bytes (bit, or bit) deep, the value of N is 240 to 255. Exemplarily, in one embodiment, when the value of N is 250, it has a better compensation effect.
[0087] It can be understood that the above conversion coefficient is the logarithm of N with brightness Y as the base (log Y N), the value range of Y is 0 to 255.
[0088] The brightness Y is represented by 8-byte bit depth and the value of N is 240 to 255, or the brightness Y is represented by 10-byte data and the value of N is 900 to 1023. In other words, the value of N is a constant that is relatively close to the maximum value of the brightness Y.
[0089] When the value of N is large, such as 250, and the value of Y is small, such as when the value of Y is greater than 1 and less than 20, log Y The value of N is relatively large, and when the value of Y is greater than 20, log Y The value of N decreases rapidly, so that for low-grayscale pixels, a larger conversion coefficient can be provided for compensation, while for high-grayscale pixels, a smaller conversion coefficient that is slightly greater than 1 can be provided.
[0090] It can be understood that in this embodiment, by introducing the conversion coefficient to compensate for pixels in the format conversion process, compared with the related art, the amount of calculation is not significantly increased, and the format conversion process is consistent with the related art. It is only necessary to adjust the transfer function in the format conversion process, so that each pixel can be compensated and the chromaticity pixel information is convolved with the associated brightness information.
[0091] During the compensation process, it is possible to cleverly provide a larger compensation amount for low-brightness pixels for significantly effective compensation, while only making slight adjustments to high-grayscale pixels. While improving the saturation of low-grayscale pixels, it also avoids affecting the normal display effect of high-brightness pixels.
[0092] In some embodiments, converting the input video signal into a YUV video signal comprises:
[0093] The brightness Y, the first chrominance U and the second chrominance V of the YUV video signal are calculated by the following formula:
[0094] Y = k1*R+k2*G+k3*B;
[0095] If Y is less than the preset brightness threshold, then
[0096] U = (lgN / lgY)*(BY) / k4;
[0097] V = (lgN / lgY)*(RY) / k5;
[0098] If Y is not less than the preset brightness threshold, then
[0099] U = K*(BY) / k4;
[0100] V = K*(RY) / k5;
[0101] Among them, k1, k2, k3, k4 and k5 are preset conversion constants; R is the red channel component of the input video signal, G is the green channel component of the input video signal, and B is the red and blue channel components of the input video signal; N is a preset compensation constant, and K is a compensation coefficient determined according to the preset brightness threshold, the compensation constant and the brightness Y of the pixel.
[0102] In the technical solution of this embodiment, a preset brightness threshold is further set, and pixels with brightness less than the preset brightness threshold are compensated.
[0103] For pixels whose brightness is greater than the preset brightness threshold, a conversion coefficient is introduced for conversion, which can also provide a larger compensation amount for low-brightness pixels for significantly and effectively compensation, while no compensation is performed for high-grayscale pixels. While improving the saturation of low-grayscale pixels, it also avoids affecting the normal display effect of high-brightness pixels.
[0104] In some embodiments, K is determined by the following formula:
[0105]
[0106] Wherein, the brightness Y is represented by 8-byte bit depth, and M1 is a preset brightness threshold corresponding to the 8-byte bit depth brightness format; or
[0107]
[0108] The brightness Y is represented by 10-byte data, and M2 is a preset brightness threshold corresponding to the 10-byte bit depth brightness format.
[0109] In the calculation formula of the first K, since M1 is less than 255, the denominator is greater than 0. Taking N as 250 as an example, N is a value close to 255, and M1 is less than N, then log M1 N is greater than 1, so the denominator is less than 0. In this way, it can be understood that the greater the brightness Y of the pixel, the smaller the K value, that is, the smaller the compensation amount for the first chromaticity U and the second chromaticity V.
[0110] Obviously, the calculation principle of the other formula for calculating K mentioned above is the same.
[0111] In some embodiments, converting the input video signal into a YUV video signal further comprises:
[0112] The calculated brightness Y is converted into integer data, and the calculated first chromaticity U and the second chromaticity V are first converted into floating point data and then converted into integer data.
[0113] For example, when calculating the brightness Y, Y=k1*R+k2*G+k3*B is specifically adjusted as follows:
[0114] Y = (int)(k1*R+k2*G+k3*B);
[0115] In this embodiment, (int) represents a function for converting into integer data, which can convert the calculated brightness Y into integer data used by the display device.
[0116] When calculating the first chromaticity U, U = (lgN / lgY)*(BY) / k4 is specifically adjusted to:
[0117] U=(int)((float)(lgN / lgY)*(BY) / k4); other formulas are also adjusted accordingly.
[0118] Wherein, (float) represents a function for converting to floating-point data. By performing floating-point data conversion, more accurate values of the first chromaticity U and the second chromaticity V can be calculated. Further performing integer data conversion can obtain integer data suitable for use by a display device.
[0119] An embodiment of the present invention provides a display processing device.
[0120] like Figure 3 As shown, in one embodiment, the display processing device 300 includes:
[0121] An input video signal acquisition module 301 is used to acquire an input video signal, wherein the format of the input video signal is RGB format;
[0122] A compensation conversion module 302, configured to convert the input video signal into a YUV video signal, wherein when converting the input video signal into a video signal in a YUV format, the first chromaticity U and the second chromaticity V of each pixel are compensated;
[0123] A normalization processing module 303, used for performing normalization processing on the YUV video signal;
[0124] The conversion and output module 304 is used to convert the normalized YUV video signal into an RGB output video signal.
[0125] In some embodiments, the compensation conversion module 302 is specifically used to compensate the first chromaticity U and the second chromaticity V of the pixel according to the brightness Y of the pixel during the process of converting the input video signal into a YUV video signal, wherein the compensation amount of the first chromaticity U of the pixel with low brightness is greater than the compensation amount of the first chromaticity U of the pixel with high brightness, and / or the compensation amount of the second chromaticity V of the pixel with low brightness is greater than the compensation amount of the second chromaticity V of the pixel with high brightness.
[0126] In some embodiments, the compensation conversion module 302 is specifically configured to calculate the brightness Y, the first chromaticity U and the second chromaticity V of the YUV video signal by the following formula:
[0127] Y = k1*R+k2*G+k3*B;
[0128] U = (lgN / lgY)*(BY) / k4;
[0129] V = (lgN / lgY)*(RY) / k5;
[0130] Among them, k1, k2, k3, k4 and k5 are preset conversion constants; R is the red channel component of the input video signal, G is the green channel component of the input video signal, B is the red and blue channel components of the input video signal; N is a preset compensation constant.
[0131] In some embodiments, the compensation conversion module 302 is specifically configured to calculate the brightness Y, the first chromaticity U and the second chromaticity V of the YUV video signal by the following formula:
[0132] Y = k1*R+k2*G+k3*B;
[0133] If Y is less than the preset brightness threshold, then
[0134] U = (lgN / lgY)*(BY) / k4;
[0135] V = (lgN / lgY)*(RY) / k5;
[0136] If Y is not less than the preset brightness threshold, then
[0137] U = K*(BY) / k4;
[0138] V = K*(RY) / k5;
[0139] Among them, k1, k2, k3, k4 and k5 are preset conversion constants; R is the red channel component of the input video signal, G is the green channel component of the input video signal, and B is the red and blue channel components of the input video signal; N is a preset compensation constant, and K is a compensation coefficient determined according to the preset brightness threshold, the compensation constant and the brightness Y of the pixel.
[0140] In some embodiments, K is determined by the following formula:
[0141]
[0142] Wherein, the brightness Y is represented by 8-byte bit depth, and M1 is a preset brightness threshold corresponding to the 8-byte bit depth brightness format; or
[0143]
[0144] The brightness Y is represented by 10-byte data, and M2 is a preset brightness threshold corresponding to the 10-byte bit depth brightness format.
[0145] In some embodiments, the brightness Y is represented by 8-byte bit depth and the value of N is 240 to 255, or the brightness Y is represented by 10-byte data and the value of N is 900 to 1023.
[0146] In some embodiments, the compensation conversion module 302 is further used to:
[0147] The calculated brightness Y is converted into integer data, and the calculated first chromaticity U and the second chromaticity V are first converted into floating point data and then converted into integer data.
[0148] The display processing device 300 of this embodiment can implement each step of the above-mentioned display processing method embodiment and can achieve basically the same technical effects, which will not be described in detail here.
[0149] See also Figure 4 and Figure 5 , Figure 4 The accuracy curve (ACC) of the display in the related art, Figure 5 is the accuracy curve of the display in the embodiment of the present application, wherein the horizontal axis is the grayscale and the vertical axis is the accuracy. Figure 4 It can be seen that in the related art, the pixel grayscale can be smooth and constant only when it is above about L60, while the technical solution of this embodiment can achieve smoothness and constancy at about L10, thereby improving the display effect.
[0150] The embodiment of the present invention also provides a display device. Figure 6, the display device may include a processor 601 , a memory 602 , and a program 6021 stored in the memory 602 and executable on the processor 601 .
[0151] When the display device is a terminal, the program 6021 can be executed by the processor 601 to achieve Figure 1 Any steps in the corresponding method embodiments and achieving the same beneficial effects will not be repeated here.
[0152] When the display device is a network-side device, the program 6021 can be executed by the processor 601 to achieve Figure 6 Any steps in the corresponding method embodiments and achieving the same beneficial effects will not be repeated here.
[0153] Those skilled in the art will appreciate that all or part of the steps of implementing the above-mentioned embodiment method can be completed by hardware associated with program instructions, and the program can be stored in a readable medium.
[0154] The embodiment of the present invention further provides a readable storage medium, wherein a computer program is stored on the readable storage medium, and when the computer program is executed by a processor, the above Figure 1 Any steps in the corresponding method embodiments can achieve the same technical effect and will not be repeated here to avoid repetition.
[0155] The storage medium may be a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0156] The above is a preferred implementation of the embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A display processing method, characterized in that: The method comprises the following steps: Obtaining an input video signal, wherein the format of the input video signal is RGB format; Converting the input video signal into a YUV video signal, wherein when converting the input video signal into a video signal in a YUV format, compensating for a first chromaticity U and a second chromaticity V of each pixel; Performing normalization processing on the YUV video signal; Convert the normalized YUV video signal into an RGB output video signal; The step of converting the input video signal into a YUV video signal comprises: The brightness Y, the first chrominance U and the second chrominance V of the YUV video signal are calculated by the following formula: Y = k1*R+k2*G+k3*B; U = (lgN / lgY)*(BY) / k4; V = (lgN / lgY)*(RY) / k5; Wherein, k1, k2, k3, k4 and k5 are preset conversion constants; R is the red channel component of the input video signal, G is the green channel component of the input video signal, and B is the red and blue channel components of the input video signal; N is a preset compensation constant; or The step of converting the input video signal into a YUV video signal comprises: The brightness Y, the first chrominance U and the second chrominance V of the YUV video signal are calculated by the following formula: Y = k1*R+k2*G+k3*B; If Y is less than the preset brightness threshold, then U = (lgN / lgY)*(BY) / k4; V = (lgN / lgY)*(RY) / k5; If Y is not less than the preset brightness threshold, then U = K*(BY) / k4; V = K*(RY) / k5; Among them, k1, k2, k3, k4 and k5 are preset conversion constants; R is the red channel component of the input video signal, G is the green channel component of the input video signal, and B is the red and blue channel components of the input video signal; N is a preset compensation constant, and K is a compensation coefficient determined according to the preset brightness threshold, the compensation constant and the brightness Y of the pixel.
2. The method according to claim 1, characterized in that The step of converting the input video signal into a YUV video signal comprises: In the process of converting the input video signal into a YUV video signal, the first chromaticity U and the second chromaticity V of the pixel are compensated according to the brightness Y of the pixel, and the compensation amount of the first chromaticity U of the pixel with low brightness is greater than the compensation amount of the first chromaticity U of the pixel with high brightness, and / or the compensation amount of the second chromaticity V of the pixel with low brightness is greater than the compensation amount of the second chromaticity V of the pixel with high brightness.
3. The method according to claim 1, characterized in that The K is determined by the following formula: Wherein, the brightness Y is represented by 8-byte bit depth, and M1 is a preset brightness threshold corresponding to the 8-byte bit depth brightness format; or The brightness Y is represented by 10-byte data, and M2 is a preset brightness threshold corresponding to the 10-byte bit depth brightness format.
4. The method according to claim 1, characterized in that The brightness Y is represented by 8 bytes of bit depth and the value of N is 240 to 255, or the brightness Y is represented by 10 bytes of data and the value of N is 900 to 1023.
5. The method according to claim 1, characterized in that The step of converting the input video signal into a YUV video signal further comprises: The calculated brightness Y is converted into integer data, and the calculated first chromaticity U and the second chromaticity V are first converted into floating point data and then converted into integer data.
6. A display processing device, characterized in that: include: An input video signal acquisition module is used to acquire an input video signal, wherein the format of the input video signal is RGB format; A compensation conversion module, used for converting the input video signal into a YUV video signal, wherein when converting the input video signal into a video signal in a YUV format, a first chromaticity U and a second chromaticity V of each pixel are compensated; A normalization processing module, used for performing normalization processing on the YUV video signal; A conversion output module, used for converting the normalized YUV video signal into an RGB output video signal; The compensation conversion module is specifically used to calculate the brightness Y, the first chromaticity U and the second chromaticity V of the YUV video signal by the following formula: Y = k1*R+k2*G+k3*B; U = (lgN / lgY)*(BY) / k4; V = (lgN / lgY)*(RY) / k5; Wherein, k1, k2, k3, k4 and k5 are preset conversion constants; R is the red channel component of the input video signal, G is the green channel component of the input video signal, and B is the red and blue channel components of the input video signal; N is a preset compensation constant; or The brightness Y, the first chrominance U and the second chrominance V of the YUV video signal are calculated by the following formula: Y = k1*R+k2*G+k3*B; If Y is less than the preset brightness threshold, then U = (lgN / lgY)*(BY) / k4; V = (lgN / lgY)*(RY) / k5; If Y is not less than the preset brightness threshold, then U = K*(BY) / k4; V = K*(RY) / k5; Among them, k1, k2, k3, k4 and k5 are preset conversion constants; R is the red channel component of the input video signal, G is the green channel component of the input video signal, and B is the red and blue channel components of the input video signal; N is a preset compensation constant, and K is a compensation coefficient determined according to the preset brightness threshold, the compensation constant and the brightness Y of the pixel.
7. A display device, comprising: A display, a memory, a processor and a program stored in the memory and executable on the processor; wherein the processor is used to read the program in the memory to implement the steps in the display processing method as described in any one of claims 1 to 5.
8. A readable storage medium for storing a program, characterized in that: When the program is executed by a processor, the steps in the display processing method according to any one of claims 1 to 5 are implemented.
Citation Information
Patent Citations
LCD device and apparatus for processing signals
CN101329459A
Image display method and intelligent device
CN102752604A