Pixel compensation method and system, electronic equipment and computer readable storage medium

By distinguishing white and non-white pixels in the pixel compensation algorithm and using different compensation rules for pixel compensation, the problems of slow computing speed and high memory consumption in the prior art are solved, and white color casting is avoided and display quality is improved.

CN119252168APending Publication Date: 2025-01-03SHANGHAI OLEADVISION TECHONOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411706672.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-26
Publication Date
2025-01-03

AI Technical Summary

Technical Problem

When executing, the computing speed of existing pixel compensation algorithms gradually decreases, memory consumption gradually increases, and white color casts are prone to occur when white pixel compensation, affecting the display quality.

Method used

By determining whether the pixel is white, different compensation rules are used to compensate pixels: for non-white pixels, a preset first compensation rule is used to select some sub-pixels for compensation, reducing computation and memory consumption; for white pixels, the second compensation rule is based on The compensation value of the base subpixel compensates all subpixels to avoid white color cast.

Benefits of technology

It improves the computing efficiency of the pixel compensation algorithm, reduces memory consumption, and avoids white color casts when white pixel compensation, improving display quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119252168A_ABST
    Figure CN119252168A_ABST
Patent Text Reader

Abstract

The invention discloses a pixel compensation method, and the method comprises the steps: determining a pixel which needs to be subjected to pixel compensation in a display screen, and judging whether the pixel is displayed to be white or not; if the pixel is not displayed to be white, performing pixel compensation on the pixel according to a preset first compensation rule; and if the pixel is displayed to be white, performing pixel compensation on the pixel according to a preset second compensation rule. The invention further discloses a system applying the method, electronic equipment and a computer readable storage medium.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of display technology, and in particular to a pixel compensation method and system, electronic equipment and a computer-readable storage medium. Background Art

[0002] During the production process of display screens, due to reasons such as materials and processes, some products may have uneven pixel brightness (mura). These uneven brightness spots will cause visual discomfort. Products with such spots cannot meet the specifications of end customers and generally have to be scrapped or downgraded.

[0003] The current compensation method for display screens with mura is to use advanced sub-pixel optical imaging equipment to capture pure grayscale images, obtain the brightness data of each pixel in the display screen, and then calculate and store the compensation value of each pixel based on the sub-pixel and compensation table of each pixel through the pixel compensation algorithm. When the display screen is lit up and used later, each pixel is corrected in real time based on the compensation value of each pixel, thereby compensating for the mura defect, so that the display quality of the display screen meets the shipping specifications of the display screen manufacturer and improves the qualified rate of the display screen.

[0004] The existing pixel compensation algorithm needs to store the grayscale sequence before execution, and needs to search the grayscale sequence based on the sub-pixel value of each pixel during execution, and calculate the compensation value of each sub-pixel according to the search result. In order to improve the effect of pixel compensation, the existing technology stores more and more grayscales in the grayscale sequence, which leads to the operation speed of the existing pixel compensation algorithm gradually decreasing and the memory consumption gradually increasing.

[0005] At the same time, since the human eye is more sensitive to white color cast, when performing pixel compensation on pixels displayed as white, it is necessary to avoid white color cast.

[0006] The following is an explanation of the terms that may be involved in this application, as follows: Sub-pixel: Each pixel is composed of three sub-pixels: red (R), green (G), and blue (B), or four sub-pixels: red (R), green (G), blue (B), and white (W).

[0007] Grayscale: The level of pixel brightness on the display screen. For example, an 8-bit display screen can display 256 gray levels, from darkest to brightest.

[0008] Grayscale sequence: A sequence in which multiple grayscales are arranged from small to large is called a grayscale sequence. All pixels on the display screen correspond to one grayscale sequence.

[0009] Compensation table: Each pixel in the display screen corresponds to a compensation table, which includes the compensation value of each sub-pixel of the pixel at each grayscale in the grayscale sequence.

[0010] White color cast: When the brightness ratio of the red, green and blue sub-pixels of a pixel reaches 3:6:1, the color displayed by the pixel is white. If the brightness ratio of the sub-pixels is unbalanced, the pixel will have a white color cast. Summary of the invention

[0011] In order to solve the above technical problems, the present invention specifically provides the following technical solutions.

[0012] The present invention provides a pixel compensation method, comprising the following steps: S1, determining pixels in the display screen that need to be compensated, and judging whether the pixels are displayed as white; S2, if the pixel is not displayed as white, performing pixel compensation on the pixel according to a preset first compensation rule; S3: If the pixel is displayed as white, perform pixel compensation on the pixel according to a preset second compensation rule.

[0013] Optionally, before step S1, the method further comprises the following steps: S0, performing pixel compensation on all pixels in the display screen.

[0014] Optionally, the determining whether the pixel is displayed as white in step S1 includes: It is determined whether the difference between the maximum value and the minimum value in the sub-pixel of the pixel is less than a preset threshold value. If the difference is less than the preset threshold value, it is determined that the pixel is displayed as white.

[0015] Optionally, step S2 includes: If the pixel is not displayed as white, N sub-pixels are selected from the sub-pixels of the pixel for pixel compensation according to a preset selection rule, where N is less than the total number of sub-pixels of the pixel, and pixel compensation is not performed on the remaining sub-pixels of the pixel.

[0016] Optionally, step S2 includes the following sub-steps: S21, if the pixel is not displayed as white, determining the product of the value of each sub-pixel of the pixel and a preset brightness ratio of the sub-pixel as the pixel product of the sub-pixel; S22, sorting the pixel products of the pixels from large to small, and retaining N pixel products starting from the first pixel in the sorting order; S23, performing pixel compensation on the sub-pixels corresponding to the product of the N pixels, and not performing pixel compensation on the remaining sub-pixels of the pixel.

[0017] Optionally, step S3 includes: If the pixel is displayed as white, a sub-pixel is selected from the sub-pixels of the pixel as a basic sub-pixel, a compensation value of the basic sub-pixel is determined, and pixel compensation is performed on each sub-pixel of the pixel based on the compensation value of the basic sub-pixel.

[0018] Optionally, step S3 includes the following sub-steps: S31, if the pixel is displayed as white, selecting a sub-pixel from the sub-pixels of the pixel as a basic sub-pixel, and determining a compensation value of the basic sub-pixel; S32, determining the product of the preset compensation ratio of each sub-pixel and the compensation value of the basic sub-pixel as the compensation value of the sub-pixel; S33, performing pixel compensation on the pixel using the compensation value of each sub-pixel.

[0019] In addition, the present invention also provides a pixel compensation system, comprising: A judgment module, used to determine the pixels in the display screen that need to be compensated, and to judge whether the pixels are displayed as white; A first compensation module, used for performing pixel compensation on the pixel according to a preset first compensation rule when the pixel is not displayed as white; The second compensation module is used to perform pixel compensation on the pixel according to a preset second compensation rule when the pixel is displayed as white.

[0020] In addition, the present invention also provides an electronic device, which includes a processor and a memory storing a computer program, and when the processor runs the computer program, the steps of the pixel compensation method described above are implemented.

[0021] In addition, the present invention also provides a computer-readable storage medium storing a computer program, and when the computer program is executed by a processor, the steps of the pixel compensation method described above are implemented.

[0022] Through the above technical solution, if the pixel that needs to be compensated is not displayed as white, the pixel is compensated according to the preset first compensation rule; if it is displayed as white, the pixel is compensated according to the preset second compensation rule. Performing pixel compensation according to the preset first compensation rule can solve the problem of the pixel compensation algorithm in the prior art that the operation speed gradually decreases and the memory consumption gradually increases, thereby achieving the purpose of improving the operation efficiency of the pixel compensation algorithm. Performing pixel compensation according to the preset second compensation rule can achieve the function of avoiding white color cast when performing pixel compensation, thereby improving the compensation effect of the pixel compensation algorithm. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] Figure 1 A schematic flow chart of a pixel compensation method provided by an embodiment of the present invention.

[0024] Figure 2 A schematic diagram of pixel compensation in a pixel compensation method provided by an embodiment of the present invention.

[0025] Figure 3 Schematic diagram of a pixel compensation algorithm in the prior art.

[0026] Figure 4 A schematic diagram of modules of a pixel compensation system provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0027] The technical scheme in the embodiment of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiment of the present invention. Obviously, the described embodiment is only a part of the embodiment of the present invention, not all of the embodiments. Based on the embodiment of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0028] The specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0029] Although the various steps in the flowchart in the embodiment of the present invention are shown in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless clearly stated herein, the execution of these steps is not strictly limited in order, and they can be executed in other orders. Moreover, at least a portion of the steps in the figure may include a plurality of sub-steps or a plurality of stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and their execution order is not necessarily carried out in sequence, but can be executed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.

[0030] Although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other.

[0031] See also Figure 1 According to one aspect of the present application, there is provided a pixel compensation method, comprising the following steps: S1, determining pixels in a display screen that need to be compensated, and judging whether the pixels are displayed as white.

[0032] There is no limitation on the method for determining the pixels in the display screen that need to be compensated.

[0033] S2: If the pixel is not displayed as white, perform pixel compensation on the pixel according to a preset first compensation rule.

[0034] S3: If the pixel is displayed as white, perform pixel compensation on the pixel according to a preset second compensation rule.

[0035] Before step S1, the method may further include the following steps: S0, performing pixel compensation on all pixels in the display screen.

[0036] The principle of this operation is that when a large area of ​​uneven brightness or obvious uneven brightness appears on the display screen, it will affect the compensation effect of pixel compensation. The present invention performs pixel compensation on all pixels on the display screen before step S1, so that the brightness of different pixels is roughly the same, thereby improving the compensation effect of pixel compensation.

[0037] Several rows are selected in the display screen, for example: the first row and the last row row_end, and compensation values ​​of these two rows under a preset grayscale sequence are given. For example: the preset grayscale sequence is {64, 128, 256}, and the compensation values ​​of the R sub-pixel, G sub-pixel and B sub-pixel in the first row under the preset grayscale sequence are respectively: W1_64, W1_128, W1_256; the compensation values ​​of the three sub-pixels in the last row row_end under the preset grayscale sequence are respectively: W2_64, W2_128, W2_256.

[0038] For the k-th pixel in the display screen, a two-dimensional interpolation calculation is performed between the compensation values ​​of the first row and the last row row_end according to its row position row_k and the value of the sub-pixel to obtain the compensation value of the k-th pixel.

[0039] Among them, two-dimensional interpolation calculation is a method of estimating values ​​between data points in two-dimensional space. This method estimates the value of unknown points on a two-dimensional plane through known data points.

[0040] For example, the value of the R sub-pixel of the k-th pixel is 80, and the grayscale interval of 80 is [64,128]. The two-dimensional interpolation calculation process is: .

[0041] Among them, r_c is the compensation value of the R sub-pixel of the k-th pixel, and r1_c and r2_c are intermediate values.

[0042] Determining whether the pixel is displayed as white in step S1 may include: It is determined whether the difference between the maximum value and the minimum value in the sub-pixel of the pixel is less than a preset threshold value. If the difference is less than the preset threshold value, it is determined that the pixel is displayed as white.

[0043] The threshold may range from 1 to 5. In this implementation, the threshold is preferably 2.

[0044] See also Figure 2 , the step S2 may include: If the pixel is not displayed as white, N sub-pixels are selected from the sub-pixels of the pixel for pixel compensation according to a preset selection rule, where N is less than the total number of sub-pixels of the pixel, and pixel compensation is not performed on the remaining sub-pixels of the pixel.

[0045] If the pixel is composed of three sub-pixels of R, G, and B, N can be 1 or 2; if the pixel is composed of four sub-pixels of R, G, B, and W, N can be 1 or 2 or 3.

[0046] The core operation of the pixel compensation algorithm in the prior art is to calculate the compensation value of each pixel based on the sub-pixels of each pixel and the compensation table.

[0047] See also Figure 3 , the pixel compensation algorithm in the prior art is described by taking the parallel calculation of three pixels as an example, the three pixels are: the i-th pixel, the i+1-th pixel and the i+2-th pixel. The three pixels are composed of three sub-pixels of R, G and B, wherein the value of the R sub-pixel of the i-th pixel is R0, the value of the G sub-pixel is G0, and the value of the B sub-pixel is B0.

[0048] For the i-th pixel, first search the preset grayscale sequence to determine the grayscale intervals of R0, G0, and B0. For example, if the preset grayscale sequence is {4, 8, 16, 32, 48, 64, 80, 128, 164, 192, 208, 240, 256} and R0 is 70, then the grayscale interval of R0 is [64, 80].

[0049] Then, based on the compensation value of the R sub-pixel at grayscale 64 and the compensation value at grayscale 80 in the compensation table of the i-th pixel, a linear or nonlinear interpolation calculation is performed to obtain the compensation value of the R sub-pixel of the i-th pixel.

[0050] Among them, linear interpolation is a method of interpolation using known quantities. It constructs a first-order polynomial function and approximates the original function through the function values ​​of several known quantities, thereby calculating the function values ​​of other unknown quantities. The following takes linear interpolation as an example to illustrate the calculation method of the compensation value of the R sub-pixel of the i-th pixel: One known quantity of the linear interpolation calculation is: grayscale A1 is 64, and the compensation value C1 of the R sub-pixel of the i-th pixel at grayscale 64; another known quantity of the linear interpolation method is: grayscale A2 is 80, and the compensation value C2 of the R sub-pixel of the i-th pixel at grayscale 80. Based on the above two known quantities, the compensation value Rc0 of the R sub-pixel of the i-th pixel is calculated by the formula of the linear interpolation method: Rc0 = ((R0-A1)(C2-C1) / (A2-A1))+C1.

[0051] The value R0 of the R sub-pixel of the i-th pixel is added to the compensation value Rc0, and the obtained calculation result is determined as the value of the R sub-pixel of the i-th pixel after pixel compensation.

[0052] When 3 pixels are used to calculate compensation values ​​in parallel, 9 search operations are required for the grayscale sequence and 9 calculation operations for the compensation values ​​of the sub-pixels are required. When M pixels are used to calculate compensation values ​​in parallel, the number of search operations for the grayscale sequence is the product of 3 times M, and the number of calculation operations for the compensation values ​​of the sub-pixels is also the product of 3 times M, where M is a positive integer. When the number of grayscales in the grayscale sequence increases, the operation speed of the existing pixel compensation algorithm will gradually decrease, and the memory consumption will gradually increase.

[0053] The present invention selects N sub-pixels from the sub-pixels of the pixel for pixel compensation according to a preset selection rule, and does not perform pixel compensation on the remaining sub-pixels of the pixel, thereby improving the operation speed of the pixel compensation algorithm and reducing the memory consumption of the pixel compensation algorithm.

[0054] The step S2 may include the following sub-steps: S21, if the pixel is not displayed as white, determine the product of the value of each sub-pixel of the pixel and the preset brightness ratio of the sub-pixel as the pixel product of the sub-pixel. The brightness ratio may range from 0 to 1.

[0055] In this embodiment, the pixel is preferably composed of three sub-pixels of R, G, and B. The preset brightness ratio of the R sub-pixel is preferably 0.3, the preset brightness ratio of the G sub-pixel is preferably 0.6, and the preset brightness ratio of the B sub-pixel is preferably 0.1.

[0056] For example: the value of the R sub-pixel is r, the value of the G sub-pixel is g, and the value of the B sub-pixel is b. The pixel product of the R sub-pixel is the product of 0.3 and r, the pixel product of the G sub-pixel is the product of 0.6 and g, and the pixel product of the B sub-pixel is the product of 0.1 and b.

[0057] S22, sorting the pixel products of the pixels from large to small, and retaining N pixel products starting from the first pixel in the sorting order.

[0058] S23, performing pixel compensation on the sub-pixels corresponding to the product of the N pixels, and not performing pixel compensation on the remaining sub-pixels of the pixel.

[0059] For example, when N is 1, the pixel products of the pixel are sorted from large to small, and the first pixel in the sorting is the pixel product of the R sub-pixel. Then, pixel compensation is performed on the R sub-pixel of the pixel, and pixel compensation is not performed on the remaining sub-pixels of the pixel.

[0060] Among them, the specific operation of performing pixel compensation on the R sub-pixel of the pixel includes: based on the value of the R sub-pixel of the pixel, searching for a preset grayscale sequence to determine the grayscale interval of the R sub-pixel; then based on the compensation value of the R sub-pixel at the two endpoints of the grayscale interval of the R sub-pixel in the compensation table of the pixel, performing linear or nonlinear interpolation calculation to obtain the compensation value of the R sub-pixel; adding the value of the R sub-pixel to the compensation value of the R sub-pixel, and determining the obtained calculation result as the value of the R sub-pixel of the pixel after pixel compensation.

