Display compensation method and device of display panel, electronic equipment and storage medium

Through the method of block processing and layer-by-layer compensation, the problem of high computational complexity in display panel brightness compensation is solved, efficient and reliable brightness compensation effect is achieved, and the display uniformity and user experience of the display panel are improved.

CN120708563AActive Publication Date: 2025-09-26SHENZHEN SITAN TECH CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202511101712.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-08-07
Publication Date
2025-09-26
Estimated Expiration
2045-08-07

AI Technical Summary

Technical Problem

The prior art has high computational complexity in the display panel brightness compensation process, resulting in low compensation efficiency and difficulty in ensuring the reliability of brightness data.

Method used

By obtaining the overall brightness average of the display panel, processing the image in blocks, performing brightness variance analysis, and re-blocking using global brightness variance and global control brightness variance, the area to be compensated is compensated layer by layer to avoid over-segmentation or under-segmentation, accurately identify the area to be compensated, and reduce the amount of data calculation.

Benefits of technology

The efficiency and reliability of display panel brightness compensation are improved, the accuracy and consistency of the compensation results are ensured, the amount of calculation is reduced, and the uniformity and quality of image display are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120708563A_ABST
    Figure CN120708563A_ABST
Patent Text Reader

Abstract

The invention discloses a display compensation method and device of a display panel, electronic equipment and a storage medium, and the method comprises the steps: carrying out the partitioning processing and variance analysis of a to-be-compensated image of the display panel, and obtaining a first partitioning matrix and a global brightness variance of the to-be-compensated image; obtaining a global contrast brightness variance of the to-be-compensated image, wherein the global contrast brightness variance is a variance of global brightness of a uniform image in a preset uniform panel; re-blocking the image to be compensated according to the global brightness variance and the global contrast brightness variance to obtain a second block matrix; if a to-be-compensated third block matrix exists in the second block matrix, compensating the third block matrix to obtain a compensated third block matrix; and partitioning the compensated third block matrix to obtain a fourth block matrix, and if a fifth block matrix to be compensated exists in the fourth block matrix, compensating the fifth block matrix. And the reliability of the compensation result can be ensured by analyzing the to-be-compensated condition layer by layer.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of image compensation processing, and in particular to a display compensation method, device, electronic equipment and storage medium for a display panel. Background Art

[0002] Mura refers to uneven brightness or color on the screen. This phenomenon can cause brightness or color inconsistencies on the screen, affecting the user's visual experience and reducing viewing comfort. Severe mura can interfere with the normal display function of the monitor, resulting in unclear images or other quality issues. To address this mura problem, Demura technology has been developed specifically. Demura technology compensates for brightness / color deviations by precisely adjusting the driving grayscale value or operating voltage of pixels in mura areas, achieving display uniformity correction.

[0003] However, in the process of compensating the brightness of the display panel, there are problems such as low compensation efficiency due to a complex calculation process and difficulty in ensuring the reliability of brightness data. Summary of the Invention

[0004] Embodiments of the present invention provide a display compensation method, device, electronic device, and storage medium for a display panel, aiming to quickly compensate an image to be compensated on a display panel.

[0005] To solve the above technical problems, the embodiments of the present invention provide the following technical solutions:

[0006] A display compensation method for a display panel, comprising:

[0007] Obtaining an average overall brightness of the image to be compensated on the display panel;

[0008] Performing block processing on the image to be compensated to obtain a first block matrix of the image to be compensated;

[0009] Performing a brightness variance analysis on the first block matrix based on the overall brightness average value to obtain a global brightness variance of the image to be compensated;

[0010] Acquire a global contrast brightness variance of the image to be compensated, where the global contrast brightness variance is a variance of global brightness of a uniform image in a preset uniform panel;

[0011] Re-dividing the image to be compensated according to the global brightness variance and the global comparison brightness variance to obtain a second block matrix;

[0012] If a third block matrix to be compensated exists in the second block matrix, compensating the third block matrix to obtain a compensated third block matrix;

[0013] The compensated third block matrix is ​​divided into blocks to obtain a fourth block matrix. If a fifth block matrix to be compensated exists in the fourth block matrix, the fifth block matrix is ​​compensated.

[0014] Optionally, performing block processing on the image to be compensated to obtain a first block matrix of the image to be compensated includes:

[0015] Performing edge operator detection on the grayscale image of the image to be compensated to obtain a plurality of edge detection images;

[0016] Binarization is performed on the multiple edge detection images to obtain the first block matrix after the image to be compensated is divided into blocks.

[0017] Optionally, performing brightness variance analysis on the first block matrix based on the overall brightness average value to obtain a global brightness variance of the image to be compensated includes:

[0018] Obtaining an average brightness value of each of the first block matrices;

[0019] A global brightness variance of the image to be compensated is obtained based on the overall brightness average value and the average brightness value of each of the first block matrices.

[0020] Optionally, re-dividing the image to be compensated according to the global brightness variance and the global comparison brightness variance to obtain a second block matrix includes:

[0021] Determining the number of updated blocks of the image to be compensated according to the global brightness variance, the global comparison brightness variance, and a relationship between the preset brightness variance, the comparison brightness variance, and the number of blocks;

[0022] The image to be compensated is re-divided into uniform blocks based on the updated number of blocks to obtain the second block matrix.

[0023] Optionally, if a third block matrix to be compensated exists in the second block matrix, compensating the third block matrix to obtain a compensated third block matrix includes:

[0024] Obtain the brightness difference and extreme difference value of each second block matrix respectively;

[0025] Determine whether the brightness difference value is greater than a preset brightness difference threshold, or whether the range difference value is greater than a preset range difference threshold;

