Display panel driving method and device, electronic equipment and storage medium

By calling the gamma value correction coefficient matrix and the preset anti-speckle table in the display panel driving method to calculate the grayscale compensation value of each pixel, the problem of uneven gamma value across the entire panel in the existing technology is solved, and consistent gamma value correction of the entire display panel is achieved, thereby improving the display effect.

CN117524127BActive Publication Date: 2025-10-10TCL CHINA STAR OPTOELECTRONICS TECHNOLOGY CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310281192.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-03-21
Publication Date
2025-10-10
Estimated Expiration
2043-03-21

AI Technical Summary

Technical Problem

Existing gamma correction methods can only ensure that the gamma value of the center part of the panel meets the requirements, but cannot ensure that the gamma value of the entire panel meets the specification requirements.

Method used

By determining the initial driving grayscale of each pixel according to the image to be displayed, calling the gamma value correction coefficient matrix of the display panel, combining with the preset anti-speckle table, calculating the grayscale compensation value of each pixel, and driving the display panel to display the image to be displayed, the whole-surface gamma value correction is achieved.

Benefits of technology

Without modifying the existing gamma value correction method, the gamma value of the entire display panel can be made to meet the specification requirements, thereby improving the panel image quality and making the gamma value characteristics of different positions consistent.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117524127B_ABST
    Figure CN117524127B_ABST
Patent Text Reader

Abstract

The application provides a display panel driving method and device, electronic equipment and storage medium, relates to the display technical field, solves the problem that the current display panel driving method cannot make the gamma value of the whole panel meet the specification requirement, and comprises the following steps: determining the initial driving gray scale of each pixel according to a to-be-displayed picture, calling a gamma value correction coefficient matrix of the display panel, the gamma value correction coefficient matrix comprising the gamma value correction coefficient of all pixels of the display panel under each initial driving gray scale, determining the gray scale compensation value of each pixel according to the initial driving gray scale of each pixel, the gamma value correction coefficient matrix and a preset spot elimination table, and driving the display panel to display the to-be-displayed picture according to the gray scale compensation value and the initial driving gray scale of each pixel. The application can improve the gamma value characteristic problem of different positions of the display panel, so that the whole Gamma value of the display panel meets the specification requirement.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of display technology, and in particular to a display panel driving method, device, electronic device and storage medium. Background Art

[0002] In the field of Thin Film Transistor-Liquid Crystal Display (TFT-LCD), gamma correction is usually required to ensure that the optoelectronic characteristics of the panel meet the visual requirements of the human eye. Generally, the gamma value of the panel needs to be close to 2.2.

[0003] Existing gamma correction methods generally perform correction based on the gamma value of the center point of the panel. Therefore, they can only ensure that the gamma value of the center part of the panel meets the requirements. If the original gamma characteristics of the remaining areas of the panel are too different from those of the center area, the existing gamma correction method cannot make the gamma value of the entire panel meet the requirements. Summary of the Invention

[0004] The present application provides a display panel driving method, device, electronic device and storage medium for improving the gamma value characteristic problem of different positions of a display panel so that the gamma value of the entire display panel meets the specification requirements.

[0005] In one aspect, the present application provides a display panel driving method, comprising:

[0006] Determine the initial driving grayscale of each pixel according to the image to be displayed;

[0007] calling a gamma value correction coefficient matrix of a display panel, wherein the gamma value correction coefficient matrix includes gamma value correction coefficients of all pixels of the display panel at each of the initial driving grayscales;

[0008] Determining a grayscale compensation value for each pixel according to the initial driving grayscale of each pixel, the gamma value correction coefficient matrix, and a preset speckle removal table;

[0009] The display panel is driven to display the image to be displayed according to the grayscale compensation value of each pixel and the initial driving grayscale.

[0010] In a possible implementation of the present application, determining the grayscale compensation value of each pixel according to the initial driving grayscale of each pixel, the gamma value correction coefficient matrix, and a preset compensation table includes:

[0011] Determining gamma value correction coefficient parameters corresponding to the image to be displayed according to the initial driving grayscale of each pixel and the gamma value correction coefficient matrix;

[0012] determining an initial despeckle compensation matrix corresponding to the image to be displayed according to the initial driving grayscale of each pixel and the preset despeckle table;

[0013] The grayscale compensation value of each pixel corresponding to the image to be displayed is determined according to the gamma value correction coefficient parameter and the initial speckle removal compensation matrix.

[0014] In a possible implementation of the present application, determining the gamma correction coefficient parameters corresponding to the image to be displayed based on the initial driving grayscale of each pixel and the gamma correction coefficient matrix includes:

