A backlight compensation method and device for a display screen, a chip and a terminal

By calculating the brightness ratio of each backlight area of ​​the display screen to determine the backlight compensation coefficient, the image is backlit, which solves the problem of uneven display of the LCD screen, especially improving the brightness uniformity in high-brightness images.

CN115775541BActive Publication Date: 2026-03-17GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 3 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-09-06
Publication Date
2026-03-17

AI Technical Summary

Technical Problem

Existing LCD screens using LED backlights suffer from uneven display, especially when displaying high-brightness images. The traditional Demura method cannot effectively improve this uneven brightness.

Method used

By obtaining the ratio of the brightness of each backlight area of ​​the display screen to the area with the lowest brightness, the first preset backlight compensation coefficient is calculated, and backlight compensation is performed on the image to be displayed to adjust the brightness of the display data.

Benefits of technology

It effectively improves the uneven display phenomenon, especially in high-brightness images, enhances brightness uniformity, and leaves room for improvement in the upper limit of brightness.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115775541B_ABST
    Figure CN115775541B_ABST
Patent Text Reader

Abstract

This application belongs to the field of display technology, and particularly relates to a backlight compensation method, device, chip and terminal for a display screen. This application determines a first preset backlight compensation coefficient for each backlight area of ​​the display screen by obtaining the ratio of the brightness of each backlight area of ​​the display screen to the brightness of the backlight area with the lowest brightness of the display screen, performs backlight compensation on the image to be displayed, and obtains the first data to be displayed. This realizes the adjustment of backlight brightness from the source of display data, which can effectively improve the phenomenon of uneven display of the display screen, and can also reserve room for improvement of the upper limit of brightness.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of display technology, and in particular relates to a backlight compensation method, device, chip and terminal for a display screen. Background Technology

[0002] Currently, most LCD screens on the market use LEDs (Light Emitting Diodes) as backlights. Although the light emitted by LEDs can be emitted relatively evenly after being scattered by the light guide plate, slight unevenness in display is inevitable. For example, the brightness in the center of the screen may be slightly higher than that at the edges, or vice versa.

[0003] Furthermore, as the size of the display increases, the unevenness of the display caused by the uneven backlight becomes more and more serious, and the traditional method of removing backlight brightness unevenness (Demura) can no longer meet the needs of users. Summary of the Invention

[0004] This application provides a backlight compensation method, apparatus, chip, and terminal for a display screen, which can improve the uneven display phenomenon.

[0005] The first aspect of this application provides a backlight compensation method for a display screen, comprising:

[0006] Obtain a first preset backlight compensation coefficient for each backlight area of ​​the display screen, wherein the first preset backlight compensation coefficient for each backlight area of ​​the display screen is determined based on the ratio between the brightness of the corresponding backlight area of ​​the display screen and the brightness of the backlight area with the lowest brightness of the display screen.

[0007] Backlight compensation is performed on the image to be displayed based on the first preset backlight compensation coefficient to obtain the first data to be displayed.

[0008] A second aspect of this application provides a backlight compensation device for a display screen, comprising:

[0009] The acquisition unit is used to acquire the first preset backlight compensation coefficient of each backlight area of ​​the display screen, wherein the first preset backlight compensation coefficient of each backlight area of ​​the display screen is determined based on the ratio between the brightness of the corresponding backlight area of ​​the display screen and the brightness of the backlight area with the lowest brightness of the display screen.

[0010] The compensation unit is used to perform backlight compensation on the image to be displayed based on the first preset backlight compensation coefficient to obtain the first data to be displayed.

[0011] A third aspect of this application provides a chip including a processor, which reads and executes a computer program stored in a memory to implement the steps of the method described in the first aspect.

[0012] A fourth aspect of this application provides a terminal including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the steps of the method described in the first aspect above.

[0013] A fifth aspect of this application provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of the method described in the first aspect above.

[0014] In this embodiment, the first preset backlight compensation coefficient of each backlight area of ​​the display screen is determined by obtaining the ratio of the brightness of each backlight area of ​​the display screen to the brightness of the backlight area with the lowest brightness of the display screen. Backlight compensation is performed on the image to be displayed to obtain the first data to be displayed. This realizes the adjustment of backlight brightness from the source of display data, which can effectively improve the phenomenon of uneven display of the display screen. In addition, it can also reserve room for improvement of the upper limit of brightness. Attached Figure Description

[0015] To more clearly illustrate the method schemes of the embodiments of this application, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of this application and should not be regarded as a limitation of the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.

