Chromaticity and luminance compensation method for display panel

By independently calculating the luminance and chromaticity error components in the HSI space model and employing white balance processing and cyclic compensation algorithms, the problem of uneven brightness in VA-type LCD screens was solved, achieving efficient and accurate compensation.

CN117524153BActive Publication Date: 2026-01-06SUZHOU CHINA STAR OPTOELECTRONICS TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311170394.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-09-12
Publication Date
2026-01-06
Estimated Expiration
2043-09-12

AI Technical Summary

Technical Problem

Existing technologies face significant challenges in eliminating brightness unevenness (Mura) on VA-type LCD screens due to complex compensation algorithms and the tendency for compensation results to be inaccurate.

Method used

The HSI spatial model is used to calculate the hue, saturation and luminance error components of each pixel on the display panel, and luminance and chroma compensation are performed independently. The compensation results are optimized through white balance processing and cyclic compensation algorithms.

Benefits of technology

The complexity of the compensation algorithm has been reduced, the accuracy of the compensation has been improved, the deviation of the compensation results has been reduced, and the high image quality requirements of the display have been met.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117524153B_ABST
    Figure CN117524153B_ABST
Patent Text Reader

Abstract

The application discloses a chroma and brightness compensation method of a display panel, comprising the following steps: acquiring a current component of each pixel point of a display panel image; setting a target component; calculating an error component of each pixel point according to the current component and the target component; compensating the pixel point with the maximum absolute value of the error component to obtain a compensated component of the pixel point; converting the compensated component into a color encoding value of the pixel point; judging whether the current color encoding value is greater than 255; in response to any one of red channel brightness R, green channel brightness G and blue channel brightness B being less than or equal to 255, repeating the compensation of the pixel point with the maximum absolute value of the error component; and in response to any one of red channel brightness R, green channel brightness G and blue channel brightness B being greater than 255, stopping the compensation. In the method, the three channels of HSI are compensated respectively, so that the difficulty of the compensation algorithm is reduced, and the accuracy of the compensation is improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of image processing, in particular to a chroma and brightness compensation method of a display panel. BACKGROUND

[0002] Display technology is increasingly mature, and the quality of display is also increasingly high. For VA type liquid crystal display, Mura of picture brightness unevenness is one of major quality problems, so the industry has been researching the technology for eliminating Mura. The technology for eliminating Mura is divided into correcting the unevenness of brightness and correcting the unevenness of brightness and chroma at the same time. Since the three colors need to be compensated when correcting chroma, there will be brightness change and chroma change at the same time when compensating for a certain color, so the compensation of the three colors needs to be processed synchronously, which will increase the difficulty of compensation algorithm, and the deviation of compensation result will be magnified. SUMMARY

[0003] The present application provides a chroma and brightness compensation method of a display panel, which solves the above problems.

[0004] Technical scheme: The chroma and brightness compensation method of the display panel provided by the present application comprises:

[0005] obtaining a current component of each pixel point of a display panel image, wherein the current component comprises a current hue component H in , a current saturation component S in and a current brightness component I in of the pixel point;

[0006] setting a target component, wherein the target component comprises a target hue component H t , a target saturation component S t and a target brightness component I t of the pixel point;

[0007] calculating an error component of each pixel point according to the current component and the target component, wherein the error component comprises a hue error component ΔH, a saturation error component ΔS and a brightness error component ΔI, compensating for the pixel point with the largest absolute value of error component to obtain a compensated component of the pixel point after compensation, wherein the compensated component comprises a hue compensation component H in ', a saturation compensation component S in ' and a brightness compensation component I in ';

[0008] converting the compensated component into a color encoding value of the pixel point, wherein the color encoding value comprises red channel brightness R, green channel brightness G and blue channel brightness B;

[0009] determine whether the current color coding value is less than or equal to 255;

[0010] In response to any one of the red channel brightness R, the green channel brightness G and the blue channel brightness B being less than or equal to 255, repeat compensating the pixel point with the largest absolute value of error component.

[0011] In response to any one of the red channel brightness R, the green channel brightness G and the blue channel brightness B being greater than 255, stop compensating.

