A method, apparatus, and electronic device for adjusting the brightness of a display panel.

CN120808730BActive Publication Date: 2026-08-11SHENZHEN SITAN TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-08-07
Publication Date
2026-08-11

AI Technical Summary

Technical Problem

[0003]然而,现代高分辨率显示面板的像素数量多,对于存在Mura问题的显示面板亮度数据范围宽泛,现有的Demura技术在对显示面板的亮度进行调整的过程中,存在全局亮度一致性较差的问题,导致显示面板的整体显示效果欠佳

Benefits of technology

[0054]本发明实施例中,通过构建亮度数据总集合的梯度直方图,并对梯度直方图本身进行分析以估计亮度数据的复杂程度,从而根据梯度直方图确定亮度数据的亮度数据簇数,实现了对显示面板的所有亮度数据进行统一处理,保证了数据的完整性;通过基于亮度数据簇数对亮度数据总集合进行分簇,确定多个簇中心及每个簇中心的簇内亮度数据,将显示面板的亮度调整目标划分为多个部分,能够降低亮度调整过程的灵活性;通过将每一簇中心的簇内亮度数据划分为第一簇内亮度数据和第二簇内亮度数据,对第一簇内亮度数据进行乘法补偿调整,得到第一簇内亮度数据的显示亮度,对第二簇内亮度数据进行加法补偿调整,得到第二簇内亮度数据的显示亮度,实现以每一簇中心为亮度调整基准,分别对不同类型的数据适应性进行乘法补偿或加法补偿,能够使得每一簇的簇内亮度数据都尽可能接近簇中心;根据第一显示亮度和第二显示亮度对显示面板的亮度进行调整,大大提高了显示结果的均匀性。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120808730B_ABST
    Figure CN120808730B_ABST
Patent Text Reader

Abstract

This invention discloses a method, apparatus, and electronic device for adjusting the brightness of a display panel. The method includes: constructing a gradient histogram of the total set of brightness data of the display panel, and determining the number of brightness data clusters based on the gradient histogram; clustering the total set of brightness data based on the number of brightness data clusters, determining multiple cluster centers and the brightness data within each cluster center; dividing the brightness data within each cluster center into first cluster brightness data to be multiplicatively compensated and second cluster brightness data to be multiplicatively compensated and additively compensated; performing multiplicatively compensated adjustment on the first cluster brightness data to obtain a first display brightness corresponding to the first cluster brightness data; performing multiplicatively compensated and additively compensated adjustment on the second cluster brightness data sequentially to obtain a second display brightness corresponding to the second cluster brightness data; adjusting the brightness of the display panel according to the first display brightness and the second display brightness; and improving the uniformity of the display result.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of display panel brightness processing technology, and more specifically to a method, apparatus, and electronic device for adjusting the brightness of a display panel. Background Technology

[0002] Mura refers to uneven brightness or color on a screen. The Mura phenomenon causes inconsistencies in brightness or color on the screen, affecting the user's visual experience and reducing viewing comfort. Severe Mura may interfere with the normal display function of the monitor, resulting in unclear images or other quality problems. To solve the Mura problem, the industry commonly uses Demura technology. Demura technology precisely measures the brightness data of each pixel on the panel and adjusts the grayscale value or voltage of pixels in the Mura area to achieve a uniform display effect.

[0003] However, modern high-resolution display panels have a large number of pixels, and the brightness data range for display panels with Mura issues is wide. Existing Demura technology has a problem of poor global brightness consistency in the process of adjusting the brightness of the display panel, resulting in poor overall display effect of the display panel.

[0004] Therefore, existing technologies suffer from poor overall display performance of display panels. Summary of the Invention

[0005] This invention provides a method, apparatus, and electronic device for adjusting the brightness of a display panel, aiming to improve the overall display effect of the display panel.

[0006] To address the aforementioned technical problems, the embodiments of the present invention provide the following technical solutions:

[0007] A method for adjusting the brightness of a display panel, comprising:

[0008] Construct a gradient histogram of the total set of brightness data of the display panel, and determine the number of brightness data clusters based on the gradient histogram;

[0009] Based on the number of brightness data clusters, the total set of brightness data is clustered to determine multiple cluster centers and the brightness data within each cluster center;

[0010] The intra-cluster brightness data of each cluster center is divided into the first intra-cluster brightness data to be multiplicatively compensated and the second intra-cluster brightness data to be multiplicatively compensated and additively compensated.

[0011] Multiplicative compensation is applied to the brightness data within the first cluster to obtain a first display brightness corresponding to the brightness data within the first cluster. Multiplicative compensation and additive compensation are applied to the brightness data within the second cluster in sequence to obtain a second display brightness corresponding to the brightness data within the second cluster.

[0012] The brightness of the display panel is adjusted based on the first display brightness and the second display brightness.

[0013] Optionally, the step of constructing a gradient histogram of the total set of luminance data and determining the number of luminance data clusters based on the gradient histogram includes:

[0014] The total set of brightness data of the display panel is converted into grayscale data, and the grayscale data is statistically analyzed to obtain the gradient histogram of the display panel.

[0015] Obtain the number of peaks in the gradient histogram, and determine the number of brightness data clusters in the gradient histogram according to the preset correspondence between the number of peaks and the number of brightness data clusters;

[0016] In the preset correspondence between the number of peak values ​​and the number of luminance data clusters, the number of peak values ​​and the number of luminance data clusters are positively correlated.

[0017] Optionally, the step of clustering the total set of luminance data based on the number of luminance data clusters to determine multiple cluster centers includes:

[0018] Obtain the mode, maximum value, and minimum value of the brightness data from the total set of brightness data;

[0019] The brightness range between the maximum and minimum brightness values ​​is divided according to the number of brightness data clusters to obtain multiple brightness ranges;

[0020] The midpoint of each of the multiple brightness intervals and the mode of the brightness data are defined as the cluster center.

[0021] Optionally, the total set of luminance data is clustered based on the number of luminance data clusters, and the intra-cluster luminance data at the center of each cluster is determined, including:

[0022] Obtain the mean value of the brightness data in the total set of brightness data, and the variance of the brightness data of a preset number of brightness data near the cluster center to be compared;

[0023] The center luminance variance of the cluster center is calculated based on the mean luminance data and the luminance value of the cluster center, and a smooth luminance gradient is determined based on the center luminance variance and the number of luminance data clusters.

[0024] When the variance of the brightness to be compared is not greater than the smooth brightness gradient, the preset number of brightness data are classified as the intra-cluster brightness data of the cluster center corresponding to the variance of the brightness to be compared.

[0025] Optionally, determining multiple cluster centers and intra-cluster brightness data for each cluster center includes:

[0026] The first loss function of the initial cluster center is determined based on the initial cluster center and its corresponding intra-cluster brightness data.

[0027] Obtain the mode of the brightness data within each cluster, and use the mode of the brightness data within the cluster as the updated cluster center for the brightness data within that cluster.

[0028] The second loss function for the updated cluster center is determined based on the updated cluster center and its corresponding intra-cluster brightness data.

[0029] Obtain the initial center brightness variance of the initial cluster center;

[0030] Based on the relationship between the difference between the first loss function and the second loss function and the initial center brightness variance, a target cluster center is selected from the initial cluster center and the updated cluster center.

[0031] Optionally, the step of dividing the intra-cluster brightness data of each cluster center into first intra-cluster brightness data to be multiplicatively compensated and second intra-cluster brightness data to be multiplicatively compensated and additively compensated includes:

[0032] Obtain the mean value of the brightness data in the total set of brightness data, and calculate the center brightness variance of the cluster center based on the mean value of the brightness data and the brightness value of the cluster center;

[0033] The quotient of the central brightness variance of the cluster center and the number of brightness data clusters is used to obtain the multiplication compensation boundary of the cluster center;

[0034] The intra-cluster brightness data that starts from the cluster center and is within the multiplication compensation boundary is determined as the first intra-cluster brightness data of the cluster center, and the other intra-cluster brightness data that is not the first intra-cluster brightness data is determined as the second intra-cluster brightness data of the cluster center.

[0035] Optionally, the step of performing multiplicative compensation adjustment on the brightness data within the first cluster to obtain a first display brightness corresponding to the brightness data within the first cluster, and performing multiplicative compensation and additive compensation adjustment on the brightness data within the second cluster sequentially to obtain a second display brightness corresponding to the brightness data within the second cluster, includes:

[0036] Obtain the mode of the brightness data in the total brightness data set, and determine the compensation gain multiple of the total brightness data set based on the mode of the brightness data, the number of brightness data clusters, the brightness value of the cluster center, and the preset compensation intensity parameter;

[0037] Based on the compensation gain factor, the brightness data within all clusters are adjusted by a factor to obtain the first display brightness of the brightness data within the first cluster and the multiplicative compensated display brightness of the brightness data within the second cluster.

[0038] The brightness normalization result of the brightness data within the cluster is determined based on the distance between the brightness data within the cluster and its cluster center, and the brightness value of the cluster center.

[0039] The multiplicative compensation display brightness is adjusted by additive compensation based on the compensation gain factor and the brightness normalization result to obtain the second display brightness of the brightness data within the second cluster.

[0040] Optionally, each brightness data in the total brightness data set includes the position data of that brightness data; adjusting the brightness of the display panel according to the first display brightness and the second display brightness includes:

[0041] The brightness value corresponding to the position data of the first display brightness is adjusted to the target display brightness value of the first display brightness, and the brightness value corresponding to the position data of the second display brightness is adjusted to the target display brightness value of the second display brightness.

[0042] A brightness adjustment device for a display panel, comprising:

[0043] The cluster number determination module is used to construct a gradient histogram of the total set of luminance data and determine the number of luminance data clusters based on the gradient histogram.

[0044] The clustering module is used to cluster the total set of brightness data based on the number of brightness data clusters, and to determine multiple cluster centers and the brightness data within each cluster center.

[0045] The data partitioning module is used to divide the intra-cluster brightness data of each cluster center into the first intra-cluster brightness data to be multiplicatively compensated and the second intra-cluster brightness data to be multiplicatively compensated and additively compensated.

[0046] The compensation adjustment module is used to perform multiplicative compensation adjustment on the brightness data in the first cluster to obtain the first display brightness corresponding to the brightness data in the first cluster, and to perform multiplicative compensation and additive compensation adjustment on the brightness data in the second cluster in sequence to obtain the second display brightness corresponding to the brightness data in the second cluster.

[0047] A brightness adjustment module is used to adjust the brightness of the display panel according to the first display brightness and the second display brightness.

[0048] An electronic device includes a memory and a processor, the memory storing a computer program that, when executed by the processor, causes the processor to perform the following steps:

[0049] Construct a gradient histogram of the total set of luminance data, and determine the number of luminance data clusters based on the gradient histogram;

[0050] Based on the number of brightness data clusters, the total set of brightness data is clustered to determine multiple cluster centers and the brightness data within each cluster center;

[0051] The intra-cluster brightness data of each cluster center is divided into the first intra-cluster brightness data to be multiplicatively compensated and the second intra-cluster brightness data to be multiplicatively compensated and additively compensated.

[0052] Multiplicative compensation is applied to the brightness data within the first cluster to obtain a first display brightness corresponding to the brightness data within the first cluster. Multiplicative compensation and additive compensation are applied to the brightness data within the second cluster in sequence to obtain a second display brightness corresponding to the brightness data within the second cluster.

[0053] The brightness of the display panel is adjusted based on the first display brightness and the second display brightness.

[0054] In this embodiment of the invention, by constructing a gradient histogram of the total brightness data set and analyzing the gradient histogram itself to estimate the complexity of the brightness data, the number of brightness data clusters is determined based on the gradient histogram. This enables unified processing of all brightness data of the display panel, ensuring data integrity. By clustering the total brightness data set based on the number of brightness data clusters, multiple cluster centers and the brightness data within each cluster center are determined. This divides the brightness adjustment target of the display panel into multiple parts, reducing the inflexibility of the brightness adjustment process. By dividing the brightness data within each cluster center into first cluster brightness data and second cluster brightness data, multiplicative compensation adjustment is performed on the first cluster brightness data to obtain the display brightness of the first cluster brightness data, and additive compensation adjustment is performed on the second cluster brightness data to obtain the display brightness of the second cluster brightness data. This achieves brightness adjustment based on each cluster center, performing multiplicative or additive compensation for different types of data adaptability, making the brightness data within each cluster as close as possible to the cluster center. Adjusting the brightness of the display panel based on the first and second display brightness greatly improves the uniformity of the display results. Attached Figure Description

[0055] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying 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 effort.

[0056] Figure 1 This is a schematic diagram of a scenario illustrating an embodiment of the brightness adjustment system for a display panel provided in this invention.

[0057] Figure 2 This is a schematic diagram of another embodiment of the brightness adjustment system for a display panel provided in this invention.

[0058] Figure 3 This is a flowchart illustrating an embodiment of the brightness adjustment method for a display panel provided by the present invention.

[0059] Figure 4 A schematic flowchart illustrating an embodiment of the brightness adjustment process of a display panel provided in this invention;

[0060] Figure 5 A schematic diagram of an embodiment of the brightness adjustment device for a display panel provided in this invention;