[0016] Figure 1 This is a schematic diagram illustrating the implementation of a traditional backlight compensation method provided in the embodiments of this application;

[0017] Figure 2 This is a schematic diagram illustrating the implementation process of the backlight compensation method for a display screen provided in an embodiment of this application;

[0018] Figure 3 This is a schematic diagram illustrating the specific implementation process of determining the first preset backlight compensation coefficient provided in the embodiments of this application;

[0019] Figure 4 This is a schematic diagram of the backlight compensation device for a display screen provided in an embodiment of this application.

[0020] Figure 5 This is a schematic diagram of the terminal structure provided in the embodiments of this application. Detailed Implementation

[0021] To make the objectives, methods, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0022] In this document, "and / or" is merely a way of describing the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, or B existing alone. Furthermore, in the description of the embodiments in this application, unless otherwise stated, "multiple" means two or more, and "at least one" or "one or more" means one, two, or more than two.

[0023] References to "one embodiment" or "some embodiments" as described in this specification mean that one or more embodiments of this application include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized.

[0024] The method of this application embodiment can be applied to various terminals, such as mobile phones, televisions, tablet computers, wearable devices, in-vehicle devices, augmented reality (AR) / virtual reality (VR) devices, laptops, ultra-mobile personal computers (UMPCs), netbooks, personal digital assistants (PDAs), and other terminals that need to use a display screen to display data. This application embodiment does not impose any restrictions on the specific type of terminal.

[0025] Currently, with the increase in terminal display screen size, the uneven display caused by backlight unevenness is becoming more and more serious, especially when displaying high-brightness images (images to be displayed). The traditional method of removing backlight brightness unevenness (Demura) can no longer meet the needs of users.

[0026] Specifically, such as Figure 1As shown, the Demura implementation process in a typical implementation is as follows: the camera 11 captures images of different gray levels displayed on the display screen 12. For example, key gray levels such as 63, 127, and 195 are selected to capture images of the display screen. Then, based on the gray levels (display gray levels) of the captured images, the backlight compensation coefficients (second backlight compensation coefficients) of the pixels in each area of ​​the display screen at key gray levels such as 63, 127, and 195 are determined by actively lowering or raising the display gray levels. These coefficients are then written into the display screen driver chip TCON-IC in the form of a compensation table. When in use, the backlight compensation coefficients corresponding to each gray level in each area are calculated by interpolation.

[0027] However, for high-brightness images, such as those with a grayscale between 240 and 255, since the grayscale is already high, there is no room to further increase the grayscale value. Therefore, when displaying high-brightness images with a grayscale between 240 and 255, the effect of increasing the brightness in darker areas of the display is not ideal. As a result, the mura, which is related to the backlight brightness, still exists in high-brightness images and is very obvious.

[0028] Therefore, traditional methods for removing backlight eccentricity (Demura) cannot effectively improve the display of high-brightness images.

[0029] Based on this, embodiments of this application provide a backlight compensation method, apparatus, chip, and terminal for a display screen, which can improve the phenomenon of uneven display.

[0030] Specifically, the backlight compensation method, device, chip, and terminal provided in this application determine the first preset backlight compensation coefficient for each backlight area of ​​the display screen by obtaining the ratio of the brightness of each backlight area of ​​the display screen to the brightness of the backlight area with the lowest brightness of the display screen, and perform backlight compensation on the image to be displayed to obtain the first data to be displayed. This realizes the adjustment of backlight brightness from the source of display data, which can effectively improve the phenomenon of uneven display of the display screen, and can also reserve room for improvement of the upper limit of brightness.

[0031] For example, by reducing the display brightness of high-brightness images output to the display driver chip, the phenomenon of some areas being too dark under bright images can be improved, reserving room for increasing the upper limit of brightness for high-brightness images. Furthermore, the embodiments of this application can be applied to terminals with different types of displays, exhibiting strong universality and scalability.

[0032] To better understand the backlight compensation method for the display screen provided in the embodiments of this application, the specific implementation process will be described below from the implementation perspective, in conjunction with the accompanying drawings.

[0033] For example, such as Figure 2 A schematic flowchart illustrating a backlight compensation method for a display screen according to an embodiment of this application is shown. This backlight compensation method can be executed by a backlight compensation device configured on the terminal, and specifically includes steps 201 to 202.

[0034] Step 201: Obtain the first preset backlight compensation coefficient for each backlight area of ​​the display screen.