[0012] In some embodiments, obtaining the current component of each pixel point of the display panel image comprises converting an RGB image of the display panel to HSI space to obtain the current component H of each pixel point. in in in .

[0013] In some embodiments, in response to any one of the red channel brightness R, the green channel brightness G and the blue channel brightness B being less than or equal to 255, repeating compensating the pixel point with the largest absolute value of error component comprises replacing the current component of the pixel point with the compensated component of the pixel point after compensation, and then continuing to loop compensating the pixel point with the largest absolute value of error component.

[0014] In some embodiments, the RGB image converted to HSI space is an image processed by white balance data.

[0015] In some embodiments, the RGB image is obtained by a camera, wherein the red pixel is Rx_Camera, the green pixel is Gx_Camera, and the blue pixel is Bx_Camera.

[0016] After white balance processing of the RGB image, the following is obtained:

[0017] R = Rx_Camera * a;

[0018] G = Gx_Camera;

[0019] B = Bx_Camera * b;

[0020] wherein a and b are white balance coefficients.

[0021] In some embodiments, calculating the error component of each pixel point according to the current component and the target component comprises:

[0022] ΔH = (H in -H t ) / H t

[0023] ΔS = (S​​in -S t ) / S t

[0024] ΔI=(I in -I t ) / I t ;

[0025] respectively, the compensation component of the pixel point after compensation is obtained, including:

[0026] respectively, the compensation component of the pixel point after compensation is obtained, including: in in in , expressed as:

[0027] H in ’=H in +dH;

[0028] S in ’=S in +dS;

[0029] I in ’=I in +dI;

[0030] Wherein, dH, dS, dI represent the step size of each compensation respectively.

[0031] In some embodiments, the step size is set to a fixed value, or the value of the step size is gradually reduced according to the number of cycles.

[0032] In some embodiments, the target component H t , S t , It is obtained by converting the RGB value of the center pixel point of the display panel image to HSI space.

[0033] In some embodiments, the method for obtaining the white balance coefficient includes: shooting several white pictures, taking the average value to obtain R255_Camera_Ave, G255_Camera_Ave, B255_Camera_Ave;

[0034] Calculate the white balance coefficient:

[0035]

[0036] ​​In some embodiments, the RGB image is converted to the HSI space using the following conversion formula:

[0037]

[0038] in,

[0039]

[0040] The saturation component is given by the following formula:

[0041]

[0042] Finally, the luminance component is given by the following formula:

[0043]

[0044] Compared with the prior art, the color and brightness compensation method for a display panel provided in this application embodiment obtains the current hue component H of each pixel in the display panel image. in Current saturation component S in and current luminance component I in Set the target hue component H of the pixel. t Target saturation component S t and target brightness component I t The hue error component ΔH, saturation error component ΔS, and luminance error component ΔI of each pixel are calculated. Compensation is then applied to the pixel with the largest absolute value of each error component. The compensated components are then converted into the color code value of the pixel. This achieves separate compensation for the three channels of HSI, avoiding the problem that the deviation of the compensation result is amplified when compensating for a single color due to changes in luminance, hue, and saturation. This reduces the difficulty of the compensation algorithm and improves the accuracy of the compensation. Attached Figure Description

[0045] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0046] Figure 1 This is a flowchart of an embodiment of this application;

[0047] Figure 2 This is a flowchart of the cyclic steps in the embodiments of this application. Detailed Implementation

[0048] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of them. All other embodiments obtained by those skilled in the art based on the embodiments of this application without creative effort are within the scope of protection of this application.

[0049] This application discloses a method for color and brightness compensation of a display panel, such as... Figure 1 As shown,

[0050] Obtain the current component of each pixel in the display panel image. The current component includes the current hue component H of the pixel. in Current saturation component S in and current luminance component I in ;

[0051] Define the target component, which includes the target hue component H of the pixel. t Target saturation component S t and target brightness component I t ;

[0052] Based on the current and target components, calculate the error component for each pixel. The error components include the hue error component ΔH, the saturation error component ΔS, and the luminance error component ΔI. Compensation is then applied to the pixels with the largest absolute values ​​of these error components to obtain the compensated components. These compensated components include the hue compensation component H. in Saturation compensation component S in 'and brightness compensation component I in ';