[0015] According to the pixel coordinates of each pixel and the initial driving grayscale i, a search is performed in the gamma value correction coefficient matrix to determine the gamma value correction coefficient parameters corresponding to the image to be displayed.

[0016] In a possible implementation of the present application, determining the initial speckle removal compensation matrix corresponding to the image to be displayed according to the initial driving grayscale of each pixel and the preset speckle removal table includes:

[0017] According to the pixel coordinates of each pixel and the initial driving grayscale i, a search is performed in the preset speckle removal table to determine an initial speckle removal compensation matrix corresponding to the image to be displayed.

[0018] In a possible implementation of the present application, determining the grayscale compensation value of each pixel corresponding to the image to be displayed based on the gamma value correction coefficient parameter and the initial speckle removal compensation matrix includes:

[0019] Performing initial compensation on the initial driving grayscale i of each pixel according to the initial despeckle compensation matrix, and determining an initial compensated driving grayscale matrix corresponding to the image to be displayed;

[0020] The gamma value correction coefficient parameter is multiplied by the initial compensation driving grayscale matrix to determine the grayscale compensation value of each pixel corresponding to the image to be displayed.

[0021] In a possible implementation of the present application, before calling the gamma value correction coefficient matrix of the display panel, the method further comprises:

[0022] Calculating the initial gamma value of the target pixel at the initial driving grayscale i according to a preset initial gamma value calculation strategy;

[0023] Calculating a gamma value compensation coefficient of the target pixel at the initial driving grayscale i according to a pre-acquired gamma reference value and the initial gamma value of the target pixel at the initial driving grayscale i;

[0024] Calculating a despeckle compensation value compensation coefficient of the target pixel at the initial driving grayscale i according to a preset initial despeckle compensation value calculation strategy;

[0025] Performing a dot multiplication of the gamma value compensation coefficient and the despeckle compensation value compensation coefficient to calculate the gamma value correction coefficient of the target pixel;

[0026] A gamma value correction coefficient matrix of the display panel is determined according to the gamma value correction coefficient of the target pixel and the gamma value correction coefficient of a preset display panel center point.

[0027] In a possible implementation of the present application, determining a gamma correction coefficient matrix of the display panel based on the gamma correction coefficient of the target pixel and the gamma correction coefficient of a preset display panel center point includes:

[0028] An interpolation algorithm is used to expand a gamma value correction coefficient matrix of the display panel according to the gamma value correction coefficient of the target pixel and the gamma value correction coefficient of the preset display panel center point.

[0029] On the other hand, the present application provides a display panel driving device, the device comprising:

[0030] An initial driving grayscale determination module, used to determine the initial driving grayscale of each pixel according to the image to be displayed;

[0031] a gamma value correction coefficient parameter calling module, configured to call a gamma value correction coefficient matrix of a display panel, wherein the gamma value correction coefficient matrix includes gamma value correction coefficients of all pixels of the display panel at each of the initial driving grayscales;

[0032] a grayscale compensation value determination module, configured to determine the grayscale compensation value of each pixel according to the initial driving grayscale of each pixel, the gamma value correction coefficient matrix, and a preset despeckle table;

[0033] The display driving module is used to drive the display panel to display the image to be displayed according to the grayscale compensation value of each pixel and the initial driving grayscale.

[0034] On the other hand, the present application further provides an electronic device, comprising:

[0035] one or more processors;

[0036] Memory; and

[0037] One or more application programs, wherein the one or more application programs are stored in the memory and configured to be executed by the processor to implement the display panel driving method.

[0038] On the other hand, the present application also provides a computer-readable storage medium having a computer program stored thereon, and the computer program is loaded by a processor to execute the steps in the display panel driving method.

[0039] The present application determines the initial driving grayscale of each pixel according to the picture to be displayed, calls the gamma value correction coefficient matrix of the display panel, and the gamma value correction coefficient matrix includes the gamma value correction coefficients of all pixels of the display panel at each initial driving grayscale. According to the initial driving grayscale of each pixel, the gamma value correction coefficient matrix and the preset anti-speckle table, the grayscale compensation value of each pixel is determined. According to the grayscale compensation value and the initial driving grayscale of each pixel, the display panel is driven to display the picture to be displayed. That is, the present application corrects the grayscale compensation value of each pixel by the gamma value correction coefficient matrix of the display panel obtained in advance. There is no need to modify the existing gamma value correction method to complete the correction of the gamma value of the entire display panel, thereby improving the gamma value characteristic problem of different positions of the display panel, improving the panel image quality, and making the gamma value of the entire display panel meet the specification requirements. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0041] Figure 1 is a schematic diagram of a display panel driving system provided in an embodiment of the present application;

