Display compensation method, electronic equipment and storage medium
By confirming the color cast area on the OLED display panel, brightness compensation and grayscale adjustments are performed, the problem of color casting on the display panel is solved, and the uniformity and authenticity of the display effect are improved.
Patent Information
- Application Number
- CN202510126320.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-24
- Publication Date
- 2025-04-08
- Estimated Expiration
- 2045-01-24
AI Technical Summary
The OLED display panel is prone to color cast during use, affecting the display effect.
By confirming the color cast area on the display panel, perform brightness compensation, and adjust the gray scale according to the compensation result to reduce color deviation. If the color cast area exists, perform a lighting operation and perform finer brightness compensation on it.
It effectively reduces the color deviation of the color cast area, improves the display effect of the display panel, and ensures more uniform and true color performance.
Smart Images

Figure CN119785713A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of display technology, and in particular to a display compensation method, an electronic device, and a storage medium. Background Art
[0002] Organic Light Emitting Display (OLED) and flat panel display devices based on technologies such as Light Emitting Diode (LED) have the advantages of high image quality, power saving, thin body and wide application range, and are widely used in various consumer electronic products such as mobile phones, televisions, laptops, desktop computers, etc., becoming the mainstream in display devices.
[0003] However, the performance of current OLED display products needs to be improved. Summary of the invention
[0004] In view of this, 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 an embodiment of the present application, a display compensation method is provided, comprising:
[0006] Identify the color cast areas on the display panel;
[0007] Performing brightness compensation on the display panel in a first display condition, and determining a first compensated grayscale based on the compensation result;
[0008] Determine whether the color deviation of the display panel after brightness compensation meets the preset standard; if it does not meet the preset standard, light up the color-biased area on the display panel, and perform brightness compensation on the color-biased 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 includes:
[0010] Dividing the color cast area into at least one sub-color cast area according to the size of a preset area, so as to perform brightness compensation for each sub-color cast area;
[0011] Preferably, the preset area is an area where a single pixel is located;
[0012] Preferably, the color cast area includes an area between a first boundary and a second boundary on the display panel, and a first area enclosed by the first boundary on the display panel includes a second area 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, performing brightness compensation on the display panel in the first display condition and determining a first compensated grayscale based on the compensation result includes:
[0015] Performing brightness compensation on the display panel in the first display condition to obtain an initial compensated grayscale of the display panel;
[0016] Adjusting the initial compensation grayscale of each of the sub-color cast areas to obtain the color cast compensation grayscale of the color cast area;
[0017] Determine the color cast compensation grayscale of the color cast area and the initial compensation grayscale of the area outside the color cast area as a first compensation grayscale;
[0018] Preferably, the brightness compensation is performed separately for each pixel on the display panel in the first display condition.
[0019] In an optional embodiment, adjusting the initial compensation grayscale of each of the sub-color cast areas to obtain the color cast compensation grayscale of the color cast area includes:
[0020] For each of the color cast sub-regions, a compensation grayscale adjustment amount and a smoothing coefficient are set according to the color cast degree of the color cast sub-region, so as to control the compensation degree of different color cast sub-regions;
[0021] Adjusting the initial compensation grayscale of each of the sub-color cast areas based on the compensation grayscale adjustment amount and the smoothing coefficient to obtain a color cast compensation grayscale;
[0022] Preferably, the pixels in the sub-color cast area include sub-pixels of a first color, sub-pixels of a second color, and sub-pixels of a third color, and the compensation grayscale adjustment amounts of the sub-pixels of the first color, the sub-pixels of the second color, and the sub-pixels of the third color are respectively set according to the color cast degree of the sub-color cast area;
[0023] Preferably, a smoothing 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, a smoothing coefficient of the sub-color cast area is set based on a distance between the sub-color cast area and the first boundary.
[0025] In an optional embodiment, the first display condition includes a first brightness and a first display area, and the second display condition includes a second brightness and a second display area;
[0026] Wherein, the first display area includes the entire area of the display panel, and the second display area includes the color cast area;
[0027] Preferably, the first brightness is the same as the second brightness.
[0028] In an optional embodiment, the method further includes: after performing brightness compensation on the color cast area on the display panel in the second display condition, the method further includes:
[0029] Return to the step of determining whether the color deviation of the display panel after brightness compensation meets the preset standard and continue to execute until the result of brightness compensation meets the preset standard or the number of brightness compensations reaches the preset number.
[0030] In an optional embodiment, the method further includes:
[0031] If, after brightness compensation is performed on the color cast area on the display panel under the second display condition, the color deviation of the display panel meets the preset standard, a second compensation grayscale is determined based on the compensation result of brightness compensation for the color cast area on the display panel under the second display condition, and the sum of the first compensation grayscale and the second compensation grayscale is used as the final compensation grayscale.
[0032] In an optional embodiment, the determining whether the color deviation of the display panel after brightness compensation meets a preset standard includes:
[0033] Selecting a plurality of sample points on the display panel that has been brightness compensated and is in a third display condition;
[0034] Calculate the maximum value of the color difference perception degree quantization values between the multiple sample points and the center point of the display panel;
[0035] Determining whether the maximum value is within the range of the preset standard; wherein, if the maximum value is within the range of the preset standard, determining that the color deviation of the display panel meets the preset standard; if the maximum value is not within the range of the preset standard, determining that the color deviation 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 includes a third brightness and a third display area, the third brightness is different from the second brightness, and the third display area includes the entire area of the display panel.
[0038] In an optional embodiment, the method further includes:
[0039] If the color deviation of the display panel meets a preset standard after brightness compensation is performed on the display panel in the first display condition, the first compensated grayscale is confirmed as a final compensated grayscale.
[0040] According to a second aspect of an embodiment of the present application, a computer storage medium is provided, on which a computer program is stored. When the program is executed by a processor, the method described in the first aspect is implemented.
[0041] According to the solution provided by the embodiment of the present application, the color cast area on the display panel is confirmed; the brightness compensation is performed on the display panel in the first display condition, and the first compensation grayscale is determined based on the compensation result; it is determined whether the color deviation of the display panel after the brightness compensation meets the preset standard; if it does not meet the preset standard, the color cast area on the display panel is illuminated, and the color cast area on the display panel in the second display condition is brightness compensated; wherein the first display condition is different from the second display condition. Therefore, when the compensation effect of the display panel is not good, the color cast area on the display panel is illuminated, and the color cast area is compensated in a targeted manner, thereby optimizing the compensation effect of the color cast area while reducing the amount of calculation, thereby improving the display effect of the display panel. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the embodiments of the present application. For ordinary technicians in this field, other drawings can also be obtained based on these drawings.
[0043] Figure 1 is a schematic diagram of an exemplary display panel that produces a color cast phenomenon;
[0044] Figure 2 is a flowchart of a display compensation method according to an embodiment of the present application;
[0045] Figure 3 It is a schematic diagram of the structure of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0046] In order to enable those skilled in the art to better understand the technical solutions in the embodiments of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the embodiments of the present application should fall within the scope of protection of the embodiments of the present application.
[0047] The terms used in the embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to limit the present application. The singular forms of "a", "said" and "the" used in the embodiments of the present application and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used in the embodiments of the present application refers to and includes any or all possible combinations of one or more associated listed items.
[0048] In the field of OLED, due to the differences in light-emitting characteristics between pixels and related manufacturing processes, color cast is easy to occur on the display panel. Color cast refers to the deviation between the overall or local display color of the display panel and the normal color, resulting in the overall or local phenomenon of green or red. For example, the pixel arrangement in some areas of the display panel is uneven, or some materials in the display panel are deformed due to temperature changes, which may cause the display panel to produce color cast, thereby affecting the display effect of the display panel. Figure 1 A display panel using COE (Color Filter on Encapsulation) is shown. A green color cast is easily produced in a fixed area around the display panel, which is more obvious at different brightness and grayscale, affecting the user's viewing experience.
[0049] The specific implementation of the embodiment of the present application is further explained below in conjunction with the accompanying drawings of the embodiment of the present application.
[0050] Reference Figure 2 , shows a flowchart of a display compensation method according to an embodiment of the present application, and a display compensation method according to an embodiment of the present application includes the following steps:
[0051] Step S202: Confirm the color cast area on the display panel.
[0052] In colorimetry, color is considered to be a mixture of light of different wavelengths, and color coordinates provide a method to quantify color. By comparing the color coordinate values, the difference between different colors can be compared. In one feasible method, the color cast area on the display panel can be confirmed based on the color coordinates. Color coordinates describe the spatial position of color. In colorimetry, the Lab color space is often used to describe color. The Lab color space includes L * 、a * and b * Component. Among them, L * Indicates the color brightness, usually ranging from 0 (black) to 100 (white). * Represents the red or green component of a color, where a * When it is a positive value, the color tends to be red. The larger the positive value, the more red components there are in the current color, and correspondingly, the less green components there are; a * When it is a negative value, the color tends to be green. The smaller the negative value, the more green components in the color, and correspondingly, the less red components. * Indicates the yellow or blue component of the color, where b * When it is a positive value, the color tends to be yellow. The larger the positive value, the more yellow components there are in the current color, and correspondingly, the less blue components there are; b * When it is a negative value, the color tends to be blue. The smaller the negative value, the more blue components there are in the current color, and correspondingly, the less yellow components there are.
[0053] Thus, the color coordinates of the pixels on the display panel can be used to determine the color of the pixels on the display panel. * Quantity and b * The color cast area is confirmed by using the color coordinates of each pixel on the display panel. For example, after lighting up the display panel, the color coordinate value of each pixel on the display panel is obtained by using a colorimeter, spectrometer or other instrument, or the image displayed by the display panel is analyzed by using color analysis software, image analysis software, such as OpenCV, ImageJ, etc., to obtain the color coordinate data of each pixel. 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 pre-set by a person skilled in the art as the more accurate color coordinate data that the display panel should display according to actual needs, or the color coordinate data of pixels at specific positions or representative positions of the display panel are selected as the standard color coordinate data. Specifically, the a1 in the color coordinate data of each pixel on the display panel is * Quantity and b1 * The components are respectively related to a2 in the quasi-color coordinate data * Quantity and b2 * For example, if a1 * The component represents a positive value, and a1 * The weight is greater than a2 * Component, b1* The component represents a negative value, and b1 * The weight is less than b2 * Components, therefore, compared with the standard color coordinate data, the color of the pixel is biased towards red and blue. Based on this, the color-biased pixel to be confirmed on the display panel can be obtained.
[0054] In a feasible manner, a color difference perception degree quantification value between the color coordinate data of the color-cast pixel to be confirmed and the standard color coordinate data can be further obtained to further confirm the color cast area. The color difference perception degree quantification value can be used to quantify the degree of human eye perception of the color difference between the color of the color-cast pixel to be confirmed and the color represented by the standard color coordinate data. If the color difference perception degree quantification value is larger, it means that the degree of human eye perception of the color difference between the color of the color-cast pixel to be confirmed and the color represented by the standard color coordinate data is higher, that is, the possibility that the human eye perceives the existence of color difference is greater, and the color-cast pixel to be confirmed can be determined as a pixel with color cast phenomenon. The area where the pixel with color cast phenomenon is located is determined as the color cast area.
[0055] For example, the Delta E value can be used as a quantitative value of the degree of color difference perception, and the color cast area can be further confirmed based on the Delta E value between the color coordinate data of the color cast pixel to be confirmed and the standard color coordinate data. Delta E is a color difference measurement standard proposed by the International Commission on Illumination, which is used to quantify the difference between the displayed color and the input standard color. The higher the Delta E value, the greater the difference between the color of the color cast pixel to be confirmed and the color represented by the standard color coordinate data, and the higher the degree of human eye's perception of the color difference between the color of the color cast pixel to be confirmed and the color represented by the standard color coordinate data, that is, the greater the possibility of the human eye perceiving the existence of color difference, and the color cast pixel to be confirmed can be identified as a pixel with color cast. Specifically, the calculation formula for Delta E1 between the color coordinate data of the color cast pixel to be confirmed and the standard color coordinate data is as follows: Formula 1:
[0056]
[0057] in, Indicates the brightness of the color coordinate data of the pixel to be confirmed for color cast, Indicates the brightness in the standard color coordinate data, Indicates a in the color coordinate data of the color-biased pixel to be confirmed * Quantity, Indicates the standard color coordinate data a * Quantity, b in the color coordinate data of the pixel to be confirmed as color-displaced * Quantity, Indicates the standard color coordinate data b * Quantity.
[0058] Furthermore, in a feasible manner, after Delta E1 between the color coordinate data of the color-cast pixel to be confirmed and the standard color coordinate data is calculated based on the above formula 1, the pixel with color cast phenomenon is confirmed among the color-cast pixels to be confirmed based on Delta E1. Specifically, if the value of Delta E1 is not within the preset range, the color-cast pixel to be confirmed corresponding to the Delta E1 value is confirmed to be a pixel with color cast phenomenon. Among them, the preset range can be appropriately set by those skilled in the art according to actual needs or the type of display panel. For example, if the value of 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 within this range is small, and it can be determined that the color-cast pixel to be confirmed corresponding to the Delta E1 value does not have color cast phenomenon; if the value of Delta E1 is greater than or equal to 50, the possibility that the human eye perceives the existence of color difference within this range is large, and it can be determined that the color-cast pixel to be confirmed corresponding to the Delta E1 value is a pixel with color cast phenomenon.
[0059] In one feasible manner, after the color cast area is confirmed, before the brightness compensation is performed on the display panel, the color cast area is divided into at least one sub-color cast area according to the size of the preset area, so that brightness compensation is performed for each sub-color cast area. For example, the preset area is the area where a single pixel is located, that is, brightness compensation is performed for each pixel in the color cast area in the subsequent process, so as to accurately adjust each pixel with color cast, so that the display effect of the display panel after compensation is more uniform, thereby presenting a more realistic color effect.
[0060] In one feasible manner, the color cast area includes an area between a first boundary and a second boundary on the display panel, and the first area enclosed by the first boundary on the display panel includes a second area enclosed by the second boundary on the display panel, that is, the first boundary is a longer outer boundary of the color cast area, and the second boundary is a shorter outer boundary of the color cast area. For example, the first boundary coincides with the edge of the display panel, that is, the longer outer boundary of the color cast area coincides with the edge of the display panel. For example, referring to Figure 1 The schematic diagram of the color cast phenomenon of the display panel shown is that the color cast area on the display panel is a green color cast area close to the edge of the display panel. In the figure, the longer outer boundary of the color cast area coincides with the edge of the display panel.
[0061] Step S204: Perform brightness compensation on the display panel in the first display condition, and determine a first compensated grayscale based on the compensation result.
[0062] In a feasible manner, brightness compensation is performed on the display panel in the first display condition to obtain an initial compensation grayscale of the display panel; the initial compensation grayscale of each sub-color cast area is adjusted to obtain a color cast compensation grayscale of the color cast area; the color cast compensation grayscale of the color cast area and the initial compensation grayscale of the area outside the color cast area are determined as the first compensation grayscale. Thus, the initial compensation grayscale is further adjusted for the color cast area to achieve more accurate compensation for the color cast area.
[0063] The display panel is lit based on the first display condition. In a feasible manner, the first display condition includes a first brightness and a first display area. For example, the first display area includes the entire area of the display panel. Specifically, the area where the display panel is lit under the first display condition includes the entire area of the display panel to compensate the brightness of the display panel as a whole. The first display condition can be appropriately set by a person skilled in the art according to actual needs. For example, the display panel is lit based on the conditions of 500 nits of brightness and 32 grayscales, and the display panel is set to display a white picture, etc. Among them, the brightness of 500 nits is close to the comfortable perception range of the human eye under general indoor lighting conditions, so it is often used as one of the standardized conditions for compensation. Common grayscales include 16 grayscales, 32 grayscales, 64 grayscales, 128 grayscales, etc. When performing brightness compensation, in order to eliminate the influence of external light in the environment on the display effect of the display panel, the lit display panel can be placed in a dark or low-light environment such as a darkroom.
[0064] Further, the display screen of the display panel is photographed by a camera, and the brightness information of each pixel on the display panel is collected through the photographed screen. Wherein, the brightness information includes the R (red), G (green), and B (blue) brightness information of each pixel. Based on the R, G, and B brightness information, a curve of the relationship between the brightness and grayscale of each pixel can be fitted, that is, a gamma curve, which describes how the brightness of each pixel changes with the change of grayscale. The gamma curve of each pixel is compared with a pre-set standard gamma curve, and the grayscale value required when the gamma curve of each pixel is adjusted to coincide with the standard gamma curve is obtained as the initial compensation grayscale of the pixel. Thus, brightness compensation is performed for each pixel on the display panel in the first display condition, and the initial compensation grayscale of each pixel in the color cast area is obtained. For example, the initial compensation grayscale of pixel A in the color cast area is (r, g, b), wherein the initial compensation grayscale of the red channel of pixel A is r grayscale, the initial compensation grayscale of the green channel is g grayscale, and the initial compensation grayscale of the blue channel is b grayscale.
[0065] In one feasible method, for each sub-color cast area, a compensation grayscale adjustment amount and a smoothing coefficient are set according to the degree of color cast of the sub-color cast area to control the degree of compensation for different sub-color cast areas; based on the compensation grayscale adjustment amount and the smoothing coefficient, the initial compensation grayscale of each sub-color cast area is adjusted to obtain the color cast compensation grayscale.
[0066] In a feasible manner, the pixels in the sub-color cast area include sub-pixels of a first color, sub-pixels of a second color, and sub-pixels of a third color, and the compensation grayscale adjustment amounts of the sub-pixels of the first color, the sub-pixels of the second color, and the sub-pixels of the third color are respectively set according to the degree of color cast of the sub-color cast area. For example, the pixels in the sub-color cast area include red sub-pixels, green sub-pixels, and blue sub-pixels, and the compensation grayscale adjustment amounts of the red sub-pixels, the green sub-pixels, and the blue sub-pixels of each pixel are respectively set according to the degree of color cast of the sub-color cast area to adjust the initial compensation grayscale of the pixel. Further, in a feasible manner, the compensation grayscale adjustment amount can be implemented as the product of the compensation grayscale addition and subtraction number and the compensation magnification. Among them, the compensation grayscale addition and subtraction number can be implemented as the adjustment amount set for the pixel, and the compensation magnification is used to scale the compensation grayscale addition and subtraction number to achieve flexible setting of the compensation grayscale adjustment amount, thereby achieving different degrees of compensation for different pixels. For example, for a pixel A in the sub-color cast region whose initial compensation grayscale is (r, g, b), the initial compensation grayscales of the red channel and the blue channel need to be increased by x grayscales, and the initial compensation grayscale of the green channel needs to be reduced by y grayscales. The compensation ratio is n, and the initial compensation grayscale of the pixel A after the compensation grayscale adjustment amount is set can be expressed as (r+nx, g-ny, b+nx). In a feasible manner, the compensation grayscale addition and subtraction number can be based on the pixel a in the Lab color space. * Quantity and b * Component determination, for example, if there is a color cast pixel a * If the grayscale component is too high, the grayscale addition and subtraction number can be set to adjust the initial compensation grayscale of the red channel and the green channel. In a feasible manner, the grayscale addition and subtraction number and the compensation magnification can be appropriately set by a person skilled in the art according to actual needs, for example, based on laboratory data or big data statistics. In a feasible manner, according to the pixel a * Quantity and b * The compensation grayscale plus or minus value is set based on the deviation degree of the component from the standard color coordinate data. For example, * Component and a in the standard color coordinate data * The absolute value of the difference between the components is set.
[0067] See also Figure 1The schematic diagram of the display panel generating the color cast phenomenon is shown. In actual situations, the color cast of the display panel is often not uniform. For example, the color cast degree of the pixels in the color cast area gradually weakens from the position close to the edge fixed area to the position far from the edge fixed area. That is, the color cast degree of the color cast area gradually weakens from the position close to the first boundary to the position close to the second boundary. Therefore, in a feasible manner, for each sub-color cast area, a smoothing coefficient can be set to adjust the initial compensation grayscale of each pixel with the color cast phenomenon according to the phenomenon of the change in the degree of color cast, so as to ensure that when the color cast area is compensated, the compensation value gradually changes inside the color cast area, so that the transition of the compensated color cast area is more natural and smooth, the processing traces are reduced, and the visual comfort is improved. In a feasible manner, for each sub-color cast area, the smoothing coefficient of the sub-color cast area can be set based on the position of the sub-color cast area in the color cast area. For example, the smoothing coefficient of the sub-color cast area is set based on the distance between the sub-color cast area and the first boundary. Specifically, in a feasible manner, the minimum value of the distances between all pixels in the sub-color-biased area and the first boundary is obtained as the distance between the sub-color-biased area and the first boundary, and a smoothing coefficient is allocated to each sub-color-biased area based on the distance between the sub-color-biased area and the first boundary. Specifically, if the distance between the sub-color-biased area and the first boundary is small, the color-biased degree of the sub-color-biased area is large, and a slightly larger smoothing coefficient can be set. For example, the sub-color-biased area is the area where a single pixel is located, that is, when setting the smoothing coefficient for each pixel in the color-biased area, the smoothing coefficient of the pixel on the first boundary in the color-biased area is set to K1=1, that is, after obtaining the initial compensation grayscale adjusted by the compensation grayscale adjustment amount, the product of the adjusted initial compensation grayscale and K1 is used as the color-biased compensation grayscale of the pixel; the smoothing coefficient of the pixel on the second boundary in the color-biased area is set to K2=0.5, that is, after obtaining the initial compensation grayscale adjusted by the compensation grayscale adjustment amount, the product of the adjusted initial compensation grayscale and K2 is used as the color-biased compensation grayscale of the pixel. Specifically, a smoothing coefficient of each color cast sub-region may be set based on a smoothing function such as a linear function or a Gaussian function to achieve a smooth transition of the color cast region.
[0068] Based on this, the initial compensation grayscale of each sub-color cast area is adjusted by the compensation grayscale adjustment amount and the smoothing processing coefficient to obtain the color cast compensation grayscale, thereby controlling the compensation degree of different sub-color cast areas and obtaining a more accurate and natural compensation effect for different sub-color cast areas.
[0069] Step S206. Determine whether the color deviation of the display panel after brightness compensation meets the preset standard; if it does not meet the preset standard, light up the color-biased area on the display panel and perform brightness compensation on the color-biased area on the display panel under the second display condition.
[0070] In one feasible method, multiple sample points are selected on a display panel that has been brightness compensated and is in a third display condition; the maximum value of the quantized values of the color difference perception degree between the multiple sample points and the center point of the display panel is calculated; and it is determined whether the maximum value is within the range of a preset standard; wherein, if the maximum value is within the range of the preset standard, it is determined that the color deviation 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 deviation of the display panel does not meet the preset standard.
[0071] The first display condition is different from the second display condition. In one feasible manner, 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 the color cast area, that is, under the first display condition and the third display condition, the area where the display panel is lit includes the entire area of the display panel; under the second display condition, the area where the display panel is lit includes the color cast area. Therefore, when the display panel is compensated again, only the color cast area is lit to more accurately obtain the brightness information of the pixels in the color cast area on the display panel.
[0072] In one feasible manner, 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 easier to confirm the color cast area. Specifically, the third brightness is set to a lower brightness, such as 2 nits brightness. When the brightness of the display panel is low, the display unevenness and color cast phenomenon will be more significant, and thus the color cast phenomenon that was not discovered under the first display condition will become more significant, which helps to more accurately and comprehensively obtain the color cast phenomenon on the display panel.
[0073] Specifically, in a feasible manner, multiple pixels are selected on the display panel as sample points. The selected multiple pixels may be multiple pixels on the area outside the hole area on the display panel. For example, 9, 13, 25, 91 or 135 pixels may be randomly or evenly selected on the area outside the hole area on the display panel. Thus, by selecting multiple sample points, a more comprehensive evaluation of the display effect of the display panel is performed, and a preliminary judgment is made as to whether the color deviation of the display panel after brightness compensation meets the preset standard. The number of sample points selected may be appropriately selected according to actual conditions and is not limited here. The hole area position can be used to realize different functions, such as setting a camera, a receiver, etc. Therefore, the hole area position usually has no brightness information. When selecting sample points, they are selected on the area outside the hole area on the display panel.
[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 point and the pixel at the center point of the display panel is calculated based on Formula 2 as the color difference perception degree quantification value. Formula 2 is as follows:
[0075]
[0076] in, Represents the brightness of the pixel in the sample point in the color coordinate data, represents the brightness of the pixel at the center of the display panel in the color coordinate data, a represents the color coordinate data of the pixel in the sample point * Quantity, a in the color coordinate data of the pixel at the center of the display panel * Quantity, b represents the color coordinate data of the pixel at the sample point * Quantity, b in the color coordinate data of the pixel at the center of the display panel * Quantity.
[0077] If the color deviation of the display panel meets the preset standard after brightness compensation is performed on the display panel in the first display condition, the first compensated grayscale is confirmed as the final compensated grayscale.
[0078] Specifically, in a feasible manner, if the quantization value of the color difference perception degree of all sample points and the center point of the display panel is within the preset standard range, it is determined that the color deviation of the display panel meets the preset standard, and the first compensation grayscale is confirmed as the final compensation grayscale. On the contrary, if the quantization value of the color difference perception degree of all sample points and the center point of the display panel is 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 quantization value of the color difference perception degree is greater than or equal to 0 and less than 50, and among the 135 sample points, the maximum value of the quantization value of the color difference perception degree of all sample points and the center point of the display panel is 30, which is within the preset standard range, so the first compensation grayscale can be confirmed as the final compensation grayscale. As a result, the first compensation grayscale that can achieve a better compensation effect is confirmed as the final compensation grayscale, which improves the consistency of the display color of the display panel to optimize the compensation effect on the display panel.
[0079] When the color deviation of the display panel does not meet the preset standard, that is, when the display panel still has color cast, only the color cast area is illuminated, and brightness compensation is performed on the color cast area on the display panel under the second display condition. Only the color cast area is illuminated, and areas other than the color cast area on the display panel can be blacked out, thereby more accurately obtaining brightness information of pixels in the color cast area on the display panel, so as to perform more accurate brightness compensation on the color cast area.
[0080] In one feasible manner, the color cast area on the display panel is illuminated based on a second display condition of 500 nits brightness, 32 grayscales, and a second display area including the color cast area. Thus, after brightness compensation, a corrected grayscale of the color cast area on the display panel under the second display condition can be obtained. The specific implementation method of obtaining the corrected grayscale of the color cast area on the display panel under the second display condition can refer to the specific implementation method of obtaining the color cast compensation grayscale of the color cast area on the display panel under the first display condition, which will not be repeated here.
[0081] After brightness compensation is performed on the color cast area on the display panel in the second display condition, the step of determining whether the color deviation of the display panel after brightness compensation meets the preset standard is returned to continue execution until the result of brightness compensation meets the preset standard or the number of brightness compensations reaches the preset number. Thus, brightness compensation is performed again to optimize the compensation effect on the display panel. After the number of brightness compensations reaches the preset number, brightness compensation is no longer performed on the display panel. The specific implementation method of brightness compensation for the color cast area on the display panel in the second display condition can refer to the specific implementation method of brightness compensation for the display panel in the first display condition, which will not be repeated here.
[0082] If the color deviation of the display panel meets the preset standard after brightness compensation is performed on the color cast area on the display panel under the second display condition, the second compensation grayscale is determined based on the compensation result of brightness compensation for the color cast area on the display panel under the second display condition, and the sum of the first compensation grayscale and the second compensation grayscale is used as the final compensation grayscale.
[0083] Specifically, in one feasible manner, the corrected grayscale obtained by performing brightness compensation on the color cast area on the display panel under the second display condition is determined as the second compensation grayscale, and the sum of the first compensation grayscale and all the second compensation grayscales is used as the final compensation grayscale. Thus, the sum of the first compensation grayscale and all the second compensation grayscales is used as the final compensation grayscale, and the effect of the first compensation grayscale is supplemented by the second compensation grayscale, thereby optimizing the compensation effect on the display panel.
[0084] In a feasible manner, the final compensated grayscale is burned into a flash memory so as to be quickly read when needed to adjust the display effect of the display panel.
[0085] As can be seen from the above, through the scheme of the embodiment of the present application, the color cast area on the display panel is confirmed; the brightness compensation is performed on the display panel in the first display condition, and the first compensation grayscale 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 it does not meet the preset standard, the color cast area on the display panel is illuminated, and the color cast area on the display panel in the second display condition is brightness compensated; wherein the first display condition is different from the second display condition. Therefore, when the compensation effect of the display panel is not good, the color cast area on the display panel is illuminated, and the color cast area is compensated in a targeted manner, so as to improve the compensation effect of the color cast area while reducing the amount of calculation, thereby improving the display effect of the display panel.
[0086] Reference Figure 3 , shows a schematic diagram of the structure of an electronic device according to an embodiment of the present application. The specific embodiment of the present application does not limit the specific implementation of the electronic device.
[0087] like Figure 3 As shown, the electronic device may include: a processor (processor) 302 , a communication interface (Communications Interface) 304 , a memory (memory) 306 , and a communication bus 308 .
[0088] in:
[0089] The processor 302 , the communication interface 304 , and the memory 306 communicate with each other via the communication bus 308 .
[0090] The communication interface 304 is used to communicate with other electronic devices or servers.
[0091] The processor 302 is used to execute the program 310, and specifically can execute the relevant steps in any of the above method embodiments.
[0092] Specifically, the program 310 may include program codes, which include computer operation instructions.
[0093] The processor 302 may be a CPU, a GPU (Graphic Processing Unit), an ASIC (Application Specific Integrated Circuit), or one or more integrated circuits configured to implement the embodiments of the present application. The one or more processors included in the smart device may be processors of the same type, such as one or more CPUs; or may be processors of different types, such as one or more CPUs and one or more ASICs.
[0094] The memory 306 is used to store the program 310. The memory 306 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.
[0095] The program 310 may include multiple computer instructions. Specifically, the program 310 may enable the processor 302 to execute operations corresponding to the method described in any of the aforementioned method embodiments through the multiple computer instructions.
[0096] The specific implementation of each step in the program 310 can refer to the corresponding description of the corresponding steps and units in the above method embodiment, and has corresponding beneficial effects, which will not be repeated here. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working process of the above-described devices and modules can refer to the corresponding process description in the above method embodiment, which will not be repeated here.
[0097] The present application also provides a computer storage medium on which a computer program is stored, and when the program is executed by a processor, the method described in any of the above-mentioned multiple method embodiments is implemented. The computer storage medium includes but is not limited to: a compact disc read-only memory (CD-ROM), a random access memory (RAM), a floppy disk, a hard disk or a magneto-optical disk, etc.
[0098] It should be pointed out that, according to the needs of implementation, the various components / steps described in the embodiments of the present application can be split into more components / steps, or two or more components / steps or partial operations of components / steps can be combined into new components / steps to achieve the purpose of the embodiments of the present application.
[0099] The above-mentioned method according to the embodiment of the present application can be implemented in hardware, firmware, or implemented as software or computer code that can be stored in a recording medium (such as a CD-ROM, RAM, floppy disk, hard disk or magneto-optical disk), or implemented as a computer code originally stored in a remote recording medium or a non-temporary machine-readable medium downloaded through a network and stored in a local recording medium, so that the method described herein can be stored in such software processing on a recording medium using a general-purpose computer, a dedicated processor or programmable or dedicated hardware (such as an application-specific integrated circuit (ASIC) or a field programmable gate array (FPGA)). It can be understood that a computer, a processor, a microprocessor controller or programmable hardware includes a storage component (e.g., a random access memory (RAM), a read-only memory (ROM), a flash memory, etc.) that can store or receive software or computer code, and when the software or computer code is accessed and executed by a computer, a processor or hardware, the method described herein is implemented. In addition, when a general-purpose computer accesses the code for implementing the method shown here, the execution of the code converts the general-purpose computer into a dedicated computer for executing the method shown here.
[0100] Those of ordinary skill in the art will appreciate that the units and method steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for specific applications, but such implementation should not be considered to be beyond the scope of the embodiments of the present application.
[0101] The above implementation methods are only used to illustrate the embodiments of the present application, and are not limitations on the embodiments of the present application. Ordinary technicians in the relevant technical field 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 also belong to the scope of the embodiments of the present application. The scope of patent protection of the embodiments of the present application should be limited by the claims.
Claims
1. A display compensation method, characterized in that: include: Identify the color cast areas on the display panel; Performing brightness compensation on the display panel in a first display condition, and determining a first compensated grayscale based on the compensation result; Determine whether the color deviation of the display panel after brightness compensation meets the preset standard; if it does not meet the preset standard, light up the color-biased area on the display panel, and perform brightness compensation on the color-biased area on the display panel in a second display condition; wherein the first display condition is different from the second display condition.
2. The method according to claim 1, characterized in that Before performing brightness compensation on the display panel in the first display condition, the method further includes: Dividing the color cast area into at least one sub-color cast area according to the size of a preset area, so as to perform brightness compensation for each sub-color cast area; Preferably, the preset area is an area where a single pixel is located; Preferably, the color cast area includes an area between a first boundary and a second boundary on the display panel, and a first area enclosed by the first boundary on the display panel includes a second area enclosed by the second boundary on the display panel; Preferably, the first boundary coincides with an edge of the display panel.
3. The method according to claim 2, characterized in that The performing brightness compensation on the display panel in the first display condition and determining a first compensated grayscale based on the compensation result includes: Performing brightness compensation on the display panel in the first display condition to obtain an initial compensated grayscale of the display panel; Adjusting the initial compensation grayscale of each of the sub-color cast areas to obtain the color cast compensation grayscale of the color cast area; Determine the color cast compensation grayscale of the color cast area and the initial compensation grayscale of the area outside the color cast area as a first compensation grayscale; Preferably, the brightness compensation is performed separately for each pixel on the display panel in the first display condition.
4. The method according to claim 3, characterized in that The adjusting the initial compensation grayscale of each of the sub-color cast areas to obtain the color cast compensation grayscale of the color cast area includes: For each of the color cast sub-regions, a compensation grayscale adjustment amount and a smoothing coefficient are set according to the color cast degree of the color cast sub-region, so as to control the compensation degree of different color cast sub-regions; Adjusting the initial compensation grayscale of each of the sub-color cast areas based on the compensation grayscale adjustment amount and the smoothing coefficient to obtain a color cast compensation grayscale; Preferably, the pixels in the sub-color cast area include sub-pixels of a first color, sub-pixels of a second color, and sub-pixels of a third color, and the compensation grayscale adjustment amounts of the sub-pixels of the first color, the sub-pixels of the second color, and the sub-pixels of the third color are respectively set according to the color cast degree of the sub-color cast area; Preferably, a smoothing coefficient of the sub-color cast region is set based on the position of the sub-color cast region in the color cast region; Preferably, a smoothing coefficient of the sub-color cast area is set based on a distance between the sub-color cast area and the first boundary.
5. The method according to any one of claims 1 to 4, characterized in that: The first display condition includes a first brightness and a first display area, and the second display condition includes a second brightness and a second display area; Wherein, the first display area includes the entire area of the display panel, and the second display area includes the color cast area; Preferably, the first brightness is the same as the second brightness.
6. The method according to claim 5, characterized in that Also includes: After performing brightness compensation on the color cast area on the display panel in the second display condition, the method further includes: Return to the step of determining whether the color deviation of the display panel after brightness compensation meets the preset standard and continue to execute until the result of brightness compensation meets the preset standard or the number of brightness compensations reaches the preset number of times.
7. The method according to claim 6, characterized in that The method further comprises: If, after brightness compensation is performed on the color cast area on the display panel under the second display condition, the color deviation of the display panel meets the preset standard, a second compensation grayscale is determined based on the compensation result of brightness compensation for the color cast area on the display panel under the second display condition, and the sum of the first compensation grayscale and the second compensation grayscale is used as the final compensation grayscale.
8. The method according to claim 7, characterized in that The determining whether the color deviation of the display panel after brightness compensation meets a preset standard includes: Selecting a plurality of sample points on the display panel that has been brightness compensated and is in a third display condition; Calculate the maximum value of the color difference perception degree quantization values between the multiple sample points and the center point of the display panel; Determining whether the maximum value is within the range of the preset standard; wherein, if the maximum value is within the range of the preset standard, determining that the color deviation of the display panel meets the preset standard; if the maximum value is not within the range of the preset standard, determining that the color deviation of the display panel does not meet the preset standard; Preferably, the preset standard is that the color difference perception degree quantization value is greater than or equal to 0 and less than 50; Preferably, the third display condition includes a third brightness and a third display area, the third brightness is different from the second brightness, and the third display area includes the entire area of the display panel.
9. The method according to claim 8, characterized in that The method further comprises: If the color deviation of the display panel meets a preset standard after brightness compensation is performed on the display panel in the first display condition, the first compensated grayscale is confirmed as a final compensated grayscale.
10. A computer storage medium, characterized in that: A computer program is stored thereon, and when the program is executed by a processor, the method according to any one of claims 1 to 9 is implemented.
Citation Information
Patent Citations
Display panel compensation method and device, equipment and storage medium
CN116052572A
Compensation method of display panel, electronic device, equipment and storage medium
CN117746791A
Display device and method of operating a display device
US20240282254A1
Color compensation method, compensation device, and display device
WO2019153941A1