[0035] In this embodiment, the first preset backlight compensation coefficient of each backlight area of ​​the display screen is determined based on the ratio between the brightness of the corresponding backlight area of ​​the display screen and the brightness of the backlight area with the lowest brightness of the display screen.

[0036] That is, the first preset backlight compensation coefficient of a certain backlight area is determined by the ratio between the brightness of that backlight area and the brightness of the backlight area with the lowest brightness on the display screen.

[0037] In this embodiment of the application, the first preset backlight compensation coefficient can be stored in the memory of the terminal. In step 201, obtaining the first preset backlight compensation coefficient of each backlight area of ​​the display screen can refer to reading the first preset backlight compensation coefficient of each backlight area of ​​the display screen from the memory of the terminal.

[0038] Optionally, in determining the first preset backlight compensation coefficient for each backlight area of ​​the display screen, the display screen can be divided into m*n backlight areas. When the display screen displays an image with a preset brightness, the display screen is photographed to obtain the brightness of each backlight area in the m*n backlight areas. The brightness of the backlight area with the lowest brightness among the m*n backlight areas is determined, that is, the brightness of the backlight area with the lowest brightness of the display screen. Then, the ratio between the brightness of each backlight area of ​​the display screen and the brightness of the backlight area with the lowest brightness of the display screen is calculated, where m and n are both integers greater than or equal to 1.

[0039] For example, according to the formula The ratio of the brightness of each backlight area of ​​the display screen to the brightness of the backlight area with the lowest brightness is calculated, where η represents the ratio of the brightness of one of the backlight areas of the display screen to the brightness of the backlight area with the lowest brightness.

[0040] It should be noted that, since this application determines the first preset backlight compensation coefficient based on the ratio between the brightness of the corresponding backlight area of ​​the display screen and the brightness of the backlight area with the lowest brightness of the display screen, the display screen can be photographed and the ratio calculated when the display screen displays any preset brightness image.

[0041] In particular, in order to better adapt to the adjustment of uneven backlighting in high-brightness images, in some embodiments of this application, after the display screen is divided into m*n backlight areas, the display screen can be photographed when it displays a white image, that is, when it displays a high-brightness image, to obtain the brightness of each backlight area in the m*n backlight areas, and the brightness of the backlight area with the lowest brightness in the m*n backlight areas can be determined, that is, the brightness of the backlight area with the lowest brightness of the display screen. Then, the ratio between the brightness of each backlight area of ​​the display screen and the brightness of the backlight area with the lowest brightness of the display screen can be calculated.

[0042] For example, when the display screen shows a picture where the RGB values ​​of each pixel are (255, 255, 255), the display screen is photographed to obtain the brightness of each backlight area in m*n backlight areas. The brightness of the backlight area with the lowest brightness in the m*n backlight areas is determined, that is, the brightness of the backlight area with the lowest brightness in the display screen. Then, the ratio between the brightness of each backlight area of ​​the display screen and the brightness of the backlight area with the lowest brightness in the display screen is calculated.

[0043] After obtaining the ratio between the brightness of each backlight area of ​​the display screen and the brightness of the backlight area with the lowest brightness of the display screen, optionally, in some embodiments of this application, the first preset backlight compensation coefficient in step 201 above can be calculated based on the gamma compensation value of the display screen and the ratio between the brightness of the corresponding backlight area of ​​the display screen and the brightness of the backlight area with the lowest brightness of the display screen.

[0044] For example, such as Figure 3 As shown, the first preset backlight compensation coefficient can be determined using the following steps 301 to 302:

[0045] Step 301: Obtain the gamma compensation value of the display screen.

[0046] Gamma compensation is a parameter used to express the non-linear characteristics of a display, such as the non-linear characteristics of a CRT (cathode ray tube) monitor. However, even though CRT monitors are linear, gamma correction still exists. This is because the visual system's perception of brightness, or rather, of the RGB three-color signals, is roughly logarithmic, not linear. Gamma correction is a transfer function introduced to overcome this non-linearity and is widely used in video streaming, computer graphics, and other imaging systems.

[0047] Generally, when the gamma compensation value used for gamma correction is greater than 1, the highlights of the image are compressed while the shadows are expanded. When the gamma compensation value used for gamma correction is less than 1, the highlights of the image are expanded while the shadows are compressed. Gamma correction is generally used to smoothly expand the details in the shadows.