[0061] Figure 6 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present invention. Detailed Implementation

[0062] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0063] In the following description, specific embodiments of the invention will be illustrated with reference to steps and symbols performed by one or more computers, unless otherwise stated. Therefore, these steps and operations will be referred to several times as being performed by a computer, and computer execution as referred to herein includes operations by a computer processing unit representing electronic signals of data in a structured format. This operation transforms the data or maintains it at a location in the computer's memory system, which can be reconfigured or otherwise alter the operation of the computer in a manner well known to those skilled in the art. The data structure maintained by the data is the physical location of the memory, which has specific characteristics defined by the data format. However, the principles of the invention described above are not intended to be limiting, and those skilled in the art will understand that many of the steps and operations described below can also be implemented in hardware.

[0064] The terms "module" or "unit" as used herein can be considered as software objects executing on the computing system. The different components, modules, engines, and services described herein can be considered as implementation objects on the computing system. The apparatus and methods described herein are preferably implemented in software, but can also be implemented in hardware, both of which are within the scope of this invention.

[0065] This invention provides a method, apparatus, and electronic device for adjusting the brightness of a display panel.

[0066] Please see Figure 1 , Figure 1 This is a schematic diagram of a scenario illustrating an embodiment of the brightness adjustment system for a display panel provided in this invention. The brightness adjustment system may include a client 100 and a server 200, which are connected via a network. The server 200 integrates a brightness adjustment device for the display panel. The server 200 may be a work platform server (i.e., a server loaded with a work platform), such as... Figure 1 In this embodiment of the invention, the server 200 is mainly used to construct a gradient histogram of the total set of brightness data of the display panel, and determine the number of brightness data clusters based on the gradient histogram; to cluster the total set of brightness data based on the number of brightness data clusters, and determine multiple cluster centers and the brightness data within each cluster center; to divide the brightness data within each cluster center into first cluster brightness data to be multiplied and compensated, and second cluster brightness data to be compensated by both multiplication and addition; to perform multiplication compensation adjustment on the first cluster brightness data to obtain the first display brightness corresponding to the first cluster brightness data, and to perform multiplication compensation and addition compensation adjustment on the second cluster brightness data in sequence to obtain the second display brightness corresponding to the second cluster brightness data; and to adjust the brightness of the display panel according to the first display brightness and the second display brightness.

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

[0068] It is understood that the client 100 used in this embodiment of the invention can be understood as a client device. A client device includes both receiving and transmitting hardware, that is, a device with receiving and transmitting hardware capable of performing bidirectional communication on a bidirectional communication link. Such a client device may include cellular or other communication devices, having a single-line display, a multi-line display, or a cellular or other communication device without a multi-line display. Specifically, the client 100 may be a desktop terminal or a mobile terminal, specifically a mobile phone, tablet computer, laptop computer, etc.

[0069] Those skilled in the art will understand that Figure 1 The application environment shown is merely one application scenario of the solution in this application and does not constitute a limitation on the application scenario of the solution in this application. Other application environments may include those that are more specific to this application. Figure 1 The number of servers shown, or the server network connectivity relationships, for example... Figure 1 Only one server and two clients are shown in the diagram. It is understood that the brightness adjustment system of the display panel may also include one or more other servers, and / or one or more clients connected to the server network, which is not limited here.

[0070] In some embodiments of the present invention, the working platform may be an enterprise office platform, such as WeChat for Business. 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 can access the web management server using a web browser 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.

[0071] In addition, such as Figure 2 As shown, Figure 2 This is a schematic diagram of another embodiment of the brightness adjustment system for a display panel provided in this invention. The brightness adjustment system for the display panel may further include a storage terminal 300 for storing data, such as a storage object database. The object database stores object data, which may include application templates (such as approval templates, attendance 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 images in various formats such as JPG, PNG, and BMP), and other types of data. Correspondingly, the object database may also be divided into multiple types of data, such as an application database, a file database, or an image database.

[0072] It should be noted that, Figure 1-2 The schematic diagram of the display panel brightness adjustment system shown is merely an example. The display panel brightness adjustment system and scenario described in the embodiments of the present invention are for the purpose of more clearly illustrating the technical solutions of the embodiments of the present invention, and do not constitute a limitation on the technical solutions provided by the embodiments of the present invention. As those skilled in the art will know, with the evolution of the display panel brightness adjustment system and the emergence of new business scenarios, the technical solutions provided by the embodiments of the present invention are also applicable to similar technical problems.

[0073] The following detailed description is based on specific embodiments.

[0074] In this embodiment, the description will be based on the brightness adjustment device of the display panel, which can be integrated into the server 200.

[0075] This invention provides a method for adjusting the brightness of a display panel. Please refer to [link / reference]. Figure 3 , Figure 3 This is a flowchart illustrating an embodiment of the brightness adjustment method for a display panel provided by the present invention, including:

[0076] S301: Construct a gradient histogram of the total set of brightness data of the display panel, and determine the number of brightness data clusters based on the gradient histogram;

[0077] In one specific embodiment, the total set of brightness data for the display panel refers to all brightness data in the display area of ​​the display panel. The display area can be all screen areas displayed to the user, and the screen areas of the display panel can be filtered as needed. For example, when the display panel includes multiple display areas, the part of the target data to be displayed may only include a few. In order to improve the efficiency of brightness adjustment, the total set of brightness data here may only be the brightness data of a few display areas, which is not limited here.

[0078] The gradient histogram of the overall brightness data set refers to the normalized gradient histogram of the brightness map obtained by converting the brightness map of the display panel into a grayscale map, and then analyzing and combining the grayscale gradient information of the pixels in the grayscale map.

[0079] The number of brightness data clusters specifically refers to the number of groups of brightness data that are processed in groups.

[0080] S302: Cluster the total set of luminance data based on the number of luminance data clusters, and determine multiple cluster centers and the luminance data within each cluster center;

[0081] In one specific embodiment, the cluster center refers to the representative brightness data in each cluster of brightness data. The average, mode, or a specified brightness data can be selected as needed, and no limitation is made here.

[0082] The intra-cluster brightness data of each cluster center refers to the multi-cluster brightness data obtained after clustering the total brightness data set. The multi-cluster brightness data is classified by the cluster center as the distinguishing point. The intra-cluster brightness data of a certain cluster center includes not only the specific cluster center, but also other data represented by the cluster center. The specific data is subject to the clustering result.

[0083] S303: Divide the intra-cluster brightness data of each cluster center into the first intra-cluster brightness data to be multiplied and compensated, and the second intra-cluster brightness data to be compensated by both multiplication and addition.

