Display compensation method and device, electronic equipment and computer readable storage medium
Patent Information
- Application Number
- CN202210435877.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-24
- Publication Date
- 2026-10-23
- Estimated Expiration
- 2042-04-24
AI Technical Summary
但是在该用场景下,不同刷新频率下的亮度和/或色度存在差异,导致频率切换时会带来亮度和/或色度偏差
[0057]本公开实施例通过获取显示面板当前的刷新频率,并获取每一个像素在当前的刷新频率下的补偿数据,通过补偿数据对每一个像素进行补偿,即可得到补偿后的显示数据,从而可以解决上述针对不同刷新频率所带来的画面显示亮度不均的问题,而通过对不同刷新频率所带来的显示亮度不均进行补偿,可以使显示面板在可变刷新频率下进行显示时,减小不同刷新频率下的亮度和/或色度差异,提高显示效果。
Smart Images

Figure CN116978322B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of display technology, and in particular to a display compensation method, apparatus, electronic device, and computer-readable storage medium. Background Technology
[0002] To improve the user experience of display screens, high refresh rate display screen solutions have emerged on the market, with common refresh rates reaching 120Hz or higher. However, high refresh rate screens bring problems such as increased power consumption and heat generation, so they are not suitable for all scenarios and may require switching refresh rates (i.e., variable refresh rates).
[0003] The advantage of a variable refresh rate is that it automatically adapts to a suitable refresh rate when the display screen is showing dynamic images. When the display screen is showing static images, it automatically reduces the refresh rate, thereby effectively reducing power consumption.
[0004] For example, a display screen based on LTPO (Low Temperature Polycrystalline Oxide) technology can achieve frequency switching from 1Hz to 120Hz. However, in this application scenario, there are differences in brightness and / or color at different refresh rates, which can lead to brightness and / or color deviations when switching frequencies. Summary of the Invention
[0005] To overcome the problems existing in the related technologies, this disclosure provides a display compensation method, apparatus, electronic device, and computer-readable storage medium.
[0006] According to a first aspect of the present disclosure, a display compensation method is provided, comprising:
[0007] Obtain the current refresh rate of the display panel, and the first raw display data of each pixel at the current refresh rate;
[0008] Obtain compensation data for each pixel at the current refresh rate; compensate each pixel based on the compensation data and the first original display data to obtain compensated display data;
[0009] Control the display panel to display the compensated display data.
[0010] In some embodiments, obtaining compensation data for each pixel at the current refresh rate includes:
[0011] Obtain the compensation coefficient corresponding to the current refresh rate;
[0012] Based on the compensation coefficient and the first original display data, the compensation data for each pixel at the current refresh rate is determined.
[0013] In some embodiments, before obtaining the compensation coefficient corresponding to the current refresh rate, the method further includes:
[0014] Obtain the second raw display data for each pixel at each refresh rate of the display panel;
[0015] Based on the second original display data and the preset display data at each refresh rate, the compensation coefficient of each pixel at each refresh rate is determined.
[0016] In some embodiments, the compensation coefficient includes: the original compensation coefficient and the update parameter corresponding to the current refresh frequency;
[0017] The step of determining the compensation data for each pixel at the current refresh rate based on the compensation coefficient and the first original display data includes:
[0018] Calculate the original compensation data based on the original compensation coefficient and the first original display data;
[0019] The original compensation data is updated according to the update parameters to obtain the compensation data.
[0020] In some embodiments, the original compensation coefficient includes: a first gain compensation coefficient and a first compensation offset, and the update parameters include: a gain update parameter and an offset update parameter;
[0021] The updated parameters, the original compensation data, and the compensation data satisfy the following formula:
[0022] X i =(D i a+b;
[0023] Among them, X i D is the compensation data for the i-th pixel of the display panel. i The original compensation data for the i-th pixel of the display panel, where i is a positive integer, a is the gain update parameter, and b is the offset update parameter;
[0024] The original compensation coefficient, the first original display data, and the original compensation data satisfy the following formula:
[0025] D i =cx i +d;
[0026] Among them, Di x is the original compensation data for the i-th pixel of the display panel. i The first original display data of the i-th pixel of the display panel, where i is a positive integer, c is the first gain compensation coefficient, and d is the first compensation offset.
[0027] In some embodiments, obtaining compensation data for each pixel at the current refresh rate includes:
[0028] Obtain the compensation coefficient corresponding to the current refresh rate and the original compensation data for each pixel;
[0029] The original compensation data is updated using the compensation coefficient corresponding to the current refresh rate to obtain the compensation data for each pixel at the current refresh rate.
[0030] In some embodiments, before obtaining the compensation coefficient corresponding to the current refresh rate, the method further includes:
[0031] Obtain the second raw display data for each pixel at each refresh rate of the display panel;
[0032] Based on the second original display data, the original compensation data, and the preset display data at each refresh rate, the compensation coefficient of each pixel at each refresh rate is determined.
[0033] In some embodiments, the compensation coefficient includes: a second gain compensation coefficient and a second compensation offset;
[0034] The original compensation data, the compensation coefficient, and the compensation data satisfy the following formula:
[0035] X i =(D i a+b;
[0036] Among them, X i D is the compensation data for the i-th pixel of the display panel. i The original compensation data for the i-th pixel of the display panel is given, where i is a positive integer, a is the second gain compensation coefficient, and b is the second compensation offset.
[0037] In some embodiments, before acquiring first raw display data for each pixel in the display panel, the method further includes:
[0038] Each pixel is gamma-tuned at M preset refresh rates to obtain the first original display data for each pixel; wherein the M preset refresh rates are at least a portion of the N refresh rates supported by the display panel, and M and N are positive integers.
[0039] According to a second aspect of the present disclosure, a display compensation device is provided, comprising:
[0040] The first acquisition module is configured to acquire the current refresh rate of the display panel and the first original display data of each pixel at the current refresh rate;
[0041] The second acquisition module is configured to acquire compensation data for each pixel at the current refresh rate.
[0042] The compensation module is configured to compensate each pixel based on the compensation data and the first original display data to obtain the compensated display data;
[0043] The control module is configured to control the display panel to display the compensated display data.
[0044] In some embodiments, the second acquisition module is specifically configured to acquire the compensation coefficient corresponding to the current refresh rate; and determine the compensation data of each pixel at the current refresh rate based on the compensation coefficient and the first original display data.
[0045] In some embodiments, the apparatus further includes: a third acquisition module and a first determination module;
[0046] The third acquisition module is configured to acquire the second original display data of each pixel at each refresh rate of the display panel before acquiring the compensation coefficient corresponding to the current refresh rate;
[0047] The first determining module is configured to determine the compensation coefficient of each pixel at each refresh rate based on the second original display data and the preset display data at each refresh rate.
[0048] In some embodiments, the compensation coefficient includes the original compensation coefficient and the update parameter corresponding to the current refresh frequency;
[0049] The second acquisition module is specifically configured to calculate the original compensation data based on the original compensation coefficient and the first original display data; and update the original compensation data according to the update parameters to obtain the compensation data.
[0050] In some embodiments, the second acquisition module is specifically configured to acquire the compensation coefficient corresponding to the current refresh frequency and the original compensation data of each pixel; update the original compensation data using the compensation coefficient corresponding to the current refresh frequency to obtain the compensation coefficient of each pixel at the current refresh frequency.
[0051] In some embodiments, the apparatus further includes: a fourth acquisition module and a second determination module;
[0052] The fourth acquisition module is configured to acquire the second raw display data of each pixel at each refresh rate of the display panel before acquiring the compensation coefficient corresponding to the current refresh rate;
[0053] The second determining module is configured to determine the compensation coefficient of each pixel at each refresh frequency based on the second original display data, the original compensation data, and the preset display data at each refresh frequency.
[0054] A third aspect of this disclosure provides an electronic device, including: a processor and a memory, the memory being configured to store processor-executable instructions, the processor being configured to perform the display compensation method as described in the first aspect.
[0055] A fourth aspect of this disclosure provides a computer-readable storage medium storing a computer program; the computer program, when executed by a processor, is capable of implementing the display compensation method as described in the first aspect.
[0056] The technical solutions provided by the embodiments of this disclosure may include the following beneficial effects:
[0057] This embodiment of the disclosure obtains the current refresh rate of the display panel and the compensation data of each pixel at the current refresh rate. By compensating each pixel with the compensation data, the compensated display data can be obtained. This can solve the problem of uneven screen brightness caused by different refresh rates. By compensating for the uneven screen brightness caused by different refresh rates, the display panel can reduce the brightness and / or color difference at different refresh rates when displaying at a variable refresh rate, thereby improving the display effect.
[0058] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description
[0059] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure.
[0060] Figure 1 This is a schematic diagram of a display compensation method shown in an exemplary embodiment. Figure 1 ;
[0061] Figure 2 This is a schematic diagram of a display compensation method shown in an exemplary embodiment. Figure 2 ;
[0062] Figure 3 This is a schematic diagram of a display compensation method shown in an exemplary embodiment. Figure 3 ;
[0063] Figure 4 This is a block diagram illustrating a display compensation device in an exemplary embodiment. Figure 1 ;
[0064] Figure 5 This is a block diagram illustrating a display compensation device in an exemplary embodiment. Figure 2 ;
[0065] Figure 6 This is a schematic diagram of an electronic device illustrated in an exemplary embodiment. Detailed Implementation
[0066] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numerals in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this disclosure. Rather, they are merely examples of apparatuses consistent with some aspects of this disclosure as detailed in the appended claims.
[0067] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0068] Many specific details are set forth in the following description in order to provide a full understanding of the invention. However, the invention may also be practiced in other ways different from those described herein, and those skilled in the art can make similar extensions without departing from the spirit of the invention. Therefore, the invention is not limited to the specific embodiments disclosed below.
[0069] Currently, in electronic devices, such as mobile phones, which include display panels, taking AMOLED (Active-matrix organic light-emitting diode) display panels as an example, some AMOLED display panels exhibit uneven brightness during the manufacturing process due to factors such as materials and processes. This uneven brightness, or mura, can cause visual discomfort, and products with these marks cannot meet customer requirements. Therefore, compensating for these brightness deviations caused by the materials and processes of the display panel to achieve a more uniform image becomes particularly important.
[0070] External compensation is a method of compensating for brightness deviations caused by factors such as the material and manufacturing process of the display panel, resulting in a more uniform image. An example of external compensation is Demura compensation.
[0071] Demura compensation is a data extraction method that uses optical extraction. Specifically, it uses a CCD (Charge-Coupled Device) camera to capture images and automatically identifies the sub-pixel arrangement relationships in the image. The Demura software is then used to extract the raw data. After extracting the raw data, a corresponding compensation algorithm is used to generate compensation data. This compensation data is then effectively compressed and stored in memory. During compensation, the stored compensation data is read from memory and superimposed on the raw display data sent from the application, generating new data which is then sent to the display panel for display. This completes the pixel compensation for the display panel.
[0072] In related technologies, the treatment of uneven brightness in display panels is limited to pixel compensation at different locations within a single display image. For example, for uneven brightness caused by display panel materials or manufacturing processes, a CCD camera is used to capture the image, and the pixel color distribution characteristics are analyzed based on the camera data to calculate the gamma index value of each pixel. Based on this index, relevant algorithms are used to identify the mura (demura), and then demura data is generated based on the mura data and corresponding demura compensation algorithms. However, there is no corresponding compensation method for uneven brightness caused by different refresh rates.
[0073] In the embodiments of this disclosure, in order to solve the above-mentioned technical problems, a display compensation method is provided. This method can be used in an electronic device, which includes a display panel and a processor. The electronic device can be any device capable of displaying images, such as a screen, television, tablet computer, mobile phone, ATM (Automated Teller Machine), computer, etc. Examples of the display panel can be OLED (Organic Light-Emitting Diode) display panel, QLED (Quantum Dot Light-Emitting Diodes) display panel, Mini-LED (Mini Light-Emitting Diodes) display panel, Micro-LED (Micro Light-Emitting Diodes) display panel, LCD (Liquid Crystal Display) panel, etc.
[0074] like Figure 1 As shown, the method includes the following steps:
[0075] S11. The processor obtains the current refresh rate of the display panel and the first raw display data of each pixel at the current refresh rate.
[0076] Taking an OLED display panel based on LTPO technology as an example, the current refresh rate can be any value between 1Hz and 120Hz. For example, the current refresh rate can include: 120Hz, 60Hz, 30Hz, 15Hz, or 1Hz, etc.
[0077] S12, The processor obtains the compensation data for each pixel at the current refresh rate;
[0078] S13. The processor compensates for each pixel based on the compensation data and the first original display data to obtain the compensated display data.
[0079] S14. The processor controls the display panel to display the compensated display data.
[0080] In steps S11 to S14 above, by obtaining the current refresh rate of the display panel and the compensation data of each pixel at the current refresh rate, and by compensating each pixel with the compensation data, the compensated display data can be obtained. This can solve the problem of uneven screen brightness caused by different refresh rates. By compensating for the uneven screen brightness caused by different refresh rates, the display panel can reduce the brightness and / or color difference at different refresh rates when displaying at a variable refresh rate, thereby improving the display effect.
[0081] In some embodiments, S12 may include the following steps:
[0082] S121. The processor obtains the compensation coefficient corresponding to the current refresh frequency;
[0083] S122. The processor determines the compensation data for each pixel at the current refresh rate based on the compensation coefficient and the first original display data.
[0084] For example, in practical applications, different compensation coefficients are obtained for different refresh rates. By storing the mapping relationship between refresh rate and compensation coefficient in memory, the compensation coefficient corresponding to the current refresh rate can be obtained through this mapping relationship when in use, thereby determining the compensation data of each pixel at the current refresh rate.
[0085] In some embodiments, the compensation coefficient includes: the original compensation coefficient and the update parameters corresponding to the current refresh rate;
[0086] Based on the compensation coefficient and the first original display data, determine the compensation data for each pixel at the current refresh rate, including:
[0087] The original compensation data is calculated based on the original compensation coefficient and the first original display data;
[0088] The original compensation data is updated based on the update parameters to obtain the compensation data.
[0089] In these embodiments, the original compensation data can be compensation data for each pixel at a preset refresh rate. Based on this original compensation data, different update parameters can be set for each refresh rate to achieve compensation for each refresh rate. The original compensation data can also have corresponding original compensation coefficients. Similarly, the mapping relationship between the original compensation coefficients and each pixel at the preset refresh rate can be stored in memory. The original compensation coefficients can be obtained through the mapping relationship, thereby determining the corresponding original compensation data.
[0090] The original compensation coefficients can be obtained using the Demura compensation algorithm.
[0091] Demura compensation involves using a CCD camera to capture the display at a preset refresh rate, importing the captured image into a PC (Personal Computer), and then using Demura software on the PC to extract the data (extract the raw data), compensate, compress, and store the compressed data in memory.
[0092] The compensation calculation method is as follows: Based on the original Demura table, calculate the average value of the data in the table (i.e., the original data extracted above). Compare each data point in the original Demura table with the calculated average value. When the absolute value of the difference between the compared data and the average value is greater than a preset threshold, the sub-pixel corresponding to that data point is determined to be included within the Demura area. When the absolute value of the difference between the compared data and the average value is less than or equal to the preset threshold, the sub-pixel corresponding to that data point is determined not to be included within the Demura area. The preset threshold can be determined based on the display effect of the display panel. The calculation principle is to darken overly bright areas, or brighten overly dark areas, or eliminate areas with color casts. The final effect is to make the brightness and color of different areas of the display panel approximately the same (pure color image).
[0093] In some embodiments, the original compensation coefficients include: a first gain compensation coefficient and a first compensation offset, and the update parameters include: a gain update parameter and an offset update parameter;
[0094] The updated parameters, original compensation data, and compensation data satisfy the following formula (1):
[0095] X i =(D i )a+b; (1)
[0096] Among them, X i D is the compensation data for the i-th pixel of the display panel. i This represents the original compensation data for the i-th pixel of the display panel, where i is a positive integer, a is the gain update parameter, and b is the offset update parameter.
[0097] The original compensation coefficient, the first original display data, and the original compensation data satisfy the following formula (2):
[0098] D i =cx i +d; (2)
[0099] Among them, D i x is the original compensation data for the i-th pixel of the display panel. iLet be the first original display data of the i-th pixel of the display panel, where i is a positive integer, c is the first gain compensation coefficient, and d is the first compensation offset.
[0100] In these embodiments, the compensation data X can be obtained by substituting the first original display data and the compensation coefficient into the above formula. i Through the aforementioned compensation data X i For the first original display data x i By updating, you can obtain the compensated display data, which allows you to control the display panel to display the data accordingly.
[0101] Here, substituting Di into formula (1), we can obtain Xi = (cx i +d)a+b=acx i +ad+b, that is, the compensation coefficient includes ac and ad+b.
[0102] In practical applications, the above-mentioned display data examples may include: brightness parameter data and / or chromaticity data of pixels on the display panel.
[0103] For example, taking the YUV color space as an example, when the display data includes luminance data, the aforementioned X i Brightness Y can be used i This indicates that when the displayed data includes chromaticity data, the aforementioned X... i Chromaticity I can be used i It means, I i According to U i and V i The calculation is as follows. Of course, when the color space is such as RGB (R represents Red, G represents Green, B represents Blue), the luminance and chromaticity data can be represented in other ways, and this disclosure does not impose any specific limitations.
[0104] In some embodiments, before obtaining the compensation coefficient corresponding to the current refresh rate, the method further includes:
[0105] Obtain the second raw display data for each pixel at each refresh rate of the display panel;
[0106] Based on the second original display data and the preset display data at each refresh rate, determine the compensation coefficient for each pixel at each refresh rate.
[0107] In these embodiments, by acquiring the second original display data at each refresh rate, and based on the second original display data and the preset display data at each refresh rate, the compensation coefficient of each pixel at each refresh rate can be determined, thereby enabling corresponding compensation for each pixel at each refresh rate.
[0108] The calculation process for the aforementioned update parameters can be found in the calculation method for the original compensation coefficients. The difference is that the first original display data is for each refresh rate. By setting the same display effect (such as preset display data) at different refresh rates, different update parameters can be used to compensate for each refresh rate accordingly. During display, this reduces brightness and / or color differences at different refresh rates, improving the display effect.
[0109] In some embodiments, the second original display data, the preset display data, and the compensation coefficient described above may satisfy the following formula (3):
[0110] X i =Gain*x i +Offset; (3)
[0111] Among them, X i x is the preset display data for the i-th pixel of the display panel. i This is the second original display data for the i-th pixel of the display panel, where i is a positive integer, and Gain and Offset are compensation coefficients.
[0112] In these embodiments, X i The displayed data after the above compensation is equivalent to ac, and Offset is equivalent to ad+b.
[0113] In some embodiments, S12 includes:
[0114] S121. Obtain the compensation coefficient corresponding to the current refresh rate and the original compensation data of each pixel;
[0115] S122. Update the original compensation data using the compensation coefficient corresponding to the current refresh rate to obtain the compensation data for each pixel at the current refresh rate.
[0116] For example, in practical applications, different compensation coefficients are obtained for different refresh rates. By storing the mapping relationship between refresh rate and compensation coefficient in memory, the compensation coefficient corresponding to the current refresh rate can be obtained through this mapping relationship when needed. In these embodiments, unlike the above-mentioned compensation coefficients which are based on the second original display data, the compensation coefficients can be obtained based on the original compensation data, which can be obtained by compensating each pixel at a preset refresh rate.
[0117] For example, a CCD camera can be used to capture the display screen at a preset refresh rate, and the captured display screen can be imported into a PC (Personal Computer). The Demura software on the PC can be used to extract the data (extract the raw data), compensate, compress, and store the compressed data in the memory.
[0118] The calculation method for compensation can be referred to the Demura compensation algorithm mentioned above, and will not be repeated here.
[0119] In some embodiments, the compensation coefficient includes: a second gain compensation coefficient and a second compensation offset;
[0120] The original compensation data, the compensation coefficient, and the compensation data satisfy the following formula (4):
[0121] X i =(D i (4) a+b;
[0122] Among them, X i D is the compensation data for the i-th pixel of the display panel. i The original compensation data for the i-th pixel of the display panel is given, where i is a positive integer, a is the second gain compensation coefficient, and b is the second compensation offset.
[0123] In these embodiments, the compensation data X can be obtained by substituting the original compensation data and compensation coefficients into the above formula (4). i Through the aforementioned compensation data X i By updating the original compensation data, the compensated display data can be obtained, which allows the display panel to be controlled to display the data according to the compensated display data.
[0124] In some embodiments, before obtaining the compensation coefficient corresponding to the current refresh rate, the method further includes:
[0125] Obtain the second raw display data for each pixel at each refresh rate of the display panel;
[0126] Based on the second original display data, the original compensation data, and the preset display data at each refresh rate, determine the compensation coefficient for each pixel at each refresh rate.
[0127] In these embodiments, by acquiring the second original display data at each refresh rate, and based on the second original display data, the original compensation data, and the preset display data at each refresh rate, the compensation coefficient of each pixel at each refresh rate can be determined, thereby enabling corresponding compensation for each pixel at each refresh rate.
[0128] The calculation process for the compensation coefficient can be found in the above description of the calculation process for the update parameters, and will not be repeated here.
[0129] In the above embodiments, the compensation data is the compensation performed on each pixel at each refresh rate, relative to the original compensation data, to obtain compensation data for different refresh rates.
[0130] Understandably, depending on the refresh rate, a certain compensation coefficient (such as a second gain compensation coefficient and a second compensation offset) can be assigned to each pixel at each refresh rate according to the display effect, so that each pixel at different refresh rates can be compensated accordingly.
[0131] In practical applications, different refresh frequencies and their corresponding compensation coefficients (such as the second gain compensation coefficient and the second compensation offset) can be stored in memory one by one. When compensation is performed, the compensation data is obtained by calculating the above formula based on the current refresh frequency and the corresponding compensation coefficient. The first original display data is updated using the compensation data, and the compensated display data is generated and sent to the display panel for display, thereby completing the compensation of the pixels of the display panel at the current refresh frequency.
[0132] In some embodiments, when the current refresh rate is 120Hz, the second gain compensation coefficient can be 1, and when the current refresh rate is 90Hz, the second gain compensation coefficient can be 2.
[0133] In some embodiments, such as Figure 2 As shown, prior to S11, the method further includes:
[0134] S10. The processor performs gamma adjustment on each pixel at M preset refresh rates to obtain the first original display data of each pixel; wherein, the M preset refresh rates are at least a part of the N refresh rates supported by the display panel, and M and N are positive integers.
[0135] Gamma adjustment is a non-linear operation performed on the grayscale (or chromaticity) values of the input image, so that the grayscale (or chromaticity) values of the output image (such as the first original display data) have an exponential relationship with the grayscale (or chromaticity) values of the input image.
[0136] Since the human eye's sensitivity to external light sources is not linear but exponential in relation to the input light intensity, the input image needs to be gamma-adjusted to facilitate image recognition. The image information after gamma adjustment is closer to the original image information.
[0137] In related technologies, for display panels with variable refresh rates, gamma adjustment is required at each refresh rate to improve the display effect. This results in a long gamma adjustment time, which is not conducive to improving production efficiency.
[0138] In these embodiments, by performing Demura compensation on each pixel at every refresh rate, gamma adjustment can be performed only at some refresh rates to achieve a better display effect. On the one hand, this reduces the number of gamma adjustments and the time required. On the other hand, by performing Demura compensation on each refresh rate while performing gamma adjustment on each refresh rate, the display effect can be further improved.
[0139] The preset M refresh rates can include 60Hz and 120Hz, among others.
[0140] The above embodiments disclose a process for directly using compensation data to perform display compensation on the pixels of a display panel in order to improve the display effect.
[0141] In practical applications, the above method can also include: burning the compensation data (such as the correspondence between the compensation coefficient and the refresh rate) into the memory. Then, when displaying on the display panel, the compensation coefficient in the memory can be read, and the original compensation data can be updated using the compensation coefficient, thus completing the above compensation process.
[0142] Of course, in some embodiments, the above method may also include a step of verifying the compensation data after burning and before displaying it.
[0143] To better understand the above one or more embodiments, the present disclosure also provides the following examples:
[0144] like Figure 3 As shown, the display compensation method includes:
[0145] S21. Initialize the screen.
[0146] S22. Perform gamma adjustment on the pixels of the display panel at refresh rates of 60Hz and 120Hz. Specifically, each refresh rate below 60Hz uses the same gamma adjustment curve as 60Hz, and each refresh rate between 60Hz and 120Hz uses the same gamma adjustment curve as 120Hz.
[0147] S23. Pre-store compensation coefficients (a and b in formula (4) above). For different refresh frequencies, different compensation coefficients are determined according to the display effect, and the mapping relationship between refresh frequency and compensation coefficients (a and b in formula (4) above) is stored in memory.
[0148] S24, Whole machine application.
[0149] S25. Different refresh rates are switched, corresponding to different compensation coefficients (a and b in the above formula (4)).
[0150] S26. Refresh Demura compensation data. For example, the processor obtains the current refresh rate of the display panel, and reads the corresponding compensation coefficients (a and b in the above formula (4)) according to the current refresh rate, and updates the original compensation data using the compensation coefficients (a and b in the above formula (4)).
[0151] S27. The refreshed Demura compensation data is superimposed on the original display data, and the new display data is sent to the display panel for display. The color deviation at different refresh rates is significantly reduced.
[0152] This completes the process of compensating for the pixels on the display panel at different refresh rates.
[0153] In the display compensation method provided in the embodiments of this disclosure, corresponding compensation data is determined according to the current refresh rate, and the brightness and / or chromaticity of the pixels of the display panel at the current refresh rate are compensated, thereby overcoming the problem of uneven screen display brightness caused by different refresh rates.
[0154] This disclosure also proposes a display compensation device, such as... Figure 4 As shown, the device 100 includes:
[0155] The first acquisition module 41 is configured to acquire the current refresh rate of the display panel and the first original display data of each pixel at the current refresh rate;
[0156] The second acquisition module 42 is configured to acquire compensation data for each pixel at the current refresh rate.
[0157] The compensation module 43 is configured to compensate each pixel based on the compensation data and the first original display data to obtain the compensated display data;
[0158] The control module 44 is configured to control the display panel to display the compensated display data.
[0159] In some embodiments, the first acquisition module 41, the second acquisition module 42, the compensation module 43, and the control module 44 can all be program modules. After the program module is executed by the processor, it can compensate the pixels of the display panel and control the display panel to display the compensated display data.
[0160] In other embodiments, the first acquisition module 41, the second acquisition module 42, the compensation module 43, and the control module 44 may all be hardware-software hybrid modules; the hardware-software hybrid modules may include various programmable arrays; the programmable arrays include, but are not limited to: complex programmable arrays and / or field-programmable arrays.
[0161] In some other embodiments, the first acquisition module 41, the second acquisition module 42, the compensation module 43, and the control module 44 may be pure hardware modules; pure hardware modules include, but are not limited to, application-specific integrated circuits.
[0162] In some embodiments, the second acquisition module 42 is specifically configured to acquire the compensation coefficient corresponding to the current refresh rate; and determine the compensation data of each pixel at the current refresh rate based on the compensation coefficient and the first original display data. In some embodiments, the mapping relationship between the refresh rate and the compensation coefficient can be stored in a memory (such as flash memory). The second acquisition module can read the compensation coefficient corresponding to the current refresh rate from the memory, and update the first original display data using the compensation coefficient to obtain the compensation data of each pixel at the current refresh rate.
[0163] In practical applications, the second acquisition module 42 can be a driver IC.
[0164] In some embodiments, the apparatus further includes: a third acquisition module and a first determination module;
[0165] The third acquisition module is configured to acquire the second original display data of each pixel at each refresh rate of the display panel before acquiring the compensation coefficient corresponding to the current refresh rate;
[0166] The first determining module is configured to determine the compensation coefficient of each pixel at each refresh rate based on the second original display data and the preset display data at each refresh rate.
[0167] The third acquisition module can be a CCD camera, and the first determination module can be Demura software.
[0168] In some embodiments, the compensation coefficient includes the original compensation coefficient and the update parameter corresponding to the current refresh frequency;
[0169] The second acquisition module 42 is specifically configured to calculate the original compensation data based on the original compensation coefficient and the first original display data; and update the original compensation data according to the update parameters to obtain the compensation data.
[0170] In some embodiments, the second acquisition module 42 is specifically configured to acquire the compensation coefficient corresponding to the current refresh frequency and the original compensation data of each pixel; update the original compensation data using the compensation coefficient corresponding to the current refresh frequency to obtain the compensation coefficient of each pixel at the current refresh frequency.
[0171] In some embodiments, the apparatus may further include: a fourth acquisition module and a second determination module;
[0172] The fourth acquisition module is configured to acquire the second raw display data of each pixel at each refresh rate of the display panel before acquiring the compensation coefficient corresponding to the current refresh rate;
[0173] The second determining module is configured to determine the compensation coefficient of each pixel at each refresh frequency based on the second original display data, the original compensation data, and the preset display data at each refresh frequency.
[0174] In some embodiments, such as Figure 5 As shown, the device 100 may further include a gamma adjustment module 40. The gamma adjustment module 40 is configured to perform gamma adjustment on each pixel at a preset M refresh rates to obtain the first original display data for each pixel; wherein, the M preset refresh rates are at least a portion of the N refresh rates supported by the display panel, and M and N are positive integers.
[0175] Regarding the apparatus in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated upon here.
[0176] Figure 6 This is a block diagram illustrating an electronic device according to an exemplary embodiment. (Refer to...) Figure 6 The electronic device 800 includes: a processor 820 and a memory 804, wherein,
[0177] The memory 804 is configured to store executable instructions and applications of the processor 820, and can also cache data to be processed or already processed by various modules in the processor 820. It can be implemented by flash memory or random access memory (RAM).
[0178] The processor 820 is configured to perform the display compensation method provided by any of the aforementioned technical solutions.
[0179] The memory 804 may include various types of storage media, which are non-temporary computer storage media that can continue to store information after the electronic device 800 loses power.
[0180] The processor 820 can be connected to the memory 804 via a bus or similar means, and configured to read executable programs stored on the memory 804, for example, capable of executing programs such as... Figure 1 , Figure 2 and Figure 3 At least one of the methods shown.
[0181] Furthermore, the aforementioned electronic device 800 may also be equipped with a display panel.
[0182] Figure 6 This is a block diagram illustrating an electronic device 800 according to an exemplary embodiment. For example, the electronic device 800 may be included in an electronic device such as a mobile phone or mobile computer, or a device such as a server. In short, the data processing electronic device 800 may be included in any type of electronic device.
[0183] Reference Figure 6 The electronic device 800 may also include one or more of the following components: a processing component 802, a power supply component 806, a multimedia component 808, an audio component 810, an input / output (I / O) interface 812, a sensor component 814, and a communication component 816.
[0184] Processing component 802 typically controls the overall operation of electronic device 800, such as operations associated with display, telephone calls, data communication, camera operation, and recording operations. Processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the methods described above. Furthermore, processing component 802 may include one or more modules to facilitate interaction between processing component 802 and other components. For example, processing component 802 may include a multimedia module to facilitate interaction between multimedia component 808 and processing component 802.
[0185] Memory 804 is configured to store various types of data to support the operation of device 800. Examples of this data include instructions for any application or method operating on electronic device 800, contact data, phonebook data, messages, pictures, videos, etc. Memory 804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.
[0186] Power component 806 provides power to various components of electronic device 800. Power component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to electronic device 800.
[0187] Multimedia component 808 includes a screen that provides an output interface between electronic device 800 and user. In some embodiments, the screen may include a display (such as an OLED) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touchscreen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors may sense not only the boundaries of touch or swipe actions but also the duration and pressure associated with the touch or swipe operation. In some embodiments, multimedia component 808 includes a front-facing camera and / or a rear-facing camera. When electronic device 800 is in an operational state, such as a shooting state or a video state, the front-facing camera and / or the rear-facing camera may receive external multimedia data. Each front-facing camera and rear-facing camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
[0188] Audio component 810 is configured to output and / or input audio signals. For example, audio component 810 includes a microphone (MIC) configured to receive external audio signals when electronic device 800 is in an operational state, such as a call state, recording state, or voice recognition state. The received audio signals may be further stored in memory 804 or transmitted via communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
[0189] I / O interface 812 provides an interface between processing component 802 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to, home buttons, volume buttons, power buttons, and lock buttons.
[0190] Sensor assembly 814 includes one or more sensors for providing state assessments of various aspects of electronic device 800. For example, sensor assembly 814 may detect the on / off state of device 800, the relative positioning of components such as the display and keypad of electronic device 800, changes in position of electronic device 800 or a component of electronic device 800, the presence or absence of user contact with electronic device 800, orientation or acceleration / deceleration of electronic device 800, and temperature changes of electronic device 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, sensor assembly 814 may also include an accelerometer, gyroscope, magnetometer, pressure sensor, or temperature sensor.
[0191] Communication component 816 is configured to facilitate wired or wireless communication between electronic device 800 and other devices. Electronic device 800 can access wireless networks based on communication standards, such as Wi-Fi, 2G, or 3G, or combinations thereof. In one exemplary embodiment, communication component 816 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 816 also includes a near-field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
[0192] In an exemplary embodiment, the apparatus 800 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the methods described above.
[0193] In an exemplary embodiment, a computer-readable storage medium including instructions is also provided, such as a non-transitory computer-readable storage mechanism, for example, a memory 804 including instructions that can be executed by a processor 820 of the device 800 to perform the above-described method. For example, the computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.
[0194] Based on the same inventive concept, some embodiments of this disclosure also provide a computer-readable storage medium that, when instructions in the storage medium are executed by a processor of an electronic device, enables the electronic device to perform a display compensation method, the method comprising:
[0195] Obtain the current refresh rate of the display panel, and the first raw display data of each pixel at the current refresh rate;
[0196] Obtain the compensation data for each pixel at the current refresh rate;
[0197] Based on the compensation data and the first original display data, each pixel is compensated to obtain the compensated display data;
[0198] Control the display panel to display the compensated display data.
[0199] Other embodiments of the invention will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention that follow the general principles of the invention and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of the invention are indicated by the following claims.
[0200] It should be understood that the present invention is not limited to the precise structure described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of the invention is limited only by the appended claims.
Claims
1. A display compensation method, characterized in that, include: Obtain the current refresh rate of the display panel, and the first raw display data of each pixel at the current refresh rate; Obtain the compensation data for each pixel at the current refresh rate; Based on the compensation data and the first original display data, each pixel is compensated to obtain the compensated display data; Control the display panel to display the compensated display data; The step of compensating each pixel based on the compensation data and the first original display data to obtain the compensated display data includes: superimposing the compensation data with the first original display data to obtain the compensated display data; The step of obtaining compensation data for each pixel at the current refresh frequency includes: obtaining the compensation coefficient corresponding to the current refresh frequency and the original compensation data for each pixel; updating the original compensation data using the compensation coefficient corresponding to the current refresh frequency to obtain compensation data for each pixel at the current refresh frequency. The method further includes, before obtaining the compensation coefficient corresponding to the current refresh frequency: Obtain the second raw display data for each pixel at each refresh rate of the display panel; Based on the second original display data, the original compensation data, and the preset display data at each refresh rate, the compensation coefficient of each pixel at each refresh rate is determined.
2. The method according to claim 1, characterized in that, The compensation coefficient includes: a second gain compensation coefficient and a second compensation offset; The original compensation data, the compensation coefficient, and the compensation data satisfy the following formula: X i =(D i )a+b; Among them, X i D is the compensation data for the i-th pixel of the display panel. i The original compensation data for the i-th pixel of the display panel is given, where i is a positive integer, a is the second gain compensation coefficient, and b is the second compensation offset.
3. The method according to claim 1, characterized in that, Before acquiring the first raw display data for each pixel in the display panel, the method further includes: Each pixel is gamma-tuned at M preset refresh rates to obtain the first original display data for each pixel; wherein the M preset refresh rates are at least a portion of the N refresh rates supported by the display panel, and M and N are positive integers.
4. A display compensation method, characterized in that, include: Obtain the current refresh rate of the display panel, and the first raw display data of each pixel at the current refresh rate; Obtain the compensation data for each pixel at the current refresh rate; Based on the compensation data and the first original display data, each pixel is compensated to obtain the compensated display data; Control the display panel to display the compensated display data; The step of compensating each pixel based on the compensation data and the first original display data to obtain the compensated display data includes: superimposing the compensation data with the first original display data to obtain the compensated display data; The step of obtaining compensation data for each pixel at the current refresh rate includes: obtaining a compensation coefficient corresponding to the current refresh rate; wherein the compensation coefficient includes: an original compensation coefficient and an update parameter corresponding to the current refresh rate; calculating original compensation data based on the original compensation coefficient and the first original display data; and updating the original compensation data based on the update parameter to obtain the compensation data. Before obtaining the compensation coefficient corresponding to the current refresh rate, the method further includes: obtaining the second original display data of each pixel at each refresh rate of the display panel; and determining the compensation coefficient of each pixel at each refresh rate based on the second original display data and the preset display data at each refresh rate.
5. The method according to claim 4, characterized in that, The original compensation coefficients include: a first gain compensation coefficient and a first compensation offset; the update parameters include: a gain update parameter and an offset update parameter. The updated parameters, the original compensation data, and the compensation data satisfy the following formula: X i =(D i )a+b; Among them, X i D is the compensation data for the i-th pixel of the display panel. i The original compensation data for the i-th pixel of the display panel, where i is a positive integer, a is the gain update parameter, and b is the offset update parameter; The original compensation coefficient, the first original display data, and the original compensation data satisfy the following formula: D i =cx i +d; Among them, D i x is the original compensation data for the i-th pixel of the display panel. i The first original display data of the i-th pixel of the display panel, where i is a positive integer, c is the first gain compensation coefficient, and d is the first compensation offset.
6. The method according to claim 4, characterized in that, Before acquiring the first raw display data for each pixel in the display panel, the method further includes: Each pixel is gamma-tuned at M preset refresh rates to obtain the first original display data for each pixel; wherein the M preset refresh rates are at least a portion of the N refresh rates supported by the display panel, and M and N are positive integers.
7. A display compensation device, characterized in that, include: The first acquisition module is configured to acquire the current refresh rate of the display panel and the first raw display data of each pixel at the current refresh rate; The second acquisition module is configured to acquire compensation data for each pixel at the current refresh rate. The compensation module is configured to compensate each pixel based on the compensation data and the first original display data to obtain the compensated display data; The control module is configured to control the display panel to display the compensated display data; The compensation module is configured to superimpose the compensation data with the first original display data to obtain the compensated display data. The second acquisition module is configured to: acquire the compensation coefficient corresponding to the current refresh frequency and the original compensation data of each pixel; update the original compensation data using the compensation coefficient corresponding to the current refresh frequency to obtain the compensation data of each pixel at the current refresh frequency; Before obtaining the compensation coefficient corresponding to the current refresh frequency, the device further includes: a fourth acquisition module and a second determination module; the fourth acquisition module is configured to acquire second original display data of each pixel at each refresh frequency of the display panel before obtaining the compensation coefficient corresponding to the current refresh frequency; the second determination module is configured to determine the compensation coefficient of each pixel at each refresh frequency based on the second original display data, the original compensation data and the preset display data at each refresh frequency.
8. A display compensation device, characterized in that, include: The first acquisition module is configured to acquire the current refresh rate of the display panel and the first raw display data of each pixel at the current refresh rate; The second acquisition module is configured to acquire compensation data for each pixel at the current refresh rate. The compensation module is configured to compensate each pixel based on the compensation data and the first original display data to obtain the compensated display data; The control module is configured to control the display panel to display the compensated display data; The compensation module is configured to superimpose the compensation data with the first original display data to obtain the compensated display data. The second acquisition module is configured to: acquire the compensation coefficient corresponding to the current refresh frequency; wherein the compensation coefficient includes: the original compensation coefficient and the update parameter corresponding to the current refresh frequency; calculate the original compensation data based on the original compensation coefficient and the first original display data; update the original compensation data according to the update parameter to obtain the compensation data; The device further includes a third acquisition module and a first determination module; the third acquisition module is configured to acquire second original display data of each pixel at each refresh frequency of the display panel before acquiring the compensation coefficient corresponding to the current refresh frequency; the first determination module is configured to determine the compensation coefficient of each pixel at each refresh frequency based on the second original display data and the preset display data at each refresh frequency.
9. An electronic device, characterized in that, include: A processor and a memory, the memory being configured to store processor-executable instructions, the processor being configured to perform the display compensation method as described in any one of claims 1 to 6.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program; the computer program is configured to, when executed by a processor, implement the display compensation method as described in any one of claims 1 to 6.
Citation Information
Patent Citations
Image pixel correction method and system
CN109587468A
Display compensation method and device of display panel, display device and medium
CN113380170A