Pixel point driving method and device and computer equipment

By determining the preset compensation grayscale for monochrome and mixed color images separately in the display panel, and selecting an appropriate compensation method based on the grayscale difference, the Mura defect problem of the display panel under different images is solved, and a pure color display effect is achieved.

CN121600830APending Publication Date: 2026-03-03XIAMEN TIANMA DISPLAY TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511961219.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-12-24
Publication Date
2026-03-03

AI Technical Summary

Technical Problem

Existing technologies cause uneven display of Mura defects in mixed-color displays due to differences in panel loading between monochrome and mixed-color displays. Furthermore, existing Demura compensation methods may exacerbate the uneven display problem.

Method used

The first and second preset compensation gray levels are determined under monochrome and mixed color display on the display panel, respectively. The appropriate compensation method is selected by judging the gray level difference, and gray level compensation is performed on the target pixel to ensure that the Mura defect can be effectively eliminated under different display screens.

Benefits of technology

The complexity of the compensation algorithm has been simplified, the computational load of DDIC has been reduced, the risk of color deviation has been avoided, and the purity of the displayed colors has been guaranteed.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121600830A_ABST
    Figure CN121600830A_ABST
Patent Text Reader

Abstract

The invention relates to a pixel point driving method and device and computer equipment. The method comprises the steps of determining a first preset compensation gray scale under a preset color and a preset gray scale under the condition that a display panel displays a single-color display picture, and determining a second preset compensation gray scale under the preset gray scale under the condition that the display panel displays a mixed-color display picture; obtaining a gray scale difference value between any two target sub-pixels of a target pixel point in the target display panel; if the gray scale difference value is not in the preset gray scale range, determining a preset color which is the same as the target sub-pixel in color, and performing gray scale compensation on the target sub-pixel based on a first preset compensation gray scale under the preset color; if all gray scale differences are within the preset gray scale range, gray scale compensation is performed on all target sub-pixels of the target pixel point based on a second preset compensation gray scale; and driving the target pixel point based on the compensated gray scale. According to the method provided by the invention, the Mura defect under different display pictures can be effectively eliminated.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of display driver technology, and in particular to a pixel driving method, apparatus and computer device. Background Technology

[0002] In the field of display driving technology, in order to eliminate the mura defect in the display panel, the existing technology uses a black and white camera to take monochrome pictures of the display panel when displaying monochrome images in red, green and blue respectively, and generates compensation data for red, green and blue by capturing the brightness data of different monochrome images from the pictures; in the subsequent display process of the display panel, the generated compensation data is used to perform demura compensation on the display image.

[0003] This Demura compensation method has a good display effect when the display panel displays a monochrome image of red, green, or blue. However, because the panel loading is different when displaying monochrome and mixed-color images, the Mura pattern between monochrome and mixed-color images is different, and the pixel ratio between monochrome and mixed-color images is also different. Therefore, if the above Demura compensation method is used to compensate for mixed-color images composed of the three primary colors, it may lead to a greater degree of unevenness in the display. Summary of the Invention

[0004] Therefore, it is necessary to provide a pixel driving method, apparatus, and computer device that can effectively eliminate Mura defects in different display screens, addressing the aforementioned technical problems.

[0005] In a first aspect, this application provides a pixel driving method, the method comprising:

[0006] When the display panel displays a monochrome display of any preset color and any preset grayscale, a first preset compensation grayscale is determined under the preset color and the preset grayscale; and when the display panel displays a mixed color display of any preset grayscale, a second preset compensation grayscale is determined under the preset grayscale; wherein, in the mixed color display, the grayscale of different sub-pixels of any pixel is the same.

[0007] For any target pixel in the target display screen, obtain the grayscale difference between any two target sub-pixels of the target pixel;

[0008] In the case where the grayscale difference is not within the preset grayscale range, a preset color that is the same as the color of any target sub-pixel is determined, and grayscale compensation is performed on the target sub-pixel based on the first preset compensation grayscale under the preset color.

[0009] When all grayscale differences are within the preset grayscale range, grayscale compensation is performed on all target sub-pixels of the target pixel based on the second preset compensation grayscale.

[0010] During the process of displaying the target display image on the display panel, the target pixels are driven based on the compensated grayscale.

[0011] Secondly, this application also provides a pixel driving device, the device comprising:

[0012] The first determining module is used to determine a first preset compensation grayscale under the preset color and the preset grayscale when the display panel displays a monochrome display screen with any preset color and any preset grayscale, and to determine a second preset compensation grayscale under the preset grayscale when the display panel displays a mixed color display screen with any preset grayscale; wherein, in the mixed color display screen, the grayscale of different sub-pixels of any pixel is the same.

[0013] The acquisition module is used to acquire the grayscale difference between any two target sub-pixels of any target pixel in the target display screen;

[0014] The second determining module is used to determine a preset color that is the same as the color of any target sub-pixel when there is a gray level difference that is not within the preset gray level range, and to perform gray level compensation on the target sub-pixel based on the first preset compensation gray level under the preset color.

[0015] The compensation module is used to perform grayscale compensation on all target sub-pixels of the target pixel based on the second preset compensation grayscale when all grayscale differences are within the preset grayscale range.

[0016] The driving module is used to drive the target pixels based on the compensated grayscale during the process of displaying the target display image on the display panel.

[0017] Thirdly, this application also provides a computer device. The computer device includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to implement the steps of the methods in any of the above embodiments.

[0018] The aforementioned pixel driving method, apparatus, and computer device first determine a first preset compensation grayscale under a preset color and preset grayscale when the display panel is displaying a monochrome display, and determine a second preset compensation grayscale under the preset grayscale when the display panel is displaying a mixed-color display. Then, during the display of the target display, the grayscale difference between any two target sub-pixels of the target pixel is compared with a preset grayscale range. Based on the comparison result, either the first or second preset compensation grayscale is selected to compensate the target pixel in the target display. This ensures that regardless of whether the target display is monochrome or mixed-color, a suitable preset compensation grayscale can be found for Demura compensation, effectively eliminating Mura defects in different display conditions. Since the grayscale of different sub-pixels of the same pixel is the same in the mixed-color display used to obtain the second preset compensation grayscale, this simplifies the complexity of the compensation algorithm and reduces DDIC (Display Driver Integrated Circuit). The circuit (display driver integrated circuit) reduces the computational load when calling compensation data, and avoids the additional color shift risk caused by different gray levels of different sub-pixels of the same pixel, ensuring the purity of the compensated color. Attached Figure Description

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

[0020] Figure 1 This is an application environment diagram of a pixel-driven method in one embodiment;

[0021] Figure 2 This is a flowchart illustrating a pixel-driven method in one embodiment;

[0022] Figure 3 This is a flowchart illustrating the first preset compensation grayscale determination method in one embodiment;

[0023] Figure 4 This is a flowchart illustrating the second preset compensation grayscale determination method in one embodiment;

[0024] Figure 5 Here is a flowchart of a pixel-driven method in another embodiment;

[0025] Figure 6 A flowchart of the compensation method determination process in another embodiment;

[0026] Figure 7 This is a structural block diagram of a pixel driving device in one embodiment;

[0027] Figure 8 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation

[0028] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0029] It should be noted that the terms "first," "second," etc., used in this application can be used to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish the first element from the second element. The terms "comprising" and "having," and any variations thereof, used in this application, are intended to cover non-exclusive inclusion. The term "multiple" used in this application refers to two or more. The term "and / or" used in this application refers to one of the embodiments, or any combination of multiple embodiments.

[0030] This application provides a pixel-driving method that can be applied to, for example... Figure 1 In the application environment shown, DDIC102 is electrically connected to display panel 104 via a flexible circuit or cable. DDIC102 drives the target pixel in display panel 104 to display based on a first preset compensated grayscale or a second preset compensated grayscale by comparing the grayscale difference between any two target sub-pixels of the target pixel with a preset grayscale range. Display panel 104 may be, but is not limited to, an OLED (Organic Light-Emitting Diode) display panel.

[0031] In one exemplary embodiment, such as Figure 2 As shown, a pixel-driving method is provided, which is applied to... Figure 1 Taking DDIC as an example, the explanation includes the following steps 202 to 210. Wherein:

[0032] S202. When the display panel displays a monochrome display screen with any preset color and any preset gray level, determine the first preset compensation gray level under the preset color and preset gray level, and when the display panel displays a mixed color display screen with any preset gray level, determine the second preset compensation gray level under the preset gray level; wherein, in the mixed color display screen, the gray levels of different sub-pixels of any pixel are the same.