[0042] Figure 2 This is a schematic flow chart of an embodiment of a display panel driving method provided in an embodiment of the present application;

[0043] Figure 3 This is a schematic diagram of the structure of an embodiment of the three-camera distribution provided in the embodiment of the present application;

[0044] Figure 4 1 is a schematic structural diagram of an embodiment of a display panel driving device provided in an embodiment of the present application;

[0045] Figure 5 It is a schematic diagram of the structure of an embodiment of an electronic device provided in the embodiments of the present application. DETAILED DESCRIPTION

[0046] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the embodiments described are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without making creative efforts shall fall within the scope of protection of the present invention.

[0047] In the description of the present invention, it should be understood that the terms "first" and "second" are used for descriptive purposes only and should not be understood to indicate or imply relative importance or implicitly specify the number of the technical features indicated. Therefore, features specified as "first" or "second" may explicitly or implicitly include one or more of the specified features. In the description of the present invention, "plurality" means two or more, unless otherwise specifically defined.

[0048] In this application, the word "exemplary" is used to mean "serving as an example, illustration, or illustration." Any embodiment described in this application as "exemplary" is not necessarily to be construed as preferred or advantageous over other embodiments. The following description is given to enable any person skilled in the art to make and use the invention. In the following description, details are listed for the purpose of explanation. It should be understood that one of ordinary skill in the art will recognize that the invention can be practiced without these specific details. In other instances, well-known structures and processes are not described in detail to avoid obscuring the description of the invention with unnecessary detail. Therefore, the present invention is not intended to be limited to the embodiments shown, but is to be accorded the widest scope consistent with the principles and features disclosed herein.

[0049] To solve the above problems, embodiments of the present application provide a display panel driving method, device, electronic device, and storage medium, which are described in detail below.

[0050] The executor of the display panel driving method of the embodiment of the present application can be the display panel driving device provided in the embodiment of the present application, or different types of electronic devices such as a server device, a physical host or a user equipment (UE) that integrates the display panel driving device, wherein the display panel driving device can be implemented in hardware or software, and the UE can specifically be a terminal device such as a smart phone, a tablet computer, a laptop computer, a PDA, a desktop computer or a personal digital assistant (PDA).

[0051] The electronic device can operate in a standalone mode or in a device cluster mode.

[0052] like Figure 1 As shown, Figure 1 is a scenario diagram of a display panel driving system provided by an embodiment of the present application. The display panel driving system can include an electronic device 100 for implementing a display panel driving method, and the electronic device 100 has a display panel driving apparatus integrated therein.

[0053] In addition, as shown in Figure 1 , the display panel driving system can further include a memory 200 for storing data, such as a gamma value correction coefficient parameter, a preset demura table, and a gray scale compensation value of each pixel.

[0054] It should be noted that Figure 1 , the scenario diagram of the display panel driving system shown is only an example, and the display panel driving system and scenario described in the embodiments of the present application are for more clearly illustrating the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided by the embodiments of the present application. Those skilled in the art can know that, as the display panel driving system evolves and new business scenarios appear, the technical solutions provided by the embodiments of the present application are also applicable to similar technical problems.

[0055] Next, the display panel driving method provided by the embodiments of the present application will be introduced. In the embodiments of the present application, an electronic device is taken as an execution subject, and in order to simplify and facilitate the description, the execution subject will be omitted in the subsequent method embodiments. The display panel driving method includes:

[0056] determining initial driving gray scales of each pixel according to a to-be-displayed picture;

[0057] calling a gamma value correction coefficient matrix of the display panel, the gamma value correction coefficient matrix including gamma value correction coefficients of all pixels of the display panel at each initial driving gray scale;

[0058] determining a gray scale compensation value of each pixel according to the initial driving gray scale of each pixel, the gamma value correction coefficient matrix, and a preset demura table;

[0059] driving the display panel to display the to-be-displayed picture according to the gray scale compensation value of each pixel and the initial driving gray scale.

[0060] The embodiments of the present application correct the gray scale compensation value of each pixel by using the gamma value correction coefficient matrix of the display panel obtained by pre-computation, without modifying the existing gamma value correction method, so as to correct the gamma value of the entire display panel, thereby improving the gamma value characteristics of different positions of the display panel, improving the panel quality, and making the gamma value of the entire display panel meet the specification requirements.