[0048] Optionally, in some embodiments of this application, the gamma compensation value γ of the display screen can be based on the correspondence between grayscale brightness and grayscale value. The calculation yields, where L a W represents any grayscale value other than 255 that the display screen can show. a Indicates grayscale value L a The corresponding grayscale brightness, W 白255 This indicates the grayscale brightness corresponding to when the display shows a white screen.

[0049] Optionally, since gamma 2.2 is the default value, and many programs and interface elements use gamma 2.2, it is a safe choice and also close to the sRGB color reproduction curve, meaning that non-color-managed sRGB images will display approximately the correct brightness. Therefore, in some embodiments of this application, the display's gamma compensation value γ can also be directly set to 2.2 without using the formula... Perform the calculation. Understandably, this involves using the formula. The calculated gamma compensation value for the display screen may also be 2.2.

[0050] Therefore, in step 301 above, obtaining the gamma compensation value of the display screen can refer to reading the preset gamma compensation value of the display screen from the terminal's memory.

[0051] Step 302: Calculate the first preset backlight compensation coefficient for the corresponding backlight area of ​​the display screen based on the gamma compensation value and the ratio between the brightness of the corresponding backlight area of ​​the display screen and the brightness of the backlight area with the lowest brightness of the display screen.

[0052] Wherein, the brightness of the corresponding backlight area and the first preset backlight compensation coefficient of the corresponding backlight area refer to the same backlight area. That is, in this embodiment, the first preset backlight compensation coefficient of the backlight area is calculated as the ratio between the brightness of the backlight area corresponding to the first preset backlight compensation coefficient and the brightness of the backlight area with the lowest brightness on the display screen.

[0053] For example, the first preset backlight compensation coefficient of a certain backlight area A1 is calculated based on the gamma compensation value of the display screen and the ratio between the brightness of A1 and the brightness of the backlight area with the lowest brightness of the display screen.

[0054] Optionally, in some embodiments of this application, in step 302 above, calculating the first preset backlight compensation coefficient for each backlight region in multiple backlight regions based on the gamma compensation value and the ratio can be based on a formula. The first preset backlight compensation coefficient λ for the corresponding backlight area of ​​the display screen is calculated, where γ represents the gamma compensation value of the display screen and η represents the ratio between the brightness of one of the backlight areas of the display screen and the brightness of the backlight area with the lowest brightness.

[0055] It should also be noted that the first preset backlight compensation coefficient for each backlight area in the multiple backlight areas calculated based on the gamma compensation value and ratio can also be based on the formula. The first preset backlight compensation coefficient λ for the corresponding backlight area of ​​the display screen is calculated, and this application does not limit this. Wherein, γ represents the gamma compensation value of the display screen, and η represents the ratio between the brightness of one of the backlight areas of the display screen and the brightness of the backlight area with the lowest brightness.

[0056] Step 202: Perform backlight compensation on the image to be displayed based on the first preset backlight compensation coefficient to obtain the first data to be displayed.

[0057] In this embodiment of the application, in the process of backlight compensation of the image to be displayed based on the first preset backlight compensation coefficient to obtain the first data to be displayed, the backlight area of ​​the display screen corresponding to each pixel in the image to be displayed can be determined first, and then backlight compensation of each pixel in the image to be displayed can be performed based on the first preset backlight compensation coefficient of each backlight area of ​​the display screen to obtain the first data to be displayed.

[0058] It is understood that, in the embodiments of this application, when the aforementioned first preset backlight compensation coefficient is based on the formula The first preset backlight compensation coefficient is calculated. Then, the above-mentioned backlight compensation of the image to be displayed based on the first preset backlight compensation coefficient to obtain the first display data may include: obtaining the initial grayscale value L of each pixel of the image to be displayed. (初始) ; Set the initial grayscale value L of each pixel in the image to be displayed (初始) Divide by the first preset backlight compensation coefficient λ corresponding to its backlight area L(初始) The grayscale values ​​L of each pixel of the image to be displayed are obtained after compensation. (补偿) And the grayscale values ​​L of each pixel of the image to be displayed are compensated. (补偿) As the first piece of data to be displayed.

[0059] It is understandable that when the calculation formula for the first preset backlight compensation coefficient is... In this embodiment of the application, step 202, which involves backlight compensation of the image to be displayed based on a first preset backlight compensation coefficient to obtain the first data to be displayed, may include: obtaining the initial grayscale value L of each pixel in the image to be displayed. (初始) ; Set the initial grayscale value L of each pixel in the image to be displayed (初始) Multiply by the first preset backlight compensation coefficient λ corresponding to its backlight area L(初始) The grayscale values ​​L of each pixel of the image to be displayed are obtained after compensation. (补偿) And the grayscale values ​​L of each pixel of the image to be displayed are compensated. (补偿) As the first piece of data to be displayed.