[0026] If so, determining that the brightness difference value is greater than a preset brightness difference threshold, or the second block matrix whose range difference value is greater than a preset range difference threshold is the third block matrix to be compensated;

[0027] The third block matrix is ​​compensated based on a preset display compensation method to obtain a compensated third block matrix.

[0028] Optionally, respectively obtaining the brightness difference value and the range difference value of each second block matrix includes:

[0029] respectively obtaining a second average brightness, a second maximum brightness, and a second minimum brightness of each second block matrix, and an overall brightness average value of the image to be compensated;

[0030] The absolute difference between the second average brightness and the overall brightness average is defined as the brightness difference of the second block matrix corresponding to the second average brightness;

[0031] A difference between the second maximum brightness value and the second minimum brightness value is defined as an extreme difference value of the corresponding second block matrix.

[0032] Optionally, the compensated third block matrix is ​​divided into blocks to obtain a fourth block matrix. If a fifth block matrix to be compensated exists in the fourth block matrix, after compensating the fifth block matrix, the method further includes:

[0033] Obtain all block matrices to be compensated, and perform interpolation mapping and splicing on all block matrices to be compensated to obtain a spliced ​​compensated image;

[0034] A uniformity detection is performed on the spliced ​​compensated image using a regional block having a size different from that of the fifth block matrix.

[0035] A display compensation device for a display panel, comprising:

[0036] An overall brightness average value acquisition module is used to acquire an overall brightness average value of the image to be compensated on the display panel;

[0037] A first block division module, configured to perform block processing on the image to be compensated to obtain a first block matrix of the image to be compensated;

[0038] a global brightness variance determination module, configured to perform brightness variance analysis on the first block matrix based on the overall brightness average value to obtain a global brightness variance of the image to be compensated;

[0039] A global contrast brightness variance determination module, configured to obtain a global contrast brightness variance of the image to be compensated, wherein the global contrast brightness variance is a variance of global brightness of a uniform image in a preset uniform panel;

[0040] a re-blocking module, configured to re-block the image to be compensated according to the global brightness variance and the global comparison brightness variance to obtain a second block matrix;

[0041] a first compensation module, configured to, if a third block matrix to be compensated exists in the second block matrix, compensate the third block matrix to obtain a compensated third block matrix;

[0042] The second compensation module is configured to divide the compensated third block matrix into blocks to obtain a fourth block matrix, and if a fifth block matrix to be compensated exists in the fourth block matrix, compensate the fifth block matrix.

[0043] An electronic device includes a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor performs the following steps:

[0044] Obtaining an average overall brightness of the image to be compensated on the display panel;

[0045] Performing block processing on the image to be compensated to obtain a first block matrix of the image to be compensated;

[0046] Performing a brightness variance analysis on the first block matrix based on the overall brightness average value to obtain a global brightness variance of the image to be compensated;

[0047] Acquire a global contrast brightness variance of the image to be compensated, where the global contrast brightness variance is a variance of global brightness of a uniform image in a preset uniform panel;

[0048] Re-dividing the image to be compensated according to the global brightness variance and the global comparison brightness variance to obtain a second block matrix;

[0049] If a third block matrix to be compensated exists in the second block matrix, compensating the third block matrix to obtain a compensated third block matrix;

[0050] The compensated third block matrix is ​​divided into blocks to obtain a fourth block matrix. If a fifth block matrix to be compensated exists in the fourth block matrix, the fifth block matrix is ​​compensated.

[0051] A computer-readable storage medium stores a computer program, wherein the computer program is loaded by a processor to execute the steps in the display compensation method of a display panel described above.

[0052] In the embodiment of the present invention, since the uniform image in the uniform panel is in an ideal uniform state, the block condition of the image to be compensated is adjusted according to the global comparison brightness variance and the global brightness variance of the image to be compensated, thereby avoiding the problem of insufficient compensation or excessive calculation caused by over-segmentation or under-segmentation of the image to be compensated; by analyzing the condition to be compensated of the second block matrix layer by layer, the incompleteness of a single compensation can be avoided and the reliability of the compensation result can be guaranteed; in addition, by targeting the block matrices that exist to be compensated and ignoring the block matrices that do not exist to be compensated, the area to be compensated is accurately identified, the amount of data calculation is reduced, and the efficiency of image compensation is improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0053] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, 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.

[0054] Figure 1 A schematic diagram of a scenario of an embodiment of a display compensation system for a display panel provided by an embodiment of the present invention;

[0055] Figure 2 A schematic diagram of a scenario of another embodiment of the display compensation system for a display panel provided by an embodiment of the present invention;

[0056] Figure 3 A schematic flow chart of an embodiment of a display compensation method for a display panel provided by an embodiment of the present invention;

[0057] Figure 4 A schematic diagram of a process flow of a multi-iteration mean demura adaptive optimization process according to an embodiment of the present invention;

[0058] Figure 5 A schematic structural diagram of an embodiment of a display compensation device for a display panel provided by an embodiment of the present invention;

[0059] Figure 6 It is a structural diagram of an embodiment of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0060] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments 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 any creative efforts shall fall within the scope of protection of the present invention.

[0061] In the following description, the specific embodiments of the present invention will be described with reference to steps and symbols performed by one or more computers, unless otherwise specified. Therefore, these steps and operations will be mentioned several times as being performed by a computer, and the computer execution referred to herein includes the operation of a computer processing unit by electronic signals representing data in a structured form. This operation converts the data or maintains it at a location in the computer's memory system, which can be reconfigured or otherwise change the operation of the computer in a manner familiar to testers in the field. The data structure in which the data is maintained is a physical location in the memory, which has specific characteristics defined by the data format. However, the principles of the present invention are described in the above text, which does not represent a limitation, and testers in the field will understand that the various steps and operations described below can also be implemented in hardware.