[0061] As shown in Figure 2 , it is a flowchart of an embodiment of the display panel driving method in the embodiments of the present application, Figure 2 This is a flow chart of a display panel driving method provided by an embodiment of the present application. It should be noted that although the logical order is shown in the flow chart, in some cases, the steps shown or described may be performed in a different order than here. The display panel driving method specifically includes steps 201 to 204:

[0062] 201. Determine an initial driving grayscale of each pixel according to a picture to be displayed.

[0063] The picture to be displayed is the picture to be displayed in the next frame by the display panel. For example, when the grayscale level of the initial driving grayscale of the picture to be displayed input by the display panel is 8 bits, the initial driving grayscale corresponds to any grayscale value of 0 to 255.

[0064] 202. Calling a gamma value correction coefficient matrix of the display panel, where the gamma value correction coefficient matrix includes gamma value correction coefficients of all pixels of the display panel at each initial driving grayscale.

[0065] In this embodiment, the gamma value correction coefficient matrix of the display panel is pre-calculated. The specific calculation method of the gamma value correction coefficient parameters of the display panel is shown in steps 2021 to 2025 below, and this embodiment does not make any specific limitation on this.

[0066] 203. Determine a grayscale compensation value for each pixel according to the initial driving grayscale of each pixel, the gamma value correction coefficient matrix, and a preset speckle removal table.

[0067] In this embodiment, the grayscale compensation value of each pixel is determined according to the initial driving grayscale of each pixel, the gamma value correction coefficient matrix and the preset compensation table, which specifically includes steps 2031 to 2033:

[0068] 2031. Determine gamma value correction coefficient parameters corresponding to the image to be displayed according to the initial driving grayscale of each pixel and the gamma value correction coefficient matrix.

[0069] In this embodiment, the gamma value correction coefficient parameters corresponding to the image to be displayed are determined based on the initial driving grayscale and gamma value correction coefficient matrix of each pixel, specifically including: searching in the gamma value correction coefficient matrix according to the pixel coordinates of each pixel and the initial driving grayscale i to determine the gamma value correction coefficient parameters corresponding to the image to be displayed.

[0070] 2032. Determine an initial anti-speckle compensation matrix corresponding to the image to be displayed according to the initial driving grayscale of each pixel and a preset anti-speckle table.

[0071] In this embodiment, the initial despeckle compensation matrix corresponding to the image to be displayed is determined according to the initial driving grayscale of each pixel and the preset despeckle table, specifically including:

[0072] According to the pixel coordinates of each pixel and the initial driving grayscale i, a search is performed in the preset despeckle table to determine the initial despeckle compensation matrix corresponding to the image to be displayed.

[0073] 2033. Determine the grayscale compensation value of each pixel corresponding to the image to be displayed according to the gamma value correction coefficient parameter and the initial speckle reduction compensation matrix.

[0074] In this embodiment, the grayscale compensation value of each pixel corresponding to the image to be displayed is determined according to the gamma value correction coefficient parameter and the initial despeckle compensation matrix, specifically including:

[0075] According to the initial despeckle compensation matrix, the initial driving grayscale i of each pixel is initially compensated to determine the initial compensated driving grayscale matrix corresponding to the image to be displayed; the gamma value correction coefficient parameter is dot-multiplied with the initial compensated driving grayscale matrix to determine the grayscale compensation value of each pixel corresponding to the image to be displayed.

[0076] 204 . Drive the display panel to display the image to be displayed according to the grayscale compensation value of each pixel and the initial driving grayscale.

[0077] That is, the display panel driving method proposed in the present application does not require modification of the existing gamma correction method. Before driving the display panel to display the picture to be displayed, it is only necessary to calculate the gamma value correction coefficient parameters, and perform dot multiplication of the gamma value correction coefficient parameters and the driving grayscale matrix after initial compensation to determine the grayscale compensation value of each pixel corresponding to the picture to be displayed. According to the grayscale compensation value of each pixel and the initial driving grayscale, the display panel is driven to display the picture to be displayed, so that the gamma value of the entire area of ​​the display panel is almost consistent with the gamma value of the central area, and the overall display effect is more uniform.

[0078] In some embodiments of the present application, before calling the gamma value correction coefficient parameters of the display panel, the method further includes steps 2021 to 2025:

[0079] 2021. Calculate the initial gamma value of the target pixel at the initial driving grayscale i according to a preset initial gamma value calculation strategy.

[0080] 2022. Calculate a gamma value compensation coefficient of the target pixel at the initial driving grayscale i according to a pre-acquired gamma reference value and the initial gamma value of the target pixel at the initial driving grayscale i.

