Data compensation method and device of display panel, computer equipment and storage medium
By calculating the total three-color coefficient of the display panel and determining the corresponding compensation parameters, the optical data is compensated, which solves the problems of low yield and insufficient Demura accuracy in automatic production of display panels, and achieves higher display panel production yield and Demura accuracy.
Patent Information
- Application Number
- CN202510072346.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-16
- Publication Date
- 2025-04-08
- Estimated Expiration
- 2045-01-16
AI Technical Summary
The prior art has low yields in display panel automation production, and the Demura accuracy is insufficient, making it difficult to effectively improve.
By acquiring the optical data of the display panel, calculating the total three-color coefficient under the preset gray level, and determining the target compensation setting parameters based on the total three-color coefficient, including the first compression mode parameter or the second compression mode parameter, the optical data is compensated.
It improves the product yield of automatic production of display panels, and effectively improves the Demura accuracy of a single display panel, achieving higher display accuracy.
Smart Images

Figure CN119785739A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of display technology, and in particular to a data compensation method, device, computer equipment and storage medium for a display panel. Background Art
[0002] With the development of display technology, various display modules with different specifications and sizes have emerged, such as the medium-sized eDP (Embedded DisplayPort) module. The medium-sized eDP module is often used in display devices that require high resolution, high color expression and low power consumption. All data of the eDP module is stored in the flash storage unit, including but not limited to firmware, display parameter gamma, Demura parameter and DBI parameter.
[0003] However, the yield rate of automated production of display panels needs to be improved. Summary of the invention
[0004] Based on this, it is necessary to provide a display panel data compensation method, device, computer equipment and storage medium that can improve the yield of display panel automated production products and effectively improve the demura accuracy of a single display panel in order to address the above technical problems.
[0005] In a first aspect, the present application provides a data compensation method for a display panel, comprising:
[0006] Acquire a total three-color coefficient of a preset grayscale based on optical data of the display panel;
[0007] Determining a target compensation setting parameter according to the three-color total coefficient, wherein the target compensation setting parameter includes a first compression mode parameter or a second compression mode parameter;
[0008] The optical data is compensated according to the target compensation setting parameters.
[0009] In one embodiment, determining the target compensation setting parameter according to the three-color total coefficient includes:
[0010] When the total coefficient of the three colors is greater than the preset coefficient threshold, determining the first compensation setting parameter as the target compensation setting parameter, wherein the first compensation setting parameter includes a first compression mode parameter;
[0011] When the total coefficient of the three colors is less than or equal to the preset coefficient threshold, determining the second compensation setting parameter as the target compensation setting parameter, wherein the second compensation setting parameter includes a second compression mode parameter;
[0012] Optionally, the compression ratio of the first compression mode parameter is different from the compression ratio of the second compression mode parameter;
[0013] Optionally, a compression ratio of the first compression mode parameter is smaller than a compression ratio of the second compression mode parameter.
[0014] In one embodiment, the first compression mode parameter includes x1 y1 compression mode parameter, the second compression mode parameter includes x2 y2 compression mode parameters; x1 y1 is less than x2 y2, x1, y1, x2 and y2 are all integers greater than or equal to 1;
[0015] Optionally, performing compensation processing on the optical data according to the first compression mode parameter includes:
[0016] Corresponding to x1 in optical data The data corresponding to y1 pixels share or correspond to the same compensation value;
[0017] The compensation processing of the optical data according to the second compression mode parameter comprises:
[0018] Corresponding to x2 in optical data The data corresponding to y2 pixels share or correspond to the same compensation value;
[0019] Optionally, the first compression mode parameter includes 1 1 data block compression mode parameter, the second compression mode parameter includes 2 2 Individual compression mode parameters.
[0020] In one embodiment, the optical data includes first optical data, second optical data, and third optical data corresponding to different colors; obtaining a total coefficient of three colors of a preset grayscale based on the optical data of the display panel includes:
[0021] respectively calculating a first coefficient corresponding to the first optical data, a second coefficient corresponding to the second optical data, and a third coefficient corresponding to the third optical data;
[0022] The total coefficients of the three colors are obtained by weighted calculation according to the first coefficient, the second coefficient, the third coefficient and the weights corresponding to the coefficients.
[0023] In one embodiment, the step of respectively calculating a first coefficient corresponding to the first optical data, a second coefficient corresponding to the second optical data, and a third coefficient corresponding to the third optical data comprises:
[0024] Based on a preset matrix algorithm, characteristic data of a plurality of matrix regions of target optical data are obtained, wherein the target optical data includes first optical data, second optical data or third optical data;
[0025] Traversing the feature data of multiple matrix regions, obtaining the sum of absolute values of differences of the feature data of each matrix region, wherein the sum of absolute values of differences is the sum of absolute values of differences between multiple edge data and center data of the feature data of the matrix region;
[0026] The absolute values of the differences of the characteristic data of multiple matrix regions are summed to obtain the coefficients corresponding to the target optical data.
[0027] In one embodiment, the target compensation setting parameter includes a target compression mode parameter, a brightness compensation data address corresponding to the target compression mode parameter, and an algorithm parameter, and the target compression mode parameter includes a first compression mode parameter or a second compression mode parameter;
[0028] Compensate the optical data according to the target compensation setting parameters, including:
[0029] Inputting the target compensation setting parameters into the dynamic link library so that the dynamic link library generates corresponding system update parameters and update firmware;
[0030] Burning the system update parameters into the storage unit of the display panel, and modifying the firmware in the storage unit of the display panel according to the updated firmware;
[0031] Restart the display panel so that the display panel performs compensation processing on the optical data according to the updated firmware.
[0032] In a second aspect, the present application further provides a data compensation device for a display panel, comprising:
[0033] An acquisition module, used for acquiring a total coefficient of three colors of a preset gray scale based on optical data of a display panel;
[0034] A determination module, configured to determine a target compensation setting parameter according to the three-color total coefficient, wherein the target compensation setting parameter includes a first compression mode parameter or a second compression mode parameter;
[0035] The compensation module is used to perform compensation processing on the optical data according to target compensation setting parameters.
[0036] In a third aspect, the present application further provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps of the display panel data compensation method described in the first aspect are implemented.
[0037] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the display panel data compensation method described in the first aspect are implemented.
[0038] In a fifth aspect, the present application further provides a computer program product, wherein the computer program product comprises a computer program, and when the computer program is executed by a processor, the steps of the display panel data compensation method described in the first aspect are implemented.
[0039] In summary, the present application proposes a data compensation method, device, computer equipment and storage medium for a display panel, including: obtaining a total three-color coefficient of a preset grayscale based on the optical data of the display panel; determining a target compensation setting parameter according to the total three-color coefficient, wherein the target compensation setting parameter includes a first compression mode parameter or a second compression mode parameter; and compensating the optical data according to the target compensation setting parameter. The present application obtains a total three-color coefficient that can characterize the mura fluctuation in the display panel from the optical data, thereby automatically determining the type of algorithm to compensate for the optical data according to the mura fluctuation in the display panel, and can effectively improve the brightness compensation effect of a medium-sized display panel. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] Figure 1 A diagram showing an application environment of a data compensation method for a display panel in an embodiment;
[0041] Figure 2 is a schematic flow chart of a data compensation method for a display panel in one embodiment;
[0042] Figure 3 A schematic diagram of a process flow for determining target compensation setting parameters in one embodiment;
[0043] Figure 4 A schematic diagram of a process flow for obtaining a total three-color coefficient in one embodiment;
[0044] Figure 5 A schematic diagram of a flow chart of steps for calculating coefficients corresponding to target optical data in one embodiment;
[0045] Figure 6 In one embodiment, 10 Schematic diagram of the target optical matrix;
[0046] Figure 7 In one embodiment, according to 5 5 preset matrix division 10 10 Schematic diagram of the target optical matrix;
[0047] Figure 8 In another embodiment, according to 5 5 preset matrix division 10 10 Schematic diagram of the target optical matrix;
[0048] Fig. 9A schematic diagram of obtaining the sum of absolute values of differences of feature data of each matrix region in one embodiment;
[0049] Fig.10 A schematic diagram of obtaining the sum of absolute values of differences of feature data of each matrix region in another embodiment;
[0050] Fig.11 A schematic diagram of a flow chart of steps for compensating optical data in one embodiment;
[0051] Fig.12 is a structural block diagram of a data compensation device for a display panel in one embodiment;
[0052] Fig.13 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0053] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0054] The Demura process is a technical process used to eliminate or reduce the mura phenomenon of the display during the manufacturing process of the display device. The mura phenomenon refers to the uneven brightness of the display panel. The mura on the display screen will affect the user's viewing experience and thus affect the user's evaluation of the product quality. The Demura process adjusts the grayscale value or voltage of the pixel points in the mura area on the display panel to make the dark areas brighter and the bright areas darker, thereby achieving the effect of making the display panel display uniform and improving the picture display quality of the display device.
[0055] Medium-sized eDP modules refer to medium-sized LCD display modules that use the eDP interface standard. The eDP interface is an embedded version of the DisplayPort interface, designed for embedded systems (such as laptops, tablets, etc.), with the characteristics of high performance, low power consumption, and high bandwidth. Medium-sized eDP modules are often used as display panels for laptops, tablets, car displays, industrial control equipment, and other devices.
[0056] The data compensation method for a display panel provided in the embodiment of the present application can be applied to Figure 1In the application environment shown. Among them, the terminal 102 communicates with the server 104 through the network. The data storage system can store the data that the server 104 needs to process. The data storage system can be integrated on the server 104, or it can be placed on the cloud or other network servers. The terminal 102 is used to connect the display panel 108 to be compensated and the image acquisition device 106, the image acquisition device 106 is used to shoot the picture on the display panel 108, and convert the captured picture into optical data and transmit it to the terminal 102, and the terminal 102 analyzes the optical data to obtain compensation setting parameters for the current optical data. Among them, the terminal 102 can be a high-performance PC terminal, and the display panel 108 can be a display panel adapted for personal computers, laptops, smart phones, tablet computers, vehicle-mounted displays, industrial control equipment and portable wearable devices. The server 104 can be implemented with an independent server or a server cluster consisting of multiple servers.
[0057] In the production process of related display panels, the demura compression compensation algorithm usually adopts a fixed compression mode algorithm, such as 2 2 compression mode algorithm, that is, for 2 2, and calculate the brightness compensation data of the corresponding pixel points for each compressed block. In actual application, the compensation data of the defective display module can also be calculated by manually updating the algorithm or using a smaller compression mode algorithm, and the yield rate of the display module can be improved as much as possible through multiple Demura processes. However, this method of constantly updating the Demura algorithm and repeatedly performing Demura on the product is very wasteful of manpower and equipment capacity, and is not suitable for improving the yield rate in the automated production process of display panels.
[0058] This embodiment provides a data compensation method for a display panel, which can determine the compression mode algorithm of the display panel according to the real-time characteristics of the display panel, so as to provide a compression mode algorithm that is more in line with the mura characteristics of the display panel for a single display panel, greatly improving the yield of the display panel in the automated production process of the display panel. In addition, the data compensation method for the display panel provided by this embodiment can realize full-process automated execution, without consuming a lot of manpower for algorithm update, and can provide users with display panel products with higher display accuracy.
[0059] In one embodiment, Figure 2 As shown, a data compensation method for a display panel is provided, comprising the following steps:
[0060] S201, obtaining a total coefficient of three colors of a preset gray scale based on optical data of a display panel.
[0061] In this embodiment, the optical data of the display panel when displaying the image is collected by the image collection device. The optical data may be comma-separated values (CSV) type data.
[0062] In actual application scenarios, in the process of improving display unevenness (demura) of the display panel, after the test image is sent to the display panel through the signal generator, the display panel will display the corresponding test image on the screen. At this time, the real-time display image on the screen of the display panel is captured by the image acquisition device to obtain optical data without image processing.
[0063] In this embodiment, the characteristic parameters in the optical data can be identified by performing feature scanning on the optical data. For example, the optical data can be divided into regions by the grid matrix method, and the optical characteristics in each divided region can be obtained respectively. Finally, the optical characteristics in all regions are combined to obtain the characteristic parameters corresponding to the optical data. In this embodiment, the characteristic parameter is a coefficient that can characterize the degree of display unevenness (mura) fluctuation on the display panel. Among them, the total coefficient of the three colors under the preset grayscale in this embodiment can characterize the characteristic parameter of the mura fluctuation program on the display panel.
[0064] In a specific embodiment, the grayscale level refers to the level of depth of tones from black to white in an image, which is used to represent the brightness level of the image, and these levels can vary from pure black to pure white. The preset grayscale in this embodiment is a conversion grayscale level that can be adaptively configured according to the actual application scenario, including but not limited to 16 grayscales, 32 grayscales, 255 grayscales, etc. Preferably, the preset grayscale in this embodiment can be set to 16 grayscales to facilitate more accurate identification of the mura fluctuation degree of medium-sized eDP modules, such as laptops, tablets, etc.
[0065] In this embodiment, the optical data may be feature data of a real-time screen of a display panel acquired by an image acquisition device, such as brightness data, edge sharpness data, contrast data, and texture complexity data, etc. The process of obtaining the coefficient corresponding to the optical data may be to obtain the coefficient that can characterize the degree of fluctuation of the image instruction of the optical data by calculating the absolute value sum of the difference between the edge point and the center point of the optical data.
[0066] The total coefficient of the three colors can be obtained by weighted calculation of the corresponding coefficient of the R pixel unit, the corresponding coefficient of the G pixel unit, and the corresponding coefficient of the B pixel unit. Among them, the corresponding coefficient of the R pixel unit can characterize the distribution of the CSV data corresponding to the R pixel unit on the display panel, the corresponding coefficient of the G pixel unit can characterize the distribution of the CSV data corresponding to the G pixel unit on the display panel, and the corresponding coefficient of the B pixel unit can characterize the distribution of the CSV data corresponding to the B pixel unit on the display panel. The distribution of the CSV data corresponding to the three pixel units on the display panel can be combined to accurately obtain the fluctuation degree of mura on the display panel. In this embodiment, the fluctuation degree is the amplitude of the change of the data.
[0067] S202, determining a target compensation setting parameter according to the three-color total coefficient, wherein the target compensation setting parameter includes a first compression mode parameter or a second compression mode parameter.
[0068] In this embodiment, the target compensation setting parameters are related parameters that affect the execution of the Demura algorithm, including compression mode parameters, algorithm parameters, and Demura compensation address parameters. It should be noted that the specific content of the target compensation setting parameters in this embodiment can be adaptively configured according to the needs of the actual application scenario. For example, the three-color total coefficient includes at least two different values, and the at least two different values correspond to different target compensation setting parameters, corresponding to different compression mode parameters.
[0069] In actual application, for a display panel using an eDP module, the compression mode parameters generally use two types of compression mode parameters, namely, first compression mode parameters and second compression mode parameters. The first compression mode parameters are individual compression mode parameters, while the second compression mode parameters are data block compression mode parameters. In actual application scenarios, the data block compression mode parameters in this embodiment correspond to 2 2 Compression mode parameters of the interpolation compensation algorithm. The individual compression mode parameters in this embodiment correspond to 1 1Compression mode parameters of the interpolation compensation algorithm.
[0070] In a specific embodiment, the three-color total coefficient can characterize the fluctuation degree of mura in the display panel and can also accurately indicate the position of mura in the screen. Therefore, the demura compensation address parameters of the corresponding display panel can be directly obtained from the three-color total coefficient of the optical data.
[0071] Since the compression mode parameters can directly affect the execution algorithm of the Demura process and the coefficient parameters corresponding to the firmware, the process of determining the target compensation setting parameters based on the three-color total coefficient can also be understood as the process of determining the compression mode parameters based on the relationship between the three-color total coefficient and the preset coefficient threshold range. After determining the compression mode parameters, the Demura algorithm can be synchronously updated according to the algorithm parameters corresponding to the compression mode parameters.
[0072] This embodiment determines the target compensation setting parameters according to the total three-color coefficients of the optical data, thereby achieving the effect of determining the Demura execution algorithm and compression mode corresponding to the display panel according to the real-time data of a single display panel, and can provide a more matching firmware for the display panel to improve the display accuracy of the display panel.
[0073] S203, performing compensation processing on the optical data according to target compensation setting parameters.
[0074] In this embodiment, the target compensation setting parameters are sent to the corresponding dynamic link library (DLL), and the DLL will adaptively import the target compensation setting parameters into the display panel. The display panel will update the firmware for demura on the optical data according to the target compensation setting parameters, thereby being able to accurately identify the mura distribution in the optical data, and provide the display panel with demura firmware that is more in line with the actual mura fluctuation.
[0075] In this embodiment, the data compensation method for display panels can be applied to a display panel production line. Corresponding Demura firmware is configured for each display panel according to the mura fluctuation state on each display panel, thereby greatly improving the yield rate of the display panel.
[0076] In summary, this embodiment provides a data compensation method for a display panel, which can match a corresponding compression mode for the display panel according to the mura fluctuation of the display panel in real time, and update the Demura firmware based on the determined compression mode parameters, thereby realizing the function of selecting a suitable Demura algorithm for compensation according to the optical data of different display panels, thereby greatly improving the yield rate of display panels on the production line.
[0077] In one embodiment, Figure 3 As shown, the step of determining the target compensation setting parameters according to the three-color total coefficients includes:
[0078] S301 : when the total coefficient of three colors is greater than a preset coefficient threshold, determine a first compensation setting parameter as a target compensation setting parameter, wherein the first compensation setting parameter includes a first compression mode parameter.
[0079] S302: When the total coefficient of three colors is less than or equal to a preset coefficient threshold, determine a second compensation setting parameter as a target compensation setting parameter, wherein the second compensation setting parameter includes a second compression mode parameter.
[0080] Optionally, the compression ratio of the first compression mode parameter is different from the compression ratio of the second compression mode parameter. Optionally, the compression ratio of the first compression mode parameter is smaller than the compression ratio of the second compression mode parameter.
[0081] In this embodiment, the greater the total coefficient of the three colors, the greater the degree of mura fluctuation in the display panel. The greater the degree of mura fluctuation, the more obvious the brightness difference or color difference of the mura in the display panel, and the more discrete the distribution position of the mura. In other words, the distribution amplitude of the pixel value of the pixel point in the display panel will increase with the increase of the degree of mura fluctuation. Among them, the distribution amplitude of the pixel value is used to represent the distribution difference between the pixel values within a certain area of the display screen, and the distribution amplitude can be calculated using the standard deviation calculation method.
[0082] In a specific embodiment, when the total coefficient of the three colors is greater than the preset coefficient threshold, it indicates that the fluctuation degree of mura in the display panel is large, that is, the distribution amplitude of the pixel values within the picture range is large. When the total coefficient of the three colors is less than or equal to the preset coefficient threshold, it indicates that the fluctuation degree of mura is small, that is, the distribution amplitude of the pixel values within the picture range is small.
[0083] When the mura fluctuation degree is large, the first compensation setting parameter including the first compression mode parameter is used as the target compensation setting parameter, and the pixel value can be compensated by a brightness compensation algorithm with a smaller compression ratio to improve the compensation effect for each pixel point of discrete mura. When the mura fluctuation degree is small, the pixel value can be compensated by a brightness compensation algorithm with a larger compression ratio, so that the brightness compensation within the area can be completed more quickly and efficiently. In this embodiment, the brightness compensation algorithm can select a suitable Demura algorithm according to the needs of the actual application scenario.
[0084] In this embodiment, the preset coefficient thresholds in S301 and S302 may be the separation values between two different threshold intervals. The step of determining the target compensation setting parameter may also be implemented by determining the threshold interval to which the three-color total coefficient belongs. For example, if the three-color total coefficient belongs to the first threshold interval, the first compensation setting parameter is determined as the target compensation setting parameter. If the three-color total coefficient belongs to the second threshold interval, the second compensation setting parameter is determined as the target compensation setting parameter.
[0085] In one embodiment, the first compression mode parameters include x1 y1 compression mode parameter, the second compression mode parameter includes x2 y2 compression mode parameters, where x1 y1 is less than x2 y2, x1, y1, x2 and y2 are all integers greater than or equal to 1.
[0086] Optionally, compensating the optical data according to the first compression mode parameter includes: The data corresponding to y1 pixels share or correspond to the same compensation value.
[0087] Optionally, compensating the optical data according to the second compression mode parameter includes: The data corresponding to the y2 pixels share or correspond to the same compensation value.
[0088] Optionally, the first compression mode parameter includes 1 1 compression mode parameter, the second compression mode parameter includes 2 2Compression mode parameters.
[0089] In this embodiment, 1 1Compression mode parameter is 1 1 Parameters corresponding to the interpolation compensation compression algorithm. 1 The execution method corresponding to the first compression mode parameter is to calculate the brightness compensation value for each individual pixel in the display screen, and then perform interpolation processing on each individual pixel according to the brightness compensation value, so that the brightness of the real-time picture displayed by the display panel is uniform. And compensating the optical data according to the first compression mode parameter can achieve a higher precision compensation effect, effectively improving the compensation accuracy for discrete mura.
[0090] 2 2Compression mode parameters are 2 2 Parameters corresponding to the interpolation compensation compression algorithm. 2 2 The execution mode corresponding to the compression mode parameter is as follows: The data block composed of two pixels calculates the brightness compensation value of the pixel data, and then interpolates the pixels in the data block according to the brightness compensation value to make the real-time picture displayed by the display panel uniform in brightness. Compensating the optical data according to the second compression mode parameters can complete the compensation of the picture faster and ensure the execution efficiency of the compensation algorithm.
[0091] It should be noted that, in this embodiment, by clarifying the specific types of the first compression mode parameter and the second compression mode parameter, a flexible 2-mode compression mode can be realized in the production process of the display panel of the medium-sized eDP module. 2 compression mode parameters and 1 1 Adjustment of compression mode parameters to adapt to the Demura process of display panels of medium-sized eDP modules in various situations and improve the Demura effect of display panels for medium-sized eDP modules.
[0092] In one embodiment, Figure 4 As shown, the optical data includes first optical data, second optical data and third optical data corresponding to different colors. The step of obtaining the total coefficient of three colors of a preset gray scale based on the display panel optical data includes:
[0093] S401, respectively calculating a first coefficient corresponding to the first optical data, a second coefficient corresponding to the second optical data, and a third coefficient corresponding to the third optical data.
[0094] S402: Obtain a total three-color coefficient by performing weighted calculation according to the first coefficient, the second coefficient, the third coefficient and the weights corresponding to the coefficients.
[0095] In this embodiment, the first optical data may refer to the CSV data corresponding to the R pixel unit (for example, for emitting red light), the second optical data may refer to the CSV data corresponding to the G pixel unit (for example, for emitting green light), and the third optical data may refer to the CSV data corresponding to the B pixel unit (for example, for emitting blue light).
[0096] For example, if the preset grayscale is 16 grayscales, the first coefficient is Nr16, the second coefficient is Ng16, and the third coefficient is Nb16, then the calculation formula for the total coefficient of the three colors can be Nrgb=Nr16 Kr+Ng16 Kg+Nb16 Kb, where Kr is the weight corresponding to the first coefficient, Kg is the weight corresponding to the second coefficient, and Kb is the weight corresponding to the third coefficient.
[0097] It should be noted that the preset grayscale, the first coefficient, the second coefficient, the third coefficient and the weights corresponding to the coefficients can be flexibly adjusted according to the needs of the actual application scenario.
[0098] In one embodiment, when calculating the coefficients of the CSV data corresponding to the pixel unit, as Figure 5 As shown, the steps of respectively calculating a first coefficient corresponding to the first optical data, a second coefficient corresponding to the second optical data, and a third coefficient corresponding to the third optical data include:
[0099] S501, obtaining characteristic data of a plurality of matrix regions of target optical data based on a preset matrix algorithm, wherein the target optical data includes first optical data, second optical data or third optical data.
[0100] S502, traversing feature data of multiple matrix regions, obtaining the sum of absolute differences of feature data of each matrix region, wherein the sum of absolute differences is the sum of absolute differences between multiple edge data and center data of the feature data of the matrix region.
[0101] S503, summing up the absolute values of the differences of the feature data of the plurality of matrix regions to obtain coefficients corresponding to the target optical data.
[0102] In a specific embodiment, the preset matrix may be a grid matrix, that is, n n matrix, where n is a positive integer. For example, the preset matrix can be 5 5 matrix. In this embodiment, the specific type of the preset matrix can be determined according to the actual application scenario. The grid matrix can be used to quickly divide the target optical data to ensure the calculation efficiency of the coefficients of the target optical data. For example, the feature data of all matrix regions are traversed, the absolute value sum of the difference of the feature data of each matrix region is obtained, and the absolute value sum of the difference of the feature data of all matrix regions is summed to obtain the coefficient corresponding to the target optical data.
[0103] In actual application scenarios, if the grid matrix cannot divide the target optical data, the edge portion of the target optical data that is not divided can be filtered out. In a specific embodiment, when the target optical data is divided by a preset matrix, the preset matrix can include the pixels where the mura is located to ensure that the mura fluctuation of the optical data of the display panel can be obtained more accurately. It should be noted that the scope of the grid matrix division can be determined according to the actual application scenario, and is not limited to starting the division from the first row and first column of the target optical data. For example, the number of rows of the target optical data is greater than or equal to the number of rows of the preset matrix, and the number of columns of the target optical data is greater than or equal to the number of columns of the preset matrix. For example, the number of columns of the preset matrix is equal to the number of rows of the preset matrix, and the preset matrix is a square matrix, for example, the number of columns of the preset matrix is an odd number. For example, the center of the preset matrix is 1, the middle row is arranged alternately with 0 and 1, and the middle column is arranged alternately with 0 and 1. The closer to the middle row, the more 1s there are in the row, and the closer to the middle column, the more 1s there are in the column. For example, the preset matrix is . 1 is equivalent to extracting the data at that position.
[0104] In a specific embodiment, when the target optical data is divided based on the preset matrix, the feature data of the largest number of matrix regions should be obtained as much as possible. For example, the number of rows of the target optical data is an integer multiple of the number of rows of the preset matrix, and the number of columns of the target optical data is an integer multiple of the number of columns of the preset matrix. Figure 6 , Figure 7 and Figure 8 As shown, using 5 5 matrix divides pixels into 10 When the target optical data of 10 is obtained, the characteristic data of up to 4 matrix areas can be obtained, such as Figure 7 Alternatively, if the number of rows of the target optical data is not equal to an integer multiple of the number of rows of the preset matrix, and the number of columns of the target optical data is not equal to an integer multiple of the number of columns of the preset matrix, the feature data of at least one or more matrix regions can also be obtained, such as Figure 8 As shown, the edge portion of the target optical data that is not divided evenly is filtered out, for example, the optical data of the Ath column and the Ath row are filtered out. This embodiment can more accurately collect the mura fluctuation degree in the target optical data by dividing the feature data of more matrix regions.
[0105] In the specific calculation process, such as Fig. 9 and Fig.10 As shown, for the divided matrix area data, the data of the edge part and the data of the center part are retained, that is, Fig. 9 and Fig.10 The data in the middle is "1". The difference is obtained by subtracting the middle data from the edge data, and the absolute value of the difference is accumulated to obtain the absolute value sum of the difference of the matrix area data. The absolute value sum of the difference of the feature data of all matrix areas obtained by comprehensive division can be used to obtain the coefficient of the corresponding target optical data.
[0106] For example, if Fig. 9 As shown, the formula for calculating the sum of the absolute values of the difference of matrix area data is:
[0107]
[0108] in, for Figure 7 The absolute value sum of the differences of the feature data in the matrix area (A).
[0109] like Figure 7 As shown, the coefficient of CSV data is calculated as:
[0110]
[0111] Where N is the coefficient of CSV data, is the absolute value sum of the difference of the characteristic data of the matrix area (A), is the absolute value sum of the difference of the characteristic data of the matrix area (B), is the absolute value sum of the difference of the characteristic data of the matrix area (C), is the absolute value sum of the difference of the characteristic data of the matrix area (D). It should be known that , and The specific calculation method can refer to the above The calculation method of is not described in detail here.
[0112] In one embodiment, the target compensation setting parameters include target compression mode parameters, brightness compensation data addresses corresponding to the target compression mode parameters, and algorithm parameters, and the target compression mode parameters include first compression mode parameters or second compression mode parameters. The brightness compensation data addresses may be demura compensation data addresses.
[0113] like Fig.11 As shown, updating the firmware in the display panel according to the target compensation setting parameters so that the display panel performs compensation processing on the optical data according to the updated firmware includes:
[0114] S1101, inputting the target compensation setting parameters into the dynamic link library, so that the dynamic link library generates corresponding system update parameters and update firmware;
[0115] S1102, burning the system update parameters into the storage unit of the display panel, and modifying the firmware in the storage unit of the display panel according to the updated firmware;
[0116] S1103, restarting the display panel so that the display panel performs compensation processing on the optical data according to the updated firmware.
[0117] In a specific embodiment, the dynamic link library (DLL library) can automatically generate corresponding compensation data according to the input parameters, and the DLL library can automatically output the generated compensation data into a bin file, and burn the bin file into the flash storage unit of the display panel, so as to realize the specified modification of the system parameters of the firmware in the display panel. In this embodiment, the compensation data includes system update parameters and update firmware, wherein the update firmware is used to indicate the firmware to be updated and the firmware update location. The system update parameters are used to refer to the specific update content of the system parameters in the firmware.
[0118] In one embodiment, when the DLL library outputs a bin file, it can adapt the bin file to the requirement of an integer multiple of 4K. For example, after determining the size of the bin file to be generated, calculate how many 0s (i.e., 0x00 bytes) need to be added to reach an integer multiple of 4K (4096 bytes). Add a corresponding number of 0x00 bytes at the end of the bin file. This embodiment can effectively improve the Demura accuracy of the display panel for the medium-sized eDP module by outputting a bin file that is an integer multiple of 4K.
[0119] In this embodiment, since the demura compensation data needs to be read and applied by the firmware, it is necessary to update the SYS system parameter part in the firmware to point to the location of the newly burned compensation data. The correct address offset or other necessary parameters are set in the firmware so that the demura compensation data can be correctly loaded and applied when the firmware starts. After the system update parameters are burned into the storage unit of the display panel and the firmware in the storage unit of the display panel is modified according to the updated firmware, the display panel is restarted, and the updated firmware will be loaded and executed, and the new demura compensation data can be applied to compensate the optical data.
[0120] In summary, the present embodiment provides a data compensation method for a display panel, which collects optical data of the display panel, obtains a three-color total coefficient that can characterize the degree of mura fluctuation on the display panel from the optical data, determines a target compensation setting parameter based on the three-color total coefficient, determines a specific execution algorithm of Demura based on compression mode parameters that match the degree of mura fluctuation of the display panel, and implements a targeted update of the firmware in the display panel according to the target compensation setting parameters, thereby realizing the configuration of the Demura algorithm for each display panel on the production line, which can greatly improve the yield rate of the display panel of the medium-sized eDP module and improve the display accuracy of the display panel of the medium-sized eDP module.
[0121] In a more detailed embodiment, the complete execution flow of the data compensation method for the display panel provided in this embodiment is as follows:
[0122] The optical data of the display panel of the medium-sized eDP module when displaying the test image is captured by an image acquisition device, and the optical data is divided by the grid matrix method to obtain the characteristic data of multiple matrix areas, and the absolute value of the difference of the characteristic data of the multiple matrix areas is accumulated and calculated, wherein the absolute value of the difference is the absolute value of the difference between the edge data and the center data of the characteristic data of the matrix area. The coefficient of the corresponding optical data is obtained by summing up the absolute value of the difference of the characteristic data of multiple matrix areas. The total three-color coefficient of the optical data at the preset grayscale is calculated by using this coefficient calculation method.
[0123] After the three-color total coefficient is calculated, the target compensation setting parameter is determined based on the relationship between the three-color total coefficient and the preset coefficient threshold, and the target compensation setting parameter includes the first compression mode parameter or the second compression mode parameter. The target compensation setting parameter is input into the DLL library, and the compensation data having the characteristics of the mura fluctuation degree of the display panel is generated through the DLL library, and the compensation data is burned into the display panel to realize the configuration of the optimal Demura algorithm, which can reduce the time consumption of the display panel Demura while improving the Demura quality of the display panel, ensuring the yield of the products on the production line, and improving the display accuracy of the display panel.
[0124] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0125] Based on the same inventive concept, the embodiment of the present application also provides a data compensation device for a display panel for implementing the data compensation method for a display panel involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in the embodiments of the data compensation device for one or more display panels provided below can refer to the limitations of the data compensation method for a display panel above, and will not be repeated here.
[0126] In one embodiment, Fig.12 As shown, a data compensation device 1200 for a display panel is provided, comprising: an acquisition module 1210, a determination module 1220 and a compensation module 1230, wherein:
[0127] An acquisition module 1210, configured to acquire a total three-color coefficient of a preset grayscale based on optical data of a display panel;
[0128] A determination module 1220, configured to determine a target compensation setting parameter according to the three-color total coefficient, wherein the target compensation setting parameter includes a first compression mode parameter or a second compression mode parameter;
[0129] The compensation module 1230 is used to update the firmware in the display panel according to the target compensation setting parameters, so that the display panel performs compensation processing on the optical data according to the updated firmware.
[0130] In one embodiment, the determination module 1230 is specifically used to determine the first compensation setting parameter as the target compensation setting parameter if the total coefficient of the three colors is greater than the preset coefficient threshold, wherein the first compensation setting parameter includes the first compression mode parameter; if the total coefficient of the three colors is less than or equal to the preset coefficient threshold, determine the second compensation setting parameter as the target compensation setting parameter, wherein the second compensation setting parameter includes the second compression mode parameter. Optionally, the compression ratio of the first compression mode parameter is different from the compression ratio of the second compression mode parameter; optionally, the compression ratio of the first compression mode parameter is less than the compression ratio of the second compression mode parameter.
[0131] In one embodiment, the acquisition module 1210 is specifically used to calculate the first coefficient corresponding to the first optical data, the second coefficient corresponding to the second optical data, and the third coefficient corresponding to the third optical data; and obtain the total coefficient of three colors by weighted calculation according to the first coefficient, the second coefficient, the third coefficient and the weight corresponding to each coefficient.
[0132] In one embodiment, the acquisition module 1210 is specifically used to obtain feature data of multiple matrix areas of target optical data based on a preset matrix algorithm, wherein the target optical data includes first optical data, second optical data or third optical data; traverse the feature data of each matrix area (or multiple matrix areas or all matrix areas) to obtain the absolute value sum of the difference of the feature data of each matrix area, wherein the absolute value sum of the difference is the absolute value sum of the difference between each edge data (or multiple edge data or all edge data) of the feature data of the matrix area and the center data; sum the absolute value sum of the difference of the feature data of multiple matrix areas (or all matrix areas) to obtain the coefficient corresponding to the target optical data.
[0133] In one embodiment, the compensation module 1240 is specifically used to input the target compensation setting parameters into the dynamic link library so that the dynamic link library generates corresponding system update parameters and update firmware; burn the system update parameters into the storage unit of the display panel, and modify the firmware in the storage unit of the display panel according to the updated firmware; restart the display panel so that the display panel performs compensation processing on the optical data according to the updated firmware.
[0134] In summary, this embodiment provides a data compensation device for a display panel, which can determine the compression mode algorithm of the display panel according to the real-time characteristics of the display panel, so as to provide a compression mode algorithm that is more in line with the mura characteristics of the display panel for a single display panel, greatly improving the yield of the display panel in the automated production process of the display panel. Moreover, the data compensation device for the display panel provided by this embodiment can realize full-process automation execution, without consuming a lot of manpower for algorithm update, and can provide users with display panel products with higher display accuracy.
[0135] Each module in the above-mentioned display panel data compensation device can be implemented in whole or in part by software, hardware or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to each module.
[0136] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Fig.13 As shown. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and the external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be realized through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a data compensation method for a display panel is realized. The display unit of the computer device is used to form a visually visible picture, which can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.
[0137] Those skilled in the art will understand that Fig.13 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0138] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:
[0139] Acquiring optical data of the display panel;
[0140] Acquire the total coefficient of three colors of a preset gray scale based on the optical data;
[0141] Determining a target compensation setting parameter according to the three-color total coefficient, wherein the target compensation setting parameter includes a first compression mode parameter or a second compression mode parameter;
[0142] The firmware in the display panel is updated according to the target compensation setting parameters, so that the display panel performs compensation processing on the optical data according to the updated firmware.
[0143] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
[0144] Acquiring optical data of the display panel;
[0145] Acquire the total coefficient of three colors of a preset gray scale based on the optical data;
[0146] Determining a target compensation setting parameter according to the three-color total coefficient, wherein the target compensation setting parameter includes a first compression mode parameter or a second compression mode parameter;
[0147] The firmware in the display panel is updated according to the target compensation setting parameters, so that the display panel performs compensation processing on the optical data according to the updated firmware.
[0148] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:
[0149] Acquiring optical data of the display panel;
[0150] Acquire the total coefficient of three colors of a preset gray scale based on the optical data;
[0151] Determining a target compensation setting parameter according to the three-color total coefficient, wherein the target compensation setting parameter includes a first compression mode parameter or a second compression mode parameter;
[0152] The firmware in the display panel is updated according to the target compensation setting parameters, so that the display panel performs compensation processing on the optical data according to the updated firmware.
[0153] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile 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), magnetoresistive 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. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0154] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0155] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A data compensation method for a display panel, characterized in that: include: Acquire a total three-color coefficient of a preset grayscale based on the optical data of the display panel; Determining a target compensation setting parameter according to the three-color total coefficient, wherein the target compensation setting parameter includes a first compression mode parameter or a second compression mode parameter; The optical data is compensated according to the target compensation setting parameters.
2. The method according to claim 1, characterized in that The determining of the target compensation setting parameters according to the three-color total coefficients includes: In a case where the total coefficient of the three colors is greater than a preset coefficient threshold, determining a first compensation setting parameter as the target compensation setting parameter, wherein the first compensation setting parameter includes the first compression mode parameter; When the total coefficient of the three colors is less than or equal to the preset coefficient threshold, determining a second compensation setting parameter as the target compensation setting parameter, wherein the second compensation setting parameter includes the second compression mode parameter; Optionally, the compression ratio of the first compression mode parameter is different from the compression ratio of the second compression mode parameter; Optionally, a compression ratio of the first compression mode parameter is smaller than a compression ratio of the second compression mode parameter.
3. The method according to claim 2, characterized in that The first compression mode parameters include x1 y1 compression mode parameter, the second compression mode parameter includes x2 y2 compression mode parameters; x1 y1 is less than x2 y2, x1, y1, x2 and y2 are all integers greater than or equal to 1; Optionally, performing compensation processing on the optical data according to the first compression mode parameter includes: The optical data corresponds to x1 The data corresponding to y1 pixels share or correspond to the same compensation value; The compensating processing of the optical data according to the second compression mode parameter comprises: The optical data corresponds to x2 The data corresponding to y2 pixels share or correspond to the same compensation value; Optionally, the first compression mode parameter includes 1 1 compression mode parameter, the second compression mode parameter includes 2 2Compression mode parameters.
4. The method according to claim 1, characterized in that: The optical data includes first optical data, second optical data and third optical data corresponding to different colors; the obtaining of a three-color total coefficient of a preset grayscale based on the optical data of the display panel includes: respectively calculating a first coefficient corresponding to the first optical data, a second coefficient corresponding to the second optical data, and a third coefficient corresponding to the third optical data; The three-color total coefficient is obtained by weighted calculation according to the first coefficient, the second coefficient, the third coefficient and the weights corresponding to the coefficients.
5. The method according to claim 4, characterized in that The step of respectively calculating a first coefficient corresponding to the first optical data, a second coefficient corresponding to the second optical data, and a third coefficient corresponding to the third optical data comprises: Based on a preset matrix algorithm, characteristic data of a plurality of matrix regions of target optical data are obtained, wherein the target optical data includes the first optical data, the second optical data or the third optical data; Traversing the feature data of multiple matrix regions, obtaining the sum of absolute values of differences of the feature data of each matrix region, wherein the sum of absolute values of differences is the sum of absolute values of differences between multiple edge data and center data of the feature data of the matrix region; The absolute values of the differences of the characteristic data of the plurality of matrix regions are summed to obtain coefficients corresponding to the target optical data.
6. The method according to claim 1, characterized in that The target compensation setting parameters include a target compression mode parameter, a brightness compensation data address corresponding to the target compression mode parameter, and an algorithm parameter, wherein the target compression mode parameter includes a first compression mode parameter or a second compression mode parameter; The compensating the optical data according to the target compensation setting parameters comprises: Inputting the target compensation setting parameters into a dynamic link library so that the dynamic link library generates corresponding system update parameters and update firmware; Burning the system update parameters into a storage unit of the display panel, and modifying the firmware in the storage unit of the display panel according to the update firmware; The display panel is restarted so that the display panel performs compensation processing on the optical data according to the updated firmware.
7. A data compensation device for a display panel, characterized in that: include: An acquisition module, used for acquiring a total coefficient of three colors of a preset gray scale based on the optical data of the display panel; A determination module, configured to determine a target compensation setting parameter according to the three-color total coefficient, wherein the target compensation setting parameter includes a first compression mode parameter or a second compression mode parameter; The compensation module is used to perform compensation processing on the optical data according to the target compensation setting parameters.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the data compensation method for a display panel according to any one of claims 1 to 6 are implemented.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the data compensation method for a display panel according to any one of claims 1 to 6 are implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the data compensation method for a display panel according to any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
Data compression method and device and data decompression method and device
CN114120915A
Compression method and device of compensation data, decompression method and display device
CN115440160A
Brightness compensation method and device and computer readable storage medium
CN115985269A
Compensation method and device of display panel, equipment and storage medium
CN117133235A
Smooth filtering method and device for brightness compensation data and display equipment
CN117495701A