[0084] S304: Perform multiplication compensation adjustment on the brightness data in the first cluster to obtain the first display brightness corresponding to the brightness data in the first cluster; perform multiplication compensation and addition compensation adjustment on the brightness data in the second cluster in sequence to obtain the second display brightness corresponding to the brightness data in the second cluster.

[0085] In one specific embodiment, multiplicative compensation adjustment refers to multiplying the brightness data in the first cluster by a specific value or a term based on a certain regular change, based on the relationship between brightness and grayscale in the display area of ​​the display panel, to obtain the adjusted brightness data; additive compensation adjustment refers to adding a specific value or a term based on a certain regular change, to the brightness data in the second cluster, based on the relationship between brightness and grayscale in the display area of ​​the display panel, to obtain the adjusted brightness data.

[0086] S305: Adjust the brightness of the display panel according to the first display brightness and the second display brightness.

[0087] In one specific embodiment, the original brightness value is replaced by a first display brightness and a second display brightness, respectively. The position of the brightness data is used as a basis to avoid data disorder during the brightness adjustment process.

[0088] In this embodiment of the invention, by constructing a gradient histogram of the total brightness data set and determining the number of brightness data clusters based on the gradient histogram, unified processing of all brightness data of the display panel is achieved, ensuring data integrity. By clustering the total brightness data set based on the number of brightness data clusters, multiple cluster centers and the brightness data within each cluster center are determined, dividing the brightness adjustment target of the display panel into multiple parts, reducing the inflexibility of the brightness adjustment process. By dividing the brightness data within each cluster center into first cluster brightness data and second cluster brightness data, multiplicative compensation adjustment is performed on the first cluster brightness data to obtain the display brightness of the first cluster brightness data, and additive compensation adjustment is performed on the second cluster brightness data to obtain the display brightness of the second cluster brightness data. This achieves the goal of using each cluster center as the brightness adjustment benchmark, performing multiplicative or additive compensation for different types of data adaptability, making the brightness data within each cluster as close as possible to the cluster center. Adjusting the brightness of the display panel based on the first and second display brightness greatly improves the uniformity of the display results.

[0089] In one specific embodiment, in S301, in order to construct a gradient histogram of the total set of brightness data and determine the number of brightness data clusters based on the gradient histogram, the specific steps include: converting the total set of brightness data of the display panel into grayscale data, and performing quantity statistics on the grayscale data to obtain a gradient histogram of the display panel; obtaining the number of peaks in the gradient histogram, and determining the number of brightness data clusters in the gradient histogram based on a preset correspondence between the number of peaks and the number of brightness data clusters; wherein, in the preset correspondence between the number of peaks and the number of brightness data clusters, the number of peaks is positively correlated with the number of brightness data clusters.

[0090] Specifically, by analyzing most display panels and considering general display requirements, and by observing the gradient histogram, the clustering of brightness data clusters can be categorized into the following three types:

[0091] (1) Gradient histogram: If there is a single peak or no obvious peak and the gradient values ​​are relatively concentrated, choose K=3, which can be roughly divided into dark area, medium gray area and bright area.

[0092] (2) When the gradient histogram has two obvious peaks, choose k=5, and roughly divide it into dark area, dark transition area, medium gray area, gray-bright transition area, and bright area.

[0093] (3) When the gradient histogram has three or more peaks, choose k = 8-12.

[0094] In this embodiment, the brightness bias in the grayscale image is classified based on the number of peaks in the gradient histogram, thereby determining the number of brightness data clusters. This not only adaptively determines the number of brightness data groups, ensuring the consistency between the number of brightness data clusters and the grayscale image itself, but also helps to conduct targeted data analysis and management of different clusters, improving the flexibility of data processing.

[0095] In a specific embodiment, in S302, after determining the number of brightness data clusters, on the one hand, it is also necessary to cluster the total set of brightness data based on the number of brightness data clusters and determine multiple cluster centers. Specifically, this includes: obtaining the mode, maximum and minimum brightness values ​​of the total set of brightness data; dividing the brightness interval between the maximum and minimum brightness values ​​according to the number of brightness data clusters to obtain multiple brightness intervals; and defining the midpoint and mode of the brightness data of the multiple brightness intervals as cluster centers.

[0096] It should be noted that since the mode of brightness data represents the brightness value that appears most frequently in the total set of brightness data, and considering the characteristics of the display panel itself, the brightness of the display panel will generally be concentrated in a specific range. Therefore, the mode of brightness data usually accounts for more than 60% of the brightness data set of the display panel. In order to reduce the amount of data processing for brightness adjustment, the mode of brightness data is directly used as the first cluster center.

[0097] Furthermore, after determining the number of brightness data clusters K, it is necessary to obtain the remaining (K-1) cluster centers. Therefore, to ensure the accuracy of data processing, after removing abnormal discrete points in the brightness data, the difference between the maximum and minimum brightness values ​​is divided by (K-1) to obtain (K-1) brightness intervals. Then, the midpoint of each brightness interval is also defined as a cluster center. Thus, a total of K cluster centers are obtained.

[0098] For example, for a set of brightness data with a mean of 1.2 units, a maximum brightness of 12 units, and a minimum brightness of 0 units, the set needs to be divided into 4 groups. Using 1.2 as the cluster center, the brightness interval is calculated as (12-0) / (4-1) to be 4 units. Therefore, the remaining 3 cluster centers are 2, 6, and 10. Other clustering cases are calculated similarly and will not be elaborated upon here.

[0099] On the other hand, after determining multiple cluster centers, it is also necessary to cluster the total set of brightness data based on the number of brightness data clusters, and determine the brightness data within each cluster center. Specifically, this includes: obtaining the mean of brightness data in the total set of brightness data, and the brightness variance of multiple brightness data near the cluster center to be compared; calculating the central brightness variance of the cluster center based on the mean of brightness data and the brightness value of the cluster center, and determining the smooth brightness gradient based on the central brightness variance and the number of brightness data clusters.

[0100] When the variance of the brightness to be compared is not greater than the gradual brightness gradient, a preset number of brightness data are assigned to the intra-cluster brightness data of the cluster center corresponding to the variance of the brightness to be compared.

[0101] It should be noted that, based on the mean of the total luminance data set, the central luminance variance of the cluster center is first calculated based on the mean luminance data and the luminance value of the cluster center to determine the degree of deviation between the cluster center and the mean luminance data. Then, a gentle luminance gradient is determined based on the central luminance variance and the number of luminance data clusters, thus establishing the comparison standard for data clustering. Since there are many luminance data near the cluster center, in order to improve the efficiency and stability of clustering, the luminance variance of a preset number of luminance data near the cluster center is calculated to obtain the luminance variance to be compared. That is, the luminance variance to be compared is used as the basis for judging whether the preset number of luminance data are the intra-cluster luminance data of the cluster center.