[0062] As used herein, the terms "module" or "unit" may be considered software objects executed on the computing system. The various components, modules, engines, and services described herein may be considered implementation objects on the computing system. While the devices and methods described herein are preferably implemented in software, they may also be implemented in hardware and fall within the scope of protection of the present invention.

[0063] Embodiments of the present invention provide a display compensation method and device for a display panel, an electronic device, and a storage medium.

[0064] See also Figure 1 , Figure 1 Schematic diagram of a scenario of an embodiment of a display compensation system for a display panel provided by an embodiment of the present invention. The display compensation system for a display panel may include a client 100 and a server 200. The client 100 and the server 200 are connected via a network. The server 200 is integrated with a display compensation device for a display panel. The server 200 may be a work platform server (i.e., a server loaded with a work platform). Figure 1In the server, the client 100 can access the server 200. In the embodiment of the present invention, the server 200 is mainly used to obtain the overall brightness average of the image to be compensated of the display panel; perform block processing on the image to be compensated to obtain a first block matrix of the image to be compensated; perform brightness variance analysis on the first block matrix based on the overall brightness average to obtain the global brightness variance of the image to be compensated; obtain the global contrast brightness variance of the image to be compensated, the global contrast brightness variance being the variance of the global brightness of the uniform image in the preset uniform panel; re-block the image to be compensated according to the global brightness variance and the global contrast brightness variance to obtain a second block matrix; if a third block matrix to be compensated exists in the second block matrix, the third block matrix is ​​compensated to obtain a compensated third block matrix; the compensated third block matrix is ​​blocked to obtain a fourth block matrix, and if a fifth block matrix to be compensated exists in the fourth block matrix, the fifth block matrix is ​​compensated.

[0065] In an embodiment of the present invention, the server 200 may be an independent server or a server network or server cluster composed of servers. For example, the server 200 described in the embodiment of the present invention includes but is not limited to a computer, a network host, a single network server, a plurality of network servers, or a cloud server composed of a plurality of servers. The cloud server is composed of a large number of computers or network servers based on cloud computing. In an embodiment of the present invention, communication between the server and the client can be achieved through any communication method, including but not limited to mobile communications based on the 3rd Generation Partnership Project (3GPP), Long Term Evolution (LTE), Worldwide Interoperability for Microwave Access (WiMAX), or computer network communications based on the TCP / IP Protocol Suite (TCP / IP) and User Datagram Protocol (UDP).

[0066] It is understood that the client 100 used in the embodiments of the present invention can be understood as a client device, which includes both receiving and transmitting hardware, i.e., a device having receiving and transmitting hardware capable of performing two-way communication over a two-way communication link. Such client devices may include: cellular or other communication devices with single-line displays, multi-line displays, or cellular or other communication devices without multi-line displays. Specifically, the client 100 can be a desktop terminal or a mobile terminal, and can be a mobile phone, tablet computer, laptop computer, etc.

[0067] Those skilled in the art will understand that Figure 1 The application environment shown in the figure is only one application scenario of the present application solution and does not constitute a limitation on the application scenario of the present application solution. Other application environments may also include Figure 1 More or fewer servers, or server network connection relationships, as shown in Figure 1 Only one server and two clients are shown. It can be understood that the display compensation system of the display panel can also include one or more other servers, or / and one or more clients connected to the server network, which is not limited here.

[0068] In some embodiments of the present invention, the work platform may be an enterprise office platform, such as enterprise WeChat. Taking server 200 as an example, it may further include an enterprise office platform contact server, an enterprise office platform configuration management server, and a Web management server. Enterprise users or developers may access the Web management server by using a Web browsing terminal to configure the field configuration information on the enterprise office platform configuration management server, and set and store the enterprise user information of enterprise employees of the enterprise office platform on the enterprise office platform contact server.

[0069] In addition, if Figure 2 As shown, Figure 2 This is a scene diagram of another embodiment of the display compensation system for a display panel provided in an embodiment of the present invention. The display compensation system for the display panel may further include a storage end 300 for storing data, such as a storage object database. The object database stores object data. The object data may include application templates (such as approval templates, punch-in templates, and other application templates), file data (such as Word files, Excel files, or PPT files, and other files in various formats), image data (such as jpg, png, bmp, and other images in various formats), and other data. Correspondingly, the object database may also be divided into multiple types of data, such as an application database, a file database, or a picture database.

[0070] It should be noted that Figure 1-2The scenario diagram of the display compensation system of the display panel shown is only an example. The display compensation system and scenario of the display panel described in the embodiment of the present invention are intended to more clearly illustrate the technical solution of the embodiment of the present invention, and do not constitute a limitation on the technical solution provided by the embodiment of the present invention. Ordinary technicians in this field can know that with the evolution of the display compensation system of the display panel and the emergence of new business scenarios, the technical solution provided by the embodiment of the present invention is also applicable to similar technical problems.

[0071] The following describes it in detail with reference to specific embodiments.

[0072] In this embodiment, description will be made from the perspective of a display compensation device of a display panel, which may be specifically integrated into the server 200 .

[0073] The present invention provides a display compensation method for a display panel. Figure 3 , Figure 3 A flow chart of an embodiment of a display compensation method for a display panel provided by an embodiment of the present invention includes:

[0074] S301: Obtaining an average overall brightness of an image to be compensated on a display panel;

[0075] S302: performing block processing on the image to be compensated to obtain a first block matrix of the image to be compensated;

[0076] S303: Obtaining an overall brightness average value of the image to be compensated of the display panel; performing block processing on the image to be compensated to obtain a first block matrix of the image to be compensated; performing brightness variance analysis on the first block matrix based on the overall brightness average value to obtain a global brightness variance of the image to be compensated;

[0077] In a specific embodiment, the image to be compensated of the display panel may be the entire screen image displayed to the user, and partial areas of the screen image of the display panel may be filtered out as needed. For example, when the screen image of the display panel includes multiple display areas, the image to be compensated may only include a few areas that need to be compensated, which is not limited here.

[0078] The first block matrix refers to a plurality of image blocks obtained by performing block processing on the image to be compensated, and the number of the image blocks is consistent with the number of the first block matrix.

[0079] The global brightness variance refers to a parameter obtained by performing variance analysis on the brightness data of the image to be compensated, which can represent the deviation of the brightness data of the image to be compensated.

[0080] S304: Obtaining a global comparison brightness variance of the image to be compensated, where the global comparison brightness variance is a variance of the global brightness of the uniform image in a preset uniform panel;

[0081] In a specific embodiment, the preset uniform panel refers to a pre-set standard panel, and the uniform image in the uniform panel is consistent with the image compensation result in the display panel that the technicians in this field want to achieve. The global contrast brightness variance refers to the deviation of the brightness data in the image in the display panel that can represent the standard.

[0082] S305: Re-dividing the image to be compensated according to the global brightness variance and the global comparison brightness variance to obtain a second block matrix;

[0083] In a specific embodiment, the second block matrix is ​​substantially the same as the first block matrix. Generally, the second block matrix and the first block matrix may have different numbers or block methods, or they may be the same, which is not limited here.

[0084] S306: If a third block matrix to be compensated exists in the second block matrix, the third block matrix is ​​compensated to obtain a compensated third block matrix;

[0085] In a specific embodiment, the second block matrix includes multiple ones. By performing data analysis on each second block matrix, it is determined whether a certain second block matrix needs to be compensated, and the second block matrix that needs to be compensated is defined as a third block matrix to be compensated. That is, the third block matrix is ​​a specific second block matrix. Obviously, the third block matrix is ​​much smaller than the second block matrix.

[0086] The compensated third block matrix refers to the result obtained by data compensation of the third block matrix. The specific compensation methods include any one of mean-based compensation, model prediction-based compensation, neighboring block-based compensation and statistical distribution-based compensation. Compensation can also be performed in other ways, which are not limited here.

[0087] S307: Divide the compensated third block matrix into blocks to obtain a fourth block matrix. If a fifth block matrix to be compensated exists in the fourth block matrix, compensate the fifth block matrix.

[0088] In a specific embodiment, the fourth block matrix includes a plurality of fourth block matrices, and each fourth block matrix is ​​much smaller than the compensated third block matrix.

[0089] Obviously, the fifth block matrix to be compensated may not exist in the fourth block matrix. That is to say, it is only necessary to compensate the image to be compensated once to obtain the final result that meets the requirements. When the fifth block matrix to be compensated exists in the fourth block matrix, the fifth block matrix is ​​treated as the third block matrix in S304 for iterative compensation.

[0090] Furthermore, after compensating the fifth block matrix, in order to ensure the final compensation effect of the image to be compensated, it is necessary to repeat S307 and replace the compensated fifth block matrix with the compensated third block matrix for iteration until the final image to be compensated that meets the compensation requirements is obtained.

[0091] In other embodiments, the compensation target may be adaptively adjusted according to actual needs, that is, the number of iterative compensations may be adjusted as needed to avoid the problem of excessive data processing volume due to excessive number of iterations.

[0092] In this embodiment, since the uniform image in the uniform panel is in an ideal uniform state, the block condition of the image to be compensated is adjusted based on the global contrast brightness variance and the global brightness variance of the image to be compensated, thereby avoiding the problem of insufficient compensation or excessive calculation caused by over-segmentation or under-segmentation of the image to be compensated. By analyzing the condition of the second block matrix to be compensated layer by layer, the incompleteness of a single compensation can be avoided and the reliability of the compensation result can be guaranteed. In addition, by targeting the block matrices that exist to be compensated and ignoring the block matrices that do not exist to be compensated, the area to be compensated is accurately identified, the amount of data calculation is reduced, and the efficiency of image compensation is improved.

[0093] In a specific embodiment, in S303, in order to perform block processing on the image to be compensated on the display panel and obtain a first block matrix of the image to be compensated, it specifically includes: performing edge operator detection on the grayscale image of the image to be compensated to obtain multiple edge detection images; performing binarization processing on the multiple edge detection images to obtain a first block matrix after the image to be compensated is divided into blocks.

[0094] In this embodiment, by performing edge operator detection on the grayscale image of the image to be compensated, the edge information of the image can be obtained, and an edge detection image can be obtained, which can highlight the contours of objects in the image; the edge detection image is binarized to convert the edge detection image into an image containing only black and white color values, thereby obtaining a first block matrix of the image to be compensated. The first block matrix can more clearly represent the distribution of the edge information of the image, provide a basis for further block processing and analysis of the image, and facilitate the study of the image from different perspectives of the whole and the part.

[0095] Furthermore, a variance analysis is performed on the image to be compensated on the display panel to obtain the global brightness variance of the image to be compensated, specifically including: obtaining the overall brightness average value of the image to be compensated and the average brightness value of each first block matrix; taking the overall brightness average value as a reference, performing degree variance calculation on multiple average brightness values ​​to obtain the global brightness variance of the image to be compensated.

[0096] In this embodiment, the global brightness variance is obtained by performing degree variance calculation on the average brightness value of each first block matrix based on the overall brightness average value of the image to be compensated, which helps to determine the discrete degree of brightness of different areas of the image to be compensated, so as to facilitate more accurate compensation according to the brightness differences of different areas of the image.

[0097] In a specific embodiment, the Sobel operator / Canny operator is used to perform image edge detection to obtain an edge detection image, wherein the calculation formulas of the Sobel operator / Canny operator are respectively:

[0098]

[0099] Among them, (x, y) is the coordinate of the image to be compensated, I (x, y) is the gray matrix, G x is the horizontal gradient, G y is the vertical gradient, G is the gradient amplitude, θ is the gradient direction, G α (x,y) is the Gaussian kernel, I gs (x, y) is the grayscale value of the coordinate (x, y) after Gaussian filtering, and α is the Gaussian kernel G α One parameter in (x,y).

[0100] Binarize the edge detection image to get the matrix m of the image to be compensated pq , and get the center pixel position (x cen ,y cen ), specifically:

[0101]

[0102] Where Q(x,y) is the binary image of the edge detection image; p and q are both non-negative integers, representing the order of the moment; x cen Indicates the x-coordinate and y-coordinate of the center point of the image cen Indicates the y coordinate of the center point of the image; m 10 The x coordinates and m of each pixel point in the edge detection image 00 is the total area of ​​the region where all pixel values ​​are 1; m 01 is the y coordinate and y coordinate of each pixel point in the edge detection image.

[0103] In determining the matrix m of the edge detection image pq and the center pixel position (x cen ,y cen), the edge detection image is pre-divided into n (n = 12) non-overlapping sub-regions, i.e., the first block matrix, which together covers the matrix of the entire original image. Then, the average brightness value avg[i] (i = 1, 2, ... n) of each first block matrix is ​​calculated, and the global brightness variance of the image to be compensated is determined by combining the overall brightness average value Mavg of the image to be compensated. Among them, the calculation formula of global brightness variance is:

[0104]

[0105] In this embodiment, by calculating the global brightness variance of the image to be compensated, the discrete degree of the brightness data corresponding to the first block matrix can be controlled as a whole, so as to facilitate feedback judgment of the blocking effect of the image to be compensated and the uniformity of the image brightness.

[0106] Generally, for an image to be compensated, the blocking effect thereof will not affect its uniformity. That is, the image still needs to be further compensated. Therefore, the image to be compensated needs to be re-blocked.

[0107] In a specific embodiment, in S304, the global contrast brightness variance is the variance of the global brightness of the uniform image in the preset uniform panel. In order to obtain the global contrast brightness variance of the image to be compensated, the overall brightness average of the uniform panel is first obtained, and then the uniform panel is divided into blocks according to the blocking method of the first blocking matrix, and the average brightness value of each sub-panel after the block is obtained. Finally, the variance of the global brightness corresponding to the average brightness values ​​of multiple sub-panels and the overall brightness average of the uniform panel is determined according to the variance calculation method, and the variance of the global brightness is used as the global contrast brightness variance.

[0108] Specifically, the global contrast brightness variance σ 2 The calculation formula for (z) is:

[0109]

[0110] Among them, z i is the average brightness value of the i-th sub-panel in the uniform panel, μ is the overall brightness average of the uniform panel, and N is the number of sub-panels in the uniform panel.

[0111] In a specific embodiment, in S305, in order to fine-tune the blocks of the image to be compensated according to the global brightness variance and the global control brightness variance, a second block matrix is ​​obtained, specifically including: determining the updated block number of the image to be compensated according to the global brightness variance, the global control brightness variance, and the relationship between the preset brightness variance, the control brightness variance and the number of blocks; and re-uniformly dividing the image to be compensated based on the updated block number to obtain a second block matrix.

[0112] Specifically, the relationship between the preset brightness variance, the comparison brightness variance, and the number of blocks is:

[0113]

[0114] Where n is the number of blocks, is the global brightness variance of the image to be compensated, σ 2 (z) is the global contrast brightness variance of the uniform panel.

[0115] After determining the updated number of blocks, the image to be compensated is re-blocked uniformly based on the updated number of blocks to obtain a second block matrix, which can obtain a second block matrix with a more reasonable blocking condition.

[0116] In this embodiment, the number of updated blocks is determined based on the variance, which enables more accurate image segmentation based on the image's brightness and contrast brightness characteristics. Compared with random segmentation or fixed segmentation, this method can dynamically adjust the number of blocks based on changes in the image's own brightness and contrast brightness, making the segmentation more consistent with the actual image situation.

[0117] In a specific embodiment, in S306, if there is a third block matrix to be compensated in the second block matrix, the third block matrix is ​​compensated to obtain the compensated third block matrix, specifically including: respectively obtaining the brightness difference value and the extreme difference value of each second block matrix; determining whether the brightness difference value is greater than a preset brightness difference threshold, or whether the extreme difference value is greater than the preset extreme difference threshold; if so, determining that the second block matrix whose brightness difference value is greater than the preset brightness difference threshold, or whose extreme difference value is greater than the preset extreme difference threshold is the third block matrix to be compensated; and compensating the third block matrix based on a preset display compensation method to obtain the compensated third block matrix.

[0118] Furthermore, the brightness difference and extreme difference values ​​of each second block matrix are obtained respectively, specifically including: obtaining the second average brightness, the second maximum brightness and the second minimum brightness of each second block matrix, as well as the overall brightness average of the image to be compensated; defining the absolute difference between the second average brightness and the overall brightness average as the brightness difference value of the second block matrix corresponding to the second average brightness; and defining the difference between the second maximum brightness and the second minimum brightness as the extreme difference value of the corresponding second block matrix.

[0119] Specifically, in the process of compensating the image to be compensated, the overall brightness average value Mavg of the image to be compensated is used as the target brightness. After determining the second average brightness avg2[i], the second brightness maximum value max(i), and the second brightness minimum value min(i) of each second block matrix, the calculation formula of the brightness difference value s[i] (i=1, 2, ...n) of the second block matrix is:

[0120] s[i]=|Mavg-avg2[i]|

[0121] Where |A| represents the absolute value of A.

[0122] The calculation formula of the range value ms(i) of the second block matrix is:

[0123] ms[i]=max(i)-min(i)

[0124] The calculation formula of the preset brightness difference threshold gray[i] is:

[0125]

[0126] It is only related to the block result of the first block matrix. Here n specifically refers to the number of the first block matrix. Therefore, the value of gray[i] is relatively fixed, so as to facilitate comparison with the brightness difference value corresponding to the updated block situation.

[0127] The calculation formula of the preset range threshold gs[i] is:

[0128]

[0129] Wherein, Ma is the maximum brightness value of the image to be compensated, Mi is the minimum brightness value of the image to be compensated, and n here also specifically refers to the number of the first block matrix.

[0130] When it is determined that the second block matrix whose brightness difference value is greater than the preset brightness difference threshold, or whose range value is greater than the preset range threshold is the third block matrix to be compensated, it indicates that there is still a third block matrix to be compensated in the second block matrix.

[0131] The preset display compensation method includes performing primary static grayscale-brightness compensation using a lookup table (LUT) of the grayscale and brightness of the image to be compensated. Other image compensation methods are also possible and are not limited here. Then, the compensated third block matrix is ​​obtained by performing the compensation on the third block matrix to be compensated.

[0132] In this embodiment, by judging the brightness difference and extreme value of the display panel block matrix, the third block matrix that needs to be compensated is determined, and then compensation is performed based on a preset display compensation method, thereby achieving accurate identification of areas in the display panel that may have display problems (i.e., areas where the brightness difference or extreme value exceeds the threshold), and performing targeted compensation for these specific areas, which helps to improve the overall display effect of the display panel, ensure the consistency and stability of the display, reduce problems such as uneven display and degraded picture quality caused by abnormal brightness or extreme value in local areas, improve the quality and reliability of the display panel in visual presentation, and meet users' demand for high-quality display effects.

[0133] Furthermore, in order to ensure that the compensated third block matrix meets the actual compensation requirements, it is necessary to iteratively compare the compensated third block matrix. Specifically, the compensated third block matrix is ​​divided into blocks to obtain a fourth block matrix. If there is a fifth block matrix to be compensated in the fourth block matrix, the fifth block matrix is ​​compensated.

[0134] That is to say, further block division is required, and the block division results are recalculated to finally determine whether the image to be compensated reaches the final compensation target.

[0135] In a specific embodiment, in S307, the compensated third block matrix is ​​divided into blocks to obtain a fourth block matrix. If a fifth block matrix to be compensated exists in the fourth block matrix, after compensating the fifth block matrix, the process further includes: obtaining all block matrices to be compensated, and performing interpolation mapping and splicing on all block matrices to be compensated to obtain a spliced ​​compensated image; and performing uniformity detection on the spliced ​​compensated image using a regional block different in size from the fifth block matrix.

[0136] That is, after all the block matrices to be compensated are determined, in order to ensure the uniformity of the final compensated image, it is necessary to perform interpolation mapping and splicing on all the block matrices to be compensated to obtain a spliced ​​compensated image.

[0137] In this embodiment, on the one hand, by performing feedback adjustment on all the block matrices to be compensated, specifically by performing interpolation mapping and splicing on all the block matrices to be compensated, it is possible to integrate the information of each block, reasonably merge the compensation information of different parts, and improve the integrity and accuracy of image compensation; on the other hand, a uniformity test is performed on the spliced ​​compensated image using regional blocks of a size different from the fifth block matrix to check the uniformity of the compensated image in different areas, thereby ensuring that the final compensated image has good consistency and uniformity in overall visual effect and data distribution, avoiding problems such as excessive local differences, and improving image quality.

[0138] Further, in order to more clearly describe the process of compensating the image to be compensated on the display panel, please refer to Figure 4 , Figure 4 The flowchart of an embodiment of the multi-iteration mean demura adaptive optimization process provided in this invention clearly shows all the necessary steps and logical sequence from the original image to the final uniform brightness image, highlighting the unique advantages of adaptive adjustment and hierarchical compensation, which helps to significantly improve the mura phenomenon of Micro-LED display panels.

[0139] It should be noted that after the first blocking, when it is determined that the image to be compensated needs to be compensated, the image to be compensated is not compensated directly. Instead, the number of blocks of the image to be compensated is re-determined based on the variance data corresponding to the initial blocking result of the image to be compensated, and the blocking is based on the new number of blocks before entering a cycle of first compensation and then re-blocking, until it is determined that the image to be compensated does not need to be compensated anymore.

[0140] To facilitate better implementation of the display compensation method for a display panel provided in an embodiment of the present invention, an embodiment of the present invention further provides a device based on the display compensation method for a display panel. The meanings of the terms herein are the same as those in the display compensation method for a display panel described above. For specific implementation details, please refer to the description in the method embodiment.

[0141] See also Figure 5 , Figure 5 This is a schematic structural diagram of an embodiment of a display compensation device for a display panel provided by an embodiment of the present invention, wherein the display compensation device 500 for a display panel may include:

[0142] The overall brightness average value acquisition module 501 is used to acquire the overall brightness average value of the image to be compensated on the display panel;

[0143] A first block division module 502 is configured to perform block processing on the image to be compensated to obtain a first block matrix of the image to be compensated;

[0144] A global brightness variance determination module 503 is configured to perform brightness variance analysis on the first block matrix based on the overall brightness average value to obtain a global brightness variance of the image to be compensated;

[0145] A global contrast brightness variance determination module 504 is configured to obtain a global contrast brightness variance of the image to be compensated, where the global contrast brightness variance is a variance of global brightness of a uniform image in a preset uniform panel;

[0146] a re-blocking module 505, configured to re-block the image to be compensated according to the global brightness variance and the global comparison brightness variance to obtain a second block matrix;

[0147] A first compensation module 506 is configured to compensate the third block matrix to obtain a compensated third block matrix if a third block matrix to be compensated exists in the second block matrix;

[0148] The second compensation module 507 is configured to divide the compensated third block matrix into blocks to obtain a fourth block matrix, and if a fifth block matrix to be compensated exists in the fourth block matrix, compensate the fifth block matrix.

[0149] An embodiment of the present invention further provides an electronic device, such as Figure 6 As shown, Figure 61 is a schematic diagram of the structure of an electronic device according to an embodiment of the present invention. Specifically:

[0150] The electronic device may include one or more processing core processors 601, one or more computer-readable storage media memories 602, a power supply 603, an input unit 604 and other components. Those skilled in the art will understand that Figure 6 The electronic device structure shown in the figure does not constitute a limitation to the electronic device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0151] in:

[0152] The processor 601 is the control center of the electronic device, connecting the various parts of the entire electronic device using various interfaces and lines. By running or executing software programs and / or modules stored in the memory 602 and accessing data stored in the memory 602, it performs various functions of the electronic device and processes data, thereby monitoring the electronic device as a whole. Optionally, the processor 601 may include one or more processing cores; preferably, the processor 601 may integrate an application processor and a modem processor, wherein the application processor mainly handles the operation of storage media, user interface, and application programs, while the modem processor mainly handles wireless communications. It is understood that the modem processor may not be integrated into the processor 601.

[0153] The memory 602 can be used to store software programs and modules. The processor 601 executes various functional applications and data processing by running the software programs and modules stored in the memory 602. The memory 602 may mainly include a program storage area and a data storage area, wherein the program storage area may store operating storage media, applications 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 602 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 602 may also include a memory controller to provide the processor 601 with access to the memory 602.

[0154] The electronic device also includes a power supply 603 for supplying power to various components. Preferably, the power supply 603 can be logically connected to the processor 601 via a power management storage medium, thereby implementing functions such as charging, discharging, and power consumption management through the power management storage medium. The power supply 603 can also include one or more DC or AC power supplies, a recharge storage medium, a power failure detection circuit, a power converter or inverter, a power status indicator, and other arbitrary components.

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

[0156] 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 601 in the electronic device will load the executable files corresponding to the processes of one or more application programs into the memory 602 according to the following instructions, and the processor 601 will run the application programs stored in the memory 602 to implement various functions as follows:

[0157] The method comprises the following steps: obtaining an overall brightness average value of an image to be compensated on a display panel; performing block processing on the image to be compensated to obtain a first block matrix of the image to be compensated; performing brightness variance analysis on the first block matrix based on the overall brightness average value to obtain a global brightness variance of the image to be compensated; obtaining a global contrast brightness variance of the image to be compensated, the global contrast brightness variance being the variance of the global brightness of a uniform image in a preset uniform panel; re-blocking the image to be compensated based on the global brightness variance and the global contrast brightness variance to obtain a second block matrix; if a third block matrix to be compensated exists in the second block matrix, compensating the third block matrix to obtain a compensated third block matrix; and blocking the compensated third block matrix to obtain a fourth block matrix. If a fifth block matrix to be compensated exists in the fourth block matrix, compensating the fifth block matrix.

[0158] 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.

[0159] To this end, an embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon. The computer program is loaded by a processor to execute the steps of any of the display compensation methods for display panels provided in the embodiments of the present invention. For example, the computer program loaded by the processor may execute the following steps:

[0160] The method comprises the following steps: obtaining an overall brightness average value of an image to be compensated on a display panel; performing block processing on the image to be compensated to obtain a first block matrix of the image to be compensated; performing brightness variance analysis on the first block matrix based on the overall brightness average value to obtain a global brightness variance of the image to be compensated; obtaining a global contrast brightness variance of the image to be compensated, the global contrast brightness variance being the variance of the global brightness of a uniform image in a preset uniform panel; re-blocking the image to be compensated based on the global brightness variance and the global contrast brightness variance to obtain a second block matrix; if a third block matrix to be compensated exists in the second block matrix, compensating the third block matrix to obtain a compensated third block matrix; and blocking the compensated third block matrix to obtain a fourth block matrix. If a fifth block matrix to be compensated exists in the fourth block matrix, compensating the fifth block matrix.

[0161] The specific implementation of the above operations can be found in the previous embodiments and will not be repeated here.

[0162] The computer-readable storage medium may include a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0163] Since the computer program stored in the computer-readable storage medium can execute the steps in the display compensation method of any display panel provided in the embodiments of the present invention, the beneficial effects that can be achieved by the display compensation method of any display panel provided in the embodiments of the present invention can be achieved. Please refer to the previous embodiments for details and will not be repeated here.

[0164] The above is a detailed introduction to the display compensation method, device, electronic device and storage medium of a display panel provided by an embodiment of the present invention. 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 compensation method for a display panel, characterized in that: include: Obtaining an average overall brightness of the image to be compensated on the display panel; Performing block processing on the image to be compensated to obtain a first block matrix of the image to be compensated; Performing a brightness variance analysis on the first block matrix based on the overall brightness average value to obtain a global brightness variance of the image to be compensated; Acquire a global contrast brightness variance of the image to be compensated, where the global contrast brightness variance is a variance of global brightness of a uniform image in a preset uniform panel; Re-dividing the image to be compensated according to the global brightness variance and the global comparison brightness variance to obtain a second block matrix; If a third block matrix to be compensated exists in the second block matrix, compensating the third block matrix to obtain a compensated third block matrix; The compensated third block matrix is ​​divided into blocks to obtain a fourth block matrix. If a fifth block matrix to be compensated exists in the fourth block matrix, the fifth block matrix is ​​compensated.

2. The display compensation method of a display panel according to claim 1, wherein: The performing block processing on the image to be compensated to obtain a first block matrix of the image to be compensated includes: Performing edge operator detection on the grayscale image of the image to be compensated to obtain a plurality of edge detection images; Binarization is performed on the multiple edge detection images to obtain the first block matrix after the image to be compensated is divided into blocks.

3. The display compensation method of a display panel according to claim 1, wherein: The performing brightness variance analysis on the first block matrix based on the overall brightness average value to obtain the global brightness variance of the image to be compensated includes: Obtaining an average brightness value of each of the first block matrices; A global brightness variance of the image to be compensated is obtained based on the overall brightness average value and the average brightness value of each of the first block matrices.

4. The display compensation method of a display panel according to claim 1, wherein: The re-dividing the image to be compensated according to the global brightness variance and the global comparison brightness variance to obtain a second block matrix includes: Determining the number of updated blocks of the image to be compensated according to the global brightness variance, the global comparison brightness variance, and a relationship between the preset brightness variance, the comparison brightness variance, and the number of blocks; The image to be compensated is re-divided into uniform blocks based on the updated number of blocks to obtain the second block matrix.

5. The display compensation method of a display panel according to claim 1, wherein: If a third block matrix to be compensated exists in the second block matrix, compensating the third block matrix to obtain a compensated third block matrix includes: Obtain the brightness difference and extreme difference value of each second block matrix respectively; Determine whether the brightness difference value is greater than a preset brightness difference threshold, or whether the range difference value is greater than a preset range difference threshold; If so, determining that the brightness difference value is greater than a preset brightness difference threshold, or the second block matrix whose range difference value is greater than a preset range difference threshold is the third block matrix to be compensated; The third block matrix is ​​compensated based on a preset display compensation method to obtain a compensated third block matrix.

6. The display compensation method of a display panel according to claim 5, wherein: The step of respectively obtaining the brightness difference value and the extreme difference value of each second block matrix includes: respectively obtaining a second average brightness, a second maximum brightness, and a second minimum brightness of each second block matrix, and an overall brightness average value of the image to be compensated; The absolute difference between the second average brightness and the overall brightness average is defined as the brightness difference of the second block matrix corresponding to the second average brightness; A difference between the second maximum brightness value and the second minimum brightness value is defined as an extreme difference value of the corresponding second block matrix.

7. The display compensation method of a display panel according to claim 1, wherein: The compensated third block matrix is ​​divided into blocks to obtain a fourth block matrix. If a fifth block matrix to be compensated exists in the fourth block matrix, after compensating the fifth block matrix, the method further includes: Obtain all block matrices to be compensated, and perform interpolation mapping and splicing on all block matrices to be compensated to obtain a spliced ​​compensated image; A uniformity detection is performed on the spliced ​​compensated image using a regional block having a size different from that of the fifth block matrix.

8. A display compensation device for a display panel, characterized in that: include: An overall brightness average value acquisition module is used to acquire an overall brightness average value of the image to be compensated on the display panel; A first block division module, configured to perform block processing on the image to be compensated to obtain a first block matrix of the image to be compensated; a global brightness variance determination module, configured to perform brightness variance analysis on the first block matrix based on the overall brightness average value to obtain a global brightness variance of the image to be compensated; A global contrast brightness variance determination module, configured to obtain a global contrast brightness variance of the image to be compensated, wherein the global contrast brightness variance is a variance of global brightness of a uniform image in a preset uniform panel; a re-blocking module, configured to re-block the image to be compensated according to the global brightness variance and the global comparison brightness variance to obtain a second block matrix; a first compensation module, configured to, if a third block matrix to be compensated exists in the second block matrix, compensate the third block matrix to obtain a compensated third block matrix; The second compensation module is configured to divide the compensated third block matrix into blocks to obtain a fourth block matrix, and if a fifth block matrix to be compensated exists in the fourth block matrix, compensate the fifth block matrix.

9. An electronic device, characterized in that: The system comprises a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor performs the following steps: Obtaining an average overall brightness of the image to be compensated on the display panel; Performing block processing on the image to be compensated to obtain a first block matrix of the image to be compensated; Performing a brightness variance analysis on the first block matrix based on the overall brightness average value to obtain a global brightness variance of the image to be compensated; Acquire a global contrast brightness variance of the image to be compensated, where the global contrast brightness variance is a variance of global brightness of a uniform image in a preset uniform panel; Re-dividing the image to be compensated according to the global brightness variance and the global comparison brightness variance to obtain a second block matrix; If a third block matrix to be compensated exists in the second block matrix, compensating the third block matrix to obtain a compensated third block matrix; The compensated third block matrix is ​​divided into blocks to obtain a fourth block matrix. If a fifth block matrix to be compensated exists in the fourth block matrix, the fifth block matrix is ​​compensated.

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 compensation method of a display panel according to any one of claims 1 to 9.

Citation Information

Patent Citations

  • Automatic contrast ratio computing device

    CN103167245A

  • Light supplement lamp control method and device, electronic equipment and storage medium

    CN111083388A

  • Compensation method and device for display panel

    CN111710277A

  • Image brightness adjustment method, computer program product, electronic device and medium

    CN115082291A

  • Image processing method suitable for variable-size TFT display screen

    CN119575720A