[0061] The mura perceived by the human eye is mainly provided by the sub-pixel with the strongest light emission. The brightness ratio of each sub-pixel is used to represent the brightness relationship of each sub-pixel under the same grayscale. Therefore, after sorting the products of each pixel, the sub-pixel corresponding to the retained N pixel products is the sub-pixel with the strongest light emission. The present invention performs pixel compensation on the sub-pixel with the strongest light emission, and does not perform pixel compensation on the remaining sub-pixels. Therefore, when 3 pixels calculate the compensation value in parallel, the number of search operations on the grayscale sequence is the product of 3 times N, and the number of calculation operations of the compensation value of the sub-pixel is also the product of 3 times N. Since N is less than 3, the product of 3 times N is less than 9 times in the prior art. When M pixels calculate the compensation value in parallel, the number of search operations on the grayscale sequence is the product of N times M, and the number of calculation operations of the compensation value of the sub-pixel is also the product of N times M. Since N is less than 3, the product of N times M is less than 3 times M in the prior art.

[0062] In summary, the present invention simultaneously reduces the number of search operations on the grayscale sequence and the number of calculation operations of the sub-pixel compensation values, thereby improving the operation speed of the pixel compensation algorithm, reducing the memory consumption of the pixel compensation algorithm, and further achieving the purpose of improving the operation efficiency of the pixel compensation algorithm.

[0063] See also Figure 2 , the step S3 may include: If the pixel is displayed as white, a sub-pixel is selected from the sub-pixels of the pixel as a basic sub-pixel, a compensation value of the basic sub-pixel is determined, and pixel compensation is performed on each sub-pixel of the pixel based on the compensation value of the basic sub-pixel.

[0064] In this embodiment, the basic sub-pixel is preferably a G sub-pixel, because the brightness of the G sub-pixel plays a decisive role in the brightness of the white screen.

[0065] The principle of this operation is that when a pixel that needs pixel compensation is displayed as white, if pixel compensation is only performed on the sub-pixel with the strongest light emission and no pixel compensation is performed on the remaining sub-pixels, the brightness of the sub-pixel with the strongest light emission will be too high or too low, resulting in white color cast. Therefore, it is necessary to perform pixel compensation on each sub-pixel of the pixel based on the compensation value of the basic sub-pixel to avoid white color cast.

[0066] The step S3 may include the following sub-steps: S31, if the pixel is displayed as white, selecting a sub-pixel from the sub-pixels of the pixel as a basic sub-pixel, and determining a compensation value of the basic sub-pixel.

[0067] S32: Determine the product of the preset compensation ratio of each sub-pixel and the compensation value of the basic sub-pixel as the compensation value of the sub-pixel.

[0068] For example: the compensation ratio of the R sub-pixel is h1, the compensation ratio of the G sub-pixel is h2, the compensation ratio of the B sub-pixel is h3, and the compensation value of the G sub-pixel is G_c. Then the compensation value of the R sub-pixel is the product of h1 and G_c, the compensation value of the G sub-pixel is the product of h2 and G_c, and the compensation value of the B sub-pixel is the product of h3 and G_c.

[0069] Among them, the value range of the compensation ratio can be between 0 and 1. In this embodiment, the preset compensation ratio of the R sub-pixel is preferably 1, the preset compensation ratio of the G sub-pixel is preferably 1, and the preset compensation ratio of the B sub-pixel is preferably 1.

[0070] S33, performing pixel compensation on the pixel using the compensation value of each sub-pixel, specifically: adding the value of each sub-pixel of the pixel to the corresponding compensation value, and determining the obtained calculation result as the value of the sub-pixel after pixel compensation.

[0071] Through the above technical solution, if the pixel that needs to be compensated is not displayed as white, the pixel is compensated according to the preset first compensation rule; if it is displayed as white, the pixel is compensated according to the preset second compensation rule. Performing pixel compensation according to the preset first compensation rule can solve the problem of the pixel compensation algorithm in the prior art that the operation speed gradually decreases and the memory consumption gradually increases, thereby achieving the purpose of improving the operation efficiency of the pixel compensation algorithm. Performing pixel compensation according to the preset second compensation rule can achieve the function of avoiding white color cast when performing pixel compensation, thereby improving the compensation effect of the pixel compensation algorithm.