[0060] It should be noted that in other embodiments of this application, other backlight compensation calculation methods can be used to determine the first backlight compensation coefficient. That is, the method of determining the first backlight compensation coefficient based on the ratio between the brightness of the corresponding backlight area of ​​the display screen and the brightness of the backlight area with the lowest brightness of the display screen is not limited to the above calculation formula. Similarly, the method of backlight compensation of the image to be displayed based on the first preset backlight compensation coefficient is not limited to the above calculation formula.

[0061] This application provides a backlight compensation method for a display screen. By obtaining the ratio between the brightness of each backlight area of ​​the display screen and the brightness of the backlight area with the lowest brightness, a first preset backlight compensation coefficient for each backlight area of ​​the display screen is determined. Backlight compensation is then performed on the image to be displayed to obtain the first display data. This method achieves backlight brightness adjustment from the source of the display data, which can effectively improve the uneven display phenomenon and reserve room for improvement of the upper limit of brightness.

[0062] For example, by reducing the display brightness of high-brightness type images output to the display driver chip, room for improvement in the upper limit of brightness of high-brightness type images can be reserved.

[0063] Because high-brightness images, such as those with a grayscale value between 240 and 255, already fall into the high grayscale category, there is no room for further increasing the grayscale value. Therefore, when displaying high-brightness images with a grayscale value between 240 and 255 in areas that appear dark on the display screen, increasing the brightness is not ideal. This results in the presence and significant appearance of mura, which is related to backlight brightness, in high-brightness images. This application reduces the display brightness of high-brightness images output to the display driver chip, thus reserving room for increasing the upper limit of brightness for high-brightness images. Therefore, this application can achieve better compensation for backlight in high-brightness images.

[0064] Based on this, in some embodiments of this application, before performing backlight compensation on the image to be displayed based on the first preset backlight compensation coefficient to obtain the first data to be displayed, it is possible to first detect whether the image to be displayed is a high-brightness type image; if the image to be displayed is a high-brightness type image, then backlight compensation is performed on the image to be displayed based on the first preset backlight compensation coefficient to obtain the first data to be displayed.

[0065] Accordingly, in some embodiments of this application, when the image to be displayed is not a high-brightness image, backlight compensation of the image to be displayed can be performed without using the first preset backlight compensation coefficient to obtain the first display data. Instead, the image to be displayed can be directly sent to the driver chip of the display screen for display, thereby improving the efficiency of the display screen in displaying images.

[0066] Optionally, in some embodiments of this application, after obtaining the first data to be displayed, a second preset backlight compensation coefficient of each backlight area of ​​the display screen can be obtained, and backlight compensation is performed on the first data to be displayed based on the second preset backlight compensation coefficient to obtain the second data to be displayed.

[0067] For example, a compensation table determined in a conventional manner is read from the display driver chip TCON-IC to perform further backlight compensation on the first data to be displayed, so as to further improve the uniformity of the display.

[0068] The aforementioned compensation table records the second preset backlight compensation coefficient for each backlight area of ​​the display screen.

[0069] Optionally, the second preset backlight compensation coefficient for each backlight area of ​​the display screen can be determined based on the difference between the display grayscale corresponding to the corresponding backlight area of ​​the display screen and the preset grayscale when the display screen displays an image of a preset grayscale.

[0070] That is, the second preset backlight compensation coefficient of a certain backlight area is determined by the difference between the display grayscale of the backlight area and the preset grayscale.

[0071] In this embodiment of the application, the aforementioned second preset backlight compensation coefficient can also be stored in the terminal's memory or in the display screen's driver chip TCON-IC.

[0072] The aforementioned acquisition of the first preset backlight compensation coefficient for each backlight area of ​​the display screen may refer to reading the first preset backlight compensation coefficient for each backlight area of ​​the display screen from the terminal's memory.

[0073] Optionally, in determining the second preset backlight compensation coefficient for each backlight area of ​​the display screen, the display screen can be divided into m*n backlight areas. When the display screen displays an image of a preset grayscale, the display screen is photographed to obtain the display grayscale of each backlight area in the m*n backlight areas. The difference between the display grayscale of each backlight area in the m*n backlight areas and the preset grayscale is determined. Then, the second preset backlight compensation coefficient for each backlight area of ​​the display screen is obtained based on the difference. Here, m and n are both integers greater than or equal to 1.