[0081] 2023. Calculate the anti-speckle compensation value compensation coefficient of the target pixel at the initial driving grayscale i according to a preset initial anti-speckle compensation value calculation strategy.

[0082] 2024. Perform a dot product of the gamma value compensation coefficient and the despeckle compensation coefficient to calculate the gamma value correction coefficient of the target pixel.

[0083] 2025. Determine a gamma value correction coefficient matrix of the display panel according to the gamma value correction coefficient of the target pixel and the preset gamma value correction coefficient of the center point of the display panel.

[0084] In this embodiment, the gamma value correction coefficient matrix of the display panel is determined based on the gamma value correction coefficient of the target pixel and the gamma value correction coefficient of the preset display panel center point, specifically including: using an interpolation algorithm to expand the gamma value correction coefficient matrix of the display panel based on the gamma value correction coefficient of the target pixel and the gamma value correction coefficient of the preset display panel center point.

[0085] In this embodiment, the interpolation algorithm may adopt a gamma curve difference algorithm or an average value interpolation algorithm to expand the gamma value correction coefficient matrix of the display panel. This embodiment does not specifically limit the adopted difference algorithm.

[0086] In this embodiment, the above steps 2021 to 2025 are described in detail below using a specific application scenario.

[0087] For example, the target pixel proposed in step 2021 can be calibrated using the image information of multiple cameras. Generally, three cameras or five cameras can be used. Here, three cameras are taken as an example. The distribution of the three cameras is as follows: Figure 3 As shown in the figure, the panel is the display panel, and the three cameras are respectively distributed at the left, center and right positions of the display panel. The y-axis direction of the three cameras is located at 0.5*H of the display panel, where H is a height value in the y-axis direction. The value of H can be set as needed. The centers of the pictures taken by the three cameras are all brightness data under the normal viewing angle, so the gamma values ​​calculated based on this are also the gamma values ​​under the normal viewing angle.

[0088] The display panel positions corresponding to the three cameras, namely, the center point, the left point, and the right point, are set. That is, in this example, the target pixel can be represented by any one of the center point, the left point, or the right point, and the pixel position of the center point on the display panel is set to loc0, the pixel position of the left point on the display panel is set to loc1, and the pixel position of the right point on the display panel is set to loc2.

[0089] Based on the above definition of the center point, the left point, or the right point, the actual implementation steps of steps 2021 to 2025 may include steps S1 to S5:

[0090] S1. According to the formula Calculate the initial gamma value γ corresponding to the center point, left point, and right point under the initial driving grayscale i i ′ , γ i1 , γ i2, where γ i ′ is the initial gamma value of the center point at the initial driving gray level i, γ i1 is the initial gamma value of the left point at the initial driving gray level i, γ i2 is the initial gamma value of the initial driving gray level i at the right point, L i is the brightness at the initial driving grayscale i; 255 is the maximum grayscale;

[0091] In this embodiment, the formula That is, the preset initial gamma value calculation strategy defined in step 2021 .

[0092] S2, according to the formula Calculate the gamma value compensation coefficients of the left and right points at the initial driving grayscale i;

[0093] S3, obtain the despeckle compensation values ​​of the left and right points at the initial driving grayscale i through the preset despeckle table, and set the despeckle compensation value of the left point to comp i1 , the right point despeckle compensation value is comp i2 , then according to the formula Calculate the anti-speckle compensation coefficients of the left and right points at the initial driving grayscale i.

[0094] In this embodiment, the formula This is the preset initial speckle reduction compensation value calculation strategy proposed in step 2023 .

[0095] S4, according to the formula Calculate the gamma correction coefficients of the left and right points at the initial driving grayscale i, where the gamma correction coefficient of the left point is defined as coeff left , define the gamma value correction coefficient matrix of the right point as coeff rigt .

[0096] S5. According to the gamma value characteristics of the display panel, the gamma value correction coefficient parameter of the center point of the display panel is always 1, and the gamma value correction coefficient of the center point is defined as coeff center , that is, coeff center =1; then the gamma value correction coefficient coeff can be calculated based on the left, center and right points. left 、coeff center and coeff rigt , select the preset expansion method to expand to the entire surface, determine the gamma value correction coefficient matrix of the display panel, and define the gamma value correction coefficient matrix of the display panel as coeff matrix In this embodiment, the preset expansion method may be, for example, a horizontal quadratic polynomial or a Gaussian curve, etc., and this embodiment does not specifically limit this.