[0053] The compensation components are converted into color-coded values ​​for pixels, which include red channel brightness R, green channel brightness G, and blue channel brightness B.

[0054] Determine if the current color code value is greater than 255;

[0055] In response to any value of red channel brightness R, green channel brightness G and blue channel brightness B being less than or equal to 255, compensation is repeatedly applied to the pixel with the largest absolute value of the error component.

[0056] Compensation stops when any one of the red channel brightness R, green channel brightness G, or blue channel brightness B is greater than 255.

[0057] This application first performs white balance processing on RGB image data, then converts it to HSI space, and separates brightness compensation and chromaticity compensation, thereby reducing the difficulty of the compensation algorithm and improving the accuracy of compensation.

[0058] In some embodiments, obtaining the current component of each pixel in the display panel image includes converting the RGB image of the display panel to the HSI space to obtain the current component H of each pixel. in S in I in .

[0059] In some embodiments, in response to any one of the red channel brightness R, green channel brightness G, and blue channel brightness B being less than or equal to 255, repeatedly compensating the pixel with the largest absolute value of the error component includes replacing the current component of the pixel with the compensated component of the pixel after compensation, and then continuing to cyclically compensate the pixel with the largest absolute value of the error component.

[0060] In some embodiments, the RGB image converted to HSI space is an image after white balance data processing.

[0061] In some embodiments, the RGB image is acquired by a camera, wherein the red pixel is Rx_Camera, the green pixel is Gx_Camera, and the blue pixel is Bx_Camera;

[0062] After white balance processing of the RGB image, the following is obtained:

[0063] R = Rx_Camera*a;

[0064] G = Gx_Camera;

[0065] B = Bx_Camera*b;

[0066] Where a and b are the white balance coefficients, respectively.

[0067] In some embodiments, calculating the error component for each pixel based on the current component and the target component includes:

[0068] ΔH=(H in -H t ) / H t

[0069] ΔS=(S in -S t ) / S t

[0070] ΔI=(I in -I t ) / I t ;

[0071] Compensation is performed on the pixels with the largest absolute value of the error component to obtain the compensated component after pixel compensation, which includes:

[0072] Find the maximum values ​​of ΔH, ΔS, and ΔI on the image, denoted as maxΔH, maxΔS, and maxΔI respectively; compensate the pixels corresponding to maxΔH, maxΔS, and maxΔI by dH, dS, and dI respectively, to obtain the compensated H, S, and I components of the pixels, denoted as H. in '、S in '、I in ', is represented as:

[0073] H in '=H in +dH;

[0074] S in '=S in +dS;

[0075] I in '=I in +dI;

[0076] Where dH, dS, and dI represent the step size of each compensation step.

[0077] In some embodiments, the step size is set to a fixed value, or the step size is gradually reduced according to the number of cycles.

[0078] In some embodiments, the target component H t S t It is obtained by converting the RGB value of the center pixel of the display panel image to the HSI space.

[0079] In the fields of vision and image processing, the HSI (Hue-Saturation-Intensity) color space is a model used to represent color. It decomposes color into three main components: hue, saturation, and intensity. The HSI space is closer to how the human eye perceives color, providing a more intuitive description. Therefore, in image processing, the HSI space is often used for tasks such as color segmentation, adjustment, and matching. An RGB (Red-Green-Blue) image is a model that uses three basic color channels—red, green, and blue—to represent and display an image. In an RGB image, the color of each pixel is composed of the values ​​from these three channels, where the red channel represents the red component, the green channel represents the green component, and the blue channel represents the blue component.

[0080] In some embodiments, the method for obtaining the white balance coefficient includes: capturing a plurality of white images, wherein the target channel brightness value of the white images is white 255. The red, green, and blue channel brightness values ​​of the captured white images are taken, and their average values ​​are calculated to obtain the average brightness values ​​of the red channel (R255_Camera_Ave), green channel (G255_Camera_Ave), and blue channel (B255_Camera_Ave), respectively.

[0081] Calculate the white balance coefficient:

[0082]

[0083] By taking the average of white images from several panels, a standard white balance coefficient applicable to all panels can be established, reducing the need for calculating the white balance coefficient and compensation amount for each panel individually in subsequent processes.