[0102] Specifically, based on N luminance data points in the overall luminance data set, the mean of the luminance data is μ, and the (K-1) cluster centers excluding the mode of the luminance data are x. i (i=1,.....,k-1), then the formula for calculating the number m of the preset number of brightness data is:

[0103]

[0104] The formula for calculating the central brightness variance s1 of the cluster center is:

[0105]

[0106] Preset number of multiple brightness data y j The formula for calculating the variance s² of the brightness to be compared for (j=1,.....,m) is:

[0107]

[0108] A gentle brightness gradient is So, in If the deviation of these m brightness data from the cluster center is small, then these m brightness data are determined as the intra-cluster brightness data of the cluster center.

[0109] Furthermore, in the process of determining multiple cluster centers and the intra-cluster brightness data of each cluster center, in order to ensure the reliability of the final cluster centers and the intra-cluster brightness data of each cluster center, a secondary comparison and confirmation of the cluster centers can be performed. Specifically, this includes: determining a first loss function for the initial cluster centers based on the initial cluster centers and their corresponding intra-cluster brightness data; obtaining the mode of the intra-cluster brightness data for each cluster and using the mode of the intra-cluster brightness data as the updated cluster center for that cluster; determining a second loss function for the updated cluster centers based on the updated cluster centers and their corresponding intra-cluster brightness data; obtaining the initial center brightness variance of the initial cluster centers; and reselecting the target cluster center from the initial cluster centers and the updated cluster centers based on the relationship between the difference between the first and second loss functions and the initial center brightness variance.

[0110] In one specific embodiment, for the initial cluster center x i and the corresponding Q cluster intra-cluster brightness data z q The mode of the intra-cluster brightness data is a. i Then, the initial cluster center x i The formula for calculating the corresponding first loss function L1 is:

[0111] D1(z q )=min||z q -x i ||

[0112]

[0113] Among them, ||z q -x i || represents the brightness data within the cluster, z q With the initial cluster center x i The distance between them, D1(z) q ) represents the intra-cluster brightness data z q With the initial cluster center x i The minimum distance between them, where q represents the brightness data within the q-th cluster.

[0114] Correspondingly, the initial cluster center x i Convert to update cluster center a i Then, update cluster center a. iThe corresponding formula for calculating the second loss function L2 is:

[0115] D2(z q )=min||z q -a i ||

[0116]

[0117] Among them, ||z q -a i || represents the brightness data within the cluster, z q Mode a of the intra-cluster brightness data i The distance between them, D2(z) q ) represents the intra-cluster brightness data z q Mode a of the intra-cluster brightness data i The minimum distance between them.

[0118] Therefore, the difference ΔL between the first loss function and the second loss function is:

[0119] ΔL=L1-L2

[0120] when If the result is not obtained, the updated cluster center is selected as the final cluster center; otherwise, the updated cluster center is iteratively calculated based on the Euclidean distance until the result is obtained. The cluster center corresponding to the second loss function is used as the final target cluster center.

[0121] In this embodiment, since the mode of brightness data within a cluster refers to the brightness data that appears most frequently in the brightness data within the cluster, it reflects the aggregation direction of brightness data within a specific cluster to a certain extent. Therefore, using the mode of brightness data within a cluster as a candidate cluster center is not only efficient but also highly reliable. Furthermore, by comparing the initial cluster center and the updated cluster center based on the first loss function and the second loss function respectively, a better cluster center can be determined, thereby improving the reliability of the cluster center.

[0122] In a specific embodiment, in S303, in order to divide the intra-cluster brightness data of each cluster center into first intra-cluster brightness data to be multiplicatively compensated and second intra-cluster brightness data to be multiplicatively compensated and additively compensated, the specific steps include: obtaining the mean value of the brightness data of the total set of brightness data, and calculating the central brightness variance of the cluster center based on the mean value of the brightness data and the brightness value of the cluster center; dividing the central brightness variance of the cluster center by the number of brightness data clusters to obtain the multiplicative compensation boundary of the cluster center; determining the intra-cluster brightness data starting from the cluster center and within the multiplicative compensation boundary as the first intra-cluster brightness data of the cluster center, and the other intra-cluster brightness data outside the first intra-cluster brightness data as the second intra-cluster brightness data of the cluster center.

[0123] In this embodiment, the multiplication-addition compensation boundary of the cluster center is obtained by dividing the central brightness variance s1 of a specific cluster center by the number of brightness data clusters K. Since the central brightness variance reflects to some extent the offset of intra-cluster data near the cluster center and the degree of refinement of intra-cluster data, using the multiplication-addition compensation boundary as the boundary condition for compensating intra-cluster data can achieve dynamic and adaptive determination of the compensation range, which is beneficial to improve the compensation effect as much as possible under limited data processing conditions.

[0124] In one specific embodiment, in S304, multiplicative compensation adjustment is performed on the brightness data within the first cluster to obtain the first display brightness corresponding to the brightness data within the first cluster. Multiplicative compensation and additive compensation adjustment are then performed on the brightness data within the second cluster sequentially to obtain the second display brightness corresponding to the brightness data within the second cluster. Specifically, this includes: obtaining the mode of the brightness data in the total set of brightness data; determining the compensation gain multiple of the total set of brightness data based on the mode of the brightness data, the number of brightness data clusters, the brightness value of the cluster center, and a preset compensation intensity parameter; adjusting the brightness data within all clusters based on the compensation gain multiple to obtain the first display brightness of the brightness data within the first cluster and the multiplicative compensated display brightness of the brightness data within the second cluster; determining the brightness normalization result of the brightness data within the cluster based on the distance between the brightness data within the cluster and its cluster center, and the brightness value of the cluster center; and performing additive compensation adjustment on the multiplicative compensated display brightness based on the compensation gain multiple and the brightness normalization result to obtain the second display brightness of the brightness data within the second cluster.

[0125] Specifically, based on the mode P of the luminance data, the number of luminance data clusters k, and the luminance value b of the finally determined cluster center... i (i = 1, ..., k) and the preset first compensation intensity parameter α are used to determine the compensation gain factor G of the total luminance data set. i The calculation formula is:

[0126]

[0127] Among them, (b) i -P) refers to the brightness value b at the cluster center. i The distance to the mode P of the brightness data, max(b i -P) refers to (b i The maximum value in -P).

[0128] After determining the compensation gain factor, the brightness data within the first cluster is multiplied by the compensation gain factor to perform multiplication compensation on the brightness data within the first cluster, thus obtaining the display brightness of the brightness data within the first cluster.