[0097] Therefore, in actual application, the initial driving grayscale after despeckle compensation based on the preset despeckle table can be used to obtain the corresponding initial compensated driving grayscale matrix, and the initial compensated driving grayscale matrix can be multiplied by the dot multiplication to obtain the gamma value correction coefficient matrix of the display panel, which is coeff matrix , the gamma value correction of the entire display panel can be completed.

[0098] Since the compensation coefficients for the left and right points are calculated based on the actual gamma values, the gamma values ​​of the left and right points after correction are guaranteed to be consistent with the gamma value of the center point. Gamma correction can then be performed to ensure that the gamma values ​​of the left, center, and right areas meet the specifications.

[0099] In this embodiment, the method for calculating the gamma value correction coefficient matrix of the display panel proposed in the above steps S1 to S5 can be recorded as the LRGamma correction algorithm (Left and Right Gamma Correction Algorithm). The LRGamma correction coefficient matrix calculated by the LRGamma correction algorithm is the gamma value correction coefficient matrix of the display panel proposed in this application.

[0100] In order to better implement the display panel driving method in the embodiment of the present application, based on the display panel driving method, the embodiment of the present application also provides a display panel driving device, such as Figure 4 As shown, the display panel driving device 300 includes:

[0101] An initial driving grayscale determination module 301 is used to determine the initial driving grayscale of each pixel according to the image to be displayed;

[0102] The gamma correction coefficient parameter calling module 302 is used to call the gamma correction coefficient matrix of the display panel, where the gamma correction coefficient matrix includes the gamma correction coefficients of all pixels of the display panel at each initial driving grayscale;

[0103] Grayscale compensation value determination module 303, for determining the grayscale compensation value of each pixel according to the initial driving grayscale of each pixel, the gamma value correction coefficient matrix and the preset despeckle table;

[0104] The display driving module 304 is configured to drive the display panel to display the image to be displayed according to the grayscale compensation value of each pixel and the initial driving grayscale.

[0105] The grayscale compensation value determination module 303 is specifically as follows:

[0106] Used to determine the gamma value correction coefficient parameters corresponding to the image to be displayed based on the initial driving grayscale of each pixel and the gamma value correction coefficient matrix;

[0107] Used to determine the initial despeckle compensation matrix corresponding to the image to be displayed according to the initial driving grayscale of each pixel and the preset despeckle table;

[0108] It is used to determine the grayscale compensation value of each pixel corresponding to the image to be displayed according to the gamma value correction coefficient parameter and the initial despeckle compensation matrix.

[0109] The grayscale compensation value determination module 303 is specifically as follows:

[0110] It is used to search in the gamma value correction coefficient matrix according to the pixel coordinates of each pixel and the initial driving grayscale i, and determine the gamma value correction coefficient parameters corresponding to the image to be displayed.

[0111] The grayscale compensation value determination module 303 is specifically as follows:

[0112] It is used to search in a preset despeckle table according to the pixel coordinates of each pixel and the initial driving grayscale i, and determine the initial despeckle compensation matrix corresponding to the image to be displayed.

[0113] The grayscale compensation value determination module 303 is specifically as follows:

[0114] Used to perform initial compensation on the initial driving grayscale i of each pixel according to the initial despeckle compensation matrix, and determine the initial compensated driving grayscale matrix corresponding to the image to be displayed;

[0115] It is used to perform dot multiplication on the gamma value correction coefficient parameter and the grayscale matrix after initial compensation to determine the grayscale compensation value of each pixel corresponding to the image to be displayed.

[0116] The display panel driving device 300 further includes a gamma value correction coefficient parameter determination module, which is specifically:

[0117] Used to calculate the initial gamma value of the target pixel at the initial driving grayscale i according to a preset initial gamma value calculation strategy;

[0118] Used to calculate the gamma value compensation coefficient of the target pixel at the initial driving grayscale i according to the pre-acquired gamma reference value and the initial gamma value of the target pixel at the initial driving grayscale i;

[0119] Used to calculate the despeckle compensation value compensation coefficient of the target pixel at the initial driving gray level i according to a preset initial despeckle compensation value calculation strategy;

[0120] It is used to calculate the gamma value correction coefficient matrix of the target pixel by performing dot multiplication on the gamma value compensation coefficient and the despeckle compensation coefficient;

[0121] It is used to determine the gamma value correction coefficient matrix of the display panel according to the gamma value correction coefficient matrix of the target pixel and the preset gamma value correction coefficient matrix of the center point of the display panel.

[0122] The gamma value correction coefficient parameter determination module is further specifically:

[0123] It is used to expand the gamma value correction coefficient matrix of the display panel using an interpolation algorithm based on the gamma value correction coefficient matrix of the target pixel and the preset gamma value correction coefficient matrix of the center point of the display panel.

[0124] In some embodiments of the present application, Figure 5 As shown, the present application also provides an electronic device, which shows a structural schematic diagram of the electronic device involved in the embodiments of the present application, specifically:

[0125] The electronic device may include one or more processing core processors 401, one or more computer-readable storage media memories 402, a power supply 403, an input unit 404 and other components. Those skilled in the art will understand that Figure 5 The electronic device structure shown in the figure does not constitute a limitation on the electronic device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0126] The processor 401 is the control center of the electronic device. It connects all parts of the electronic device using various interfaces and lines. By running or executing software programs and / or modules stored in the memory 402 and calling data stored in the memory 402, it performs various functions of the electronic device and processes data, thereby monitoring the electronic device as a whole. Optionally, the processor 401 may include one or more processing cores. The processor 401 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor. Preferably, the processor 401 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understood that the modem processor may not be integrated into the processor 401.

[0127] The memory 402 can be used to store software programs and modules. The processor 401 executes various functional applications and data processing by running the software programs and modules stored in the memory 402. The memory 402 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area may store data created according to the use of the electronic device, etc. In addition, the memory 402 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage device. Accordingly, the memory 402 may also include a memory controller to provide the processor 401 with access to the memory 402.

[0128] The electronic device also includes a power supply 403 for supplying power to various components. Preferably, the power supply 403 can be logically connected to the processor 401 via a power management system, thereby enabling the power management system to manage charging, discharging, and power consumption. The power supply 403 can also include one or more DC or AC power supplies, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and other arbitrary components.

[0129] The electronic device may further include an input unit 404, which may be configured to receive input digital or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.

[0130] Although not shown, the electronic device may further include a display unit, etc., which will not be described in detail here. Specifically, in this embodiment, the processor 401 in the electronic device will load the executable files corresponding to the processes of one or more application programs into the memory 402 according to the following instructions, and the processor 401 will run the application programs stored in the memory 402 to implement various functions as follows:

[0131] Determine the initial driving grayscale of each pixel according to the image to be displayed;

[0132] Calling the gamma correction coefficient matrix of the display panel, the gamma correction coefficient matrix includes the gamma correction coefficients of all pixels of the display panel at each initial driving grayscale;

[0133] Determine the grayscale compensation value of each pixel according to the initial driving grayscale of each pixel, the gamma value correction coefficient matrix and the preset despeckle table;

[0134] According to the grayscale compensation value of each pixel and the initial driving grayscale, the display panel is driven to display the image to be displayed.

[0135] Those skilled in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be accomplished by instructions, or by controlling related hardware through instructions. The instructions may be stored in a computer-readable storage medium and loaded and executed by a processor.

[0136] In some embodiments of the present application, the present application further provides a computer-readable storage medium, which may include: a read-only memory (ROM), a random access memory (RAM), a disk, or an optical disk. A computer program is stored on the computer medium, and the computer program is loaded by a processor to execute the steps of the display panel driving method provided in the embodiments of the present application. For example, the computer program loaded by the processor may execute the following steps:

[0137] Determine the initial driving grayscale of each pixel according to the image to be displayed;

[0138] Calling the gamma correction coefficient matrix of the display panel, the gamma correction coefficient matrix includes the gamma correction coefficients of all pixels of the display panel at each initial driving grayscale;

[0139] Determine the grayscale compensation value of each pixel according to the initial driving grayscale of each pixel, the gamma value correction coefficient matrix and the preset despeckle table;

[0140] According to the grayscale compensation value of each pixel and the initial driving grayscale, the display panel is driven to display the image to be displayed.

[0141] In the above embodiments, the description of each embodiment has its own focus. For parts that are not described in detail in a certain embodiment, please refer to the detailed description of other embodiments above and will not be repeated here.

[0142] The above is a detailed introduction to a display panel driving method, device, electronic device and storage medium provided in the embodiments of the present application. Specific examples are used herein to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; at the same time, for technical personnel in this field, based on the ideas of the present invention, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.

Claims

1. A display panel driving method, characterized in that: include: Determine the initial driving grayscale of each pixel according to the image to be displayed; calling a gamma value correction coefficient matrix of a display panel, wherein the gamma value correction coefficient matrix includes gamma value correction coefficients of all pixels of the display panel at each of the initial driving grayscales; Determining a grayscale compensation value for each pixel according to the initial driving grayscale of each pixel, the gamma value correction coefficient matrix, and a preset speckle removal table; The display panel is driven to display the image to be displayed according to the grayscale compensation value of each pixel and the initial driving grayscale.

2. The display panel driving method according to claim 1, wherein: The step of determining the grayscale compensation value of each pixel according to the initial driving grayscale of each pixel, the gamma value correction coefficient matrix, and a preset compensation table includes: Determining gamma value correction coefficient parameters corresponding to the image to be displayed according to the initial driving grayscale of each pixel and the gamma value correction coefficient matrix; determining an initial despeckle compensation matrix corresponding to the image to be displayed according to the initial driving grayscale of each pixel and the preset despeckle table; The grayscale compensation value of each pixel corresponding to the image to be displayed is determined according to the gamma value correction coefficient parameter and the initial speckle removal compensation matrix.

3. The display panel driving method according to claim 2, wherein: The determining of the gamma value correction coefficient parameters corresponding to the image to be displayed according to the initial driving grayscale of each pixel and the gamma value correction coefficient matrix includes: According to the pixel coordinates of each pixel and the initial driving grayscale i, a search is performed in the gamma value correction coefficient matrix to determine the gamma value correction coefficient parameters corresponding to the image to be displayed.

4. The display panel driving method according to claim 3, wherein: The determining, according to the initial driving grayscale of each pixel and the preset speckle removal table, an initial speckle removal compensation matrix corresponding to the image to be displayed includes: According to the pixel coordinates of each pixel and the initial driving grayscale i, a search is performed in the preset speckle removal table to determine an initial speckle removal compensation matrix corresponding to the image to be displayed.

5. The display panel driving method according to claim 4, wherein: The step of determining the grayscale compensation value of each pixel corresponding to the image to be displayed according to the gamma value correction coefficient parameter and the initial speckle removal compensation matrix includes: Performing initial compensation on the initial driving grayscale i of each pixel according to the initial despeckle compensation matrix, and determining an initial compensated driving grayscale matrix corresponding to the image to be displayed; The gamma value correction coefficient parameter is multiplied by the initial compensation driving grayscale matrix to determine the grayscale compensation value of each pixel corresponding to the image to be displayed.

6. The display panel driving method according to any one of claims 1 to 5, wherein: Before calling the gamma value correction coefficient matrix of the display panel, the method further comprises: Calculating the initial gamma value of the target pixel at the initial driving grayscale i according to a preset initial gamma value calculation strategy; Calculating a gamma value compensation coefficient of the target pixel at the initial driving grayscale i according to a pre-acquired gamma reference value and the initial gamma value of the target pixel at the initial driving grayscale i; Calculating a despeckle compensation value compensation coefficient of the target pixel at the initial driving grayscale i according to a preset initial despeckle compensation value calculation strategy; Performing a dot multiplication of the gamma value compensation coefficient and the despeckle compensation value compensation coefficient to calculate the gamma value correction coefficient of the target pixel; A gamma value correction coefficient matrix of the display panel is determined according to the gamma value correction coefficient of the target pixel and the gamma value correction coefficient of a preset display panel center point.

7. The display panel driving method according to claim 6, wherein: The determining of a gamma value correction coefficient matrix of the display panel according to the gamma value correction coefficient of the target pixel and the gamma value correction coefficient of a preset display panel center point includes: An interpolation algorithm is used to expand a gamma value correction coefficient matrix of the display panel according to the gamma value correction coefficient of the target pixel and the gamma value correction coefficient of the preset display panel center point.

8. A display panel driving device, characterized in that: The device comprises: An initial driving grayscale determination module, used to determine the initial driving grayscale of each pixel according to the image to be displayed; a gamma value correction coefficient parameter calling module, configured to call a gamma value correction coefficient matrix of a display panel, wherein the gamma value correction coefficient matrix includes gamma value correction coefficients of all pixels of the display panel at each of the initial driving grayscales; a grayscale compensation value determination module, configured to determine the grayscale compensation value of each pixel according to the initial driving grayscale of each pixel, the gamma value correction coefficient matrix, and a preset despeckle table; The display driving module is used to drive the display panel to display the image to be displayed according to the grayscale compensation value of each pixel and the initial driving grayscale.

9. An electronic device, characterized in that: The electronic device comprises: one or more processors; Memory; and One or more application programs, wherein the one or more application programs are stored in the memory and configured to be executed by the processor to implement the display panel driving method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that A computer program is stored thereon, and the computer program is loaded by a processor to execute the steps in the display panel driving method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Image processing apparatus and processing method thereof

    CN107481689A

  • Gamma value correction method and device, electronic device and readable storage medium

    CN112950657A