[0074] For example, key gray levels such as 63, 127, and 195 are selected to photograph the display screen. Then, based on the difference between the gray levels (display gray levels) of the captured image and preset gray levels such as 63, 127, and 195, the backlight compensation values ​​of the pixels in each area of ​​the display screen at key gray levels such as 63, 127, and 195 are determined. The backlight compensation values ​​of the pixels in each area of ​​the display screen at key gray levels such as 63, 127, and 195 are stored in the display screen driver chip TCON-IC in the form of a compensation table. After obtaining the first data to be displayed based on the above embodiments, the compensation table determined by the conventional method can be read from the display screen driver chip TCON-IC to further compensate the backlight of the first data to be displayed, so as to further improve the uniformity of the display screen.

[0075] It should also be noted that, for the sake of simplicity, the aforementioned method embodiments are all described as a series of actions. However, those skilled in the art should know that this application is not limited to the described order of actions. In some embodiments of this application, certain steps may be performed in other orders.

[0076] Figure 4 The diagram shows a backlight compensation device 400 for a display screen according to an embodiment of this application, including an acquisition unit 401 and a compensation unit 402.

[0077] The acquisition unit 401 is used to acquire the first preset backlight compensation coefficient of each backlight area of ​​the display screen, wherein the first preset backlight compensation coefficient of each backlight area of ​​the display screen is determined based on the ratio between the brightness of the corresponding backlight area of ​​the display screen and the brightness of the backlight area with the lowest brightness of the display screen.

[0078] The compensation unit 402 is used to perform backlight compensation on the image to be displayed based on the first preset backlight compensation coefficient to obtain the first data to be displayed.

[0079] Optionally, in some embodiments of this application, the acquisition unit 401 is further specifically used to determine a first preset backlight compensation coefficient for each backlight area of ​​the display screen based on the following method:

[0080] Obtain the gamma compensation value of the display screen;

[0081] The first preset backlight compensation coefficient for the corresponding backlight area of ​​the display screen is calculated based on the gamma compensation value and the ratio between the brightness of the corresponding backlight area of ​​the display screen and the brightness of the backlight area with the lowest brightness.

[0082] Optionally, in some embodiments of this application, the above-mentioned acquisition unit 401 is further specifically used for:

[0083] Based on the correspondence between grayscale brightness and grayscale value The gamma compensation value γ of the display screen is calculated, where L a W represents any grayscale value other than 255 that the display screen can show. a Indicates grayscale value L a The corresponding grayscale brightness, W 白255 This indicates the grayscale brightness corresponding to when the display shows a white screen.

[0084] Optionally, in some embodiments of this application, the above-mentioned acquisition unit 401 is further specifically used for:

[0085] Based on formula The first preset backlight compensation coefficient λ for the corresponding backlight area of ​​the display screen is calculated, where γ represents the gamma compensation value of the display screen and η represents the ratio between the brightness of one of the backlight areas of the display screen and the brightness of the backlight area with the lowest brightness.

[0086] Optionally, in some embodiments of this application, the compensation unit 402 is further specifically used for:

[0087] Obtain the initial grayscale value L of each pixel in the image to be displayed. (初始) ;

[0088] Set the initial grayscale value L of each pixel in the image to be displayed. (初始) Divide by the first preset backlight compensation coefficient λ corresponding to its backlight area L(初始) The grayscale values ​​L of each pixel of the image to be displayed are obtained after compensation. (补偿) And the grayscale values ​​L of each pixel of the image to be displayed are compensated. (补偿) As the first piece of data to be displayed.

[0089] Optionally, in some embodiments of this application, the compensation unit 402 is further specifically used for:

[0090] Detect whether the image to be displayed is a high-brightness image;

[0091] If the image to be displayed is a high-brightness image, then backlight compensation is performed on the image to be displayed based on the first preset backlight compensation coefficient to obtain the first data to be displayed.

[0092] Optionally, in some embodiments of this application, the compensation unit 402 is further specifically used for:

[0093] The second preset backlight compensation coefficient of each backlight area of ​​the display screen is obtained, wherein the second preset backlight compensation coefficient of each backlight area of ​​the display screen is determined based on the difference between the display gray level corresponding to the corresponding backlight area of ​​the display screen and the preset gray level when the display screen displays an image of a preset gray level.

[0094] The first data to be displayed is backlit based on the second preset backlight compensation coefficient to obtain the second data to be displayed.

[0095] It should be noted that, for the sake of brevity, the specific working process of the backlight compensation device 400 of the display screen described above can be referred to the above... Figures 1 to 3 The corresponding process of the Chinese method will not be elaborated here.

[0096] It should also be noted that, in the embodiments of this application, the backlight compensation device 400 of the display screen in the above-described embodiments can be configured on the main chip of the terminal during the overall terminal design, or it can be configured in the display screen driver chip TCON-IC. This application does not impose any restrictions on this.

[0097] For example, as shown in Table 1 below, the display screen is divided into m*n backlight areas. After calculating the preset compensation coefficients for each backlight area, these preset compensation coefficients can be stored on the main chip of the terminal as a pixel grayscale compression value mapping table. When the terminal needs to display an image, it can first obtain the first preset backlight compensation coefficients for each backlight area of ​​the display screen, and then perform backlight compensation on the image to be displayed based on these first preset backlight compensation coefficients to obtain the first data to be displayed.

[0098] Table 1:

[0099]

[0100]

[0101] For example, this application also provides a terminal, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the backlight compensation method for the display screen described above.

[0102] like Figure 5 The diagram shown is a schematic representation of a terminal structure for implementing the backlight compensation method for the aforementioned display screen, provided in this application. The terminal may include: a processor 51, a memory 52, and one or more input devices 53. Figure 5Only one is shown in the image) and one or more output devices 54 Figure 5 (Only one is shown in the image). Processor 51, memory 52, input device 53, and output device 54 are connected via bus 55.

[0103] It should be understood that, in the embodiments of this application, the processor 51 may be a central processing unit (CPU), but it may also be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor.

[0104] Input device 53 may include a virtual keyboard, touchpad, fingerprint sensor (for collecting the user's fingerprint information and fingerprint orientation information), microphone, etc., and output device 54 may include a display, speaker, etc.

[0105] The aforementioned memory 52 stores a computer program that can run on the aforementioned processor 51. For example, the computer program is a program for a backlight compensation method for a display screen. When the processor 51 executes the computer program, it implements the steps in the embodiment of the backlight compensation method for the display screen, for example... Figure 2 Steps 201 to 202 are shown. Alternatively, when the processor 51 executes the computer program, it implements the functions of the acquisition unit, compensation unit, and display unit in the above-described device embodiment.

[0106] The aforementioned computer program can be divided into one or more modules / units. One or more of these modules / units are stored in the aforementioned memory 52 and executed by the aforementioned processor 51 to complete this application. The aforementioned one or more modules / units can be a series of computer program instruction segments capable of performing specific functions. These instruction segments describe the execution process of the aforementioned computer program in the aforementioned terminal performing backlight compensation for the display screen. For example, the aforementioned computer program can be divided into an acquisition unit, a compensation unit, and a display unit, with the specific functions of each unit as follows:

[0107] The acquisition unit is used to acquire the first preset backlight compensation coefficient of each backlight area of ​​the display screen, wherein the first preset backlight compensation coefficient of each backlight area of ​​the display screen is determined based on the ratio between the brightness of the corresponding backlight area of ​​the display screen and the brightness of the backlight area with the lowest brightness of the display screen.

[0108] The compensation unit is used to perform backlight compensation on the image to be displayed based on a first preset backlight compensation coefficient to obtain the first data to be displayed.

[0109] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is merely an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the above device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit. Furthermore, the specific names of the functional units and modules are only for easy differentiation and are not intended to limit the scope of protection of this application. The specific working process of the units and modules in the above system can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.

[0110] For example, this application embodiment also provides a chip, including a processor, which is used to read and execute a computer program stored in a memory to implement the steps of the above-described backlight compensation method for a display screen.

[0111] For example, embodiments of this application also provide a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of the backlight compensation method for the display screen described above.

[0112] For example, this application also provides a computer product that stores computer instructions, which, when executed, implement the steps of the backlight compensation method for the display screen described above.

[0113] In the various embodiments described above, a first preset backlight compensation coefficient for each backlight area of ​​the display screen is determined by obtaining the ratio of the brightness of each backlight area of ​​the display screen to the brightness of the backlight area with the lowest brightness. Backlight compensation is then applied to the image to be displayed to obtain the first display data. This achieves backlight brightness adjustment from the source of the display data, effectively improving the unevenness of the display screen. For example, it improves the darker appearance of some areas under bright images and allows for room for improvement in the upper limit of brightness. Furthermore, the embodiments of this application can be applied to terminals with different display screens, exhibiting strong universality and scalability.

[0114] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail or recorded in a certain embodiment, please refer to the relevant descriptions of other embodiments.

[0115] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0116] In the embodiments provided in this application, it should be understood that the disclosed devices / terminals and methods can be implemented in other ways. For example, the device / terminal embodiments described above are merely illustrative. For instance, the division of modules or units described above is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms.

[0117] The units described above as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0118] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0119] If the integrated modules / units described above are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the methods of the above embodiments can also be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable medium can include: any entity or device capable of carrying the computer program code, recording media, USB flash drives, portable hard drives, magnetic disks, optical disks, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signals, telecommunication signals, and software distribution media, etc. It should be noted that the content included in the computer-readable medium can be appropriately added or removed according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electrical carrier signals and telecommunication signals.

[0120] The above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included within the protection scope of this application.

Claims

1. A method of backlight compensation for a display screen, characterized by, The method comprises the following steps: obtaining a first preset backlight compensation coefficient of each backlight area of the display screen, wherein the first preset backlight compensation coefficient of each backlight area of the display screen is based on a formula is calculated, wherein γ represents a gamma compensation value of the display screen, η represents a ratio between a brightness of a corresponding backlight area of the display screen and a brightness of a backlight area with the lowest brightness of the display screen, and λ represents the first preset backlight compensation coefficient. Backlight compensation is performed on the image to be displayed based on the first preset backlight compensation coefficient to obtain the first data to be displayed; the backlight compensation of the image to be displayed based on the first preset backlight compensation coefficient to obtain the first data to be displayed includes: obtaining the initial grayscale value L of each pixel of the image to be displayed. (初始) The initial grayscale values ​​L of each pixel in the image to be displayed are set as follows: (初始) Divide by the first preset backlight compensation coefficient λ corresponding to its backlight area L(初始) The grayscale values ​​L of each pixel of the image to be displayed are obtained after compensation. (补偿) And the grayscale values ​​L of each pixel of the image to be displayed are compensated. (补偿) This is the first data to be displayed.

2. The backlight compensation method of claim 1, wherein, The method further comprises the following steps: The method further comprises the following steps: The method further comprises the following steps:

3. A method of backlight compensation for a display screen as claimed in any of the claims 1-2, characterized in that, The method further comprises the following steps: The processor is configured to read and execute a computer program stored in the memory to implement the steps of the method according to any one of claims 1-3. The processor is configured to read and execute a computer program stored in the memory to implement the steps of the method according to any one of claims 1-3.

4. A backlight compensation apparatus for a display screen, characterized by The processor is configured to read and execute a computer program stored in the memory to implement the steps of the method according to any one of claims 1-3. The acquisition unit is configured to acquire first preset backlight compensation coefficients of each backlight area of a display screen, wherein the first preset backlight compensation coefficients of each backlight area of the display screen are based on a formula are calculated, wherein γ represents a gamma compensation value of the display screen, η represents a ratio between a brightness of a corresponding backlight area of the display screen and a brightness of a backlight area with the lowest brightness of the display screen, and λ represents the first preset backlight compensation coefficient. The compensation unit is configured to perform backlight compensation on the to-be-displayed image based on the first preset backlight compensation coefficient to obtain first to-be-displayed data. (初始) ; divide the initial gray scale value L (初始) of each pixel of the to-be-displayed image by the first preset backlight compensation coefficient λ L(初始) corresponding to the backlight area of the to-be-displayed image to obtain a compensated gray scale value L (补偿) of each pixel of the to-be-displayed image, and take the compensated gray scale value L (补偿) of each pixel of the to-be-displayed image as the first to-be-displayed data.

5. A chip comprising a processor, characterized in that, ​ 6. A terminal comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, ​ 7. A computer-readable storage medium storing a computer program, wherein the computer program comprises the following steps of: receiving a request for a resource from a client; determining whether the client is authorized to access the resource; and if the client is authorized to access the resource, providing the resource to the client. ​

Citation Information

Patent Citations

  • Side entry type backlight image compensation method and liquid crystal display device

    CN103718234A

  • Display brightness debugging method and device

    CN110264977A

  • Backlight control method and device and terminal equipment

    CN112927654A