[0084] In some embodiments, the RGB image is converted to the HSI space using the following conversion formula:

[0085]

[0086] in,

[0087]

[0088] The saturation component is given by the following formula:

[0089]

[0090] Finally, the luminance component is given by the following formula:

[0091]

[0092] Example 1

[0093] This application discloses a method for color and brightness compensation of a display panel, such as... Figure 2 As shown, it includes the following steps:

[0094] Obtain the H, S, and I components of each pixel in the display panel image, and denote the current component H of each pixel. in S in I in ;

[0095] Set target component H t S t I t ;

[0096] The current component H of each pixel in S in Iin With the target component H respectively t S t I t By subtracting the values, compensation is applied to the pixel with the largest difference to obtain the compensated H, S, and I components of that pixel.

[0097] The H, S, and I components after pixel compensation are converted into R, G, and B values, completing one conversion.

[0098] The process continues to compensate for the pixel with the largest difference until at least one of the R, G, and B values ​​of the converted pixel overflows.

[0099] After completing a transformation step, if the R, G, and B values ​​of a pixel have not overflowed, then the current component H of that pixel is... in S in I in Replace the H, S, and I components with the compensated ones, and then continue to cycle through the pixels with the largest differences to compensate.

[0100] Example 2

[0101] This application discloses a method for color and brightness compensation of a display panel, such as... Figure 1 As shown, it includes the following steps:

[0102] Step 101: Use a camera to capture RGB images Rx_Camera, Gx_Camera, and Bx_Camera from the display panel, and perform white balance processing on the RGB images;

[0103] Because color cameras have different filter designs, the colors captured may differ from what the human eye perceives, so white balance processing is necessary.

[0104] The camera captures white 255 images from 10 display panels, and the average value is recorded as: R255_Camera_Ave, G255_Camera_Ave, B255_Camera_Ave;

[0105] Prior conditions for the monitor: white 255 is the target white; white balance coefficients are denoted as a and b.

[0106]

[0107] The above white balance coefficients are used to process images from other cameras:

[0108] R = Rx_Camera*a;

[0109] G = Gx_Camera;

[0110] B = Bx_Camera*b;

[0111] Step 102: Perform color space conversion on the white-balanced RGB values ​​to convert them to the HSI color space, obtaining the H, S, and I components of each pixel, which are used as the initial current component H of the pixel. in S in I in It is independent of brightness compensation and chromaticity compensation.

[0112] The conversion formula is as follows:

[0113]

[0114] in,

[0115]

[0116] The saturation component is given by the following formula:

[0117]

[0118] Finally, the luminance component is given by the following formula:

[0119]

[0120] Step 103, as follows Figure 2 As shown, the target component H is set. t S t I t The target component is obtained by performing HSI conversion on the RGB value of the center point of the display panel image, and the current component H of the pixel is then converted. in S in I in The differences between each component and the target component are calculated, and ΔH, ΔS, and ΔI are calculated for each pixel on the display panel image.

[0121] ΔH=(H in -H t ) / H t

[0122] ΔS=(S in -S t ) / S t

[0123] ΔI=(I in -I t ) / I t

[0124] Step 104: Find the pixel points on the display panel image where the maximum values ​​of ΔH, ΔS, and ΔI are respectively denoted as: maxΔH, maxΔS, and maxΔI; these maxΔH, maxΔS, and maxΔI can correspond to different points on the display panel image or the same point;

[0125] Step 105: Perform H, S, and I component compensation on the pixels containing maxΔH, maxΔS, and maxΔI respectively, and convert the HSI components of the compensated pixels into RGB values ​​respectively to obtain the RGB values ​​of the compensated pixels.

[0126] That is: compensate for the H component of the pixel where maxΔH is located, H in '=H in +dH yields the compensated H, I, and S components of the pixel, denoted as H. in '、S in I in ;

[0127] Compensation is performed on the S component of the pixel containing maxΔS, S in '=S in +dS yields the compensated H, I, and S components of the pixel, denoted as H. in S in '、I in ;

[0128] Compensation is applied to the I component of the pixel containing maxΔI; I in '=I in +dI, obtain the H, I, and S components of the pixel after compensation, denoted as H. in S in I in ';

