Display compensation method and device, storage medium and display device
Through brightness enhancement processing and the use of compensation parameter information, the display compensation position is adjusted in a targeted manner, which solves the problems of uneven brightness and abnormal white points of the AMOLED display panel and improves display uniformity.
Patent Information
- Application Number
- CN202410897293.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-04
- Publication Date
- 2024-09-20
AI Technical Summary
Existing AMOLED display technology is prone to uneven brightness during the manufacturing process, resulting in uneven display on the display panel. Existing compensation methods are less effective and cannot effectively eliminate abnormal white spots.
By acquiring the display image, performing brightness enhancement processing to determine abnormal pixels, determining the compensation position and display adjustment value based on the abnormal pixels, performing targeted display compensation, and using the compensation parameter information to adjust the display to improve the brightness uniformity of the display panel.
It improves the accuracy of display compensation, effectively eliminates abnormal white spots composed of abnormal pixels, and improves the display uniformity of the display panel.
Smart Images

Figure CN118675463A
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of display panels, and in particular relates to a display compensation method, device, storage medium and display device. Background Art
[0002] With the rapid development of display technology, active-matrix organic light-emitting diode (AMOLED) is widely used in screen display. However, the current AMOLED display technology is prone to uneven brightness during the actual display process due to problems such as manufacturing process.
[0003] In order to solve the problem of uneven brightness, the prior art usually uses display defect elimination technology (such as Demura technology) to eliminate the uneven brightness. However, after the improvement of the above display defect elimination technology, the display screen of the display panel may still have abnormal white spots, thereby affecting the uniformity of the display panel during display.
[0004] Therefore, the existing display compensation method still has the problem of uneven display of the display panel due to poor display compensation effect. Summary of the invention
[0005] In view of the above-mentioned defects or deficiencies in the prior art, it is desired to provide a display compensation method, device, storage medium and display device, which can determine the compensation position of the display panel according to the abnormal pixel points in the displayed image, and determine the display adjustment value of the compensation position based on the compensation position of the display panel and the compensation parameter information, so as to perform display compensation on the compensation position based on the display adjustment value, thereby improving the problem of uneven display of the display panel.
[0006] According to a first aspect of the present application, a display compensation method is provided, the method comprising:
[0007] Acquire a display image of the display panel; perform brightness enhancement processing on the display image to obtain a brightness enhancement result of each pixel in the display image; the magnitude of the brightness enhancement result is positively correlated with the magnitude of the pixel brightness;
[0008] Based on the brightness enhancement results of each pixel point, an abnormal pixel point is determined; the abnormal pixel point is a pixel point whose brightness enhancement result is greater than a preset threshold among the pixels;
[0009] The compensation position is determined according to the abnormal pixel point, the display adjustment value of the compensation position is determined based on the compensation position and compensation parameter information, and display compensation is performed on the compensation position based on the display adjustment value; the compensation parameter information includes display adjustment values corresponding to different compensation positions in the display panel.
[0010] According to a second aspect of the present application, a display compensation device is provided, the device comprising:
[0011] An acquisition unit is used to acquire a display image of the display panel; perform brightness enhancement processing on the display image to obtain a brightness enhancement result of each pixel in the display image; the magnitude of the brightness enhancement result is positively correlated with the magnitude of the pixel brightness;
[0012] The first processing unit is used to determine abnormal pixel points based on the brightness enhancement results of each pixel point; the abnormal pixel point is a pixel point whose brightness enhancement result is greater than a preset threshold among the pixel points;
[0013] A second processing unit is used to determine a compensation position according to the abnormal pixel point, determine a display adjustment value of the compensation position based on the compensation position and compensation parameter information, and perform display compensation on the compensation position based on the display adjustment value; the compensation parameter information includes display adjustment values corresponding to different compensation positions in the display panel.
[0014] According to a third aspect of the present application, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program, and when the program is executed by a processor, the display compensation method in the first aspect is implemented.
[0015] According to a fourth aspect of the present application, a display device is provided, comprising a display panel and a processing unit, wherein the processing unit is configured to execute the display compensation method according to any one of claims 1 to 9 to perform display compensation on the display panel.
[0016] Compared with the prior art that uses the Demura algorithm to perform display compensation on the entire display panel, the display compensation method, device, storage medium and display device provided in the embodiments of the present application can, on the one hand, determine the abnormal pixel points in the display panel based on the brightness enhancement result of the display image of the display panel, so that the compensation position information of the display panel can be determined based on the abnormal pixel points, and display compensation can be performed in a targeted manner based on the compensation position information, thereby improving the accuracy of display compensation; on the other hand, a display adjustment value corresponding to the compensation position can be obtained based on the compensation position information of the display panel and the corresponding compensation parameter information, so that the display adjustment value can be used to perform display compensation on the compensation position, thereby achieving the elimination of abnormal white spots composed of abnormal pixels in the display panel and improving the problem of uneven display of the display panel.
[0017] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Other features, objects and advantages of the present application will become more apparent by reading the detailed description of non-limiting embodiments made with reference to the following drawings:
[0019] Figure 1 A diagram of an implementation environment for a display compensation method provided in an embodiment of the present application;
[0020] Figure 2 A schematic diagram of the principle of the display compensation method provided in an embodiment of the present application;
[0021] Figure 3 A schematic diagram of a flow chart of a display compensation method provided in an embodiment of the present application;
[0022] Figure 4 A schematic diagram of the brightness enhancement process provided in an embodiment of the present application;
[0023] Figure 5 A schematic diagram of a process for determining a compensation position provided in an embodiment of the present application;
[0024] Figure 6 A schematic diagram of a compensation position matrix provided in an embodiment of the present application;
[0025] Figure 7 A schematic diagram of clustering results provided in an embodiment of the present application;
[0026] Figure 8 A schematic diagram of a secondary compensation position matrix provided in an embodiment of the present application;
[0027] Fig. 9 Another schematic diagram of a flow chart of a display compensation method provided in an embodiment of the present application;
[0028] Fig.10 A block diagram of a display compensation device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0029] The present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the relevant invention, rather than to limit the invention. It is also necessary to explain that, for ease of description, only the parts related to the invention are shown in the accompanying drawings.
[0030] It should be noted that, in the absence of conflict, the embodiments in the present application and the features in the embodiments can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments. In addition, the term "and / or" herein is merely a description of the association relationship of associated objects, indicating that three relationships may exist, for example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. The terms "first" and "second" in the description and claims of the embodiments of the present application are used to distinguish different objects, rather than to describe a specific order of objects.
[0031] First, the terms involved in this application are explained as follows:
[0032] (1) Active-matrix organic light-emitting diode (AMOLED): is a display technology that uses organic light-emitting diodes as pixels to generate light. Each pixel in AMOLED is a tiny layer of organic material, and different organic materials can produce different colors of light. Specifically, when a voltage is applied to a specific pixel of an AMOLED display, the organic material in the pixel is activated and emits light, so various colors can be displayed by controlling the voltage of each pixel;
[0033] (2) Non-uniformity on the display: This can be called Mura, which is manifested as differences in brightness, color, or uniformity within the display area; it is usually described as a "cloudy" pattern or irregular spots;
[0034] (3) White Pixel: This refers to the phenomenon in which pixels in an AMOLED display cannot be turned off or illuminated normally, resulting in obvious bright spots when the display is displayed in white.
[0035] (4) Gamma curve: A curve used to describe the relationship between the brightness of an optoelectronic display device and the input signal. In display technology, the gamma value is usually used to represent the slope of the brightness response curve.
[0036] Figure 1 1 is a diagram of an implementation environment of a display compensation method provided in an embodiment of the present application. Figure 1 As shown, the implementation environment architecture may include a display device 11 and an imaging device 12. Specifically, the display device 11 may include a display panel 111 and a processing unit 112; wherein the display panel 111 may be, for example, an AMOLED display panel.
[0037] In a possible implementation, the processing unit 112 may receive and process the display image of the display panel 112. For example, the display image of the display panel 112 may be captured by the camera device 12 and sent to the processing unit 112.
[0038] Exemplarily, the processing unit 112 can perform grayscale processing on the display image acquired by the shooting device 12, and determine the abnormal pixel points of the display panel 111 based on the display image after grayscale processing; then determine the compensation position information and the compensation value corresponding to the compensation position based on the abnormal pixel points of the display panel 111.
[0039] Exemplarily, the processing unit 112 may perform display compensation on the display panel 111 by increasing or decreasing the voltage based on the correspondence between the compensation position and the compensation value.
[0040] It should be noted that after completing a display compensation of the display panel 111, if the display panel 111 still has uneven display (for example, abnormal white spots), the processing unit 112 can be used to update the compensation position information of the display panel 111 and the compensation value corresponding to the compensation position, and perform a second compensation on the display panel 111.
[0041] At present, with the rapid development of display technology, active-matrix organic light-emitting diode (AMOLED) is widely used in screen display. However, due to problems such as manufacturing process, the current AMOLED display technology is prone to uneven brightness in the actual display process.
[0042] In view of the above-mentioned problem of uneven brightness, the prior art usually uses display defect elimination technology (for example, Demura technology) to eliminate the uneven brightness. Specifically, the existing Demura technology usually compensates the entire display panel by increasing or decreasing the voltage based on the relationship between the brightness of the display device and the input signal in the Gamma curve. In other words, the existing display compensation information does not include compensation position information. Therefore, after the improvement of the above-mentioned display defect elimination technology, the display screen of the display panel may still have abnormal white spots, thereby affecting the uniformity of the display panel during display.
[0043] In summary, the existing display compensation method still has the problem of uneven display of the display panel due to poor display compensation effect.
[0044] Based on this, the present application proposes a display compensation method, which can determine the compensation position of the display panel according to the abnormal pixel points in the display image, and determine the display adjustment value of the compensation position based on the compensation position of the display panel and the compensation parameter information, so as to perform display compensation on the compensation position based on the display adjustment value, thereby improving the problem of uneven display of the display panel.
[0045] Figure 2 is a schematic diagram of the principle of the display compensation method provided by the embodiment of the present application, such as Figure 2 As shown, a display image of a display panel is acquired, the display image is filtered to determine abnormal pixels, a compensation position and a display adjustment value are determined according to the abnormal pixels, and display compensation is performed on the compensation position based on the display adjustment value.
[0046] Figure 3 1 is a flow chart of a display compensation method provided in an embodiment of the present application. The processing unit 102 can be used to execute the display compensation method to perform display compensation on the display panel. Figure 3 As shown, the display compensation method may include the following steps:
[0047] Step 301, acquiring a display image of a display panel; performing brightness enhancement processing on the display image to obtain a brightness enhancement result of each pixel in the display image; the magnitude of the brightness enhancement result is positively correlated with the magnitude of the pixel brightness.
[0048] In a possible implementation, brightness enhancement processing may be performed on a display image of a display panel to obtain a brightness enhancement result of each pixel in the display image.
[0049] Exemplarily, when the display panel is turned on, the image displayed on the display panel can be captured by the above-mentioned camera device 12. For example, the camera device 12 can be a charge coupled device (CCD) camera.
[0050] Exemplarily, the brightness enhancement result of each pixel in the displayed image can be obtained by filtering the displayed image. For example, the brightness enhancement result of each pixel in the displayed image can be obtained by performing Laplace Gaussian filtering on the displayed image, wherein the magnitude of the brightness enhancement result of each pixel is positively correlated with the magnitude of the pixel brightness of each pixel.
[0051] It should be noted that the brightness enhancement result of each pixel in the present application is not the result of increasing the pixel brightness of each pixel in the displayed image, but is based on the pixel brightness of each pixel to make the abnormal brightness characteristics of each pixel more obvious, so that abnormal pixels can be screened out based on the brightness enhancement result.
[0052] Step 302: determine abnormal pixels based on the brightness enhancement results of each pixel; the abnormal pixels are pixels whose brightness enhancement results are greater than a preset threshold among the pixels.
[0053] In a possible implementation, abnormal pixels in the displayed image may be determined based on the brightness enhancement results of each pixel.
[0054] Exemplarily, the pixels whose brightness enhancement results of the above pixels are greater than a preset threshold may be determined as abnormal pixels, wherein the preset threshold may be an empirical threshold determined based on the brightness enhancement results of historical abnormal pixels.
[0055] Step 303, determine the compensation position according to the abnormal pixel point, determine the display adjustment value of the compensation position based on the compensation position and compensation parameter information, and perform display compensation on the compensation position based on the display adjustment value; the compensation parameter information includes display adjustment values corresponding to different compensation positions in the display panel.
[0056] In a possible implementation, the compensation position requiring display compensation may be determined according to the abnormal pixel position determined in step 202, and the display adjustment value of the compensation position may be determined based on the display compensation position and corresponding compensation parameter information.
[0057] Exemplarily, the display compensation position corresponding to the abnormal pixel can be determined according to the position information of the brightness enhancement result of the abnormal pixel in the entire brightness enhancement result matrix. The brightness enhancement matrix can include the brightness enhancement results of each pixel in the display image.
[0058] Exemplarily, the compensation parameter information may include display adjustment values corresponding to different compensation positions in the display panel, wherein the display adjustment value may be expressed as a brightness value or a grayscale value that needs to be adjusted at the compensation position.
[0059] It should be noted that the compensation parameter information can be converted into a binary file and burned into a memory, so that after the compensation position is determined, the display adjustment value corresponding to the different compensation positions in the display panel can be directly obtained from the memory. The binary file can be a Bin file; the memory can be a fast read, write, and erase memory Flash.
[0060] In a possible implementation, display compensation may be performed on the compensation position based on the display adjustment value of the compensation position.
[0061] Exemplarily, a voltage adjustment value corresponding to the display adjustment value may be determined based on a gamma curve, and the compensation position may be compensated by increasing or decreasing the voltage.
[0062] Compared with the prior art that uses the Demura algorithm to perform display compensation on the entire display panel, the display compensation method, device, storage medium and display device provided in the embodiments of the present application can, on the one hand, determine the abnormal pixel points in the display panel based on the brightness enhancement result of the display image of the display panel, so that the compensation position information of the display panel can be determined based on the abnormal pixel points, and display compensation can be performed in a targeted manner based on the compensation position information, thereby improving the accuracy of display compensation; on the other hand, a display adjustment value corresponding to the compensation position can be obtained based on the compensation position information of the display panel and the corresponding compensation parameter information, so that the display adjustment value can be used to perform display compensation on the compensation position, thereby achieving the elimination of abnormal white spots composed of abnormal pixels in the display panel and improving the problem of uneven display of the display panel.
[0063] In another embodiment of the present application, a specific implementation method for obtaining the brightness enhancement result of each pixel point is also provided. Exemplarily, the aforementioned "performing brightness enhancement processing on the displayed image to obtain the brightness enhancement result of each pixel point in the displayed image" specifically includes: performing grayscale equalization processing on the displayed image; filtering the displayed image after the grayscale equalization processing based on preset convolution parameters to obtain the brightness enhancement result; wherein the preset convolution parameters are used to extract high-brightness image features.
[0064] In the embodiment of the present application, the degree of visibility of abnormal white spots on the display panel is negatively correlated with the grayscale level of the displayed image. Specifically, when the grayscale level of the displayed image is lower, the abnormal white spots on the display panel are more obvious. Therefore, in order to highlight the abnormal white spot characteristics of the display panel, the grayscale value of the displayed image can be reduced by grayscale equalization processing.
[0065] In a possible implementation, after the display image of the display panel is acquired, grayscale equalization processing may be performed on the display image.
[0066] Exemplarily, the result of grayscale equalization processing of the display image can be directly obtained by using the camera device based on the preset shooting parameters, that is, the image obtained by the camera device based on the preset shooting parameters is directly the display image after grayscale equalization processing; wherein the preset shooting parameters can be the preset brightness level when the above-mentioned camera device 12 shoots the image. For example, the red brightness can be set to level 31, the green brightness can be set to level 128, and the blue brightness can be set to level 225 (that is, the grayscale values of R / G / B are 31, 128, and 225 respectively); or the red brightness, green brightness, and blue brightness can be set to level 31 respectively (that is, the grayscale values of R / G / B are 31 respectively).
[0067] Optionally, after the original display image of the display panel is acquired by using the camera device, the grayscale distribution equalization in the image processing algorithm can be used to implement grayscale equalization processing of the original display image.
[0068] In a possible implementation, after grayscale equalization processing is performed on the displayed image in the above manner, the grayscale equalization processed displayed image can be filtered based on preset convolution parameters to obtain a brightness enhancement result. The preset convolution parameters can be used to extract high brightness image features.
[0069] Exemplarily, the preset convolution parameters may be a convolution kernel for filtering the displayed image after grayscale equalization processing, and the convolution kernel may be determined by filter parameters; the high-brightness image feature may be a white point brightness feature in the displayed image after grayscale equalization processing.
[0070] Specifically, the filter used for filtering may be a Laplace Gaussian filter, and the parameters of the filter may include a filter size and a filter standard deviation, wherein the filter size is determined according to the number of pixels occupied by abnormal white spots in the displayed image; and the filter standard deviation is determined according to the grayscale value of the displayed image.
[0071] It should be noted that the above filter standard deviation may be the standard deviation of a Gaussian function. Specifically, the blurring degree of the generated Gaussian filter may be controlled by adjusting the value of the filter standard deviation. The size of the filter standard deviation is positively correlated with the blurring degree of the Gaussian filter.
[0072] Exemplarily, the brightness enhancement result may be a convolution result of the grayscale values of each pixel in the display image, and the pixel point where the abnormal white point is located may be determined through the brightness enhancement result of each pixel point.
[0073] Specifically, based on a preset convolution threshold, a pixel point corresponding to a brightness enhancement result greater than the preset convolution threshold may be determined as an abnormal pixel point.
[0074] It should be noted that the above-mentioned preset convolution threshold can be determined according to the brightness enhancement results corresponding to the historical abnormal pixel points.
[0075] For example, Figure 4 Schematic diagram of the brightness enhancement process provided by the embodiment of the present application. Figure 4 The displayed image after grayscale equalization processing can be expressed as Figure 4 (a) Reference Figure 4 The number of pixels occupied by abnormal white spots in (a) can be determined as follows: Figure 4 (b) shows the convolution kernel, which is determined by a filter size of 3*3 and filter parameters of 0.4, 0.8, -4.8... Figure 4 (b) After convolution of the convolution kernel, we can determine Figure 4(c) shows the brightness enhancement results of each pixel. Figure 4 (c) The pixel points whose convolution results are greater than 16 can be determined as the pixel positions where the abnormal white points are located (ie, the abnormal pixel points).
[0076] In another embodiment of the present application, a specific implementation method for determining the compensation position is also provided. Exemplarily, the aforementioned "determining the compensation position according to the abnormal pixel point" specifically includes: determining the compensation position according to the brightness enhancement result of the abnormal pixel point and the brightness enhancement result matrix; the brightness enhancement result matrix includes the brightness enhancement result of each pixel point, and the position of the brightness enhancement result of each pixel point in the brightness enhancement result matrix is related to the position of each pixel point.
[0077] In a possible implementation, the position where display compensation is required (ie, the position where each abnormal pixel is located) may be determined according to the position of the brightness enhancement result of the abnormal pixel in the brightness enhancement result matrix of all pixels.
[0078] Exemplarily, a brightness enhancement result matrix may be constructed based on the brightness enhancement result of each pixel in the display image, and the brightness enhancement result matrix includes the brightness enhancement results of all the pixels.
[0079] Exemplarily, a pixel whose brightness enhancement result is greater than a preset threshold can be determined as an abnormal pixel, and the position of the abnormal pixel (i.e., the compensation position) is determined according to the position of the brightness enhancement result of the abnormal pixel in the above brightness enhancement result matrix.
[0080] It should be noted that there is a mapping relationship between the position of the brightness enhancement result of each pixel in the brightness enhancement result matrix and the position of each pixel in the display panel. Therefore, when the position of the brightness enhancement result of a certain abnormal pixel in the brightness enhancement result matrix is determined, the position of the abnormal pixel in the display panel can be determined, and then the display compensation position corresponding to the abnormal pixel can be determined.
[0081] In another embodiment of the present application, a specific implementation method for determining the compensation position based on the brightness enhancement result of the abnormal pixel and the brightness enhancement result matrix is also provided. Exemplarily, the value corresponding to the abnormal pixel in the brightness enhancement result matrix is set to the first value, and the values corresponding to the remaining pixels are set to the second value to obtain a binary matrix; for each element in the binary matrix, a detection matrix is determined with the element as the starting point, and if the detection matrix includes the first value, the pixel position corresponding to the detection matrix is determined as the compensation position.
[0082] In the embodiment of the present application, in order to improve the accuracy of the abnormal pixel screening results, the abnormal pixel points and other pixel points in the brightness enhancement result matrix can be assigned values respectively to clearly obtain the position information of the abnormal pixel points.
[0083] In one possible implementation, the brightness enhancement results corresponding to the abnormal pixels in the brightness enhancement result matrix can be set to a first value, the brightness enhancement results corresponding to other pixels in the brightness enhancement result matrix except the abnormal pixels can be set to a second value, and a binary matrix can be constructed based on the first value and the second value.
[0084] Exemplarily, the brightness enhancement result of the abnormal pixel point can be set to 1, and the brightness enhancement results of other pixel points can be set to 0.
[0085] In a possible implementation, each element in the binary matrix can be used as a detection starting point to determine the detection matrix corresponding to the element, so as to traverse the brightness enhancement result matrix. The size of the detection matrix can be flexibly set according to the size of the brightness enhancement result matrix.
[0086] Exemplarily, when there is a first value in the detection matrix, it can be known that there are abnormal pixels in the detection matrix. At this time, the specific position of the starting point element can be determined, and the pixel position corresponding to the detection matrix with the element as the starting point can be determined as the compensation position.
[0087] It should be noted that the position corresponding to the detection matrix needs to be determined as the compensation position because in the actual display compensation process, the display panel is usually compensated by area rather than by a single pixel. For example, 24*24 pixels can be used as an area for display compensation.
[0088] For example, Figure 5 Schematic diagram of the process of determining the compensation position provided by the embodiment of the present application. Figure 5 , the brightness enhancement result matrix is as follows Figure 5 (a) shows; the pixels whose brightness enhancement results are not less than 16 in the brightness enhancement result matrix are determined as abnormal pixels, and the brightness enhancement results of the abnormal pixels are set to 1, and the brightness enhancement results of the remaining pixels are set to 0. The constructed binary matrix is as follows Figure 5 (b) Figure 5 As shown in (c), taking the element at coordinate (2,2) in the binary matrix as the starting point as an example, using a 2*2 detection matrix for detection, it can be determined that there is a value of 1 (i.e., a non-zero value) in the detection matrix. At this time, the pixel position corresponding to the detection matrix is the compensation position.
[0089] In the embodiment of the present application, the above-mentioned compensation positions may be marked to obtain a compensation position matrix including the compensation positions.
[0090] For example, Figure 6 is a schematic diagram of a compensation position matrix provided in an embodiment of the present application, such as Figure 6 As shown in (a), the compensation position is composed of (2,2), (2,3), (3,2) and (3,3). Using image processing methods, the above compensation positions can be marked as follows Figure 6 (b) shows the compensation position matrix, in which the pixel points at the compensation position in the compensation position matrix are marked as Scalar, and the pixel points outside the compensation position are marked as 1.
[0091] In another embodiment of the present application, a method for generating compensation parameter information is also provided. Exemplarily, the method also includes: for each target pixel in the historical display image, determining the neighboring area of the target pixel as the compensation position corresponding to the target pixel; determining the grayscale value of the target pixel according to the brightness mean of the compensation position, the brightness of the target pixel, and the grayscale value of the historical display image; determining the grayscale adjustment value of the compensation position corresponding to the target pixel based on the grayscale value of the historical display image and the grayscale value of the target pixel; generating compensation parameter information based on the grayscale adjustment value of each compensation position corresponding to each target pixel.
[0092] In an embodiment of the present application, the grayscale adjustment value of each compensation position can be determined based on the brightness value and grayscale value of each compensation position in the historical display image, so that compensation parameter information can be generated based on the grayscale adjustment value to convert the compensation parameter information into a Bin file and store it in Flash.
[0093] In a possible implementation, an abnormal pixel point in the historical display image may be used as a target pixel point of the historical display image, and a neighboring area of the target pixel point may be determined as a compensation position.
[0094] For example, any abnormal pixel in the historical display image can be used as a target pixel, and the target pixel can be used as the center point to determine the area within a preset range around it as the compensation position. For example, the target pixel with the highest brightness inside the abnormal white point can be used as the center, and the position of 50*50 pixels around the target pixel can be determined as the compensation position.
[0095] In a possible implementation, the grayscale value of the target pixel may be determined according to the brightness mean value of the compensation position, the brightness value of the target pixel, and the grayscale value of the historical display image.
[0096] Specifically, the brightness mean of the compensation position can be the mean brightness of each pixel in the compensation position; the brightness value of the target pixel can be the actual brightness value of the target pixel before brightness enhancement processing; the grayscale value of the historical display image can be the grayscale value of the historical display image after grayscale equalization processing.
[0097] Exemplarily, the ratio of the brightness mean of the compensation position to the brightness value of the target pixel point can be determined as a first ratio, and the ratio of the grayscale value of the target pixel point to the grayscale value of the historical display image can be determined as a second ratio, wherein there is an exponential relationship between the first ratio and the second ratio.
[0098] For example, taking the grayscale value of the historical display image as 31 as an example, the average brightness of the compensation position, the brightness of the target pixel, the grayscale value of the historical display image, and the grayscale value of the target pixel can be expressed by the following formula:
[0099]
[0100] Among them, Ave Value Can be used to indicate the average brightness of the compensation position; WhitePoint Value Can be used to represent the brightness of the target pixel; Gray 32 Can be used to represent the grayscale value of the historical display image; Gray X It can be used to represent the grayscale value of the target pixel.
[0101] In a possible implementation, when the grayscale value of the target pixel is determined, the grayscale adjustment value of the compensation position corresponding to the target pixel may be determined based on the grayscale value of the historical display image and the grayscale value of the target pixel.
[0102] Exemplarily, the grayscale adjustment value of the compensation position corresponding to the target pixel point may be determined according to the difference between the grayscale value of the target pixel point and the grayscale value of the historical display image.
[0103] For example, taking the grayscale value of the historical display image as 31 as an example, the grayscale adjustment value of the compensation position corresponding to the target pixel point can be expressed by the following formula:
[0104] offset=Grayx-Gray32
[0105] Among them, Grayx can be the grayscale value of the target pixel; Gray32 can be the grayscale value of the historical display image.
[0106] It should be noted that a compensation parameter matrix may be constructed based on the grayscale adjustment value corresponding to each target pixel point, and the compensation parameter information may be generated in combination with the compensation position matrix and the compensation parameter matrix.
[0107] In another embodiment of the present application, another method for generating compensation parameter information is also provided. Exemplarily, the aforementioned "generating compensation parameter information based on the grayscale adjustment values of each compensation position corresponding to each target pixel point" specifically includes: generating compensation parameter information based on the grayscale adjustment values of each compensation position corresponding to each target pixel point and the compensation coefficient of each grayscale adjustment value; the size of the compensation coefficient is positively correlated with the brightness of the target pixel point corresponding to the compensation position.
[0108] In an embodiment of the present application, in order to avoid the problem of excessive brightness in the central area of the displayed image where abnormal white spots still exist after display compensation, the compensation coefficient corresponding to each compensation position can be determined according to the brightness of each target pixel point in the compensation position, so as to generate compensation parameter information according to the grayscale adjustment value of each compensation position and the compensation coefficient, so as to convert the compensation parameter information into a Bin file and store it in Flash.
[0109] In a possible implementation manner, the compensation coefficient of the compensation position where the target pixel is located may be determined according to the brightness of the target pixel.
[0110] For example, each pixel point can be clustered based on the brightness of each pixel point in the historical display image to determine the brightness category of each pixel point, thereby determining the compensation coefficient of the compensation position where the target pixel point is located according to the brightness category. The clustering algorithm can be, for example, a K-means clustering algorithm.
[0111] For example, all pixels in the historical display image can be divided into 4 groups in advance, and then the centroid of each group (i.e., the brightness mean of all pixels in the group) is updated, and the updating process is repeated until the centroid no longer changes, thereby obtaining 4 stable clusters. Each cluster corresponds to a compensation coefficient.
[0112] Exemplarily, the compensation parameter information may be determined according to the product of the grayscale adjustment value of the compensation position and the compensation coefficient.
[0113] For example, Figure 7 is a schematic diagram of the clustering results provided in the embodiment of the present application, such as Figure 7 As shown, the clustering results of the pixels in the historical display image are 4 categories, where different categories of pixels can correspond to different compensation coefficients. Specifically, pixels belonging to the mode0 category can correspond to a compensation coefficient of 1; pixels belonging to the mode1 category can correspond to a compensation coefficient of 2; pixels belonging to the mode2 category can correspond to a compensation coefficient of 3, and pixels belonging to the mode3 category can correspond to a compensation coefficient of 4.
[0114] In another embodiment of the present application, a specific method for determining the compensation coefficient is also provided. Exemplarily, after determining the abnormal pixel point, the method further includes: determining the actual brightness of the abnormal pixel point, and determining the compensation coefficient according to the actual brightness of the abnormal pixel point.
[0115] In an embodiment of the present application, when the compensation parameter information stored in Flash only includes the grayscale adjustment value of the compensation position (that is, the display adjustment value read by the Flash hardware only includes the grayscale adjustment value), after acquiring the display image, the compensation coefficient corresponding to the abnormal pixel point in the display image can be determined according to the actual brightness of the abnormal pixel point in the display image, so as to update the display adjustment value based on the compensation coefficient.
[0116] For example, while grayscale equalization is being performed on the displayed image, the actual brightness of each pixel in the displayed image can be determined, and the compensation coefficient of each pixel can be determined according to the actual brightness of each pixel. It should be noted that the compensation coefficient of each pixel can be determined in the above-mentioned manner, which will not be described in detail here.
[0117] Exemplarily, the display adjustment value may be updated based on the compensation coefficient, and the compensation position may be displayed compensated based on the updated display adjustment value.
[0118] In another embodiment of the present application, another implementation of display compensation is provided. Exemplarily, the method further includes: obtaining a second display image after display compensation, if there are pixels with brightness higher than a preset threshold in the second display image, updating the preset convolution parameters; and performing display compensation on the second display image based on the updated preset convolution parameters.
[0119] In an embodiment of the present application, after completing a primary display compensation of the display panel, the update status of the preset convolution parameters can be determined based on the brightness of each pixel in the updated display image of the display panel, so as to perform secondary display compensation on the display panel according to the updated preset convolution parameters.
[0120] In a possible implementation manner, the update status of the preset convolution parameters may be determined according to the second display image displayed by the display panel after display compensation.
[0121] Exemplarily, when there are pixels in the second display image whose brightness is higher than the preset threshold, the preset convolution parameters are updated. It should be noted that the preset threshold here is not the preset threshold of the brightness enhancement result described in the previous embodiment, but is used to screen pixels whose brightness is still large after display compensation, and can be specifically set according to the brightness of the central area of the historical abnormal white point. Therefore, when there are pixels in the second display image whose brightness is higher than the preset threshold, it can indicate that there are still abnormal pixels in the display panel (that is, the brightness of the central area of the abnormal white point is still large).
[0122] Exemplarily, the preset convolution parameters can be updated based on the number of pixels in the core area of the historical abnormal white spots and the brightness of each pixel in the core area, so as to filter the second display image after grayscale equalization processing using the updated preset convolution parameters to obtain the brightness enhancement results corresponding to each pixel in the second display image.
[0123] It should be noted that updating the preset convolution parameters can be used to extract high-brightness image features of the second display image, wherein the high-brightness image features can be brightness features of abnormal white point core areas in the second display image that has been processed with grayscale equalization.
[0124] Exemplarily, pixels whose brightness enhancement results are greater than a preset threshold may be taken as core abnormal pixels, wherein the preset threshold may be determined based on the brightness enhancement results of pixels corresponding to the core area of abnormal white spots.
[0125] Exemplarily, the compensation position can be determined based on the brightness enhancement result of the core abnormal pixel and the brightness enhancement result matrix, the grayscale value of the core abnormal pixel can be determined based on the brightness mean of the compensation position, the brightness of the core abnormal pixel and the grayscale value of the second display image, and the grayscale adjustment value of the compensation position corresponding to the core abnormal pixel can be determined based on the grayscale value of the second display image and the grayscale value of the core abnormal pixel.
[0126] It should be noted that the method for determining the grayscale adjustment value corresponding to the core abnormal pixel point is the same as the determination method described in the previous embodiment, and will not be described in detail here.
[0127] Exemplarily, the compensation parameter information can be updated based on the grayscale adjustment value corresponding to the core abnormal pixel point determined above. Specifically, when the compensation position corresponding to the core abnormal pixel point corresponds to the compensation position in the previous embodiment, the compensation parameter information corresponding to the compensation position can be updated to the sum of the grayscale adjustment value corresponding to the core abnormal pixel point and the grayscale adjustment value corresponding to the target pixel point described above, and the updated compensation parameter information is converted into a Bin file and stored in Flash.
[0128] Optionally, Figure 8 A schematic diagram of a secondary compensation position matrix provided in an embodiment of the present application, such as Figure 8 As shown, the compensation position matrix 8(a) of the first display compensation can be screened and marked based on the preset brightness enhancement result to obtain a schematic diagram of the second compensation position matrix. Figure 8 (b).
[0129] In the foregoing embodiment of the present application, an implementation of a display compensation method is provided. In another embodiment of the present application, another implementation of a display compensation method is provided.
[0130] Fig. 9 is another flow chart of the display compensation method provided by the embodiment of the present application. Fig. 9 As shown, the method specifically comprises the following steps:
[0131] Step 901, using a camera CCD to acquire a display image of a display panel;
[0132] Step 902, performing grayscale equalization processing on the display image;
[0133] Step 903, performing Laplace Gaussian filtering on the displayed image after the grayscale equalization processing to determine the compensation position of the abnormal white point;
[0134] Step 904, determining a display adjustment value of the compensation position;
[0135] Step 905: Perform display compensation on the compensation position based on the display adjustment value.
[0136] Fig.10 Schematic diagram of a display compensation device provided in an embodiment of the present application. Fig.10 As shown, the display compensation device 1000 includes: an acquisition unit 1001, a first processing unit 1002 and a second processing unit 1003, wherein:
[0137] The acquisition unit 1001 is used to acquire a display image of the display panel; perform brightness enhancement processing on the display image to obtain a brightness enhancement result of each pixel in the display image; the magnitude of the brightness enhancement result is positively correlated with the magnitude of the pixel brightness;
[0138] The first processing unit 1002 is used to determine abnormal pixels based on the brightness enhancement results of each pixel; the abnormal pixel is a pixel whose brightness enhancement result is greater than a preset threshold among the pixels;
[0139] The second processing unit 1003 is used to determine a compensation position according to the abnormal pixel point, determine a display adjustment value of the compensation position based on the compensation position and compensation parameter information, and perform display compensation on the compensation position based on the display adjustment value; the compensation parameter information includes display adjustment values corresponding to different compensation positions in the display panel.
[0140] As another aspect, the present application further provides a computer-readable storage medium, which may be included in the computer device described in the above embodiment, or may exist independently without being installed in the computer device. The above computer-readable storage medium stores one or more programs, and when the above programs are used by one or more processors to execute the method described in the present application. For example, it can be executed Figure 3The individual steps of the method are shown.
[0141] The present application embodiment provides a computer program product, which includes instructions. When the instructions are executed, the method described in the present application embodiment is executed. For example, Figure 3 The individual steps of the method are shown.
[0142] The above description is only a preferred embodiment of the present application and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present application is not limited to the technical solution formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the aforementioned disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in this application (but not limited to) by each other to form a technical solution.
Claims
1. A display compensation method, characterized in that: The method comprises: Acquire a display image of a display panel; perform brightness enhancement processing on the display image to obtain a brightness enhancement result of each pixel in the display image; the magnitude of the brightness enhancement result is positively correlated with the magnitude of the pixel brightness; Based on the brightness enhancement results of the respective pixel points, an abnormal pixel point is determined; the abnormal pixel point is a pixel point whose brightness enhancement result is greater than a preset threshold value among the respective pixel points; Determine a compensation position according to the abnormal pixel point, determine a display adjustment value of the compensation position based on the compensation position and compensation parameter information, and perform display compensation on the compensation position based on the display adjustment value; the compensation parameter information includes display adjustment values corresponding to different compensation positions in the display panel.
2. The display compensation method according to claim 1, characterized in that: The performing brightness enhancement processing on the displayed image to obtain a brightness enhancement result of each pixel in the displayed image includes: Performing grayscale balancing processing on the displayed image; The display image after grayscale equalization processing is filtered based on preset convolution parameters to obtain the brightness enhancement result; wherein the preset convolution parameters are used to extract high-brightness image features.
3. The display compensation method according to claim 1, characterized in that: The determining of the compensation position according to the abnormal pixel point comprises: The compensation position is determined according to the brightness enhancement result of the abnormal pixel and the brightness enhancement result matrix; the brightness enhancement result matrix includes the brightness enhancement results of each pixel, and the position of the brightness enhancement result of each pixel in the brightness enhancement result matrix is related to the position of each pixel.
4. The display compensation method according to claim 3, characterized in that: The determining of the compensation position according to the brightness enhancement result of the abnormal pixel point and the brightness enhancement result matrix includes: The value corresponding to the abnormal pixel in the brightness enhancement result matrix is set to the first value, and the values corresponding to the remaining pixels are set to the second value, to obtain a binary matrix; For each element in the binary matrix, a detection matrix is determined with the element as a starting point, and if the detection matrix includes the first value, a pixel position corresponding to the detection matrix is determined as the compensation position.
5. The display compensation method according to claim 1, characterized in that: The method further comprises: For each target pixel in the historical display image, determining the neighboring area of the target pixel as the compensation position corresponding to the target pixel; Determine the grayscale value of the target pixel point according to the brightness mean value of the compensation position, the brightness of the target pixel point, and the grayscale value of the historical display image; Determining a grayscale adjustment value of a compensation position corresponding to the target pixel point based on the grayscale value of the historical display image and the grayscale value of the target pixel point; The compensation parameter information is generated based on the grayscale adjustment values of the respective compensation positions corresponding to the respective target pixels.
6. The display compensation method according to claim 5, characterized in that: Generating the compensation parameter information based on the grayscale adjustment value of each compensation position corresponding to each target pixel point includes: The compensation parameter information is generated based on the grayscale adjustment values of each compensation position corresponding to each target pixel point and the compensation coefficient of each grayscale adjustment value; the size of the compensation coefficient is positively correlated with the brightness of the target pixel point corresponding to the compensation position.
7. The display compensation method according to claim 1, characterized in that: After determining the abnormal pixel point, the method further includes: The actual brightness of the abnormal pixel is determined, and a compensation coefficient is determined according to the actual brightness of the abnormal pixel.
8. The display compensation method according to claim 7, characterized in that: The determining the display adjustment value of the compensation position based on the compensation position and the compensation parameter information includes: The display adjustment value is updated based on the compensation coefficient, and display compensation is performed on the compensation position based on the updated display adjustment value.
9. The display compensation method according to claim 2, characterized in that: The method further comprises: Acquire a second display image after the display compensation, and if there are pixels with brightness higher than a preset threshold in the second display image, update the preset convolution parameters; Display compensation is performed on the second display image based on the updated preset convolution parameters.
10. A display compensation device, characterized in that: The device comprises: An acquisition unit is used to acquire a display image of a display panel; perform brightness enhancement processing on the display image to obtain a brightness enhancement result of each pixel in the display image; the magnitude of the brightness enhancement result is positively correlated with the magnitude of the pixel brightness; A first processing unit, configured to determine abnormal pixel points based on the brightness enhancement results of the respective pixel points; the abnormal pixel points are pixel points whose brightness enhancement results are greater than a preset threshold value among the respective pixel points; A second processing unit is used to determine a compensation position according to the abnormal pixel point, determine a display adjustment value of the compensation position based on the compensation position and compensation parameter information, and perform display compensation on the compensation position based on the display adjustment value; the compensation parameter information includes display adjustment values corresponding to different compensation positions in the display panel.
11. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the display compensation method according to any one of claims 1 to 9 is implemented.
12. A display device, characterized in that: The display device includes a display panel and a processing unit, and the processing unit is used to execute the display compensation method according to any one of claims 1 to 9 to perform display compensation on the display panel.