[0129] Specifically, firstly, a grayscale-luminance lookup table (LUT) is established to define the target display characteristics. This table stores the target luminance value L corresponding to the input grayscale value G. target Determine the compensation gain factor G. i Then, for each pixel within the cluster: first, query the LUT based on its input grayscale value G to obtain the corresponding target brightness value L. target ; then L target Multiplying this by the cluster compensation gain factor Gi yields the final display brightness value L. display (i.e. L) display =L target *G i ).

[0130] In one specific embodiment, a grayscale-luminance lookup table (LUT) serves as a bridge connecting digital image signals (input grayscale values) and physical display brightness. Essentially, it is a set of mapping relationships from input grayscale values ​​(G) to target brightness values ​​(Ltarget). In display systems, directly converting digital grayscale values ​​to brightness often fails to meet requirements—for example, the photoelectric response curves of different display technologies (LCD, OLED, Mini LED, etc.) exhibit non-linearity (e.g., gamma effect: actual brightness has a power function relationship with input voltage / grayscale value), or it needs to adapt to the brightness range of specific display standards (e.g., sRGB, Rec.709, HDR10). The core function of a LUT is to accurately convert input grayscale values ​​into brightness values ​​that conform to the target display effect through predefined mapping relationships, achieving linearized, standardized, or enhanced control of the "digital signal → physical brightness" process.

[0131] Compensation gain Gi is a brightness correction coefficient for a specific cluster, used to achieve "regional adaptive brightness control"—avoiding local overexposure / underexposure caused by global brightness adjustment, or to specifically optimize the display effect of a region (such as brightening the face area and enhancing the contrast of the text area).

[0132] In this embodiment, by combining the grayscale-luminance lookup table (LUT) with the compensation gain (Gi), the compensation gain (Gi) can be adaptively adjusted as needed, thereby flexibly adjusting the final display effect. This achieves a balance between display device characteristics, image content semantics, and user needs, ultimately resulting in a display effect that is rich in detail and visually comfortable.

[0133] Furthermore, after determining the compensation gain factor, it is also necessary to consider the cluster center b. i Final intra-cluster brightness data r i The distance d between i For cluster center b i Clustering and normalization are performed to obtain the brightness data r within the cluster. i The brightness normalization result K normal , specifically, Knormal The calculation formula is:

[0134]

[0135] Where, d i This refers to the cluster center b i With cluster brightness data r i The distance between them; max(d) i ) refers to the brightness data r within the cluster. i The cluster center b with the largest distance between them i , and the brightness data r within the cluster i The distance between them; min(d) i ) refers to the brightness data r within the cluster. i The cluster center b with the smallest distance between them i , and the brightness data r within the cluster i The distance between them.

[0136] Finally, based on the compensation gain factor and the brightness normalization result, the multiplicative compensation display brightness is adjusted by additive compensation to obtain the second display brightness of the brightness data in the second cluster.

[0137] In the process of adjusting the brightness data within the second cluster using additive compensation, the compensation amount ΔG is calculated based on the second compensation intensity parameter β. i Compensation amount ΔG i The calculation formula is:

[0138]

[0139] The brightness data within the second cluster, Q lut Display brightness Q end The calculation formula is:

[0140] Q end =Q lut ×G i (1+ΔG i )

[0141] In this embodiment, by performing targeted compensation on the brightness data within the first cluster and the brightness data within the second cluster respectively, the brightness data within each cluster can be made as close as possible to the cluster center, better matching the actual operation of the display panel and better ensuring the final display brightness quality of the display panel.

[0142] Since each brightness data point in the overall brightness data set includes its position data; the brightness of the display panel is adjusted based on the first and second display brightness points, including:

[0143] Adjust the brightness value corresponding to the position data of the first display brightness to the target display brightness value of the first display brightness, and adjust the brightness value corresponding to the position data of the second display brightness to the target display brightness value of the second display brightness.

[0144] In this embodiment, by using the position data of the brightness data as a reference and replacing the initial brightness data with the compensated brightness data, it can be ensured that the compensation of the brightness data is not interfered with by other external factors, thereby ensuring the reliability of the final displayed brightness result.

[0145] Furthermore, for a clearer description of the process of adjusting brightness and grayscale during the brightness adjustment of the display panel, please refer to [link to relevant documentation]. Figure 4 , Figure 4 This is a flowchart illustrating an embodiment of the brightness adjustment process of a display panel provided by the present invention. In this flowchart, the lookup table (LUT) refers to a table that reflects the corresponding relationship between grayscale and brightness; the image normalized gradient histogram refers to the gradient histogram of the display panel; and the cluster center variance refers to the center brightness variance of the cluster center.

[0146] In this embodiment, by performing multiple compensations on each data point, the reliability of the final compensation coefficient can be guaranteed, thereby improving the brightness adjustment quality of the display panel.

[0147] To facilitate better implementation of the brightness adjustment method for the display panel provided in the embodiments of the present invention, the present invention also provides an apparatus based on the above-described brightness adjustment method for the display panel. The meanings of the terms used are the same as in the above-described brightness adjustment method for the display panel, and specific implementation details can be found in the descriptions in the method embodiments.

[0148] Please see Figure 5 , Figure 5 This is a schematic diagram of an embodiment of a brightness adjustment device for a display panel provided in this invention. The brightness adjustment device 500 for the display panel may include:

[0149] Cluster number determination module 501 is used to construct a gradient histogram of the total set of brightness data and determine the number of brightness data clusters based on the gradient histogram;

[0150] Clustering module 502 is used to cluster the total set of luminance data based on the number of luminance data clusters, and to determine multiple cluster centers and the luminance data within each cluster center.

[0151] The data partitioning module 503 is used to divide the intra-cluster brightness data of each cluster center into the first intra-cluster brightness data to be multiplied and compensated and the second intra-cluster brightness data to be multiplied and compensated.

[0152] The compensation adjustment module 504 is used to perform multiplicative compensation adjustment on the brightness data in the first cluster to obtain the first display brightness corresponding to the brightness data in the first cluster, and to perform multiplicative compensation and additive compensation adjustment on the brightness data in the second cluster in sequence to obtain the second display brightness corresponding to the brightness data in the second cluster.

[0153] The brightness adjustment module 505 is used to adjust the brightness of the display panel according to the first display brightness and the second display brightness.

[0154] This invention also provides an electronic device, such as... Figure 6 As shown, Figure 6 This is a schematic diagram of the structure of an electronic device according to an embodiment of the present invention, specifically:

[0155] The electronic device may include components such as a processor 601 with one or more processing cores, a memory 602 with one or more computer-readable storage media, a power supply 603, and an input unit 604. Those skilled in the art will understand that... Figure 6 The electronic device structure shown does not constitute a limitation on the electronic device and may include more or fewer components than shown, or combine certain components, or have different component arrangements.

