CN115775541A - Backlight compensation method and device of display screen, chip and terminal - Google Patents

Backlight compensation method and device of display screen, chip and terminal Download PDF

Info

Publication number
CN115775541A
CN115775541A CN202111040936.3A CN202111040936A CN115775541A CN 115775541 A CN115775541 A CN 115775541A CN 202111040936 A CN202111040936 A CN 202111040936A CN 115775541 A CN115775541 A CN 115775541A
Authority
CN
China
Prior art keywords
backlight
display screen
brightness
displayed
compensation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111040936.3A
Other languages
Chinese (zh)
Inventor
王照
卢星
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202111040936.3A priority Critical patent/CN115775541A/en
Publication of CN115775541A publication Critical patent/CN115775541A/en
Pending legal-status Critical Current

Links

Images

Abstract

The application belongs to the technical field of display, and particularly relates to a backlight compensation method, a device, a chip and a terminal of a display screen.

Description

Backlight compensation method and device of display screen, chip and terminal
Technical Field
The application belongs to the technical field of display, and particularly relates to a backlight compensation method, device, chip and terminal for a display screen.
Background
Currently, most of the liquid crystal display panels on the market adopt LEDs (Light Emitting diodes) as backlight sources. Although the light emitted from the LED can be emitted uniformly after being scattered by the light guide plate, for the display panel, a slight display non-uniformity phenomenon is inevitably generated, for example, the display panel has a central brightness slightly higher than an edge brightness, or the display panel has an edge brightness slightly higher than the central brightness, so that the display is non-uniform.
Moreover, as the size of the display screen increases, the display unevenness caused by the uneven backlight becomes more serious, and the requirement of the user cannot be met by adopting the traditional mode of removing the backlight brightness unevenness (Demura).
Disclosure of Invention
The embodiment of the application provides a backlight compensation method, a backlight compensation device, a backlight compensation chip and a backlight compensation terminal of a display screen, and can improve the phenomenon of uneven display of the display screen.
A first aspect of an embodiment of the present application provides a backlight compensation method for a display screen, including:
acquiring a first preset backlight compensation coefficient of each backlight area of a display screen, wherein the first preset backlight compensation coefficient of each backlight area of the display screen is determined based on a ratio of the brightness of the corresponding backlight area of the display screen to the brightness of the backlight area with the lowest brightness of the display screen;
and performing backlight compensation on the image to be displayed based on the first preset backlight compensation coefficient to obtain first data to be displayed.
A second aspect of the embodiments of the present application provides a backlight compensation apparatus for a display screen, including:
the backlight control device comprises an acquisition unit, a processing unit and a control unit, wherein the acquisition unit is used for acquiring a first preset backlight compensation coefficient of each backlight area of a display screen, and the first preset backlight compensation coefficient of each backlight area of the display screen is determined based on the ratio of the brightness of the corresponding backlight area of the display screen to the brightness of the backlight area with the lowest brightness of the display screen;
and the compensation unit is used for carrying out backlight compensation on the image to be displayed based on the first preset backlight compensation coefficient to obtain first data to be displayed.
A third aspect of the embodiments of the present application provides a chip, which includes a processor, and the processor is configured to read and execute a computer program stored in a memory to implement the steps of the method according to the first aspect
A fourth aspect of the embodiments of the present application provides a terminal, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the steps of the method according to the first aspect when executing the computer program.
A fifth aspect of embodiments of the present application provides a computer-readable storage medium, in which a computer program is stored, and the computer program, when executed by a processor, implements the steps of the method according to the first aspect.
In the embodiment of the application, 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 based on the display screen to the brightness of the backlight area with the lowest brightness of the display screen, backlight compensation is performed on an image to be displayed, and first data to be displayed are obtained.
Drawings
In order to more clearly illustrate the method solutions of the embodiments of the present application, the drawings that are needed in the embodiments will be briefly described below, it being understood that the following drawings only illustrate some embodiments of the present application and are therefore not to be considered limiting in scope, and that for a person skilled in the art, other related drawings may also be obtained from these drawings without inventive effort.
Fig. 1 is a schematic diagram illustrating an implementation of a conventional backlight compensation method provided in an embodiment of the present application;
FIG. 2 is a schematic flow chart illustrating an implementation of a backlight compensation method for a display screen according to an embodiment of the present application;
fig. 3 is a schematic flowchart illustrating a specific implementation of determining a first preset backlight compensation coefficient according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a backlight compensation device of a display screen according to an embodiment of the present application.
Fig. 5 is a schematic structural diagram of a terminal according to an embodiment of the present application.
Detailed Description
In order to make the objects, methods, schemes and advantages of the present application more apparent, the present application is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of and not restrictive on the broad application.
"and/or" herein is merely an association describing an associated object, and means that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, in the description of the embodiments of the present application, "a plurality" means two or more, and "at least one", "one or more" means one, two or more, unless otherwise specified.
Reference throughout this specification to "one embodiment" or "some embodiments," or the like, means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the present application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," or the like, in various places throughout this specification are not necessarily all referring to the same embodiment, but rather "one or more but not all embodiments" unless specifically stated otherwise. The terms "comprising," "including," "having," and variations thereof mean "including, but not limited to," unless expressly specified otherwise.
The method of the embodiment of the present application may be applied to various terminals, for example, a mobile phone, a television, a tablet computer, a wearable device, an in-vehicle device, an Augmented Reality (AR)/Virtual Reality (VR) device, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, a Personal Digital Assistant (PDA), and other terminals that need to use a display screen to perform data display, and the embodiment of the present application does not set any limit to a specific type of the terminal.
At present, with the increase of the size of a display screen of a terminal, uneven display caused by uneven backlight becomes more serious, and particularly, when a high-brightness image (an image to be displayed) is displayed, the traditional mode of removing uneven backlight brightness (Demura) cannot meet the requirements of users.
Specifically, as shown in fig. 1, the implementation process of Demura in a general implementation manner is as follows: the method includes the steps that images with different gray scales displayed on a display screen 12 are shot through a camera 11, for example, key gray scales such as 63, 127 and 195 are selected to shoot the display screen, backlight compensation coefficients (second backlight compensation coefficients) of pixels in each area of the display screen at the key gray scales such as 63, 127 and 195 are determined in a mode of actively reducing or increasing the display gray scale according to the gray scale (display gray scale) of the shot images, the backlight compensation coefficients are written into a driving chip TCON-IC of the display screen in a compensation table mode, and when the backlight compensation coefficients are used, the backlight compensation coefficients corresponding to the gray scales of the areas are calculated in an interpolation mode.
However, for the image of high brightness type, for example, the image with the gray scale between 240-255, since the gray scale is already high, there is no room for further increasing the gray scale value, so that the effect of up-adjusting the brightness is not ideal when the image of high brightness type with the gray scale between 240-255 is displayed for the area displaying dark in the display screen, and the spot (mura) of the brightness unevenness related to the backlight brightness still exists in the image of high brightness type and is very obvious.
Therefore, the conventional method of removing the backlight mura cannot achieve a better improvement effect for displaying the high-brightness image.
Based on this, the embodiment of the application provides a backlight compensation method, device, chip and terminal for a display screen, which can improve the phenomenon of display unevenness of the display screen.
Specifically, according to the backlight compensation method, the backlight compensation device, the backlight compensation chip and the terminal for the display screen provided by the application, 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, and the backlight compensation is performed on the image to be displayed to obtain the first data to be displayed.
For example, by reducing the display brightness of the high-brightness type image output to the display screen driving chip, the phenomenon that a partial area under a high-brightness picture is dark is improved, and a lifting space is reserved for the upper limit of the brightness of the high-brightness type image. Moreover, the method and the device can be applied to terminals with different types of display screens, and have the characteristics of strong universality and strong popularization.
For better understanding of the backlight compensation method of the display screen provided by the embodiment of the present application, a specific implementation process is described below in an implementation level with reference to the accompanying drawings.
Fig. 2 is a schematic flow chart illustrating a backlight compensation method for a display screen according to an embodiment of the present application. The backlight compensation method for the display screen can be executed by the backlight compensation device for the display screen configured by the terminal, and specifically includes the following steps 201 to 202.
Step 201, obtaining a first preset backlight compensation coefficient of each backlight area of a display screen.
In the embodiment of the application, the first preset backlight compensation coefficient of each backlight area of the display screen is determined based on the ratio of the brightness of the corresponding backlight area of the display screen to the brightness of the backlight area with the lowest brightness of the display screen.
That is, the first preset backlight compensation coefficient of a certain backlight area is determined by the ratio of the brightness of the backlight area to the brightness of the backlight area with the lowest display screen brightness.
In this embodiment of the application, the first preset backlight compensation coefficient may be stored in a memory of the terminal, and in step 201, obtaining the first preset backlight compensation coefficient of each backlight area of the display screen may refer to reading the first preset backlight compensation coefficient of each backlight area of the display screen from the memory of the terminal.
Optionally, in the process of determining the first preset backlight compensation coefficient of each backlight region of the display screen, the display screen may be divided into m × n backlight regions, when the display screen displays a picture with a certain preset brightness, the display screen is photographed to obtain the brightness of each backlight region of the m × n backlight regions, and the brightness of the backlight region with the lowest brightness among the m × n backlight regions, that is, the brightness of the backlight region with the lowest brightness of the display screen, is determined, and then a ratio between the brightness of each backlight region of the display screen and the brightness of the backlight region with the lowest brightness of the display screen is calculated, where m and n are integers greater than or equal to 1.
For example, according to a formula
Figure BDA0003248618320000061
And calculating 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, wherein eta represents the ratio of the brightness of one backlight area of the display screen to the brightness of the backlight area with the lowest brightness.
It should be noted that, in the present application, the first preset backlight compensation coefficient is determined and obtained based on a ratio between the luminance of the backlight area corresponding to the display screen and the luminance of the backlight area with the lowest luminance of the display screen, so that when the display screen displays any one of the pictures with the preset luminance, the display screen may be photographed, and the ratio may be obtained through calculation.
In particular, in order to better adapt to the adjustment of the backlight unevenness of the image of the high brightness type, in some embodiments of the present application, after the display screen is divided into m × n backlight regions, when the display screen displays a white picture, that is, when the display screen displays a picture of the high brightness type, the display screen may be photographed, the luminance of each backlight region of the m × n backlight regions is obtained, the luminance of the backlight region with the lowest luminance of the m × n backlight regions, that is, the luminance of the backlight region with the lowest luminance of the display screen is determined, and then the ratio between the luminance of each backlight region of the display screen and the luminance of the backlight region with the lowest luminance of the display screen is calculated.
For example, when a display screen displays a display screen with an RGB value of (255, 255, 255) for each pixel, the display screen is photographed to obtain the luminance of each backlight region in m × n backlight regions, the luminance of the backlight region with the lowest luminance in the m × n backlight regions, that is, the luminance of the backlight region with the lowest luminance in the display screen is determined, and the ratio between the luminance of each backlight region in the display screen and the luminance of the backlight region with the lowest luminance in the display screen is calculated.
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 display screen brightness, optionally, in some embodiments of the present application, the first preset backlight compensation coefficient in step 201 may 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 display screen brightness.
For example, as shown in fig. 3, the first preset backlight compensation factor may be determined in the following manner from step 301 to step 302:
step 301, acquiring a gamma compensation value of the display screen.
Wherein the gamma compensation value is a parameter value used to express the non-linear characteristic of a display, for example, a CRT (cathode ray tube) display, but in fact, the gamma correction is present even if the CRT display is linear. The reason is that the perception of the visual system for luminance or for RGB tristimulus signals is roughly logarithmic, rather than linear, and gamma correction is a transfer function introduced to overcome this nonlinearity and is widely used in video streaming, computer graphics, and other imaging systems.
Generally, when the gamma compensation value for gamma correction is greater than 1, highlight portions of an image are compressed and dark portions are expanded, and when the gamma compensation value for gamma correction is less than 1, highlight portions of an image are expanded and dark portions are compressed, gamma correction generally being used to smoothly expand details of dark tones.
Optionally, in some embodiments of the present application, the gamma compensation value γ of the display screen may be based on a corresponding relationship between gray-scale brightness and gray-scale value
Figure BDA0003248618320000071
Is calculated to obtain, wherein, L a Representing any gray scale value, W, other than 255, that the display screen is capable of displaying a Represents a gray scale value L a Corresponding gray scale brightness, W White 255 (white) And expressing the corresponding gray scale brightness when the display screen displays a white picture.
OptionallySince gamma 2.2 is the default champion. Many programs and interface elements use gamma 2.2, so this is a safe choice, and is also a close curve for sRGB tone reproduction, which means that non-color managed sRGB images display approximately the correct brightness. Therefore, in some embodiments of the present application, the gamma compensation value γ of the display screen can also be directly set to 2.2 without using the formula
Figure BDA0003248618320000081
And (4) performing calculation. It will be appreciated that a formula is utilized
Figure BDA0003248618320000082
The gamma compensation value of the display screen obtained by calculation may also be 2.2.
Therefore, in step 301, the obtaining of the gamma compensation value of the display screen may be reading a preset gamma compensation value of the display screen from a memory of the terminal.
Step 302, a first preset backlight compensation coefficient of the corresponding backlight area of the display screen is calculated based on the gamma compensation value and the ratio of the brightness of the corresponding backlight area of the display screen to the brightness of the backlight area with the lowest brightness of the display screen.
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 the embodiment of the present application, the first preset backlight compensation coefficient of the backlight area is obtained by calculating a ratio between the luminance of the backlight area corresponding to the first preset backlight compensation coefficient and the luminance of the backlight area with the lowest luminance of the display screen.
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.
Optionally, in some embodiments of the present application, in the step 302, the first preset backlight compensation coefficient of each of the plurality of backlight areas is obtained by calculation based on the gamma compensation value and the ratio, which may be based on a formula
Figure BDA0003248618320000083
And calculating a first preset backlight compensation coefficient lambda of a corresponding backlight area of the display screen, wherein gamma represents a gamma compensation value of the display screen, and eta represents a ratio of the brightness of one backlight area of the display screen to the brightness of the backlight area with the lowest brightness.
It should be further noted that, the first preset backlight compensation coefficient of each backlight area in the plurality of backlight areas obtained by the above calculation based on the gamma compensation value and the ratio may also be based on a formula
Figure BDA0003248618320000091
And calculating to obtain a first preset backlight compensation coefficient lambda of a corresponding backlight area of the display screen, which is not limited in the application. Wherein, γ represents a gamma compensation value of the display screen, and η represents a ratio between a brightness of one of the backlight regions of the display screen and a brightness of the backlight region with the lowest brightness.
Step 202, performing backlight compensation on the image to be displayed based on the first preset backlight compensation coefficient to obtain first data to be displayed.
In the embodiment of the application, in the process of 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, the backlight area of the display screen corresponding to each pixel in the image to be displayed may be determined first, and then the backlight compensation is performed on each pixel in the image to be displayed based on the first preset backlight compensation coefficient of each backlight area of the display screen to obtain the first data to be displayed.
It is understood that, in the embodiment of the present application, when the first predetermined backlight compensation factor is based on a formula
Figure BDA0003248618320000092
The calculating a first preset backlight compensation coefficient, and performing backlight compensation on the image to be displayed based on the first preset backlight compensation coefficient to obtain first data to be displayed may include: obtaining an initial gray-scale value L of each pixel of an image to be displayed (original) (ii) a The initial gray scale value L of each pixel of the image to be displayed (original) Divided by a first predetermined backlight compensation factor λ corresponding to the backlight area L (original) Obtaining the compensated gray-scale value L of each pixel of the image to be displayed (Compensation) And compensating each pixel of the image to be displayed by the gray scale value L (Compensation) As the first data to be displayed.
It can be understood that when the first predetermined backlight compensation factor is calculated as
Figure BDA0003248618320000093
In this embodiment of the application, in step 202, 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 may include: obtaining an initial gray-scale value L of each pixel of an image to be displayed (original) (ii) a The initial gray scale value L of each pixel of the image to be displayed (original) Multiplying the first preset backlight compensation coefficient lambda corresponding to the backlight area L (original) To obtain the compensated gray level L of each pixel of the image to be displayed (Compensation) And compensating each pixel of the image to be displayed to obtain a compensated gray-scale value L (Compensation) As the first data to be displayed.
It should be noted that, in other embodiments of the present application, the first backlight compensation coefficient may also be determined by using other backlight compensation calculation manners, that is, the manner of determining the first backlight compensation coefficient based on the ratio between the luminance of the corresponding backlight area of the display screen and the luminance of the backlight area with the lowest luminance of the display screen is not limited to the above calculation formula, and similarly, the manner of performing backlight compensation on the image to be displayed based on the first preset backlight compensation coefficient is not limited to the above calculation formula.
According to the backlight compensation method of the display screen, 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 conducted on an image to be displayed, first data to be displayed are obtained, adjustment of backlight brightness from the source of the display data is achieved, the phenomenon that the display of the display screen is uneven can be effectively improved, and a lifting space can be reserved for the upper limit of brightness.
For example, by reducing the display luminance of the high-luminance type image output to the display screen driving chip, a lifting space is reserved for the luminance upper limit of the high-luminance type image.
Because the high-brightness type image, for example, an image with a gray scale between 240 and 255, belongs to a high gray scale, and a space for further increasing the gray scale value is not provided, when a dark area in the display screen displays the high-brightness type image with the gray scale between 240 and 255, the effect of up-adjusting the brightness is not ideal enough, so that uneven spots (mura) of brightness related to the backlight brightness still exist in the high-brightness type image, and the method is very obvious.
Based on this, in some embodiments of the present application, before performing backlight compensation on an image to be displayed based on a first preset backlight compensation coefficient to obtain first data to be displayed, it may be detected whether the image to be displayed is a high-brightness type image; and if the image to be displayed is the high-brightness image, performing backlight compensation on the image to be displayed based on the first preset backlight compensation coefficient to obtain first data to be displayed.
Correspondingly, in some embodiments of the present application, when the image to be displayed is not a high-brightness image, the image to be displayed may not be subjected to backlight compensation based on the first preset backlight compensation coefficient to obtain the first data to be displayed, but the image to be displayed is directly displayed on the driving chip of the display screen, so as to improve the efficiency of displaying the image on the display screen.
Optionally, in some embodiments of the application, after the first data to be displayed is obtained, a second preset backlight compensation coefficient of each backlight area of the display screen may also be obtained, and the first data to be displayed is subjected to backlight compensation based on the second preset backlight compensation coefficient, so as to obtain second data to be displayed.
For example, a compensation table determined based on a conventional manner is read from a driving chip TCON-IC of the display screen to perform further backlight compensation on the first data to be displayed, so as to further improve the uniformity of display of the display screen.
The compensation table records a second preset backlight compensation coefficient of each backlight area of the display screen.
Optionally, the second preset backlight compensation coefficient of each backlight area of the display screen may be determined based on a difference between a display gray scale corresponding to the corresponding backlight area of the display screen and a preset gray scale when the display screen displays an image with the preset gray scale.
That is, the second predetermined backlight compensation coefficient of a certain backlight area is determined by the difference between the display gray scale and the predetermined gray scale of the backlight area.
In this embodiment of the present application, the second preset backlight compensation coefficient may also be stored in a memory of the terminal, or stored in a driver chip TCON-IC of the display screen.
The obtaining of the first preset backlight compensation coefficient of each backlight area of the display screen may refer to reading the first preset backlight compensation coefficient of each backlight area of the display screen in a memory of the terminal.
Optionally, in the process of determining the second preset backlight compensation coefficient of each backlight area of the display screen, the display screen may also be divided into m × n backlight areas, when the display screen displays a picture with a certain preset gray scale, the display screen is photographed to obtain the display gray scale of each backlight area in the m × n backlight areas, a difference between the display gray scale of each backlight area in the m × n backlight areas and the preset gray scale is determined, and then the second preset backlight compensation coefficient of each backlight area of the display screen is obtained based on the difference, where m and n are integers greater than or equal to 1.
For example, selecting a key gray scale of 63, 127, 195, etc. to photograph the display screen, then determining backlight compensation values of pixels of each area of the display screen at the key gray scales of 63, 127, 195, etc. according to a difference value between a gray scale (display gray scale) of an image obtained by photographing and a preset gray scale of 63, 127, 195, etc., and storing the backlight compensation values of the pixels of each area of the display screen at the key gray scales of 63, 127, 195, etc. in a compensation table manner into a driving chip TCON-IC of the display screen, so that after the first data to be displayed is obtained based on the above embodiments, the compensation table determined based on a conventional manner can be read from the driving chip TCON-IC of the display screen to further perform backlight compensation on the first data to be displayed, so as to further improve the uniformity of display of the display screen.
It should also be noted that, for simplicity of description, the foregoing method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, and that some steps may occur in other orders in some implementations of the present application.
Fig. 4 shows a schematic structural diagram of a backlight compensation apparatus 400 of a display screen provided in an embodiment of the present application, which includes an obtaining unit 401 and a compensation unit 402.
An obtaining unit 401, configured to obtain a first preset backlight compensation coefficient of each backlight area of the display screen, where the first preset backlight compensation coefficient of each backlight area of the display screen is determined based on a ratio between luminance of the corresponding backlight area of the display screen and luminance of the backlight area where the luminance of the display screen is the lowest;
the compensation unit 402 is configured to perform backlight compensation on an image to be displayed based on a first preset backlight compensation coefficient, so as to obtain first data to be displayed.
Optionally, in some embodiments of the application, the obtaining unit 401 is further specifically configured to determine the first preset backlight compensation coefficient of each backlight area of the display screen based on the following manner:
acquiring a gamma compensation value of a display screen;
and calculating to obtain a first preset backlight compensation coefficient of the corresponding backlight area of the display screen based on the gamma compensation value and the ratio of the brightness of the corresponding backlight area of the display screen to the brightness of the backlight area with the lowest brightness of the display screen.
Optionally, in some embodiments of the application, the obtaining unit 401 is further specifically configured to:
based on the corresponding relationship between the gray scale brightness and the gray scale value
Figure BDA0003248618320000131
Calculating to obtain gamma compensation value gamma of the display screen, wherein L a Representing any gray scale value, W, other than 255, that the display screen is capable of displaying a Represents a gray scale value L a Corresponding gray scale brightness, W White 255 And the corresponding gray scale brightness when the display screen displays a white picture is represented.
Optionally, in some embodiments of the present application, the obtaining unit 401 is further specifically configured to:
based on the formula
Figure BDA0003248618320000132
And calculating a first preset backlight compensation coefficient lambda of a corresponding backlight area of the display screen, wherein gamma represents a gamma compensation value of the display screen, and eta represents a ratio of the brightness of one backlight area of the display screen to the brightness of the backlight area with the lowest brightness.
Optionally, in some embodiments of the present application, the compensation unit 402 is further specifically configured to:
obtaining an initial gray-scale value L of each pixel of an image to be displayed (original)
The initial gray scale value L of each pixel of the image to be displayed (original) Divided by a first predetermined backlight compensation factor λ corresponding to the backlight area L (original) Obtaining the compensated gray-scale value L of each pixel of the image to be displayed (Compensation) And compensating each pixel of the image to be displayed to obtain a compensated gray-scale value L (Compensation) As the first data to be displayed.
Optionally, in some embodiments of the present application, the compensating unit 402 is further specifically configured to:
detecting whether an image to be displayed is a high-brightness type image or not;
and if the image to be displayed is the high-brightness image, performing backlight compensation on the image to be displayed based on the first preset backlight compensation coefficient to obtain first data to be displayed.
Optionally, in some embodiments of the present application, the compensation unit 402 is further specifically configured to:
acquiring a second preset backlight compensation coefficient of each backlight area of the display screen, wherein when the second preset backlight compensation coefficient of each backlight area of the display screen is based on an image of a preset gray scale displayed by the display screen, the display gray scale corresponding to the corresponding backlight area of the display screen is determined according to a difference value between the preset gray scale;
and carrying out backlight compensation on the first data to be displayed based on a second preset backlight compensation coefficient to obtain second data to be displayed.
It should be noted that, for brevity of description, for a specific working process of the backlight compensation apparatus 400 of the display screen described above, reference may be made to a corresponding process of the method in fig. 1 to fig. 3, and details are not repeated here.
In the embodiment of the present application, the backlight compensation apparatus 400 of the display panel according to the foregoing embodiments may be disposed on the main chip of the terminal when the terminal is designed as a whole, or may be disposed in the driver chip TCON-IC of the display panel, which is not limited in the present application.
For example, as shown in the following table one, after the display screen is divided into m × n backlight regions, and the preset compensation coefficients of the backlight regions of the display screen are obtained through calculation, the preset compensation coefficients may be stored in the whole main chip of the terminal in a manner of a pixel point gray scale compression value mapping table. When the terminal needs to display an image to be displayed, a first preset backlight compensation coefficient of each backlight area of the display screen may be obtained first, and backlight compensation is performed on the image to be displayed based on the first preset backlight compensation coefficient, so as to obtain first data to be displayed.
Table one:
Figure BDA0003248618320000141
Figure BDA0003248618320000151
illustratively, the embodiment of the present application further provides a terminal, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the steps of the backlight compensation method for a display screen when executing the computer program.
As shown in fig. 5, for the terminal structure schematic diagram of the present application for implementing the backlight compensation method of the display screen, the terminal may include: a processor 51, a memory 52, one or more input devices 53 (only one shown in fig. 5), and one or more output devices 54 (only one shown in fig. 5). The processor 51, memory 52, input device 53 and output device 54 are connected by a bus 55.
It should be understood that, in the embodiment of the present Application, the Processor 51 may be a Central Processing Unit (CPU), and the Processor 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, and the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The input device 53 may include a virtual keyboard, a touch pad, a fingerprint sensor (for collecting fingerprint information of a user and direction information of the fingerprint), a microphone, etc., and the output device 54 may include a display, a speaker, etc.
The memory 52 stores a computer program that can be executed on the processor 51, for example, the computer program is a program of a backlight compensation method of a display panel. The processor 51 implements steps of the backlight compensation method of the display screen when executing the computer program, such as steps 201 to 202 shown in fig. 2. Alternatively, the processor 51 may implement the functions of the acquiring unit, the compensating unit and the displaying unit in the above device embodiment when executing the above computer program.
The computer program may be divided into one or more modules/units, which are stored in the memory 52 and executed by the processor 51 to complete the present application. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution process of the computer program in the terminal for performing backlight compensation of the display screen. For example, the computer program may be divided into an acquisition unit, a compensation unit, and a display unit, and each unit may specifically function as follows:
the backlight control device comprises an acquisition unit, a processing unit and a control unit, wherein the acquisition unit is used for acquiring a first preset backlight compensation coefficient of each backlight area of the display screen, and the first preset backlight compensation coefficient of each backlight area of the display screen is determined based on the ratio of the brightness of the corresponding backlight area of the display screen to the brightness of the backlight area with the lowest brightness of the display screen;
and the compensation unit is used for carrying out backlight compensation on the image to be displayed based on the first preset backlight compensation coefficient to obtain first data to be displayed.
It should be clear to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional units and modules is only used for illustration, and in practical applications, the above functions may be distributed as different functional units and modules according to needs, that is, the internal structure of the apparatus may be divided into different functional units or modules to implement all or part of the above described functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
Illustratively, the embodiment of the present application further provides a chip, which includes a processor, and the processor is configured to read and execute a computer program stored in a memory, so as to implement the steps of the backlight compensation method for the display screen.
Illustratively, the embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the steps of the backlight compensation method for a display screen are implemented.
Exemplary embodiments of the present application further provide a computer product, in which computer instructions are stored, and when the computer instructions are executed, the steps of the backlight compensation method for a display screen are implemented.
In the foregoing embodiments of the present application, a first preset backlight compensation coefficient of each backlight area of the display screen is determined by obtaining a ratio of brightness of each backlight area of the display screen to brightness of a backlight area where the brightness of the display screen is the lowest, and performing backlight compensation on an image to be displayed to obtain first data to be displayed, so that adjustment of backlight brightness from a source of display data is achieved, a phenomenon that display of the display screen is uneven can be effectively improved, for example, a phenomenon that a part of an area under a highlight picture is darker is improved, and a lifting space can be reserved for an upper brightness limit. Moreover, the method and the device can be applied to terminals with different display screens, and have the characteristics of strong universality and strong popularization.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/terminal and method may be implemented in other ways. For example, the above-described embodiments of the apparatus/terminal are merely illustrative, and for example, the division of the above-described modules or units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated modules/units described above, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow in the method of the embodiments described above may be implemented by a computer program, which may be stored in a computer readable storage medium and used by a processor to implement the steps of the embodiments of the methods described above. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer readable medium may include: any entity or device capable of carrying the above-described computer program code, recording medium, U disk, removable hard disk, magnetic disk, optical disk, computer Memory, read-Only Memory (ROM), random Access Memory (RAM), electrical carrier signal, telecommunications signal, software distribution medium, and the like. It should be noted that the computer readable medium described above may include content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media that does not include electrical carrier signals and telecommunications signals in accordance with legislation and patent practice.
The above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.