[0129] dH, dS, and dI represent the step size of each compensation step.

[0130] During the execution of the method in this application, the step size can be set to a fixed value, such as a step size of 0.02.

[0131] You can also set the step size to a variable value, adjusting the step size according to the number of loops. For example, the step size is halved after every two loops.

[0132] Step 6: Determine whether the RGB values ​​of the compensated pixels overflow.

[0133] If at least one of the R, G, and B values ​​of any pixel overflows, the loop ends, and the current component H of each pixel on the display panel is output. in S in I in ;

[0134] Otherwise, set the current component H of the pixel respectively. in S in I in Equal to the HSI component of that pixel after compensation, i.e.: H in =H in '、S in =S in '、I in =I in ', Return to step 103;

[0135] The final output RGB values ​​are applied to the display.

[0136] Example 3

[0137] This embodiment is based on the above embodiment two, and the similarities with the above embodiment will not be repeated.

[0138] When maxΔH and maxΔS are located at the same pixel on the display panel image, while maxΔI is located at another pixel, step S105 in Embodiment 1 is replaced by:

[0139] Perform corresponding H and S component compensation on the pixels where maxΔH and maxΔS are located, respectively;

[0140] Perform corresponding I component compensation on the pixel where maxΔI is located, and convert the HSI component of the pixel after compensation into RGB values ​​respectively to obtain the RGB value of the compensated pixel.

[0141] That is: perform corresponding H and S compensations on the pixels containing maxΔH and maxΔS respectively, where H... in '=H in +dH,

[0142] S in '=S in +dS yields the compensated H, I, and S components of the pixel, denoted as H. in '、S in '、I in ;

[0143] Compensation is applied to the I component of the pixel containing maxΔI; I in '=I in +dI, obtain the H, I, and S components of the pixel after compensation, denoted as H. in S in I in ';

[0144] dH, dS, and dI represent the step size of each compensation step.

[0145] During the execution of the method in this application, the step size can be set to a fixed value, such as a step size of 0.02.

[0146] You can also set the step size to a variable value, adjusting the step size according to the number of loops. For example, the step size is halved after every two loops.

[0147] Example 4

[0148] This embodiment is based on the above embodiment two, and the similarities with the above embodiment will not be repeated.

[0149] When maxΔH and maxΔI are located at the same pixel on the display panel image, while maxΔS is located at another pixel, step S105 in Embodiment 1 is replaced by:

[0150] Perform corresponding H and I component compensation on the pixels where maxΔH and maxΔI are located, respectively;

[0151] Perform corresponding S-component compensation on the pixel where maxΔS is located, and convert the HSI components of the pixel after compensation into RGB values ​​respectively to obtain the RGB values ​​of the compensated pixel.

[0152] That is: perform H and S compensation on the pixels containing maxΔH and maxΔI respectively, H in '=H in +dH, I in '=I in +dI, obtain the H, I, and S components of the pixel after compensation, denoted as H. in '、S in I in ';

[0153] Compensation is performed on the S component of the pixel containing maxΔS; S in '=S in +dS yields the compensated H, I, and S components of the pixel, denoted as H. in S in '、I in ;

[0154] dH, dS, and dI represent the step size of each compensation step.

[0155] During the execution of the method in this application, the step size can be set to a fixed value, such as a step size of 0.02.

[0156] You can also set the step size to a variable value, adjusting the step size according to the number of loops. For example, the step size is halved after every two loops.

[0157] Example 5

[0158] This embodiment is based on the above embodiment two, and the similarities with the above embodiment will not be repeated.

[0159] When maxΔI and maxΔS are located at the same pixel on the display panel image, while maxΔH is located at another pixel, step S105 in Embodiment 1 is replaced by:

[0160] Perform corresponding H and I component compensation on the pixels where maxΔI and maxΔS are located, respectively;

[0161] Perform H component compensation on the pixel where maxΔH is located, and convert the HSI component of the pixel after compensation into RGB values ​​to obtain the RGB value of the compensated pixel.

[0162] That is: perform corresponding I and S compensation on the pixels where maxΔI and maxΔS are located, respectively. in '=I in +dI,S in '=S in +dS yields the compensated H, I, and S components of the pixel, denoted as H. in S in '、I in ';

[0163] Compensate for the H component of the pixel containing maxΔH; H in '=H in +dH yields the compensated H, I, and S components of the pixel, denoted as H. in '、S in I in ;

[0164] dH, dS, and dI represent the step size of each compensation step.

[0165] During the execution of the method in this application, the step size can be set to a fixed value, such as a step size of 0.02.

[0166] You can also set the step size to a variable value, adjusting the step size according to the number of loops. For example, the step size is halved after every two loops.

[0167] Example 6

[0168] This embodiment is based on the above embodiment two, and the similarities with the above embodiment will not be repeated.

[0169] When maxΔH, maxΔS, and maxΔI are all located at the same pixel on the display panel image, step S105 in Example 1 is replaced by:

[0170] Perform H, S, and I compensations on the pixels containing maxΔH, maxΔS, and maxΔI respectively; and convert the compensated HSI components of the pixel into RGB values ​​to obtain the RGB values ​​of the compensated pixel.

[0171] That is: perform H, S, and I compensation respectively on the pixels where maxΔH, maxΔS, and maxΔI are located, and H in '=H in +dH, S in '=S in +dS,I in '=I in +dI, obtain the H, I, and S components of the pixel after compensation, denoted as H. in '、S in '、I in '; dH, dS, and dI represent the step size of each compensation step.

[0172] During the execution of the method in this application, the step size can be set to a fixed value, such as a step size of 0.02.

[0173] You can also set the step size to a variable value, adjusting the step size according to the number of loops. For example, the step size is halved after every two loops.

[0174] To verify the effectiveness of the method in this application, three display panel samples were selected: module sample 1, module sample 2, and OC sample (sample without backlight). The specifications of the three display panel samples required that the color coordinate difference of the pixels on the display panel was less than 15‰. The color coordinate difference after removing mura was compared between the traditional method and the method of this application for the three display panel samples. As shown in Table 1, it can be seen that the color coordinate difference of the display panel is the smallest after removing mura using the method of this application.

[0175] When the demura function was turned off, the color coordinate difference of module sample 1 was 10.72‰ and 17.02‰, which was close to or even exceeded the specification requirement of 15‰. After demura using the traditional method, the color coordinate difference was 6.91‰ and 9.15‰. However, after demura using the method of this application, the color coordinate difference was 5.08‰ and 5.86‰, which significantly reduced the color coordinate difference and was significantly less than the specification requirement. The method of this application showed excellent demura effect.

[0176] When the demura function of module sample 2 is turned off, the color coordinate difference is 6.89‰ and 16.65‰, which is close to or even exceeds the specification requirement of 15‰. After demura using the traditional method, the color coordinate difference is 6.11‰ and 10.99‰. However, after demura using the method of this application, the color coordinate difference is 5.71‰ and 6.88‰, which significantly reduces the color coordinate difference and is significantly less than the specification requirement.

[0177] When the OC sample was demura-disabled, the color coordinate difference was 9.13‰ and 17.47‰, which was close to or even exceeded the specification requirement of 15‰. After demura-disabled using traditional methods, the color coordinate difference was 8.97‰ and 15.51‰. Although it was effective in removing demura, it still exceeded the specification requirement of 15‰. However, after demura-disabled using the method of this application, the color coordinate difference was 6.18‰ and 9.69‰, which significantly reduced the color coordinate difference and was significantly less than the specification requirement.

[0178] As can be seen, after removing mura using the method of this application, the color coordinate difference of the display panel is significantly reduced. Even when mura removal is performed on OC samples, the effect that meets the specifications can be achieved.

[0179] Table 1. Comparison of color coordinate differences after mura removal using the method of this application and the traditional method.

[0180]

[0181] In summary, although the embodiments of this application have been described in detail above, the above embodiments are not intended to limit this application. Those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application.

Claims

1. A chroma and luminance compensation method of a display panel, comprising: obtaining an error component of a pixel point in a RGB image; determining a compensation component of the pixel point in a HSI image according to the error component; converting the compensation component into a color encoding value of the pixel point, the color encoding value comprising a red channel luminance R, a green channel luminance G and a blue channel luminance B; determining whether the current color encoding value is greater than 255; repeating the compensation of the pixel point with the largest absolute value of the error component in response to any one of the red channel luminance R, the green channel luminance G and the blue channel luminance B being less than or equal to 255; and stopping the compensation in response to any one of the red channel luminance R, the green channel luminance G and the blue channel luminance B being greater than 255. obtaining a current component of each pixel point of the display panel image, the current component including a current hue component H in , a current saturation component S in , and a current brightness component I in of the pixel point; Setting a target component, the target component including a target hue component H of a pixel point t , a target saturation component S t , and a target brightness component I t ; According to the current component and the target component, an error component of each pixel point is calculated, and the error component includes a hue error component , a saturation error component , and a brightness error component ; in According to the current component and the target component, an error component of each pixel point is calculated, and the error component includes a hue error component in ’, in a saturation error component in ’, and a brightness error component in ’; wherein calculating the error component of each pixel point according to the current component and the target component includes: ; ; ; compensating the pixel points with the maximum absolute value of the error component respectively to obtain the compensated components of the pixel points after compensation includes: , , finding the maximum values on the image respectively, denoted as , , ; , , compensating the corresponding pixel points dH, dS, and dI respectively to obtain the H, S, and I components of the pixel points after compensation, denoted as: H in ’, in S in ’, in I in ’, in H in ’=H in +dH; S in ’=S in +dS; I in ’=I in +dI; wherein dH, dS, and dI respectively represent the step length of each compensation; The conversion of the compensation component into the color encoding value of the pixel point comprises replacing the current component of the pixel point with the compensation component of the pixel point after the compensation, and then repeating the compensation of the pixel point with the largest absolute value of the error component. The RGB image converted into the HSI space is an image after white balance data processing. The RGB image is obtained by a camera, wherein a red pixel is Rx_Camera, a green pixel is Gx_Camera and a blue pixel is Bx_Camera. After the white balance processing of the RGB image, R = Rx_Camera * a, G = Gx_Camera and B = Bx_Camera * b are obtained. 2.The chromaticity and luminance compensation method of a display panel according to claim 1, characterized in that, The current component of each pixel point of the display panel image is obtained by converting an RGB image of the display panel to an HSI space to obtain the current component of each pixel point , , .

3. The method of claim 1, wherein the compensation of the chromaticity and the luminance of the display panel is performed by a look-up table. The step length is set as a fixed value, or the step length is gradually reduced according to the number of loops.

4. The method of claim 2, wherein the compensation of the chromaticity and luminance of the display panel is performed by using a look-up table. The method for obtaining the white balance coefficients comprises: taking several white pictures, and obtaining R255_Camera_Ave, G255_Camera_Ave and B255_Camera_Ave by averaging.

5. The method of claim 2, wherein the compensation of the chromaticity and luminance of the display panel is performed by using a look-up table. The white balance coefficients are calculated as follows: a = R255_Camera_Ave / R255_Camera_Ave and b = B255_Camera_Ave / B255_Camera_Ave. The conversion formula of the RGB image converted into the HSI space is as follows: H = arctan (B - G) / (R - G), I = (R + G + B) / 3 and S = sqrt ( (R - G) 2 + (B - R) 2) / (R + G + B). The saturation component is given by the following formula: S = sqrt ( (R - G) 2 + (B - R) 2) / (R + G + B). Finally, the luminance component is given by the following formula: I = (R + G + B) / 3. ​ ​ 6. The method of claim 1, wherein the compensation of the chromaticity and luminance of the display panel is performed by a look-up table. ​ 7. The method of claim 1, wherein the compensation of the chromaticity and luminance of the display panel is performed by a look-up table. The target component H t , S t , It is obtained by converting the RGB value of the center pixel point of the display panel image to the HSI space.

8. The method of claim 5, wherein the compensation of the chromaticity and luminance of the display panel is performed by using a look-up table. ​ ​ ; 。 9. The method of claim 5, wherein the compensation of the chromaticity and luminance of the display panel is performed by using a look-up table. ​ ​ ​ ​

Citation Information

Patent Citations

  • Adaptive conversion method of images

    CN105263009A

  • Coal mine fully mechanized coal mining face image enhancement method and system

    CN114399444A