Display compensation method, electronic device, and storage medium
By identifying areas of color distortion on the OLED display panel and performing targeted brightness compensation, the color distortion problem was solved, improving display quality and consistency.
Patent Information
- Application Number
- CN202510126320.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-24
- Publication Date
- 2025-12-05
- Estimated Expiration
- 2045-01-24
AI Technical Summary
OLED display products suffer from color distortion during use, which affects display quality and user experience.
By identifying the color-biased areas on the display panel, brightness compensation is performed, and grayscale adjustment is determined based on the compensation results. The color-biased areas are then illuminated and further brightness compensation is applied until they meet the preset standards.
The display panel's display effect has been optimized, the amount of computation has been reduced, the compensation effect in color deviation areas has been improved, and the display consistency and visual comfort have been enhanced.
Smart Images

Figure CN119785713B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] Embodiments of the present application relate to the technical field of display, and in particular, to a display compensation method, an electronic device and a storage medium. BACKGROUND
[0002] Organic Light Emitting Display (OLED) and flat panel display devices based on Light Emitting Diode (LED) technology have been widely used in mobile phones, televisions, notebook computers, desktop computers and other consumer electronic products due to their high image quality, power saving, thin body and wide application range, and have become the mainstream of display devices.
[0003] However, the use performance of the current OLED display product needs to be improved. SUMMARY
[0004] Therefore, embodiments of the present application provide a display compensation method, an electronic device and a storage medium to at least partially solve the above problems.
[0005] According to a first aspect of embodiments of the present application, a display compensation method is provided, comprising:
[0006] Confirming a color deviation area on a display panel;
[0007] Performing brightness compensation on the display panel in a first display condition, and determining a first compensation gray scale based on the compensation result;
[0008] Judging whether the color deviation of the display panel after brightness compensation meets a preset standard; if not, performing a lighting operation on the color deviation area on the display panel, and performing brightness compensation on the color deviation area on the display panel in a second display condition; wherein the first display condition is different from the second display condition.
[0009] In an optional embodiment, before performing brightness compensation on the display panel in the first display condition, the method further comprises:
[0010] Dividing the color deviation area into at least one sub-color deviation area according to the size of a preset area, so as to perform brightness compensation on each sub-color deviation area respectively;
[0011] Preferably, the preset area is a single pixel area.
[0012] Preferably, the color cast region comprises a region between a first boundary and a second boundary on the display panel, and the first region enclosed by the first boundary on the display panel comprises the second region enclosed by the second boundary on the display panel.
[0013] Preferably, the first boundary coincides with an edge of the display panel.
[0014] In an optional embodiment, the brightness compensation for the display panel in the first display condition comprises:
[0015] brightness compensation for the display panel in the first display condition to obtain initial compensation gray scales of the display panel;
[0016] adjusting the initial compensation gray scales of each of the sub-color cast regions to obtain color cast compensation gray scales of the color cast region;
[0017] determining the color cast compensation gray scales of the color cast region and the initial compensation gray scales of the region outside the color cast region as the first compensation gray scales;
[0018] Preferably, the brightness compensation is performed for each pixel on the display panel in the first display condition respectively.
[0019] In an optional embodiment, the adjusting the initial compensation gray scales of each of the sub-color cast regions to obtain color cast compensation gray scales of the color cast region comprises:
[0020] for each of the sub-color cast regions, setting a compensation gray scale adjustment amount and a smoothing processing coefficient according to the size of the color cast degree of the sub-color cast region to control the compensation degree of different sub-color cast regions;
[0021] adjusting the initial compensation gray scales of each of the sub-color cast regions based on the compensation gray scale adjustment amount and the smoothing processing coefficient to obtain color cast compensation gray scales;
[0022] Preferably, the pixels in the sub-color cast region comprise sub-pixels of a first color, sub-pixels of a second color and sub-pixels of a third color, and the compensation gray scale adjustment amount of the sub-pixels of the first color, the sub-pixels of the second color and the sub-pixels of the third color is set according to the color cast degree of the sub-color cast region respectively;
[0023] Preferably, the smoothing processing coefficient of the sub-color cast region is set based on the position of the sub-color cast region in the color cast region;
[0024] Preferably, the smoothing processing coefficient of the sub-color cast region is set based on the distance between the sub-color cast region and the first boundary.
[0025] In an optional embodiment, the first display condition comprises a first brightness and a first display area, and the second display condition comprises a second brightness and a second display area.
[0026] The first display area comprises the entire area of the display panel, and the second display area comprises the color cast area.
[0027] Preferably, the first brightness is the same as the second brightness.
[0028] In an optional embodiment, the method further comprises, after the brightness compensation on the color cast area on the display panel in the second display condition:
[0029] The step of judging whether the color cast of the display panel after the brightness compensation meets the preset standard is continuously executed until the result of the brightness compensation meets the preset standard or the number of times of the brightness compensation reaches a preset number of times.
[0030] In an optional embodiment, the method further comprises:
[0031] If the color cast of the display panel meets the preset standard after the brightness compensation on the color cast area on the display panel in the second display condition, a second compensation gray scale is determined based on the compensation result of the brightness compensation on the color cast area on the display panel in the second display condition, and the sum of the first compensation gray scale and the second compensation gray scale is taken as a final compensation gray scale.
[0032] In an optional embodiment, the step of judging whether the color cast of the display panel after the brightness compensation meets the preset standard comprises:
[0033] Selecting a plurality of sample points on the display panel in the third display condition after the brightness compensation;
[0034] Calculating a maximum value of color difference perception degree quantization values of the plurality of sample points and the center point of the display panel;
[0035] Judging whether the maximum value is within a range of the preset standard; if the maximum value is within the range of the preset standard, it is determined that the color cast of the display panel meets the preset standard; if the maximum value is not within the range of the preset standard, it is determined that the color cast of the display panel does not meet the preset standard.
[0036] Preferably, the preset standard is that the color difference perception degree quantization value is greater than or equal to 0 and less than 50.
[0037] Preferably, the third display condition comprises a third brightness and a third display area, the third brightness being different from the second brightness, and the third display area comprising the entire area of the display panel.
[0038] In an optional embodiment, the method further comprises:
[0039] If the color deviation of the display panel after the brightness compensation of the display panel in the first display condition meets the preset standard, the first compensation gray scale is confirmed as a final compensation gray scale.
[0040] According to a second aspect of the embodiments of the present application, a computer storage medium is provided, which stores a computer program, and the program is executed by a processor to implement the method according to the first aspect.
[0041] According to the scheme provided by the embodiments of the present application, the color deviation area on the display panel is confirmed, the display panel in the first display condition is compensated in brightness, the first compensation gray scale is determined based on the compensation result, it is judged whether the color deviation of the display panel after the brightness compensation meets the preset standard, if not, the color deviation area on the display panel is lightened, and the color deviation area on the display panel in the second display condition is compensated in brightness, wherein the first display condition is different from the second display condition. Thus, when the compensation effect of the display panel is not good, the color deviation area on the display panel is lightened, and the color deviation area is compensated accordingly, thereby optimizing the compensation effect of the color deviation area and improving the display effect of the display panel under the condition of reducing the calculation amount. BRIEF DESCRIPTION OF DRAWINGS
[0042] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the drawings needed in the embodiments or the prior art description will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments described in the embodiments of the present application, and other drawings can also be obtained by those skilled in the art based on these drawings.
[0043] Figure 1 It is a schematic diagram of an exemplary display panel with color deviation phenomenon;
[0044] Figure 2 It is a flow chart of a display compensation method according to an embodiment of the present application;
[0045] Figure 3 It is a structural schematic diagram of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0046] In the following, the technical solutions in the embodiments of the present application will be described clearly and completely in conjunction with the drawings of the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, rather than all the embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those of ordinary skill in the art should fall within the scope of protection of the present application.
[0047] The terms used in the embodiments of the present application are merely for the purpose of describing particular embodiments and are not intended to limit the present application. The singular forms "a," "an," and "the" used in the embodiments of the present application and the appended claims are intended to include plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and / or" used in the embodiments of the present application means and includes any or all possible combinations of one or more associated listed items.
[0048] In the field of OLEDs, due to the difference in light-emitting characteristics between pixels and the related manufacturing process, color deviation phenomenon is prone to occur on the display panel, which refers to the deviation between the display color of the whole or part of the display panel and the normal color, so that the whole or part of the display panel appears greenish, reddish, etc. For example, the uneven arrangement of pixels in some areas of the display panel, or the deformation of some materials in the display panel due to temperature change, may all lead to color deviation phenomenon of the display panel, thereby affecting the display effect of the display panel. Figure 1 A display panel using COE (Color Filter on Encapsulation) is shown, and color deviation phenomenon of greenish color is prone to occur in the fixed area around the display panel, which is more obvious under different brightness and different gray scales, affecting the viewing experience of users.
[0049] The specific implementation of the embodiments of the present application will be further described below in conjunction with the drawings of the embodiments of the present application.
[0050] Referring to Figure 2 , a step flowchart of a display compensation method according to an embodiment of the present application is shown, and the display compensation method of the present application includes the following steps:
[0051] Step S202. Confirm the color deviation area on the display panel.
[0052] In colorimetry, color is considered as a mixture of different wavelengths of light, and color coordinates provide a method to quantify color, by comparing color coordinate values, differences between different colors can be compared. In one possible way, color deviation regions on a display panel can be identified based on color coordinates. Color coordinates describe the spatial position of a color, in colorimetry, Lab color space is often used to describe color, which includes L * , a * and b * components. Among them, L * represents the brightness of the color, the range is usually 0 (black) -100 (white). a * represents the red or green component of the color, where a * positive value indicates that the color is biased towards red, the greater the positive value, the more red component in the current color, and correspondingly, the less green component; a * negative value indicates that the color is biased towards green, the smaller the negative value, the more green component in the color, and correspondingly, the less red component. b * represents the yellow or blue component of the color, where b * positive value indicates that the color is biased towards yellow, the greater the positive value, the more yellow component in the current color, and correspondingly, the less blue component; b * negative value indicates that the color is biased towards blue, the smaller the negative value, the more blue component in the current color, and correspondingly, the less yellow component.
[0053] Thus, the color deviation region can be identified based on the a * component and the b * component of the color coordinates of the pixels on the display panel. For example, after lighting up the display panel, the color coordinate values of each pixel on the display panel are obtained by using a colorimeter, a spectrometer or the like, or the color coordinate data of each pixel is obtained by analyzing the image displayed by the display panel through color analysis software, image analysis software such as OpenCV, ImageJ, etc. The color coordinate data of each pixel on the display panel is compared with the standard color coordinate data, wherein the standard color coordinate data can be set by the person skilled in the art according to the actual needs as the color coordinate data that the display panel should display more accurately, or the color coordinate data of the pixels at specific positions or representative positions of the display panel is selected as the standard color coordinate data. Specifically, the a1 * component and the b1 * component in the color coordinate data of each pixel on the display panel are compared with the a2 * component and the b2 * component in the standard color coordinate data, respectively. For example, if the a1 * component represents a positive value, and the a1 * component is greater than the a2 * component, and the b1* component represents a negative value, and b1 * component is less than b2 * component, so that, compared with the standard color coordinate data, the color of the pixel is biased towards red and blue. Based on this, the color coordinate data of the pixel to be confirmed to be biased can be obtained on the display panel.
[0054] In a feasible manner, a color difference perception degree quantization value between the color coordinate data of the pixel to be confirmed to be biased and the standard color coordinate data can be further obtained to further confirm the color bias area. The color difference perception degree quantization value can be used to quantify the degree of perception of the color difference between the color of the pixel to be confirmed to be biased and the color represented by the standard color coordinate data by the human eye. If the color difference perception degree quantization value is larger, it represents that the degree of perception of the color difference between the color of the pixel to be confirmed to be biased and the color represented by the standard color coordinate data by the human eye is higher, that is, the possibility of the color difference being perceived by the human eye is greater, and it can be determined that the pixel to be confirmed to be biased is a pixel with color bias phenomenon. The area where the pixel with color bias phenomenon is located is determined as the color bias area.
[0055] For example, the Delta E value can be taken as the color difference perception degree quantization value, and the color bias area can be further confirmed based on the Delta E value between the color coordinate data of the pixel to be confirmed to be biased and the standard color coordinate data. The Delta E is a color difference measurement standard proposed by the International Commission on Illumination, and is used to quantify the difference between the displayed color and the input standard color. The higher the Delta E value is, the greater the difference between the color of the pixel to be confirmed to be biased and the color represented by the standard color coordinate data is, the higher the degree of perception of the color difference between the color of the pixel to be confirmed to be biased and the color represented by the standard color coordinate data by the human eye is, that is, the possibility of the color difference being perceived by the human eye is greater, and it can be determined that the pixel to be confirmed to be biased is a pixel with color bias phenomenon. Specifically, the calculation formula of Delta E1 between the color coordinate data of the pixel to be confirmed to be biased and the standard color coordinate data is as follows:
[0056]
[0057] wherein, represents the brightness in the color coordinate data of the pixel to be confirmed to be biased, represents the brightness in the standard color coordinate data, represents the a * component in the color coordinate data of the pixel to be confirmed to be biased, represents the a * component in the standard color coordinate data, represents the b * component in the color coordinate data of the pixel to be confirmed to be biased, represents the b * component in the standard color coordinate data.
[0058] Further, in an implementable manner, after calculating the Delta E1 between the color coordinate data of the to-be-confirmed color cast pixel and the standard color coordinate data based on the above formula, a pixel in the to-be-confirmed color cast pixel in which the color cast phenomenon exists is confirmed based on the Delta E1. Specifically, if the value of the Delta E1 is not in a preset range, it is confirmed that the to-be-confirmed color cast pixel corresponding to the value of the Delta E1 is the pixel in which the color cast phenomenon exists. The preset range can be appropriately set by a person skilled in the art according to actual needs or the type of the display panel. For example, if the value of the Delta E1 is greater than or equal to 0 and less than 50, the possibility that the human eye perceives the existence of color difference in this range is small, and it can be determined that the to-be-confirmed color cast pixel corresponding to the value of the Delta E1 does not exist in the color cast phenomenon; if the value of the Delta E1 is greater than or equal to 50, the possibility that the human eye perceives the existence of color difference in this range is large, and it can be determined that the to-be-confirmed color cast pixel corresponding to the value of the Delta E1 is the pixel in which the color cast phenomenon exists.
[0059] In an implementable manner, after the color cast region is confirmed, the color cast region is divided into at least one sub-color cast region according to the size of a preset region before the brightness compensation of the display panel is performed, so as to perform the brightness compensation on each sub-color cast region respectively. For example, the preset region is a region in which a single pixel is located, that is, the brightness compensation is performed on each pixel in the color cast region respectively in the subsequent process, so as to accurately adjust each pixel in which the color cast phenomenon exists, so that the display effect of the compensated display panel is more uniform, thereby presenting a more realistic color effect.
[0060] In an implementable manner, the color cast region includes a region between a first boundary and a second boundary on the display panel, a first region enclosed by the first boundary on the display panel includes a second region enclosed by the second boundary on the display panel, that is, the first boundary is a longer outer boundary of the color cast region, and the second boundary is a shorter outer boundary of the color cast region. For example, the first boundary coincides with the edge of the display panel, that is, the longer outer boundary of the color cast region coincides with the edge of the display panel. For example, referring to the schematic diagram of the display panel in which the color cast phenomenon occurs shown in FIG. 1, the color cast region is a greenish color cast region close to the edge of the display panel, and the longer outer boundary of the color cast region coincides with the edge of the display panel. Figure 1
[0061] Step S204. Perform brightness compensation on the display panel in the first display condition, and determine a first compensation gray scale based on a compensation result.
[0062] In an implementable manner, the display panel in the first display condition is subjected to brightness compensation to obtain initial compensation gray scales of the display panel; the initial compensation gray scales of each sub-color cast region are adjusted to obtain color cast compensation gray scales of the color cast region; and the color cast compensation gray scales of the color cast region and the initial compensation gray scales of regions other than the color cast region are determined as the first compensation gray scales. In this way, for the color cast region, the initial compensation gray scales are further adjusted to achieve more accurate compensation for the color cast region.
[0063] The display panel is lit based on the first display condition. In an implementable manner, the first display condition includes a first brightness and a first display region. For example, the first display region includes the entire region of the display panel, and specifically, the region of the display panel lit in the first display condition includes the entire region of the display panel, so that the display panel as a whole is subjected to brightness compensation. The first display condition can be appropriately set by those skilled in the art according to actual needs, for example, the display panel is lit based on a condition of 500 nits of brightness and 32 gray scales, and a white picture is displayed on the display panel. The brightness of 500 nits is close to the comfortable perception range of the human eye under general indoor lighting conditions, and is therefore commonly used as one of the standardized conditions when compensation is performed. Common gray scales include 16 gray scales, 32 gray scales, 64 gray scales, 128 gray scales, etc. When brightness compensation is performed, in order to exclude the influence of external light in the environment on the display effect of the display panel, the display panel after being lit can be placed in a dark room or other light-free or weak-light environment.
[0064] Further, the display panel is photographed by a camera, and brightness information of each pixel on the display panel is collected through the photographed picture. The brightness information includes R (red), G (green), and B (blue) brightness information of each pixel, and based on the R, G, and B brightness information, a curve of the relationship between the brightness and the gray scale of each pixel, i.e., a gamma curve, can be fitted, which describes how the brightness of each pixel changes with the change of the gray scale. The gamma curve of each pixel is compared with a standard gamma curve set in advance, and a gray scale value required for adjusting the gamma curve of each pixel to coincide with the standard gamma curve is obtained as the initial compensation gray scale of the pixel. In this way, each pixel on the display panel in the first display condition is subjected to brightness compensation respectively to obtain the initial compensation gray scale of each pixel in the color cast region. For example, the initial compensation gray scale of pixel A in the color cast region is (r, g, b), where the initial compensation gray scale of the red channel of pixel A is r gray scale, the initial compensation gray scale of the green channel is g gray scale, and the initial compensation gray scale of the blue channel is b gray scale.
[0065] In an implementation, for each sub-color cast region, the compensation gray scale adjustment amount and the smoothing processing coefficient are set according to the size of the color cast degree of the sub-color cast region, to control the compensation degree of different sub-color cast regions; the initial compensation gray scale of each sub-color cast region is adjusted based on the compensation gray scale adjustment amount and the smoothing processing coefficient, to obtain the color cast compensation gray scale.
[0066] In an implementation, the pixels in the sub-color cast region include sub-pixels of a first color, sub-pixels of a second color, and sub-pixels of a third color, and the compensation gray scale adjustment amount of the sub-pixels of the first color, the sub-pixels of the second color, and the sub-pixels of the third color is set according to the color cast degree of the sub-color cast region. For example, the pixels in the sub-color cast region include red sub-pixels, green sub-pixels, and blue sub-pixels, and the compensation gray scale adjustment amount of the red sub-pixels, the green sub-pixels, and the blue sub-pixels of each pixel is set according to the color cast degree of the sub-color cast region, to adjust the initial compensation gray scale of the pixel. Further, in an implementation, the compensation gray scale adjustment amount can be implemented as the product of a compensation gray scale addition or subtraction number and a compensation multiple. The compensation gray scale addition or subtraction number can be implemented as the adjustment amount set for the pixel, and the compensation multiple is used to scale and adjust the compensation gray scale addition or subtraction number, to flexibly set the compensation gray scale adjustment amount, so as to realize different degrees of compensation for different pixels. For example, for a pixel A in the sub-color cast region with an initial compensation gray scale of (r, g, b), the initial compensation gray scale of the red channel and the blue channel needs to be increased by x gray scales, the initial compensation gray scale of the green channel needs to be reduced by y gray scales, and the compensation multiple is n, then the initial compensation gray scale of the pixel A after setting the compensation gray scale adjustment amount can be represented as (r+nx, g-ny, b+nx). In an implementation, the compensation gray scale addition or subtraction number can be determined based on the a * component and the b * component of the pixel in the Lab color space. For example, if the a * component of the pixel with color cast is high, the gray scale addition or subtraction number can be set to adjust the initial compensation gray scale of the red channel and the green channel. In an implementation, the gray scale addition or subtraction number and the compensation multiple can be appropriately set by those skilled in the art according to actual needs, for example, based on laboratory data or big data statistics. In an implementation, the compensation gray scale addition or subtraction number is set according to the deviation of the a * component and the b * component of the pixel compared with the standard color coordinate data, for example, according to the absolute value of the difference between the a * component of the pixel and the a * component in the standard color coordinate data.
[0067] Referring to Figure 1The display panel shown in the diagram produces a color cast phenomenon. In actual cases, the color cast of the display panel is often not uniform. For example, the color cast of the pixels in the color cast region gradually weakens from the position close to the edge fixed region to the position far from the edge fixed region. That is, the color cast of the color cast region gradually weakens from the position close to the first boundary to the position close to the second boundary. Thus, in a feasible manner, for each sub color cast region, a smoothing processing coefficient can be set to adjust the initial compensation gray scale of each pixel with color cast phenomenon for the phenomenon of change in color cast degree, so as to ensure that the compensation value gradually changes in the color cast region when the color cast region is compensated, so that the transition of the compensated color cast region is more natural and smooth, the processing trace is reduced, and the visual comfort is improved. In a feasible manner, for each sub color cast region, the smoothing processing coefficient of the sub color cast region can be set based on the position of the sub color cast region in the color cast region. For example, the smoothing processing coefficient of the sub color cast region is set based on the distance between the sub color cast region and the first boundary. Specifically, in a feasible manner, the minimum value of the distance of all pixels in the sub color cast region from the first boundary is obtained as the distance between the sub color cast region and the first boundary, and the smoothing processing coefficient is assigned to each sub color cast region based on the distance between the sub color cast region and the first boundary. Specifically, the distance between the sub color cast region and the first boundary is smaller, the color cast degree of the sub color cast region is larger, and a slightly larger smoothing processing coefficient can be set. For example, the sub color cast region is a region where a single pixel is located, that is, when the smoothing processing coefficient is set for each pixel in the color cast region, the smoothing processing coefficient of the pixel on the first boundary in the color cast region is set as K1=1, that is, after the initial compensation gray scale is adjusted by the compensation gray scale adjustment amount, the product of the adjusted initial compensation gray scale and K1 is taken as the color cast compensation gray scale of the pixel; the smoothing processing coefficient of the pixel on the second boundary in the color cast region is set as K2=0.5, that is, after the initial compensation gray scale is adjusted by the compensation gray scale adjustment amount, the product of the adjusted initial compensation gray scale and K2 is taken as the color cast compensation gray scale of the pixel. Specifically, the smoothing processing coefficient of each sub color cast region can be set based on a smoothing function such as a linear function or a Gaussian function to achieve smooth transition of the color cast region.
[0068] Based on this, the initial compensation gray scale of each sub color cast region is adjusted by the compensation gray scale adjustment amount and the smoothing processing coefficient to obtain the color cast compensation gray scale, so as to control the compensation degree of different sub color cast regions and obtain more accurate and natural compensation effect for different sub color cast regions.
[0069] Step S206. Determine whether the color deviation of the display panel after brightness compensation meets the preset standard; if not, perform a lighting operation on the color cast region on the display panel, and perform brightness compensation on the color cast region on the display panel in the second display condition.
[0070] In an implementation, a plurality of sample points are selected on the display panel in the third display condition after the brightness compensation; a maximum value of quantized values of color difference perception degrees of the plurality of sample points and a center point of the display panel is calculated; it is determined whether the maximum value is within a preset standard range; if the maximum value is within the preset standard range, it is determined that the color deviation of the display panel meets the preset standard; if the maximum value is not within the preset standard range, it is determined that the color deviation of the display panel does not meet the preset standard.
[0071] The first display condition is different from the second display condition. In an implementation, the second display condition includes a second brightness and a second display area, and the third display condition includes a third brightness and a third display area. Specifically, the first display area and the third display area include the entire area of the display panel, and the second display area includes a color deviation area, that is, in the first display condition and the third display condition, the area of the display panel that is lighted up includes the entire area of the display panel; in the second display condition, the area of the display panel that is lighted up includes the color deviation area. Thus, when the display panel is compensated again, only the color deviation area is lighted up to more accurately obtain the brightness information of the pixels in the color deviation area on the display panel.
[0072] In an implementation, the first brightness is the same as the second brightness, and the third brightness is different from the second brightness. For example, the third brightness can be set to a brightness that is more conducive to confirming the color deviation area. Specifically, the third brightness is set to a lower brightness, for example, 2 nits of brightness, etc. In the case of a lower brightness of the display panel, display unevenness and color deviation phenomenon are more obvious, so that the color deviation phenomenon that is not found in the first display condition becomes more obvious, which helps to more accurately and comprehensively obtain the color deviation phenomenon on the display panel.
[0073] Specifically, in an implementation, a plurality of pixels on the display panel are selected as sample points. The plurality of selected pixels can be a plurality of pixels on an area outside the hole area on the display panel. For example, 9, 13, 25, 91 or 135 pixel points, etc. can be randomly or uniformly selected on the area outside the hole area on the display panel. Thus, by selecting a plurality of sample points, the display effect of the display panel is more comprehensively evaluated, and it is preliminarily determined whether the color deviation of the display panel after the brightness compensation meets the preset standard. The number of selected sample points can be appropriately selected according to actual conditions, which is not limited herein. The hole area position can be used to realize different functions, such as setting a camera, a receiver, etc., so the hole area position usually has no brightness information, and the area outside the hole area on the display panel is selected when the sample points are selected.
[0074] For example, 135 pixels are selected as sample points, and the color coordinate values of the 135 sample points and the center point of the display panel are confirmed, and the Delta E2 value of each pixel in the sample points and the pixel of the center point of the display panel is calculated as the color difference perception degree quantitative value based on Formula Two. Formula Two is specifically as follows:
[0075]
[0076] wherein, represents the brightness in the color coordinate data of the pixel in the sample point, represents the brightness in the color coordinate data of the pixel of the center point of the display panel, represents the a component in the color coordinate data of the pixel in the sample point, * represents the a component in the color coordinate data of the pixel of the center point of the display panel, * represents the b component in the color coordinate data of the pixel in the sample point, * represents the b component in the color coordinate data of the pixel of the center point of the display panel, *
[0077] If the color deviation of the display panel after the brightness compensation of the display panel in the first display condition meets the preset standard, the first compensation gray scale is confirmed as the final compensation gray scale.
[0078] Specifically, in one possible way, if the color difference perception degree quantitative values of all sample points and the center point of the display panel are within the preset standard range, it is determined that the color deviation of the display panel meets the preset standard, and the first compensation gray scale is confirmed as the final compensation gray scale. On the contrary, if the color difference perception degree quantitative values of all sample points and the center point of the display panel are not within the preset standard range, it is determined that the color deviation of the display panel does not meet the preset standard. For example, if the preset standard is that the color difference perception degree quantitative value is greater than or equal to 0 and less than 50, and in the 135 sample points, the maximum value of the color difference perception degree quantitative values of all sample points and the center point of the display panel is 30, which is within the range of the preset standard, and thus the first compensation gray scale can be confirmed as the final compensation gray scale. Thus, the first compensation gray scale which can achieve a better compensation effect is confirmed as the final compensation gray scale, and the consistency of the display color of the display panel is improved to optimize the compensation effect of the display panel.
[0079] In a case where the color deviation of the display panel does not conform to the preset standard, that is, in a case where the display panel still has color deviation, only the color deviation region is subjected to the lighting operation, and the color deviation region on the display panel in the second display condition is subjected to the brightness compensation. Only the color deviation region is subjected to the lighting operation, and the regions other than the color deviation region on the display panel can be blackened. Thus, the brightness information of the pixels in the color deviation region on the display panel is more accurately obtained, so that the brightness compensation for the color deviation region is more accurate.
[0080] In an available manner, the color deviation region on the display panel is lit based on the second display condition of 500 nits of brightness, 32 gray scales, and the second display region including the color deviation region. Thus, after the brightness compensation, the corrected gray scale of the color deviation region on the display panel in the second display condition can be obtained. The specific implementation manner of obtaining the corrected gray scale of the color deviation region on the display panel in the second display condition can refer to the specific implementation manner of obtaining the color deviation compensation gray scale of the color deviation region on the display panel in the first display condition, which will not be described herein.
[0081] After the color deviation region on the display panel in the second display condition is subjected to the brightness compensation, the step of returning to judging whether the color deviation of the display panel after the brightness compensation conforms to the preset standard is continuously executed until the result of the brightness compensation conforms to the preset standard or the number of times of the brightness compensation reaches the preset number of times. Thus, the compensation effect for the display panel is optimized by performing the brightness compensation again. After the number of times of the brightness compensation reaches the preset number of times, the display panel is no longer subjected to the brightness compensation. The specific implementation manner of subjecting the color deviation region on the display panel in the second display condition to the brightness compensation can refer to the specific implementation manner of subjecting the display panel in the first display condition to the brightness compensation, which will not be described herein.
[0082] If the color deviation of the display panel conforms to the preset standard after the color deviation region on the display panel in the second display condition is subjected to the brightness compensation, the second compensation gray scale is determined based on the compensation result of subjecting the color deviation region on the display panel in the second display condition to the brightness compensation, and the sum of the first compensation gray scale and the second compensation gray scale is taken as the final compensation gray scale.
[0083] Specifically, in an available manner, the corrected gray scale obtained by subjecting the color deviation region on the display panel in the second display condition to the brightness compensation is confirmed as the second compensation gray scale, and the sum of the first compensation gray scale and all the second compensation gray scales is taken as the final compensation gray scale. Thus, the sum of the first compensation gray scale and all the second compensation gray scales is taken as the final compensation gray scale, the effect of the first compensation gray scale is supplemented by the second compensation gray scale, and the compensation effect for the display panel is optimized.
[0084] In a feasible mode, the final compensation gray scale is burned into the flash memory for quick reading when needed to adjust the display effect of the display panel.
[0085] As can be seen from the above, through the scheme of the embodiments of the present application, the color deviation area on the display panel is determined; the display panel in the first display condition is subjected to brightness compensation, and the first compensation gray scale is determined based on the compensation result; it is judged whether the color deviation of the display panel after brightness compensation meets the preset standard; if not, the color deviation area on the display panel is subjected to lighting operation, and the color deviation area on the display panel in the second display condition is subjected to brightness compensation; wherein the first display condition is different from the second display condition. Thus, when the compensation effect of the display panel is poor, the color deviation area on the display panel is subjected to lighting operation, and the color deviation area is subjected to targeted compensation, thereby improving the compensation effect of the color deviation area under the condition of reducing the calculation amount, and improving the display effect of the display panel.
[0086] Reference Figure 3 , a structural schematic diagram of an electronic device according to an embodiment of the present application is shown, and the specific implementation of the electronic device is not limited by the specific embodiments of the present application.
[0087] As Figure 3 shown, the electronic device can include a processor 302, a communications interface 304, a memory 306, and a communications bus 308.
[0088] Among them:
[0089] The processor 302, the communications interface 304, and the memory 306 complete the communication among each other through the communications bus 308.
[0090] The communications interface 304 is configured to communicate with other electronic devices or servers.
[0091] The processor 302 is configured to execute the program 310, and specifically can execute the related steps in any of the above method embodiments.
[0092] Specifically, the program 310 can include program code, and the program code includes computer operation instructions.
[0093] The processor 302 can be a CPU, or a GPU (Graphic Processing Unit), or an ASIC (Application Specific Integrated Circuit), or one or more integrated circuits configured to implement one or more embodiments of the present application. The one or more processors included in the smart device can be processors of the same type, such as one or more CPUs; or processors of different types, such as one or more CPUs and one or more ASICs.
[0094] The memory 306 is configured to store a program 310. The memory 306 can include a high-speed RAM memory, and can further include a non-volatile memory, such as at least one disk memory.
[0095] The program 310 can include a plurality of computer instructions, and the program 310 can specifically cause the processor 302 to perform operations corresponding to the method described in any one of the foregoing method embodiments.
[0096] The specific implementation of each step in the program 310 can refer to the corresponding description in the corresponding step and unit in the foregoing method embodiments, and has corresponding beneficial effects, which will not be described here. Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the device and the module described above can refer to the corresponding process description in the foregoing method embodiments, which will not be described here.
[0097] The embodiments of the present application further provide a computer storage medium having a computer program stored thereon, and the program is executed by a processor to implement the method described in any one of the foregoing method embodiments. The computer storage medium includes, but is not limited to, a CD-ROM (Compact Disc Read-Only Memory), a RAM (Random Access Memory), a floppy disk, a hard disk, or a magneto-optical disk, etc.
[0098] It should be noted that, according to the needs of implementation, each component / step described in the embodiments of the present application can be split into more components / steps, or two or more components / steps or part of the operations of the components / steps can be combined into a new component / step, to achieve the purpose of the embodiments of the present application.
[0099] The methods according to the embodiments of the present application described above can be implemented in hardware, firmware, or software, or a combination thereof, and can be stored in a recording medium such as a CD-ROM, RAM, floppy disk, hard disk, or magneto-optical disk, or be downloaded by a network from a remote recording medium or non-transitory machine-readable medium originally stored in a local recording medium and then stored in a local recording medium, so that the methods described herein can be stored in a recording medium on which such software processing using a general-purpose computer, a special-purpose processor, or programmable or special-purpose hardware such as an Application Specific Integrated Circuit (ASIC) or a Field Programmable Gate Array (FPGA) is performed. It can be understood that the computer, processor, microprocessor controller, or programmable hardware includes a storage component (for example, Random Access Memory (RAM), Read-Only Memory (ROM), flash memory, etc.) that can store or receive software or computer code, which, when accessed and executed by the computer, processor, or hardware, implements the methods described herein. Furthermore, when a general-purpose computer accesses code for implementing the methods shown herein, the execution of the code converts the general-purpose computer into a special-purpose computer for executing the methods shown herein.
[0100] Those skilled in the art can appreciate that the units and method steps of the examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether the functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. A skilled person can use different methods to implement the described functions for a specific application, but such implementation should not be considered beyond the scope of the embodiments of the present application.
[0101] The above embodiments are only used to illustrate but not limit the embodiments of the present application, and a person of ordinary skill in the art can make various changes and modifications without departing from the spirit and scope of the embodiments of the present application, therefore all equivalent technical solutions belong to the scope of the embodiments of the present application, and the patent protection scope of the embodiments of the present application should be defined by the claims.
Claims
1. A display compensation method, characterized by, The method comprises: Confirming a color deviation area on a display panel; Performing brightness compensation on the display panel in a first display condition, and determining a first compensation gray scale based on a compensation result; Determining whether the color deviation of the display panel after brightness compensation meets a preset standard; if not, performing a lighting operation on the color deviation area on the display panel, and performing brightness compensation on the color deviation area on the display panel in a second display condition; wherein the first display condition is different from the second display condition; The first display condition comprises a first brightness and a first display area, and the second display condition comprises a second brightness and a second display area; wherein the first display area comprises all areas of the display panel, and the second display area comprises the color deviation area; the first brightness is the same as the second brightness; After performing brightness compensation on the color deviation area on the display panel in the second display condition, the method further comprises: returning to the step of determining whether the color deviation of the display panel after brightness compensation meets the preset standard, and continuing to execute until the compensation result meets the preset standard or the number of times of brightness compensation reaches a preset number of times; If the color deviation of the display panel meets the preset standard after performing brightness compensation on the color deviation area on the display panel in the second display condition, determining a second compensation gray scale based on the compensation result of performing brightness compensation on the color deviation area on the display panel in the second display condition, and taking the sum of the first compensation gray scale and the second compensation gray scale as a final compensation gray scale.
2. The method of claim 1, wherein, Before performing brightness compensation on the display panel in the first display condition, the method further comprises: Dividing the color deviation area into at least one sub-color deviation area according to the size of a preset area, so as to perform brightness compensation on each sub-color deviation area respectively; The preset area is a single pixel area; The color deviation area comprises an area between a first boundary and a second boundary on the display panel, a first area enclosed by the first boundary on the display panel comprises a second area enclosed by the second boundary on the display panel; The first boundary coincides with the edge of the display panel.
3. The method of claim 2, wherein, The method of performing brightness compensation on the display panel in the first display condition and determining a first compensation gray scale based on a compensation result comprises: Performing brightness compensation on the display panel in the first display condition to obtain an initial compensation gray scale of the display panel; Adjusting the initial compensation gray scale of each sub-color deviation area to obtain a color deviation compensation gray scale of the color deviation area; Determining the color deviation compensation gray scale of the color deviation area and the initial compensation gray scale of an area other than the color deviation area as a first compensation gray scale; Performing the brightness compensation on each pixel on the display panel in the first display condition respectively.
4. The method of claim 3, wherein, The method of adjusting the initial compensation gray scale of each sub-color deviation area to obtain a color deviation compensation gray scale of the color deviation area comprises: For each of the sub-color-shift regions, a compensation gray scale adjustment amount and a smoothing processing coefficient are set according to the size of the color shift degree of the sub-color-shift region, to control the compensation degree of different sub-color-shift regions; The initial compensation gray scale of each of the sub-color-shift regions is adjusted based on the compensation gray scale adjustment amount and the smoothing processing coefficient, to obtain a color shift compensation gray scale; The pixels in the sub-color-shift region include sub-pixels of a first color, sub-pixels of a second color, and sub-pixels of a third color, and the compensation gray scale adjustment amount of the sub-pixels of the first color, the sub-pixels of the second color, and the sub-pixels of the third color is set according to the color shift degree of the sub-color-shift region; The smoothing processing coefficient of the sub-color-shift region is set based on the position of the sub-color-shift region in the color shift region; The smoothing processing coefficient of the sub-color-shift region is set based on the distance between the sub-color-shift region and the first boundary.
5. The method of claim 1, wherein, The judgment whether the color deviation of the display panel after the luminance compensation conforms to the preset standard comprises: selecting a plurality of sample points on the display panel in a third display condition after the luminance compensation; calculating a maximum value of color difference perception degree quantization values of the plurality of sample points and a center point of the display panel; judging whether the maximum value is within a range of the preset standard; if the maximum value is within the range of the preset standard, it is determined that the color deviation of the display panel conforms to the preset standard; if the maximum value is not within the range of the preset standard, it is determined that the color deviation of the display panel does not conform to the preset standard; the preset standard is that the color difference perception degree quantization value is greater than or equal to 0 and less than 50; the third display condition includes a third luminance and a third display region, the third luminance is different from the second luminance, and the third display region includes all regions of the display panel.
6. The method of claim 5, wherein, The method further comprises: if the color deviation of the display panel conforms to the preset standard after the luminance compensation on the display panel in the first display condition, the first compensation gray scale is confirmed as a final compensation gray scale.
7. A computer storage medium, characterized in that A computer program is stored thereon, which is executed by a processor to implement the method of any one of claims 1-6.
Citation Information
Patent Citations
Display panel compensation method and device, equipment and storage medium
CN116052572A
Display device and method of operating a display device
US20240282254A1