[0156] in:

[0157] The processor 601 is the control center of the electronic device. It connects various parts of the electronic device via various interfaces and lines. By running or executing software programs and / or modules stored in the memory 602, and by calling data stored in the memory 602, it performs various functions and processes data, thereby providing overall monitoring of the electronic device. 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 the storage medium, user interface, and application programs, while the modem processor mainly handles wireless communication. It is understood that the modem processor may not be integrated into the processor 601.

[0158] 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. The program storage area may store applications required for operating the storage medium and at least one function (such as sound playback function, image playback function, etc.); the data storage area may store data created according to the use of the electronic device. In addition, the memory 602 may include high-speed random access memory and may also include non-volatile memory, such as at least one disk storage device, 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.

[0159] The electronic device also includes a power supply 603 that supplies power to various components. Preferably, the power supply 603 can be logically connected to the processor 601 via a power management storage medium, thereby enabling functions such as charging, discharging, and power consumption management through the power management storage medium. The power supply 603 may also include one or more DC or AC power supplies, recharge storage media, power fault detection circuits, power converters or inverters, power status indicators, and other arbitrary components.

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

[0161] Although not shown, the electronic device may also include a display unit, etc., which will not be described in detail here. Specifically, in this embodiment, the processor 601 in the electronic device loads the executable files corresponding to the processes of one or more applications into the memory 602 according to the following instructions, and the processor 601 runs the applications stored in the memory 602 to realize various functions, as follows:

[0162] A gradient histogram of the total brightness data set of the display panel is constructed, and the number of brightness data clusters is determined based on the gradient histogram. The total brightness data set is then clustered based on the number of brightness data clusters, determining multiple cluster centers and the brightness data within each cluster center. The brightness data within each cluster center is divided into first-cluster brightness data to be multiplicatively compensated and second-cluster brightness data to be multiplicatively and additively compensated. Multiplicatively compensated brightness data of the first cluster is adjusted to obtain the first display brightness corresponding to the first cluster brightness data. Multiplicatively and additively compensated brightness data of the second cluster are then adjusted sequentially to obtain the second display brightness corresponding to the second cluster brightness data. The brightness of the display panel is adjusted based on the first and second display brightness.

[0163] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be performed by instructions, or by instructions controlling related hardware. These instructions can be stored in a computer-readable storage medium and loaded and executed by a processor.

[0164] To this end, embodiments of the present invention provide a computer-readable storage medium storing a computer program thereon, the computer program being loaded by a processor to execute the steps in any of the brightness adjustment methods for a display panel provided in the embodiments of the present invention. For example, the computer program, when loaded by a processor, can execute the following steps:

[0165] A gradient histogram of the total brightness data set of the display panel is constructed, and the number of brightness data clusters is determined based on the gradient histogram. The total brightness data set is then clustered based on the number of brightness data clusters, determining multiple cluster centers and the brightness data within each cluster center. The brightness data within each cluster center is divided into first-cluster brightness data to be multiplicatively compensated and second-cluster brightness data to be multiplicatively and additively compensated. Multiplicatively compensated brightness data of the first cluster is adjusted to obtain the first display brightness corresponding to the first cluster brightness data. Multiplicatively and additively compensated brightness data of the second cluster are then adjusted sequentially to obtain the second display brightness corresponding to the second cluster brightness data. The brightness of the display panel is adjusted based on the first and second display brightness.

[0166] For details on the implementation of each of the above operations, please refer to the previous examples, which will not be repeated here.

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

[0168] Since the computer program stored in the computer-readable storage medium can execute the steps in any of the brightness adjustment methods for display panels provided in the embodiments of the present invention, the beneficial effects that any of the brightness adjustment methods for display panels provided in the embodiments of the present invention can achieve can be realized, as detailed in the preceding embodiments, and will not be repeated here.

[0169] The above provides a detailed description of a brightness adjustment method, apparatus, and electronic device for a display panel provided by embodiments of the present invention. Specific examples have been used to illustrate the principles and implementation methods of the present invention. The descriptions of the above embodiments are only for the purpose of helping to understand the method and core ideas of the present invention. At the same time, those skilled in the art will recognize that there will be changes in the specific implementation methods and application scope based on the ideas of the present invention. Therefore, the content of this specification should not be construed as a limitation of the present invention.

Claims

1. A method for adjusting brightness of a display panel, characterized in that, include: Construct a gradient histogram of the total set of brightness data of the display panel, and determine the number of brightness data clusters based on the gradient histogram; Based on the number of brightness data clusters, the total set of brightness data is clustered to determine multiple cluster centers and the brightness data within each cluster center; The intra-cluster brightness data of each cluster center is divided into the first intra-cluster brightness data to be multiplicatively compensated and the second intra-cluster brightness data to be multiplicatively compensated and additively compensated. Multiplicative compensation is applied to the brightness data within the first cluster to obtain a first display brightness corresponding to the brightness data within the first cluster. Multiplicative compensation and additive compensation are applied to the brightness data within the second cluster in sequence to obtain a second display brightness corresponding to the brightness data within the second cluster. The brightness of the display panel is adjusted according to the first display brightness and the second display brightness; The step of dividing the intra-cluster brightness data of each cluster center into first intra-cluster brightness data to be multiplicatively compensated and second intra-cluster brightness data to be multiplicatively compensated and additively compensated includes: obtaining the mean brightness data of the total set of brightness data, and calculating the central brightness variance of the cluster center based on the mean brightness data and the brightness value of the cluster center; dividing the central brightness variance of the cluster center by the number of brightness data clusters to obtain the multiplicative compensation boundary of the cluster center; determining the intra-cluster brightness data starting from the cluster center and within the multiplicative compensation boundary as the first intra-cluster brightness data of the cluster center, and the other intra-cluster brightness data outside the first intra-cluster brightness data as the second intra-cluster brightness data of the cluster center.

2. The brightness adjustment method of the display panel according to claim 1, wherein The construction of a gradient histogram of the total set of brightness data for the display panel, and the determination of the number of brightness data clusters based on the gradient histogram, includes: The total set of brightness data of the display panel is converted into grayscale data, and the grayscale data is statistically analyzed to obtain the gradient histogram of the display panel. Obtain the number of peaks in the gradient histogram, and determine the number of brightness data clusters in the gradient histogram according to the preset correspondence between the number of peaks and the number of brightness data clusters; In the preset correspondence between the number of peak values ​​and the number of luminance data clusters, the number of peak values ​​and the number of luminance data clusters are positively correlated.