Claims (10)

1. A backlight compensation method of a display screen is characterized by comprising the following steps:
acquiring a first preset backlight compensation coefficient of each backlight area of a display screen, wherein the first preset backlight compensation coefficient of each backlight area of the display screen is determined based on the ratio of the brightness of the corresponding backlight area of the display screen to the brightness of the backlight area with the lowest brightness of the display screen;
and performing backlight compensation on the image to be displayed based on the first preset backlight compensation coefficient to obtain first data to be displayed, namely first data to be displayed.
2. The backlight compensation method of claim 1, wherein the first preset backlight compensation coefficient for each backlight area of the display screen is determined based on:
and calculating to obtain a first preset backlight compensation coefficient of the corresponding backlight area of the display screen based on the gamma compensation value of the display screen and the ratio of the brightness of the corresponding backlight area of the display screen to the brightness of the backlight area with the lowest brightness of the display screen.
3. The backlight compensation method of claim 2, wherein the first preset backlight compensation coefficient of the corresponding backlight area of the display screen is calculated based on the gamma compensation value of the display screen and a 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, specifically:
based on the formula
Figure FDA0003248618310000011
And calculating a first preset backlight compensation coefficient lambda of a corresponding backlight area of the display screen, wherein gamma represents a gamma compensation value of the display screen, and eta represents a ratio of the brightness of one backlight area of the display screen to the brightness of the backlight area with the lowest brightness.
4. The backlight compensation method of claim 3, wherein the performing backlight compensation on the image to be displayed based on the first preset backlight compensation coefficient to obtain first data to be displayed comprises:
obtaining an initial gray-scale value L of each pixel of the image to be displayed (original)
Setting the initial gray scale value L of each pixel of the image to be displayed (original) Divided by a first predetermined backlight compensation factor λ corresponding to the backlight area L (original) Obtaining each pixel of the image to be displayedCompensated gray level value L (Compensation) And compensating each pixel of the image to be displayed by the gray scale value L after compensation (Compensation) As the first data to be displayed.
5. The backlight compensation method according to any one of claims 1 to 4, wherein the performing backlight compensation on the image to be displayed based on the first preset backlight compensation coefficient to obtain first data to be displayed comprises:
detecting whether the image to be displayed is a high-brightness type image;
and if the image to be displayed is a high-brightness image, 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.
6. The backlight compensation method of any one of claims 1-4, wherein the backlight compensation method of the display screen further comprises:
acquiring a second preset backlight compensation coefficient of each backlight area of the display screen, wherein when the second preset backlight compensation coefficient of each backlight area of the display screen is based on an image of a preset gray scale displayed by the display screen, a display gray scale corresponding to the corresponding backlight area of the display screen is determined according to a difference value between the preset gray scale;
and performing backlight compensation on the first data to be displayed based on the second preset backlight compensation coefficient to obtain second data to be displayed.
7. A backlight compensation device for a display screen, comprising:
the device comprises an acquisition unit, a calculation unit and a display unit, wherein the acquisition unit is used for acquiring a first preset backlight compensation coefficient of each backlight area of a display screen, and the first preset backlight compensation coefficient of each backlight area of the display screen is determined based on the ratio of the brightness of the corresponding backlight area of the display screen to the brightness of the backlight area with the lowest brightness of the display screen;
and the compensation unit is used for carrying out backlight compensation on the image to be displayed based on the first preset backlight compensation coefficient to obtain first data to be displayed.
8. A chip comprising a processor, characterized in that the processor is adapted to read and execute a computer program stored in a memory for carrying out the steps of the method according to any one of claims 1-6.
9. A terminal comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor realizes the steps of the method according to any of claims 1-6 when executing the computer program.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 6.
CN202111040936.3A 2021-09-06 2021-09-06 Backlight compensation method and device of display screen, chip and terminal Pending CN115775541A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111040936.3A CN115775541A (en) 2021-09-06 2021-09-06 Backlight compensation method and device of display screen, chip and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111040936.3A CN115775541A (en) 2021-09-06 2021-09-06 Backlight compensation method and device of display screen, chip and terminal