[0033] Optionally, the preset color may be, but is not limited to, red (R), green (G), or blue (B); when displaying a monochrome display screen with any preset color and any preset grayscale on the display panel, the grayscale of the sub-pixels of all pixels that are the same color as the preset color is the preset grayscale, and the grayscale of the sub-pixels that are not the same color as the preset color is 0; if the mixed color display screen is a white display screen, then the grayscale of the red sub-pixels, green sub-pixels, and blue sub-pixels of the pixels is all 255.

[0034] Optionally, multiple preset colors and multiple preset gray levels are selected, and the theoretical brightness information corresponding to each preset gray level is obtained from the gamma curve of the display panel. The preset combination formed by each preset color and each preset gray level is determined. The display panel is controlled to display under each preset combination, and the actual brightness information of the sub-pixels of each pixel is obtained during the display process. By comparing the theoretical brightness information and the actual brightness information, the first preset compensation gray level under the preset combination is obtained.

[0035] Optionally, the display panel is controlled to display a mixed-color display image at each preset grayscale, and the actual brightness information of each pixel is obtained during the display process; by comparing the theoretical brightness information and the actual brightness information, a second preset compensation grayscale is obtained at the preset grayscale.

[0036] S204. For any target pixel in the target display screen, obtain the grayscale difference between any two target sub-pixels of the target pixel.

[0037] Optionally, for any target pixel, the grayscale of the sub-pixels of the target pixel can be such that the grayscale value of one target sub-pixel is not 0, and the grayscale values ​​of the other two target sub-pixels are both 0; or the grayscale values ​​of all target sub-pixels are all non-zero; or the grayscale values ​​of at least two target sub-pixels are not 0, and the grayscale difference between at least two target sub-pixels is not 0. This application does not specifically limit this.

[0038] S206. When there is a grayscale difference that is not within the preset grayscale range, determine a preset color that is the same as the color of any target sub-pixel, and perform grayscale compensation on the target sub-pixel based on the first preset compensation grayscale under the preset color.

[0039] Optionally, if G R-B G G-B and G R-G Let G represent the grayscale difference between the red and blue sub-pixels, the grayscale difference between the green and blue sub-pixels, and the grayscale difference between the red and green sub-pixels of the target pixel, respectively. R-B absolute value of G G-BThe absolute value of G, and G R-G The maximum absolute value among the three values ​​is used to determine whether the maximum absolute value is greater than the preset grayscale threshold Threshold. If the maximum absolute value is greater than Threshold, it means that the grayscale difference between different target sub-pixels is large, and a uniform compensation standard cannot be used to compensate for sub-pixels of different colors. Therefore, the first preset compensation grayscale under different preset colors can be used to compensate for the grayscale of the target sub-pixels according to the different colors of the target sub-pixels.

[0040] S208. When all gray level differences are within the preset gray level range, perform gray level compensation on all target sub-pixels of the target pixel based on the second preset compensation gray level.

[0041] Optionally, if the maximum absolute value is not greater than Threshold, it means that the grayscale difference between target sub-pixels of different colors of the target pixel is small, and the display characteristics of the target pixel are close to the previous mixed color display. Using the second preset compensation grayscale determined based on the mixed color display to perform grayscale compensation on all target sub-pixels can better meet the needs of the target display for Mura repair.

[0042] S210. During the process of displaying the target display image on the display panel, the target pixels are driven based on the compensated grayscale.

[0043] Optionally, for any target sub-pixel of the target pixel, the target driving voltage of the target sub-pixel can be obtained first, and the target gray level of the target sub-pixel can be obtained based on the target driving voltage; then, based on the previously obtained compensated gray level and target gray level, the compensated gray level of the target sub-pixel can be obtained, and the target pixel can be driven to display the corresponding brightness according to the compensated gray level.

[0044] In the aforementioned pixel-driving method, firstly, when the display panel is displaying a monochrome image, a first preset compensation grayscale is determined under a preset color and preset grayscale. Secondly, when the display panel is displaying a mixed-color image, a second preset compensation grayscale is determined under the preset grayscale. Then, during the display panel's display of the target image, the grayscale difference between any two target sub-pixels of the target pixel is compared with the preset grayscale range. Based on the comparison result, either the first or second preset compensation grayscale is selected to compensate the target pixel in the target image. In this way, regardless of whether the target image is a monochrome or mixed-color image, a suitable preset compensation grayscale can be found for Demura compensation, thereby effectively eliminating the Mura defect of the display panel under different display images. Since the grayscale of different sub-pixels of the same pixel is the same in the mixed-color image used to obtain the second preset compensation grayscale, this simplifies the complexity of the compensation algorithm, reduces the computational load of the DDIC (Display Driver Integrated Circuit) when calling compensation data, and avoids the additional color shift risk caused by the different grayscale of different sub-pixels of the same pixel, ensuring the purity of the compensated color.

[0045] In some embodiments, such as Figure 3 As shown, when the display panel displays a monochrome display with any preset color and any preset grayscale, determining the first preset compensation grayscale under the preset color and preset grayscale includes:

[0046] S302. Obtain the first preset brightness value corresponding to the preset grayscale in the gamma curve of the display panel, and during the display of the monochrome display screen, for any pixel in the display panel, obtain the first actual brightness value of the sub-pixel of the preset color.

[0047] S304. Obtain the first brightness difference between the first preset brightness value and the first actual brightness value, and the first initial compensation gray level of the first brightness difference in the gamma curve.

[0048] S306. Integrate all the first initial compensation gray levels to obtain the first preset compensation gray level under the preset color and preset gray level.

[0049] Among them, the gamma curve represents the correspondence between the brightness of pixels and grayscale in the display panel.

[0050] Optionally, the integration process for integrating all first initial compensated gray levels may, but is not limited to, calculating the average or median of all first initial compensated gray levels.

[0051] In this embodiment, based on the first brightness difference between the first preset brightness value obtained from the gamma curve and the first actual brightness value of the sub-pixel of the preset color, a first preset compensation grayscale under the preset color and preset grayscale is obtained. The first preset compensation grayscale obtained in this way is more accurate, so that the subsequent compensation of the display screen based on the first preset compensation grayscale has a better effect.

[0052] In some embodiments, such as Figure 4 As shown, when the display panel displays a mixed-color display image at any preset grayscale, determining the second preset compensation grayscale at the preset grayscale includes:

[0053] S402. Obtain the second preset brightness value corresponding to the preset grayscale in the gamma curve of the display panel, and during the display of the mixed color display screen, obtain the second actual brightness value of any pixel in the display panel.

[0054] S404. Obtain the second brightness difference between the second preset brightness value and the second actual brightness value, and the second initial compensation gray level of the second brightness difference in the gamma curve.

[0055] S406. Integrate all the second initial compensation gray levels to obtain the second preset compensation gray level under the preset gray level.

[0056] Optionally, the integration process for integrating all second initial compensated gray levels may, but is not limited to, calculating the average or median of all second initial compensated gray levels.

[0057] In this embodiment, a second preset compensation grayscale is obtained based on the second brightness difference between the second preset brightness value obtained from the gamma curve and the second actual brightness value of the pixel. This second preset compensation grayscale is more accurate, resulting in better compensation of the display image based on the second preset compensation grayscale.

[0058] In some embodiments, grayscale compensation is performed on the target sub-pixel based on a first preset compensation grayscale under a preset color, including: obtaining the target grayscale of the target sub-pixel; if there exists a preset grayscale that is the same as the target grayscale, determining the first preset compensation grayscale under the preset color and the target grayscale as the compensation grayscale of the target sub-pixel; if there is no preset grayscale that is the same as the target grayscale, sorting all preset grayscales in ascending order; for the sorting result, determining the largest grayscale among the preset grayscales smaller than the target grayscale as the first preset grayscale, and determining the smallest grayscale among the preset grayscales larger than the target grayscale as the second preset grayscale; and obtaining the compensation grayscale of the target sub-pixel based on the first preset grayscale and the second preset grayscale.

[0059] Optionally, after obtaining the compensated grayscale of the target sub-pixel, grayscale compensation can be performed on the target sub-pixel according to a preset compensation rule. For example, the preset compensation rule can be to determine the sum of the target grayscale and the compensated grayscale as the compensated grayscale of the target sub-pixel.

[0060] In this embodiment, regardless of whether there is a preset grayscale that is the same as the target grayscale, grayscale compensation can be performed on the target sub-pixel. This can cover all grayscale scenes of the target sub-pixel and completely avoid local Mura residue caused by incomplete grayscale coverage.

[0061] In some embodiments, obtaining the compensation gray level of the target sub-pixel based on the first preset gray level and the second preset gray level includes: interpolating based on the first preset gray level, the first preset compensation gray level under the preset color and the first preset gray level, the second preset gray level, and the first preset compensation gray level under the preset color and the second preset gray level to obtain a first mapping function between the gray level and the compensation gray level; substituting the target gray level into the first mapping function to obtain the compensation gray level of the target sub-pixel.