3. The brightness adjustment method for a display panel according to claim 1, characterized in that, The step of clustering the total set of brightness data based on the number of brightness data clusters and determining multiple cluster centers includes: Obtain the mode, maximum value, and minimum value of the brightness data from the total set of brightness data; The brightness range between the maximum and minimum brightness values ​​is divided according to the number of brightness data clusters to obtain multiple brightness ranges; The midpoint of each of the multiple brightness intervals and the mode of the brightness data are defined as the cluster center.

4. The brightness adjustment method for a display panel according to claim 1, characterized in that, Based on the number of brightness data clusters, the total set of brightness data is clustered, and the brightness data within each cluster center is determined, including: Obtain the mean value of the brightness data in the total set of brightness data, and the variance of the brightness data of a preset number of brightness data near the cluster center to be compared; The center luminance variance of the cluster center is calculated based on the mean luminance data and the luminance value of the cluster center, and a smooth luminance gradient is determined based on the center luminance variance and the number of luminance data clusters. When the variance of the brightness to be compared is not greater than the smooth brightness gradient, the preset number of brightness data are classified as the intra-cluster brightness data of the cluster center corresponding to the variance of the brightness to be compared.

5. The brightness adjustment method for a display panel according to claim 1, characterized in that, The determination of multiple cluster centers and intra-cluster brightness data for each cluster center includes: The first loss function of the initial cluster center is determined based on the initial cluster center and its corresponding intra-cluster brightness data. Obtain the mode of the brightness data within each cluster, and use the mode of the brightness data within the cluster as the updated cluster center for the brightness data within that cluster. The second loss function for the updated cluster center is determined based on the updated cluster center and its corresponding intra-cluster brightness data. Obtain the initial center brightness variance of the initial cluster center; Based on the relationship between the difference between the first loss function and the second loss function and the initial center brightness variance, a new target cluster center is selected from the initial cluster center and the updated cluster center.

6. The brightness adjustment method for a display panel according to claim 1, characterized in that, The step of performing multiplicative compensation adjustment on the brightness data within the first cluster to obtain the first display brightness corresponding to the brightness data within the first cluster, and performing multiplicative compensation and additive compensation adjustment on the brightness data within the second cluster sequentially to obtain the second display brightness corresponding to the brightness data within the second cluster, includes: Obtain the mode of the brightness data in the total brightness data set, and determine the compensation gain multiple of the total brightness data set based on the mode of the brightness data, the number of brightness data clusters, the brightness value of the cluster center, and the preset compensation intensity parameter; Based on the compensation gain factor, the brightness data within all clusters are adjusted by a factor to obtain the first display brightness of the brightness data within the first cluster and the multiplicative compensated display brightness of the brightness data within the second cluster. The brightness normalization result of the brightness data within the cluster is determined based on the distance between the brightness data within the cluster and its cluster center, and the brightness value of the cluster center. The multiplicative compensation display brightness is adjusted by additive compensation based on the compensation gain factor and the brightness normalization result to obtain the second display brightness of the brightness data within the second cluster.

7. The brightness adjustment method for a display panel according to claim 1, characterized in that, Each brightness data in the total set of brightness data includes the location data of that brightness data; The step of adjusting the brightness of the display panel based on the first display brightness and the second display brightness includes: The brightness value corresponding to the position data of the first display brightness is adjusted to the target display brightness value of the first display brightness, and the brightness value corresponding to the position data of the second display brightness is adjusted to the target display brightness value of the second display brightness.

8. A brightness adjustment device for a display panel, characterized in that, include: The cluster number determination module is used to construct a gradient histogram of the total set of brightness data of the display panel, and determine the number of brightness data clusters based on the gradient histogram; The clustering module is used to cluster the total set of brightness data based on the number of brightness data clusters, and to determine multiple cluster centers and the brightness data within each cluster center. The data partitioning module is used to divide the intra-cluster brightness data of each cluster center into the first intra-cluster brightness data to be multiplicatively compensated and the second intra-cluster brightness data to be multiplicatively compensated and additively compensated. The compensation adjustment module is used to perform multiplicative compensation adjustment on the brightness data in the first cluster to obtain the first display brightness corresponding to the brightness data in the first cluster, and to perform multiplicative compensation and additive compensation adjustment on the brightness data in the second cluster in sequence to obtain the second display brightness corresponding to the brightness data in the second cluster. A brightness adjustment module is used to adjust the brightness of the display panel according to the first display brightness and the second display brightness; The step of dividing the intra-cluster brightness data of each cluster center into first intra-cluster brightness data to be multiplicatively compensated and second intra-cluster brightness data to be multiplicatively compensated and additively compensated includes: obtaining the mean brightness data of the total set of brightness data, and calculating the central brightness variance of the cluster center based on the mean brightness data and the brightness value of the cluster center; dividing the central brightness variance of the cluster center by the number of brightness data clusters to obtain the multiplicative compensation boundary of the cluster center; determining the intra-cluster brightness data starting from the cluster center and within the multiplicative compensation boundary as the first intra-cluster brightness data of the cluster center, and the other intra-cluster brightness data outside the first intra-cluster brightness data as the second intra-cluster brightness data of the cluster center.

9. An electronic device, characterized in that, It 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 causes the processor to perform the following steps: Construct a gradient histogram of the total set of brightness data of the display panel, and determine the number of brightness data clusters based on the gradient histogram; Based on the number of brightness data clusters, the total set of brightness data is clustered to determine multiple cluster centers and the brightness data within each cluster center; The intra-cluster brightness data of each cluster center is divided into the first intra-cluster brightness data to be multiplicatively compensated and the second intra-cluster brightness data to be multiplicatively compensated and additively compensated. Multiplicative compensation is applied to the brightness data within the first cluster to obtain a first display brightness corresponding to the brightness data within the first cluster. Multiplicative compensation and additive compensation are applied to the brightness data within the second cluster in sequence to obtain a second display brightness corresponding to the brightness data within the second cluster. The brightness of the display panel is adjusted according to the first display brightness and the second display brightness; The step of dividing the intra-cluster brightness data of each cluster center into first intra-cluster brightness data to be multiplicatively compensated and second intra-cluster brightness data to be multiplicatively compensated and additively compensated includes: obtaining the mean brightness data of the total set of brightness data, and calculating the central brightness variance of the cluster center based on the mean brightness data and the brightness value of the cluster center; dividing the central brightness variance of the cluster center by the number of brightness data clusters to obtain the multiplicative compensation boundary of the cluster center; determining the intra-cluster brightness data starting from the cluster center and within the multiplicative compensation boundary as the first intra-cluster brightness data of the cluster center, and the other intra-cluster brightness data outside the first intra-cluster brightness data as the second intra-cluster brightness data of the cluster center.

Citation Information

Patent Citations

  • Demura data compression method, mura compensation method and device

    CN109672451A

  • Liquid crystal display device

    CN1841161A