[0072] See also Figure 4 Another aspect of the present application provides a pixel compensation system, comprising: The judgment module 1 is used to determine the pixels in the display screen that need to be compensated, and to determine whether the pixels are displayed as white.

[0073] The first compensation module 2 is used to perform pixel compensation on the pixel according to a preset first compensation rule when the pixel is not displayed as white.

[0074] The second compensation module 3 is used to perform pixel compensation on the pixel according to a preset second compensation rule when the pixel is displayed as white.

[0075] Another aspect of the present application provides an electronic device, which includes a processor and a memory storing a computer program, and when the processor runs the computer program, the steps of the pixel compensation method described above are implemented.

[0076] Another aspect of the present application provides a computer-readable storage medium storing a computer program, wherein when the computer program is executed by a processor, the steps of the pixel compensation method described above are implemented.

[0077] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0078] In this document, the terms "comprises," "comprising" or any other variations thereof are intended to cover a non-exclusive inclusion of elements other than those listed and may also include other elements not expressly listed.

[0079] The above are only specific embodiments of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art who is familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims

1. A pixel compensation method, characterized in that: The following steps are involved: S1, determining pixels in the display screen that need to be compensated, and judging whether the pixels are displayed as white; S2, if the pixel is not displayed as white, performing pixel compensation on the pixel according to a preset first compensation rule; S3: If the pixel is displayed as white, perform pixel compensation on the pixel according to a preset second compensation rule.

2. The pixel compensation method according to claim 1, characterized in that: Before step S1, the method further comprises the following steps: S0, performing pixel compensation on all pixels in the display screen.

3. The pixel compensation method according to claim 1, wherein: The step S1 of determining whether the pixel is displayed as white includes: It is determined whether the difference between the maximum value and the minimum value in the sub-pixel of the pixel is less than a preset threshold value. If the difference is less than the preset threshold value, it is determined that the pixel is displayed as white.

4. The pixel compensation method according to claim 1, wherein: The step S2 comprises: If the pixel is not displayed as white, N sub-pixels are selected from the sub-pixels of the pixel for pixel compensation according to a preset selection rule, where N is less than the total number of sub-pixels of the pixel; and pixel compensation is not performed on the remaining sub-pixels of the pixel.

5. The pixel compensation method according to claim 4, characterized in that: The step S2 comprises the following sub-steps: S21, if the pixel is not displayed as white, determining the product of the value of each sub-pixel of the pixel and a preset brightness ratio of the sub-pixel as the pixel product of the sub-pixel; S22, sorting the pixel products of the pixels from large to small, and retaining N pixel products starting from the first pixel in the sorting order; S23, performing pixel compensation on the sub-pixels corresponding to the product of the N pixels, and not performing pixel compensation on the remaining sub-pixels of the pixel.

6. The pixel compensation method according to claim 1, wherein: The step S3 comprises: If the pixel is displayed as white, a sub-pixel is selected from the sub-pixels of the pixel as a basic sub-pixel, a compensation value of the basic sub-pixel is determined, and pixel compensation is performed on each sub-pixel of the pixel based on the compensation value of the basic sub-pixel.

7. The pixel compensation method according to claim 6, characterized in that: The step S3 comprises the following sub-steps: S31, if the pixel is displayed as white, selecting a sub-pixel from the sub-pixels of the pixel as a basic sub-pixel, and determining a compensation value of the basic sub-pixel; S32, determining the product of the preset compensation ratio of each sub-pixel and the compensation value of the basic sub-pixel as the compensation value of the sub-pixel; S33, performing pixel compensation on the pixel using the compensation value of each sub-pixel.

8. A pixel compensation system, characterized in that: include: A judgment module, used to determine the pixels in the display screen that need to be compensated, and to judge whether the pixels are displayed as white; A first compensation module, used for performing pixel compensation on the pixel according to a preset first compensation rule when the pixel is not displayed as white; The second compensation module is used to perform pixel compensation on the pixel according to a preset second compensation rule when the pixel is displayed as white.

9. An electronic device, characterized in that: The electronic device comprises a processor and a memory storing a computer program, and when the processor runs the computer program, the steps of the pixel compensation method according to any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium, characterized in that: A computer program is stored, and when the computer program is executed by a processor, the steps of the pixel compensation method according to any one of claims 1 to 7 are implemented.