[0062] Optionally, the first preset gray level, the preset color and the first preset compensated gray level under the first preset gray level are used as the first coordinates in the coordinate system, and the second preset gray level, the preset color and the first preset compensated gray level under the second preset gray level are used as the second coordinates in the coordinate system. The first coordinates and the second coordinates are fitted using linear interpolation to obtain the first mapping function between the gray level and the compensated gray level.

[0063] In this embodiment, when there is no preset gray level that is the same as the target gray level, a first mapping function between the gray level and the compensation gray level is obtained, and the compensation gray level of the target sub-pixel is obtained based on the first mapping function. The compensation gray level obtained in this way can provide more accurate compensation for the target sub-pixel.

[0064] In some embodiments, grayscale compensation is performed on all target sub-pixels of the target pixel based on a second preset compensation grayscale, including: for any target sub-pixel of the target pixel, obtaining the target grayscale of the target sub-pixel; if there is a preset grayscale that is the same as the target grayscale, determining the second preset compensation grayscale under the target grayscale as the compensation grayscale of the target sub-pixel; if there is no preset grayscale that is the same as the target grayscale, sorting all preset grayscales in ascending order; based on the sorting result, determining the largest grayscale among the preset grayscales smaller than the target grayscale as the third preset grayscale, and determining the smallest grayscale among the preset grayscales larger than the target grayscale as the fourth preset grayscale; and obtaining the compensation grayscale of the target sub-pixel based on the third preset grayscale and the fourth preset grayscale.

[0065] Optionally, when using the second preset compensation grayscale to compensate the target sub-pixels of the target pixel, it is not necessary to distinguish the color of the target sub-pixels. The second preset compensation grayscale obtained above can be used as the compensation reference for all target sub-pixels.

[0066] In this embodiment, regardless of whether there is a preset grayscale that is the same as the target grayscale, grayscale compensation can be performed on the target sub-pixel. This can cover all grayscale scenes of the target sub-pixel and completely avoid local Mura residue caused by incomplete grayscale coverage.

[0067] In some embodiments, obtaining the compensation gray level of the target sub-pixel based on the third preset gray level and the fourth preset gray level includes: interpolating based on the third preset gray level, the second preset compensation gray level under the third preset gray level, the fourth preset gray level, and the second preset compensation gray level under the fourth preset gray level to obtain a second mapping function between the gray level and the compensation gray level; substituting the target gray level into the second mapping function to obtain the compensation gray level of the target sub-pixel.

[0068] Optionally, the third preset gray level and the second preset compensated gray level under the third preset gray level are used as the third coordinate in the coordinate system, and the fourth preset gray level and the second preset compensated gray level under the fourth preset gray level are used as the fourth coordinate in the coordinate system. The third coordinate and the fourth coordinate are fitted using the linear interpolation method to obtain the second mapping function between the gray level and the compensated gray level.

[0069] In this embodiment, when there is no preset gray level that is the same as the target gray level, a second mapping function between the gray level and the compensation gray level is obtained, and the compensation gray level of the target sub-pixel is obtained based on the second mapping function. The compensation gray level obtained in this way can provide more accurate compensation for the target sub-pixel.

[0070] In some embodiments, driving the target pixel based on the compensated grayscale includes: obtaining the corresponding brightness value of the compensated grayscale from the gamma curve of the display panel, and using the obtained brightness value as the target brightness value of the target sub-pixel.

[0071] Optionally, for any target pixel, after obtaining the target brightness values ​​of all target sub-pixels, the target brightness values ​​of all target sub-pixels are weighted and summed to obtain the target brightness value of the target pixel.

[0072] In this embodiment, the target brightness value of each target sub-pixel is obtained based on the gamma curve, and the target brightness value of the target pixel is obtained by weighted summation. In this way, after the target pixel is displayed according to the target brightness value, the Mura defect in the target display screen can be eliminated to the greatest extent.

[0073] In one exemplary embodiment, such as Figure 5As shown, another pixel-driven method is proposed, which includes the following:

[0074] With the display panel showing red (R), green (G), blue (B), and white (W) images respectively, a camera takes pictures of each image and uses the Demura algorithm to generate compensation data for each image. This compensation data is then burned into the display panel's Flash IC (Flash Integrated Circuit). When the display panel is displaying an image, the Host (main processor) uses MIPI (Mobile Industry Processor) to... The Interface (MIG) transmits display information to the DDIC and sets a preset threshold within the DDIC to select compensation data for RGB subpixels. For any pixel, when the maximum value among the absolute values ​​of the grayscale difference between R and G subpixels, R and B subpixels, and G and B subpixels is greater than the preset threshold, Demura compensation is performed using compensation data from red, green, and blue display images according to color correspondence. When the maximum value among the absolute values ​​of the grayscale difference between R and G subpixels, R and B subpixels, and G and B subpixels is not greater than the preset threshold, all three colors of subpixels are compensated using compensation data from white display images.

[0075] DDIC determines the compensation method based on the relationship between the absolute value of the grayscale difference and a preset threshold, as follows: Figure 6 As shown; Figure 6 In , , These represent the absolute values ​​of the grayscale difference between R and B sub-pixels, G and B sub-pixels, and R and G sub-pixels, respectively. Threshold represents the preset threshold.

[0076] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages in other steps. It is understood that the steps in different embodiments can be freely combined as needed, and all non-contradictory solutions formed by such combinations are within the scope of protection of this application.

[0077] Based on the same inventive concept, this application also provides a pixel driving device for implementing the pixel driving method described above. The solution provided by this device is similar to the implementation described in the above method; therefore, the specific limitations in one or more pixel driving device embodiments provided below can be found in the limitations of the pixel driving method described above, and will not be repeated here.

[0078] In one exemplary embodiment, such as Figure 7 As shown, a pixel driving device 700 is provided, including: a first determining module 701, an acquiring module 702, a second determining module 703, a compensation module 704, and a driving module 705, wherein:

[0079] The first determining module 701 is used to determine a first preset compensation grayscale under the preset color and the preset grayscale when the display panel displays a monochrome display screen with any preset color and any preset grayscale, and to determine a second preset compensation grayscale under the preset grayscale when the display panel displays a mixed color display screen with any preset grayscale; wherein, in the mixed color display screen, the grayscale of different sub-pixels of any pixel point is the same.

[0080] The acquisition module 702 is used to acquire the grayscale difference between any two target sub-pixels of any target pixel in the target display screen.

[0081] The second determining module 703 is used to determine a preset color that is the same as the color of any target sub-pixel when there is a gray level difference that is not within the preset gray level range, and to perform gray level compensation on the target sub-pixel based on the first preset compensation gray level under the preset color.

[0082] The compensation module 704 is used to perform grayscale compensation on all target sub-pixels of the target pixel based on the second preset compensation grayscale when all grayscale differences are within the preset grayscale range.

[0083] The driving module 705 is used to drive the target pixels based on the compensated grayscale during the process of displaying the target display image on the display panel.

[0084] In some embodiments, the first determining module 701 is further configured to obtain the first preset brightness value corresponding to the preset grayscale in the gamma curve of the display panel, and during the display of the monochrome display screen, for any pixel in the display panel, obtain the first actual brightness value of the sub-pixel of the preset color; obtain the first brightness difference between the first preset brightness value and the first actual brightness value, and the first initial compensation grayscale corresponding to the first brightness difference in the gamma curve; integrate all the first initial compensation grayscales to obtain the preset color and the first preset compensation grayscale under the preset grayscale.

[0085] In some embodiments, the first determining module 701 is further configured to obtain the second preset brightness value corresponding to the preset grayscale in the gamma curve of the display panel, and during the display process of the mixed color display screen, obtain the second actual brightness value of any pixel in the display panel; obtain the second brightness difference between the second preset brightness value and the second actual brightness value, and the second initial compensation grayscale corresponding to the second brightness difference in the gamma curve; integrate all the second initial compensation grayscales to obtain the second preset compensation grayscale under the preset grayscale.

[0086] In some embodiments, the second determining module 703 is further configured to: obtain the target grayscale of the target sub-pixel; if there exists a preset grayscale that is the same as the target grayscale, determine the preset color and the first preset compensation grayscale under the target grayscale as the compensation grayscale of the target sub-pixel; if there is no preset grayscale that is the same as the target grayscale, sort all preset grayscales in ascending order; based on the sorting result, determine the largest grayscale among the preset grayscales smaller than the target grayscale as the first preset grayscale, and determine the smallest grayscale among the preset grayscales larger than the target grayscale as the second preset grayscale; and obtain the compensation grayscale of the target sub-pixel based on the first preset grayscale and the second preset grayscale.

[0087] In some embodiments, the second determining module 703 is further configured to perform interpolation based on the first preset grayscale, the preset color and the first preset compensation grayscale under the first preset grayscale, the second preset grayscale, and the preset color and the first preset compensation grayscale under the second preset grayscale to obtain a first mapping function between the grayscale and the compensation grayscale; and substitute the target grayscale into the first mapping function to obtain the compensation grayscale of the target sub-pixel.

[0088] In some embodiments, the compensation module 704 is further configured to: obtain the target grayscale of any target sub-pixel of the target pixel; if there exists a preset grayscale that is the same as the target grayscale, determine the second preset compensation grayscale under the target grayscale as the compensation grayscale of the target sub-pixel; if there is no preset grayscale that is the same as the target grayscale, sort all preset grayscales in ascending order; based on the sorting result, determine the largest grayscale among the preset grayscales smaller than the target grayscale as the third preset grayscale, and determine the smallest grayscale among the preset grayscales larger than the target grayscale as the fourth preset grayscale; and obtain the compensation grayscale of the target sub-pixel based on the third preset grayscale and the fourth preset grayscale.

[0089] In some embodiments, the compensation module 704 is further configured to perform interpolation based on the third preset gray level, the second preset compensation gray level under the third preset gray level, the fourth preset gray level, and the second preset compensation gray level under the fourth preset gray level to obtain a second mapping function between the gray level and the compensation gray level; and substitute the target gray level into the second mapping function to obtain the compensation gray level of the target sub-pixel.

[0090] In some embodiments, the driving module 705 is further configured to obtain the corresponding brightness value of the compensated grayscale from the gamma curve of the display panel, and use the obtained brightness value as the target brightness value of the target sub-pixel.

[0091] Each module in the aforementioned pixel driving device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device, or stored in the memory of a computer device as software, so that the processor can call and execute the operations corresponding to each module.

[0092] In one exemplary embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as follows: Figure 8As shown, this computer device includes a processor, memory, input / output interfaces (I / O), and a communication interface. The processor, memory, and I / O interfaces are connected via a system bus, and the communication interface is also connected to the system bus via the I / O interfaces. The processor provides computational and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system, computer programs, and a database. The internal memory provides the environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The database stores display data. The I / O interfaces are used for exchanging information between the processor and external devices. The communication interface is used for communicating with external terminals via a network connection. When executed by the processor, the computer program implements a pixel-driven method.

[0093] Those skilled in the art will understand that Figure 8 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0094] In one embodiment, a computer device is also provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps in the above method embodiments.

[0095] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of the relevant data must comply with relevant regulations.

[0096] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, artificial intelligence (AI) processors, etc., and are not limited to these.

[0097] The technical features of the above embodiments can be combined in any way. For the sake of brevity, 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 application.

[0098] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.

Claims

1. A pixel-driving method, characterized in that, The method includes: When the display panel displays a monochrome display of any preset color and any preset grayscale, a first preset compensation grayscale is determined under the preset color and the preset grayscale; and when the display panel displays a mixed color display of any preset grayscale, a second preset compensation grayscale is determined under the preset grayscale; wherein, in the mixed color display, the grayscale of different sub-pixels of any pixel is the same. For any target pixel in the target display screen, obtain the grayscale difference between any two target sub-pixels of the target pixel; In the case where the grayscale difference is not within the preset grayscale range, a preset color that is the same as the color of any target sub-pixel is determined, and grayscale compensation is performed on the target sub-pixel based on the first preset compensation grayscale under the preset color. When all grayscale differences are within the preset grayscale range, grayscale compensation is performed on all target sub-pixels of the target pixel based on the second preset compensation grayscale. During the process of displaying the target display image on the display panel, the target pixels are driven based on the compensated grayscale.

2. The method according to claim 1, characterized in that, When a monochrome display screen shows any preset color and any preset grayscale on the display panel, determining the first preset compensation grayscale under the preset color and the preset grayscale includes: Obtain the first preset brightness value corresponding to the preset grayscale in the gamma curve of the display panel, and during the display of the monochrome display screen, for any pixel in the display panel, obtain the first actual brightness value of the sub-pixel of the preset color; Obtain the first brightness difference between the first preset brightness value and the first actual brightness value, and the first initial compensation gray level corresponding to the first brightness difference in the gamma curve; All the first initial compensation gray levels are integrated to obtain the preset color and the first preset compensation gray level under the preset gray level.

3. The method according to claim 1, characterized in that, When the display panel displays a mixed-color display image with any preset grayscale, determining the second preset compensation grayscale under the preset grayscale includes: Obtain the second preset brightness value corresponding to the preset grayscale in the gamma curve of the display panel, and during the display process of the mixed color display screen, obtain the second actual brightness value of any pixel in the display panel; Obtain the second brightness difference between the second preset brightness value and the second actual brightness value, and the second initial compensation gray level of the second brightness difference in the gamma curve; All second initial compensation gray levels are integrated to obtain the second preset compensation gray level under the preset gray level.

4. The method according to claim 1, characterized in that, The grayscale compensation of the target sub-pixel based on the first preset compensation grayscale under the preset color includes: Obtain the target grayscale of the target sub-pixel; If there exists a preset grayscale that is the same as the target grayscale, the preset color and the first preset compensation grayscale under the target grayscale are determined as the compensation grayscale of the target sub-pixel. If no preset gray level is the same as the target gray level, sort all preset gray levels in ascending order. Based on the sorting results, the largest gray level among the preset gray levels that are smaller than the target gray level is determined as the first preset gray level, and the smallest gray level among the preset gray levels that are larger than the target gray level is determined as the second preset gray level. Based on the first preset grayscale and the second preset grayscale, the compensation grayscale of the target sub-pixel is obtained.

5. The method according to claim 4, characterized in that, The step of obtaining the compensated gray level of the target sub-pixel based on the first preset gray level and the second preset gray level includes: Based on the first preset grayscale, the preset color and the first preset compensation grayscale under the first preset grayscale, the second preset grayscale, and the preset color and the first preset compensation grayscale under the second preset grayscale, interpolation is performed to obtain the first mapping function between the grayscale and the compensation grayscale. Substituting the target grayscale into the first mapping function yields the compensated grayscale of the target sub-pixel.

6. The method according to claim 1, characterized in that, The grayscale compensation of all target sub-pixels of the target pixel based on the second preset compensation grayscale includes: For any target sub-pixel of the target pixel, obtain the target grayscale of the target sub-pixel; If there exists a preset gray level that is the same as the target gray level, the second preset compensation gray level under the target gray level is determined as the compensation gray level of the target sub-pixel. If no preset gray level is the same as the target gray level, sort all preset gray levels in ascending order. Based on the sorting results, the largest gray level among the preset gray levels that are smaller than the target gray level is determined as the third preset gray level, and the smallest gray level among the preset gray levels that are larger than the target gray level is determined as the fourth preset gray level. Based on the third preset grayscale and the fourth preset grayscale, the compensation grayscale of the target sub-pixel is obtained.

7. The method according to claim 6, characterized in that, The step of obtaining the compensation grayscale of the target sub-pixel based on the third preset grayscale and the fourth preset grayscale includes: Based on the third preset gray level, the second preset compensation gray level under the third preset gray level, the fourth preset gray level, and the second preset compensation gray level under the fourth preset gray level, interpolation is performed to obtain the second mapping function between the gray level and the compensation gray level. Substituting the target grayscale into the second mapping function yields the compensated grayscale of the target sub-pixel.

8. The method according to claim 1, characterized in that, The method of driving the target pixel based on the compensated grayscale includes: The luminance value corresponding to the compensated grayscale is obtained from the gamma curve of the display panel, and the obtained luminance value is used as the target luminance value of the target sub-pixel.

9. A pixel driving device, characterized in that, The device includes: The first determining module is used to determine a first preset compensation grayscale under the preset color and the preset grayscale when the display panel displays a monochrome display screen with any preset color and any preset grayscale, and to determine a second preset compensation grayscale under the preset grayscale when the display panel displays a mixed color display screen with any preset grayscale; wherein, in the mixed color display screen, the grayscale of different sub-pixels of any pixel is the same. The acquisition module is used to acquire the grayscale difference between any two target sub-pixels of any target pixel in the target display screen. The second determining module is used to determine a preset color that is the same as the color of any target sub-pixel when there is a gray level difference that is not within the preset gray level range, and to perform gray level compensation on the target sub-pixel based on the first preset compensation gray level under the preset color. The compensation module is used to perform grayscale compensation on all target sub-pixels of the target pixel based on the second preset compensation grayscale when all grayscale differences are within the preset grayscale range. The driving module is used to drive the target pixels based on the compensated grayscale during the process of displaying the target display image on the display panel.

10. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 8.