Publications (1)

Publication Number Publication Date
CN115775541A true CN115775541A (en) 2023-03-10

Family

ID=85387520

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111040936.3A Pending CN115775541A (en) 2021-09-06 2021-09-06 Backlight compensation method and device of display screen, chip and terminal

Country Status (1)

Country Link
CN (1) CN115775541A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117008346A (en) * 2023-10-07 2023-11-07 泽景(西安)汽车电子有限责任公司 Display brightness control method and device, electronic equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117008346A (en) * 2023-10-07 2023-11-07 泽景(西安)汽车电子有限责任公司 Display brightness control method and device, electronic equipment and storage medium
CN117008346B (en) * 2023-10-07 2024-01-12 泽景(西安)汽车电子有限责任公司 Display brightness control method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
KR101138852B1 (en) Smart clipper for mobile displays
US8314847B2 (en) Automatic tone mapping curve generation based on dynamically stretched image histogram distribution
CN109256096B (en) Display brightness compensation method, device and equipment
US10783837B2 (en) Driving method and driving device of display device, and related device
US20080180383A1 (en) Backlight control method for high dynamic range LCD
WO2005109854A1 (en) Method for processing color image data
US7826680B2 (en) Integrated histogram auto adaptive contrast control (ACC)
CN112071267B (en) Brightness adjusting method, brightness adjusting device, terminal equipment and storage medium
CN113507598B (en) Video picture display method, device, terminal and storage medium
WO2020001176A1 (en) Display method and device, visible light communication transmission method and device
US20110249890A1 (en) Apparatus and method for enhancing visibility of color image
CN108259754A (en) Image processing method and device, computer readable storage medium and computer equipment
CN115775541A (en) Backlight compensation method and device of display screen, chip and terminal
CN112468793B (en) Color adjusting method and device of OLED screen and computer readable storage medium
US9208749B2 (en) Electronic device and method for enhancing readability of an image thereof
CN111861965A (en) Image backlight detection method, image backlight detection device and terminal equipment
CN114495812B (en) Display panel brightness compensation method and device, electronic equipment and readable storage medium
CN113870768B (en) Display compensation method and device
JP5896834B2 (en) Image adjustment unit, image display device, computer program, recording medium, and image adjustment method
TWI327868B (en) Image processing method
CN113194267B (en) Image processing method and device and photographing method and device
CN112289274B (en) Display method and device
JP6610589B2 (en) Backlight control device, video display device, and backlight control method
CN115472135A (en) Backlight control method, apparatus and storage medium
CN116957945A (en) Image processing method, apparatus, device, storage medium, and program product

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination