CN112669768B - LED display screen brightness adjusting method, device and equipment and readable storage medium - Google Patents

LED display screen brightness adjusting method, device and equipment and readable storage medium Download PDF

Info

Publication number
CN112669768B
CN112669768B CN202011592840.3A CN202011592840A CN112669768B CN 112669768 B CN112669768 B CN 112669768B CN 202011592840 A CN202011592840 A CN 202011592840A CN 112669768 B CN112669768 B CN 112669768B
Authority
CN
China
Prior art keywords
brightness
value
display unit
adjusting
current gain
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.)
Active
Application number
CN202011592840.3A
Other languages
Chinese (zh)
Other versions
CN112669768A (en
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.)
Shenzhen TCL Digital Technology Co Ltd
Original Assignee
Shenzhen TCL Digital Technology Co 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 Shenzhen TCL Digital Technology Co Ltd filed Critical Shenzhen TCL Digital Technology Co Ltd
Priority to CN202011592840.3A priority Critical patent/CN112669768B/en
Publication of CN112669768A publication Critical patent/CN112669768A/en
Application granted granted Critical
Publication of CN112669768B publication Critical patent/CN112669768B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method, a device and equipment for adjusting the brightness of an LED display screen and a readable storage medium, wherein the method comprises the following steps: acquiring a first brightness value of the LED display unit; when the first brightness value of the display unit is smaller than a preset screen brightness threshold value, the brightness is increased by increasing the gray scale of the display unit; and adjusting the brightness of the display unit after the brightness is adjusted to be larger to a second brightness value by adjusting the current gain value of the display unit to be smaller, wherein the difference value between the first brightness value and the second brightness value is within a preset error range. The invention ensures that the brightness of the image displayed by the display screen has no obvious change, and simultaneously ensures that the gray scale level transition of the image displayed by the LED display screen is more uniform, thereby improving the display quality of the LED display screen and improving the watching effect of a user.

Description

LED display screen brightness adjusting method, device and equipment and readable storage medium
Technical Field
The invention relates to the technical field of LED display screens, in particular to a method, a device and equipment for adjusting the brightness of an LED display screen and a readable storage medium.
Background
The display has important application in daily life and production, along with the development of display technology, the display gradually develops towards the directions of large size, high brightness, high saturation and the like, and the LED display screen is well developed based on the advantages. However, the current LED display panel has uneven gradation transition to low gray scale when displaying images.
Disclosure of Invention
The invention mainly aims to provide a method, a device and equipment for adjusting the brightness of an LED display screen and a readable storage medium, and aims to solve the technical problem that the current LED display screen has uneven gradation transition of low gray scales when images are displayed.
In order to achieve the above object, the present invention provides a method for adjusting brightness of an LED display screen, comprising the following steps:
acquiring a first brightness value of the LED display unit;
when the first brightness value of the display unit is smaller than a preset screen brightness threshold value, the brightness is increased by increasing the gray scale of the display unit;
and adjusting the brightness of the display unit after the brightness is adjusted to be larger to a second brightness value by adjusting the current gain value of the display unit to be smaller, wherein the difference value between the first brightness value and the second brightness value is within a preset error range.
Optionally, the step of acquiring a first brightness value of the LED display unit includes:
respectively counting the pixel point brightness values of all pixel points in the LED display unit;
and taking the maximum brightness value in the pixel point brightness values as a first brightness value of the display unit.
Optionally, when the first brightness value of the display unit is smaller than a preset screen brightness threshold, the step of increasing the brightness by increasing the gray scale of the display unit includes:
when a first brightness value of the display unit is smaller than a preset whole-screen brightness threshold value, calculating a first brightness difference value between the preset whole-screen brightness threshold value and the first brightness value;
calculating a brightness gain coefficient according to the first brightness difference, wherein the brightness gain coefficient is greater than one and increases with the increase of the first brightness difference;
and multiplying the gray-scale value of each pixel point of the display unit by the brightness gain coefficient respectively to increase the brightness of the display unit.
Optionally, the step of adjusting the brightness of the display unit after the brightness is adjusted to be larger to a second brightness value by adjusting the current gain value of the display unit to be smaller includes:
acquiring a third brightness value of the display unit after the brightness is increased, and calculating a second brightness difference value between the third brightness value and the first brightness value;
calculating a current gain coefficient according to the second brightness difference, wherein the current gain coefficient is smaller than one and decreases as the second brightness difference increases;
multiplying the current gain value of the display unit by the current gain coefficient to reduce the brightness of the display unit to a second brightness value.
Optionally, the step of multiplying the current gain value of the display unit by the current gain coefficient to reduce the brightness of the display unit to a second brightness value comprises:
multiplying the current gain value of the display unit by the current gain coefficient to obtain an adjusted current gain value;
and writing the adjusted current gain value into a register of an LED driving chip in the display unit so as to adjust the brightness of the display unit to a second brightness value.
Optionally, after the step of obtaining the first brightness value of the LED display unit, the method further includes:
when the first brightness value of the display unit is larger than the preset whole screen brightness threshold value, the brightness is reduced by reducing the gray scale of the display unit;
and adjusting the brightness of the display unit with the adjusted brightness to a fourth brightness value by adjusting the current gain value of the display unit to be larger, wherein the difference value between the first brightness value and the fourth brightness value is within a preset error range.
Optionally, when the first luminance value of the display unit is greater than the preset whole-screen luminance threshold, the step of reducing the luminance by reducing the gray scale of the display unit includes:
when the first brightness value of the display unit is larger than the preset whole-screen brightness threshold value, calculating a third brightness difference value between the preset whole-screen brightness threshold value and the first brightness value;
calculating a brightness gain coefficient according to the third brightness difference, wherein the brightness gain coefficient is smaller than one and increases with the increase of the third brightness difference;
and multiplying the gray-scale value of each pixel point of the display unit by the brightness gain coefficient respectively to reduce the brightness of the display unit.
In order to achieve the above object, the present invention further provides a device for adjusting brightness of an LED display screen, the device comprising:
the acquisition module is used for acquiring a first brightness value of the LED display unit;
the first adjusting module is used for increasing the brightness by increasing the gray scale of the display unit when the first brightness value of the display unit is smaller than a preset screen brightness threshold value;
and the second adjusting module is used for adjusting the brightness of the display unit after the brightness is adjusted to be larger to a second brightness value by adjusting the current gain value of the display unit to be smaller, wherein the difference value between the first brightness value and the second brightness value is within a preset error range.
In order to achieve the above object, the present invention further provides an LED display screen brightness adjusting apparatus, including: the LED display screen brightness adjusting method comprises a memory, a processor and an LED display screen brightness adjusting program which is stored on the memory and can run on the processor, wherein the steps of the LED display screen brightness adjusting method are realized when the LED display screen brightness adjusting program is executed by the processor.
In addition, in order to achieve the above object, the present invention further provides a computer readable storage medium, wherein the computer readable storage medium stores an LED display screen brightness adjusting program, and the LED display screen brightness adjusting program, when executed by a processor, implements the steps of the LED display screen brightness adjusting method as described above.
According to the invention, the first brightness value of the LED display unit is obtained by displaying the image for the current frame input into the LED display screen, when the first brightness value is smaller than the preset whole screen brightness threshold value, the gray scale of the display unit is firstly adjusted to be larger, the brightness of the display unit is increased along with the increase of the gray scale, and then the current gain value of the display unit is adjusted to be smaller, so that the difference value between the increased brightness and the first brightness value is adjusted to be smaller than the second brightness value within the preset error range, thereby realizing that the gray scale level transition of the displayed image is more uniform by adjusting the gray scale for the display unit with smaller brightness value and gray scale value in the display screen while ensuring that the brightness of the displayed image on the display screen is not obviously changed, further improving the display quality of the LED display screen and improving the watching effect of a user.
Drawings
FIG. 1 is a schematic diagram of a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart illustrating a first embodiment of a brightness adjustment method for an LED display screen according to the present invention;
FIG. 3 is a graph illustrating a relationship between a luminance difference and a luminance gain factor according to various embodiments of the present invention;
FIG. 4 is a graph illustrating a relationship between a luminance difference and a current gain factor according to various embodiments of the present invention;
fig. 5 is a functional block diagram of an LED display screen brightness adjusting apparatus according to a preferred embodiment of the invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
As shown in fig. 1, fig. 1 is a schematic device structure diagram of a hardware operating environment according to an embodiment of the present invention.
It should be noted that, the LED display screen brightness adjusting device in the embodiment of the present invention may be a smart phone, a personal computer, a server, and the like, and is not limited herein.
As shown in fig. 1, the LED display screen brightness adjusting apparatus may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, a communication bus 1002. The communication bus 1002 is used to implement connection communication among these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001 described previously.
It will be understood by those skilled in the art that the device configuration shown in fig. 1 does not constitute a limitation of the LED display brightness adjustment device and may include more or fewer components than shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and an LED display screen brightness adjustment program. The operating system is a program for managing and controlling hardware and software resources of the device, and supports the running of the LED display screen brightness adjusting program and other software or programs. In the device shown in fig. 1, the user interface 1003 is mainly used for data communication with a client; the network interface 1004 is mainly used for establishing communication connection with a server; and the processor 1001 may be configured to call the LED display screen brightness adjustment program stored in the memory 1005, and perform the following operations:
acquiring a first brightness value of an LED display unit;
when the first brightness value of the display unit is smaller than a preset screen brightness threshold value, the brightness is increased by increasing the gray scale of the display unit;
and adjusting the brightness of the display unit after the brightness is adjusted to be larger to a second brightness value by adjusting the current gain value of the display unit to be smaller, wherein the difference value between the first brightness value and the second brightness value is within a preset error range.
Further, the step of acquiring the first brightness value of the LED display unit includes:
respectively counting the pixel point brightness values of all pixel points in the LED display unit;
and taking the maximum brightness value in the pixel point brightness values as a first brightness value of the display unit.
Further, when the first brightness value of the display unit is smaller than a preset screen brightness threshold, the step of increasing the brightness by increasing the gray scale of the display unit comprises:
when a first brightness value of the display unit is smaller than a preset whole-screen brightness threshold value, calculating a first brightness difference value between the preset whole-screen brightness threshold value and the first brightness value;
calculating a brightness gain coefficient according to the first brightness difference, wherein the brightness gain coefficient is greater than one and increases with the increase of the first brightness difference;
and multiplying the gray-scale value of each pixel point of the display unit by the brightness gain coefficient respectively to increase the brightness of the display unit.
Further, the step of adjusting the brightness of the display unit after the adjustment to the brightness to a second brightness value by adjusting the current gain value of the display unit to be small includes:
acquiring a third brightness value of the display unit after brightness is increased, and calculating a second brightness difference value between the third brightness value and the first brightness value;
calculating a current gain coefficient according to the second brightness difference, wherein the current gain coefficient is smaller than one and decreases as the second brightness difference increases;
multiplying the current gain value of the display unit by the current gain coefficient to reduce the brightness of the display unit to a second brightness value.
Further, the step of multiplying the current gain value of the display unit by the current gain coefficient to reduce the brightness of the display unit to a second brightness value includes:
multiplying the current gain value of the display unit by the current gain coefficient to obtain an adjusted current gain value;
and writing the adjusted current gain value into a register of an LED driving chip in the display unit so as to adjust the brightness of the display unit to a second brightness value.
Further, after the step of obtaining the first brightness value of the LED display unit, the processor 1001 may be further configured to call up the LED display screen brightness adjustment program stored in the memory 1005, and perform the following operations:
when the first brightness value of the display unit is larger than the preset whole screen brightness threshold value, the brightness is reduced by reducing the gray scale of the display unit;
and adjusting the brightness of the display unit with the adjusted brightness to a fourth brightness value by adjusting the current gain value of the display unit to be larger, wherein the difference value between the first brightness value and the fourth brightness value is within a preset error range.
Further, when the first luminance value of the display unit is greater than the preset whole-screen luminance threshold, the step of reducing the luminance by reducing the gray scale of the display unit includes:
when the first brightness value of the display unit is larger than the preset whole-screen brightness threshold value, calculating a third brightness difference value between the preset whole-screen brightness threshold value and the first brightness value;
calculating a brightness gain coefficient according to the third brightness difference, wherein the brightness gain coefficient is smaller than one and increases with the increase of the third brightness difference;
and multiplying the gray-scale value of each pixel point of the display unit by the brightness gain coefficient respectively to reduce the brightness of the display unit.
Based on the structure, various embodiments of the brightness adjusting method of the LED display screen are provided.
Referring to fig. 2, fig. 2 is a schematic flow chart of a first embodiment of a method for adjusting brightness of an LED display screen according to the present invention.
While a logical sequence is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than that shown or described herein. The executing subject of each embodiment of the LED display screen brightness adjusting method of the present invention may be a smart phone, a personal computer, a server, and the like, and for convenience of description, the executing subject is omitted in the following embodiments for explanation. In this embodiment, the method for adjusting the brightness of the LED display screen includes:
step S10, acquiring a first brightness value of the LED display unit;
in this embodiment, the LED display screen is divided into a plurality of display units, and specifically, in different embodiments, the LED display screen may be divided according to different division standards, for example, a minimum cascade unit display area may be used as one display unit, a single box may be used as one display unit, a display area driven by a single LED driving chip may be used as one display unit, or the LED display screen may be divided in other manners. In one embodiment, the LED display screen can be a Mini LED display screen, and the Mini LED is defined as an LED device with the chip size of 50-200 μm; if the Mini LED display screen resolution is 3840 × 2160, the resolution of the divided display units may be 120 × 30.
Since the same operation is performed for each display unit in the embodiments of the present invention, one display unit is taken as an example in the following embodiments. Specifically, for a current frame display image input to the LED display screen, a brightness value of the display unit may be obtained and recorded as a first brightness value to distinguish the first brightness value from other subsequent brightness values.
In one embodiment, the step S10 includes:
s101, respectively counting the brightness values of all pixel points in an LED display unit;
step S102, the maximum brightness value in the pixel point brightness values is used as a first brightness value of the display unit.
When the display unit comprises a plurality of pixel points, the brightness value of each pixel point can be counted, and the brightness value of the display unit can be obtained according to the brightness value of each pixel point. Specifically, the maximum brightness value among the brightness values of the respective pixels may be used as the first brightness value, or the average value or the median value of the brightness values of the respective pixels may be used as the first brightness value.
Step S20, when the first brightness value of the display unit is smaller than a preset whole screen brightness threshold value, the brightness is increased by increasing the gray scale of the display unit;
after the first brightness value of the display unit is obtained, whether the first brightness value is smaller than a preset whole-screen brightness threshold value or not can be detected. The preset whole-screen brightness threshold value can be set as required to improve the gray scale level transition uniformity of the display unit with the brightness value below the threshold value. Note that the entire-screen luminance threshold value applied to each display unit is the same, and the entire-screen luminance threshold value applied to each frame display image is also the same.
When the first brightness value of the display unit is smaller than the preset screen brightness threshold value, the brightness of the display unit is increased by increasing the gray scale of the display unit. The brightness of the display unit can be adjusted by adjusting the gray scale, and can also be adjusted by adjusting the current gain value; specifically, the brightness is increased by increasing the gray scale, decreased by decreasing the gray scale, increased by increasing the current gain value, and decreased by decreasing the current gain value. When the gray scale of the LED display screen is larger when the image is displayed, the controllable gray scale space of the display screen is large, so that the uniformity is better compared with the low gray scale transition, therefore, when the brightness value of the display unit is smaller than the preset whole screen brightness threshold value, the gray scale level transition of the display unit is not uniform, in order to improve the transition uniformity, in the embodiment, the gray scale of the display unit with the brightness value smaller than the preset whole screen brightness threshold value is adjusted to be larger, and the gray scale level transition of the display unit is more uniform.
The gray scale values of all the display units after adjustment can be the same or different; in order to keep the uniformity of the whole display screen, the adjusted brightness value of each display unit may be the same as or substantially the same as the brightness threshold of the whole display screen, and the specific gray scale adjustment is not limited in this embodiment. Since the gray scale of the display unit is increased, the luminance value thereof is also increased.
Step S30, adjusting the brightness of the display unit with the adjusted brightness to a second brightness value by adjusting the current gain value of the display unit to be smaller, wherein the difference between the first brightness value and the second brightness value is within a preset error range.
And for the display unit with the brightness adjusted to be larger, adjusting the brightness of the display unit to be smaller to a second brightness value by adjusting the current gain value of the display unit to be smaller, wherein the difference value between the first brightness value and the second brightness value is within a preset error range. The preset error range may be a range that is set in advance according to needs, for example, if the preset error range is set to be greater than-x and less than x, x may be set to be smaller so that the second luminance value is closer to the first luminance value, for example, if x is set to 10ucd (micro candela), the preset error range is greater than-10 ucd and less than 10 ucd. That is, after the gray scale of the display unit is increased, the brightness of the display unit is increased, so that the brightness of the display unit is not changed when the display unit displays an image, the brightness value can be close to the first brightness value before adjustment by reducing the current gain value, and the brightness value of the display picture is ensured to be unchanged. Specifically, the reduced value of the current gain value may be obtained by calculating according to the brightness value after the gray scale adjustment and the relationship between the brightness of the LED display screen and the current gain value, and the specific calculation manner is not limited in this embodiment.
In the embodiment, a first brightness value of the LED display unit is obtained by displaying an image for a current frame input to the LED display screen, and when the first brightness value is smaller than a preset screen brightness threshold, the gray scale of the display unit is increased first, and because the gray scale is increased, the brightness of the display unit is also increased, and then the current gain value of the display unit is decreased, so as to adjust the increased brightness back to a second brightness value, where a difference between the increased brightness and the first brightness value is smaller than a preset error range, thereby achieving that gray scale level transition of the displayed image is more uniform for the display unit with a small brightness value and a small gray scale value in the display screen by increasing the gray scale while ensuring that there is no obvious change in the brightness of the displayed image on the display screen, thereby improving the display quality of the LED display screen and improving the viewing effect of a user.
Further, based on the first embodiment, a second embodiment of the LED display screen brightness adjusting method of the present invention is provided, in this embodiment, the step S20 includes:
step S201, when a first brightness value of the display unit is smaller than a preset whole-screen brightness threshold value, calculating a first brightness difference value between the preset whole-screen brightness threshold value and the first brightness value;
in this embodiment, when the first luminance value of the display unit is smaller than the preset full-screen luminance threshold, a difference between the preset full-screen luminance threshold and the first luminance value may be calculated and recorded as the first luminance difference, that is, the first luminance difference is obtained by subtracting the first luminance value from the full-screen luminance threshold. Since the first luminance value is less than the full screen luminance threshold, the first luminance difference value is greater than 0.
Step S202, calculating a brightness gain coefficient according to the first brightness difference, wherein the brightness gain coefficient is greater than one and increases with the increase of the first brightness difference;
and calculating a brightness gain coefficient according to the first brightness difference value, wherein the brightness gain coefficient and the first brightness difference value satisfy the following relation: the luminance gain factor is greater than one and increases as the first luminance difference increases. Specifically, a conversion relation between the first luminance difference value and the luminance gain coefficient, which satisfies the above relation, may be set in advance, and the luminance gain coefficient may be calculated according to the conversion relation, and the specific form of the conversion relation is not limited in this embodiment. For example, a linear relation may be used, such as k1 ═ δ 1+ 1. For another example, the conversion relation may be a non-linear conversion relation, for example, the conversion relation may satisfy a relation chart shown in fig. 3, where an intersection point of the curve and the ordinate is 1. Where k1 is the brightness gain factor and δ 1 is the difference between the full screen brightness threshold and the first brightness value.
Step S203, respectively multiplying the gray scale values of the pixels of the display unit by the brightness gain coefficient to increase the brightness of the display unit.
After the brightness gain coefficient is obtained through calculation, the gray-scale value of each pixel point of the display unit is multiplied by the brightness gain coefficient, and the brightness gain coefficient is larger than 1, so that the multiplied value is larger than the original gray-scale value, and meanwhile, the brightness of the display unit is increased.
Further, in an embodiment, the step S30 includes:
step S301, obtaining a third brightness value of the display unit after brightness is increased, and calculating a second brightness difference value between the third brightness value and the first brightness value;
after the brightness is increased by the increased gray scale, the brightness value of the display unit with the increased brightness can be obtained and recorded as a third brightness value, and obviously, the third brightness value is greater than the first brightness value. And calculating a difference between the third brightness value and the first brightness value, and recording the difference as a second brightness difference, that is, subtracting the first brightness value from the third brightness value to obtain a second brightness difference, where obviously, the second brightness difference is greater than 0.
Step S302, calculating a current gain coefficient according to the second brightness difference, wherein the current gain coefficient is smaller than one and decreases as the second brightness difference increases;
step S303, multiplying the current gain value of the display unit by the current gain coefficient to adjust the brightness of the display unit to a second brightness value.
And calculating a current gain coefficient according to the second brightness difference, wherein the current gain coefficient is smaller than one but larger than 0, and the current gain coefficient and the second brightness difference satisfy the following relationship: the current gain factor decreases as the second luminance difference value increases. Specifically, a conversion relation between the second luminance difference value and the current gain coefficient, which satisfies the above relation, may be set in advance, and the current gain coefficient may be calculated according to the conversion relation, and the specific form of the conversion relation is not limited in this embodiment. For example, a linear relationship may be used, such as k2 ═ δ 2+ 1. For another example, the conversion relation may be a non-linear conversion relation, for example, the conversion relation may satisfy a relation chart shown in fig. 4, and an intersection point of the curve and the ordinate is 1. Where k2 is the luminance gain coefficient, δ 2 is the difference between the initially adjusted luminance value (i.e., the third luminance value) and the first luminance value.
And after the current gain coefficient is obtained through calculation, multiplying the current gain value of the display unit by the current gain coefficient to obtain the adjusted current gain value. Since the current gain factor is less than 1, the adjusted current gain value is smaller than the initial current gain value, and at the same time, the brightness value of the display unit is reduced. It should be noted that, in order to make the difference between the finally reduced second luminance value and the first luminance value within the preset error range, the conversion relation satisfies that the luminance value of the display unit is reduced to be within the preset error range after the current gain value is reduced according to the current gain coefficient calculated by the conversion relation.
Further, the step S303 further includes:
step S3031, multiplying the current gain value of the display unit by the current gain coefficient to obtain an adjusted current gain value;
step S3032, writing the adjusted current gain value into a register of an LED driving chip in the display unit to adjust the brightness of the display unit to a second brightness value.
After the current gain value of the display unit is multiplied by the current gain coefficient to obtain the adjusted current gain value, the adjusted current gain value can be written into a register of an LED driving chip in the display unit, so that the display unit outputs a display image according to the adjusted current gain value, and the brightness of the output display image is reduced to a second brightness value.
Further, based on the first and/or second embodiments, a third embodiment of the LED display screen brightness adjusting method according to the present invention is provided, in this embodiment, after step S10, the method further includes:
step S40, when the first brightness value of the display unit is larger than the preset whole screen brightness threshold value, the brightness is reduced by reducing the gray scale of the display unit;
when the first brightness value of the display unit is detected to be greater than the preset whole-screen brightness threshold, it is indicated that the gray scale value of the display unit is larger, and at this time, the transition uniformity of gray scale levels may not be improved by increasing the gray scale value. Specifically, the gray scale values of the display units can be adjusted to a preset gray scale value range, so that the display units are more uniform.
Further, the step S40 includes:
step S401, when the first brightness value of the display unit is larger than the preset whole-screen brightness threshold value, calculating a third brightness difference value between the preset whole-screen brightness threshold value and the first brightness value;
the difference between the preset full-screen brightness threshold and the first brightness value can be calculated and recorded as a third brightness difference, that is, the third brightness difference is obtained by subtracting the first brightness value from the full-screen brightness threshold. Since the first luminance value is greater than the full-screen luminance threshold, the third luminance difference value is less than 0.
Step S402, calculating a brightness gain coefficient according to the third brightness difference, wherein the brightness gain coefficient is smaller than one and increases with the increase of the third brightness difference;
and calculating a brightness gain coefficient according to the third brightness difference value, wherein the brightness gain coefficient and the third brightness difference value satisfy the following relation: the luminance gain factor is less than one and increases as the third luminance difference increases. Specifically, a conversion relation between the third luminance difference value and the luminance gain coefficient, which satisfies the above relation, may be set in advance, and the luminance gain coefficient may be calculated from the conversion relation, and a specific form of the conversion relation is not limited in the present embodiment, and may be a linear relation, for example, such as k1 ═ δ 3+ 1. For another example, the conversion relation may be a non-linear conversion relation, for example, the conversion relation may satisfy the relation diagram shown in fig. 3, that is, δ 1 in fig. 3 is converted into δ 3. Where δ 3 is the difference between the full screen brightness threshold and the first brightness value.
Step S403, respectively multiplying the gray scale values of the pixels of the display unit by the brightness gain coefficient to reduce the brightness of the display unit.
After the brightness gain coefficient is obtained through calculation, the gray-scale value of each pixel point of the display unit is multiplied by the brightness gain coefficient, and the brightness gain coefficient is smaller than 1, so that the multiplied value is smaller than the original gray-scale value, and meanwhile, the brightness of the display unit is also reduced.
Step S50, adjusting the brightness of the display unit with reduced brightness to a fourth brightness value by increasing the current gain value of the display unit, wherein the difference between the first brightness value and the fourth brightness value is within a preset error range.
And for the display unit with the reduced brightness, the current gain value of the display unit is increased to increase the brightness of the display unit to a fourth brightness value, and the difference value between the first brightness value and the fourth brightness value is within a preset error range. That is, after the gray scale of the display unit is reduced, the brightness of the display unit is reduced, so that the brightness of the display unit is not changed when the display unit displays an image, the brightness value can be close to the first brightness value before adjustment by increasing the current gain value, and the brightness value of the display picture is ensured to be unchanged. Specifically, the increased value of the current gain value may be obtained by calculating according to the brightness value after the gray scale adjustment and the relationship between the brightness of the LED display screen and the current gain value, and the specific calculation manner is not limited in this embodiment.
Further, in an embodiment, after the brightness is reduced by reducing the gray scale, a brightness value of the display unit after the brightness is reduced may be obtained and is denoted as a fifth brightness value, and obviously, the fifth brightness value is greater than the first brightness value. And calculating a difference between the fifth brightness value and the first brightness value, and recording the difference as a fourth brightness difference, that is, subtracting the first brightness value from the fifth brightness value to obtain a fourth brightness difference, where obviously, the fourth brightness difference is smaller than 0.
Calculating a current gain coefficient according to the fourth brightness difference, wherein the current gain coefficient is greater than 1, and the relationship between the current gain coefficient and the fourth brightness difference is as follows: the current gain factor decreases as the fourth luminance difference value increases. Specifically, a conversion relation between the fourth luminance difference value and the current gain coefficient, which satisfies the above-described relation, may be set in advance, and the current gain coefficient may be calculated from the conversion relation, and a specific form of the conversion relation is not limited in the present embodiment, and may be a linear relation, such as k2 ═ δ 4+1, for example. For another example, the conversion relation may be a non-linear conversion relation, for example, the conversion relation may satisfy the relation diagram shown in fig. 4, that is, δ 2 in fig. 4 is converted into δ 4. Where δ 4 is the difference between the first adjusted luminance value (i.e., the fifth luminance value) and the first luminance value.
And after the current gain coefficient is obtained through calculation, multiplying the current gain value of the display unit by the current gain coefficient to obtain the adjusted current gain value. Since the current gain factor is greater than 1, the adjusted current gain value is greater than the initial current gain value, and at the same time, the brightness value of the display unit is increased. It should be noted that, in order to make the difference between the finally adjusted fourth luminance value and the first luminance value within the preset error range, the conversion relation should satisfy that the luminance value of the display unit is increased to be within the preset error range after the current gain value is adjusted according to the current gain coefficient calculated by the conversion relation.
In this embodiment, when the first brightness value of the display unit is greater than the preset screen threshold, the gray scale of the display unit is turned down, and when the first brightness value of the display unit is greater than the preset screen threshold, the gray scale of the display unit is turned up, so that the gray scale level transition of the image displayed by the display screen is more uniform, and the overall gray scale level of the display screen is more uniform, thereby further improving the display quality of the LED display screen and improving the viewing effect of a user. Moreover, the gray scale layers are more identical, the transition is more uniform, and meanwhile, the brightness of the image displayed by the display screen is ensured not to be obviously changed, namely, the negative effect of the displayed image is not brought.
Further, in an embodiment, when the first luminance value of the display unit is equal to the preset full-screen luminance threshold, the gray scale and the current gain value of the display unit may not be adjusted.
In addition, an embodiment of the present invention further provides an LED display screen brightness adjusting apparatus, and referring to fig. 5, the apparatus includes:
the acquisition module 10 is used for acquiring a first brightness value of the LED display unit;
the first adjusting module 20 is configured to increase the brightness by increasing the gray scale of the display unit when the first brightness value of the display unit is smaller than a preset screen brightness threshold;
the second adjusting module 30 is configured to adjust the brightness of the display unit with the adjusted brightness to a second brightness value by adjusting the current gain value of the display unit to be smaller, where a difference between the first brightness value and the second brightness value is within a preset error range.
Further, the obtaining module 10 includes:
the statistical unit is used for respectively counting the pixel point brightness values of all the pixel points in the LED display unit;
and the determining unit is used for taking the maximum brightness value in the pixel brightness values as the first brightness value of the display unit.
Further, the first adjusting module 10 includes:
the first calculation unit is used for calculating a first brightness difference value between a preset whole-screen brightness threshold value and a first brightness value when the first brightness value of the display unit is smaller than the preset whole-screen brightness threshold value;
the second calculation unit is used for calculating a brightness gain coefficient according to the first brightness difference value, wherein the brightness gain coefficient is larger than one and is increased along with the increase of the first brightness difference value;
and the first adjusting unit is used for multiplying the gray-scale value of each pixel point of the display unit by the brightness gain coefficient respectively so as to increase the brightness of the display unit.
Further, the second adjusting module 20 includes:
the third calculating unit is used for acquiring a third brightness value of the display unit after the brightness is increased and calculating a second brightness difference value between the third brightness value and the first brightness value;
a fourth calculating unit, configured to calculate a current gain coefficient according to the second luminance difference, where the current gain coefficient is smaller than one and decreases as the second luminance difference increases;
and the second adjusting unit is used for multiplying the current gain value of the display unit by the current gain coefficient so as to adjust the brightness of the display unit to a second brightness value.
Further, the second adjusting unit includes:
the first calculating subunit is used for multiplying the current gain value of the display unit by the current gain coefficient to obtain an adjusted current gain value;
and the writing subunit is used for writing the adjusted current gain value into a register of an LED driving chip in the display unit so as to reduce the brightness of the display unit to a second brightness value.
Further, the apparatus further comprises:
the third adjusting module is used for reducing the brightness by reducing the gray scale of the display unit when the first brightness value of the display unit is greater than the preset whole-screen brightness threshold value;
and the fourth adjusting module is used for adjusting the brightness of the display unit with reduced brightness to a fourth brightness value by adjusting the current gain value of the display unit to be larger, wherein the difference value between the first brightness value and the fourth brightness value is within a preset error range.
Further, the third adjustment module includes:
the fifth calculating unit is used for calculating a third brightness difference value between the preset whole-screen brightness threshold value and the first brightness value when the first brightness value of the display unit is larger than the preset whole-screen brightness threshold value;
a sixth calculating unit, configured to calculate a luminance gain coefficient according to the third luminance difference, where the luminance gain coefficient is smaller than one and increases as the third luminance difference increases;
and the third adjusting unit is used for multiplying the gray-scale value of each pixel point of the display unit by the brightness gain coefficient respectively so as to reduce the brightness of the display unit.
Further, the display unit is a minimum cascade unit display area, a single box body or a single LED driving chip display area in the LED display screen.
The expansion content of the specific implementation of the LED display screen brightness adjustment apparatus of the present invention is substantially the same as that of each embodiment of the LED display screen brightness adjustment method, and is not described herein again.
In addition, an embodiment of the present invention further provides a computer-readable storage medium, where an LED display screen brightness adjustment program is stored on the storage medium, and when the LED display screen brightness adjustment program is executed by a processor, the steps of the LED display screen brightness adjustment method are implemented as follows.
The embodiments of the LED display screen brightness adjustment apparatus and the computer-readable storage medium of the present invention can refer to the embodiments of the LED display screen brightness adjustment method of the present invention, and are not described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A brightness adjusting method for an LED display screen is characterized by comprising the following steps:
acquiring a first brightness value of the LED display unit;
when the first brightness value of the display unit is smaller than a preset screen brightness threshold value, the brightness is increased by increasing the gray scale of the display unit;
and adjusting the brightness of the display unit after the brightness is adjusted to be larger to a second brightness value by adjusting the current gain value of the display unit to be smaller, wherein the difference value between the first brightness value and the second brightness value is within a preset error range.
2. The LED display screen brightness adjustment method of claim 1, wherein the step of obtaining the first brightness value of the LED display unit comprises:
respectively counting the pixel point brightness values of all pixel points in the LED display unit;
and taking the maximum brightness value in the pixel point brightness values as a first brightness value of the display unit.
3. The method for adjusting the brightness of the LED display screen according to claim 1, wherein the step of adjusting the brightness by increasing the gray scale of the display unit when the first brightness value of the display unit is smaller than a preset screen brightness threshold value comprises:
when a first brightness value of the display unit is smaller than a preset whole-screen brightness threshold value, calculating a first brightness difference value between the preset whole-screen brightness threshold value and the first brightness value;
calculating a brightness gain coefficient according to the first brightness difference, wherein the brightness gain coefficient is greater than one and increases with the increase of the first brightness difference;
and multiplying the gray-scale value of each pixel point of the display unit by the brightness gain coefficient respectively to increase the brightness of the display unit.
4. The method for adjusting the brightness of the LED display screen according to claim 1, wherein the step of adjusting the brightness of the display unit after the adjustment to the increased brightness to a second brightness value by adjusting the current gain value of the display unit comprises:
acquiring a third brightness value of the display unit after brightness is increased, and calculating a second brightness difference value between the third brightness value and the first brightness value;
calculating a current gain coefficient according to the second brightness difference, wherein the current gain coefficient is smaller than one and decreases as the second brightness difference increases;
multiplying the current gain value of the display unit by the current gain coefficient to reduce the brightness of the display unit to a second brightness value.
5. The method of claim 4, wherein the step of multiplying the current gain value of the display unit by the current gain factor to reduce the brightness of the display unit to a second brightness value comprises:
multiplying the current gain value of the display unit by the current gain coefficient to obtain an adjusted current gain value;
and writing the adjusted current gain value into a register of an LED driving chip in the display unit so as to adjust the brightness of the display unit to a second brightness value.
6. The method for adjusting the brightness of the LED display screen according to any one of claims 1 to 5, wherein the step of obtaining the first brightness value of the LED display unit is followed by further comprising:
when the first brightness value of the display unit is larger than the preset whole screen brightness threshold value, the brightness is reduced by reducing the gray scale of the display unit;
and adjusting the brightness of the display unit with the adjusted brightness to a fourth brightness value by adjusting the current gain value of the display unit to be larger, wherein the difference value between the first brightness value and the fourth brightness value is within a preset error range.
7. The method for adjusting the brightness of an LED display screen according to claim 6, wherein the step of decreasing the brightness by decreasing the gray scale of the display unit when the first brightness value of the display unit is greater than the preset whole screen brightness threshold value comprises:
when the first brightness value of the display unit is larger than the preset whole-screen brightness threshold value, calculating a third brightness difference value between the preset whole-screen brightness threshold value and the first brightness value;
calculating a brightness gain coefficient according to the third brightness difference, wherein the brightness gain coefficient is smaller than one and increases with the increase of the third brightness difference;
and multiplying the gray-scale value of each pixel point of the display unit by the brightness gain coefficient respectively to reduce the brightness of the display unit.
8. An LED display screen brightness adjusting device, characterized in that, the device includes:
the acquisition module is used for acquiring a first brightness value of the LED display unit;
the first adjusting module is used for increasing the brightness by increasing the gray scale of the display unit when the first brightness value of the display unit is smaller than a preset screen brightness threshold value;
and the second adjusting module is used for adjusting the brightness of the display unit after the brightness is adjusted to be larger to a second brightness value by adjusting the current gain value of the display unit to be smaller, wherein the difference value between the first brightness value and the second brightness value is within a preset error range.
9. An LED display screen brightness adjusting apparatus, comprising: a memory, a processor and an LED display screen brightness adjusting program stored on the memory and operable on the processor, the steps of the LED display screen brightness adjusting program, when executed by the processor, implementing the LED display screen brightness adjusting method according to any one of claims 1 to 7.
10. A computer-readable storage medium, wherein the computer-readable storage medium stores thereon an LED display screen brightness adjustment program, and the LED display screen brightness adjustment program, when executed by a processor, implements the steps of the LED display screen brightness adjustment method according to any one of claims 1 to 7.
CN202011592840.3A 2020-12-29 2020-12-29 LED display screen brightness adjusting method, device and equipment and readable storage medium Active CN112669768B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011592840.3A CN112669768B (en) 2020-12-29 2020-12-29 LED display screen brightness adjusting method, device and equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011592840.3A CN112669768B (en) 2020-12-29 2020-12-29 LED display screen brightness adjusting method, device and equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN112669768A CN112669768A (en) 2021-04-16
CN112669768B true CN112669768B (en) 2022-06-10

Family

ID=75411879

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011592840.3A Active CN112669768B (en) 2020-12-29 2020-12-29 LED display screen brightness adjusting method, device and equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN112669768B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104485073A (en) * 2014-12-25 2015-04-01 广东威创视讯科技股份有限公司 Brightness adjustment method and system for LED display screens
CN105976760A (en) * 2016-06-30 2016-09-28 维沃移动通信有限公司 Brightness adjusting method for terminal screen and mobile terminal
CN106128405A (en) * 2016-09-06 2016-11-16 武汉华星光电技术有限公司 A kind of system and method for the pure color picture brightness adjusting RGBW panel
CN106297731A (en) * 2016-09-14 2017-01-04 乐视控股(北京)有限公司 Strengthen the method and device of picture contrast, display screen and intelligent terminal
CN107507559A (en) * 2017-07-04 2017-12-22 深圳市灵星雨科技开发有限公司 A kind of method of the high color depth display effects of lifting LED
KR20190030065A (en) * 2017-09-13 2019-03-21 엘지디스플레이 주식회사 Display Device having Duty Driving Function and Driving Method thereof
CN110310601A (en) * 2019-07-12 2019-10-08 云谷(固安)科技有限公司 Improve method, apparatus, computer and the medium of display brightness homogeneity
CN210627871U (en) * 2019-11-21 2020-05-26 广州新视界光电科技有限公司 Pixel circuit, display panel and display device
CN111276092A (en) * 2020-01-21 2020-06-12 卡莱特(深圳)云科技有限公司 Optimization parameter determination method and device
CN111899690A (en) * 2020-08-18 2020-11-06 昇显微电子(苏州)有限公司 Method and device for improving low-brightness Mura

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104485073A (en) * 2014-12-25 2015-04-01 广东威创视讯科技股份有限公司 Brightness adjustment method and system for LED display screens
CN105976760A (en) * 2016-06-30 2016-09-28 维沃移动通信有限公司 Brightness adjusting method for terminal screen and mobile terminal
CN106128405A (en) * 2016-09-06 2016-11-16 武汉华星光电技术有限公司 A kind of system and method for the pure color picture brightness adjusting RGBW panel
CN106297731A (en) * 2016-09-14 2017-01-04 乐视控股(北京)有限公司 Strengthen the method and device of picture contrast, display screen and intelligent terminal
CN107507559A (en) * 2017-07-04 2017-12-22 深圳市灵星雨科技开发有限公司 A kind of method of the high color depth display effects of lifting LED
KR20190030065A (en) * 2017-09-13 2019-03-21 엘지디스플레이 주식회사 Display Device having Duty Driving Function and Driving Method thereof
CN110310601A (en) * 2019-07-12 2019-10-08 云谷(固安)科技有限公司 Improve method, apparatus, computer and the medium of display brightness homogeneity
CN210627871U (en) * 2019-11-21 2020-05-26 广州新视界光电科技有限公司 Pixel circuit, display panel and display device
CN111276092A (en) * 2020-01-21 2020-06-12 卡莱特(深圳)云科技有限公司 Optimization parameter determination method and device
CN111899690A (en) * 2020-08-18 2020-11-06 昇显微电子(苏州)有限公司 Method and device for improving low-brightness Mura

Also Published As

Publication number Publication date
CN112669768A (en) 2021-04-16

Similar Documents

Publication Publication Date Title
KR100925315B1 (en) Image display apparatus and electronic apparatus
CN108962185B (en) Method for reducing display image brightness, device thereof and display device
CN108156533B (en) Smart television backlight adjusting method, smart television and storage medium
CN107293265B (en) Display screen picture adjusting method, display terminal and readable storage medium
US7826680B2 (en) Integrated histogram auto adaptive contrast control (ACC)
EP3731221B1 (en) Image brightness adjustment method, device and system, and computer-readable storage medium
EP2492907B1 (en) Image processing apparatus, storage medium storing image processing program, and image processing method
CN110660365A (en) Regional backlight control method, display and storage medium
CN111833827A (en) Method for determining overdrive voltage, display panel and computer readable storage medium
CN110765384A (en) Resolution adaptation method of client, storage medium and terminal
WO2019184447A1 (en) Backlight control method, device, and computer readable storage medium
CN114078452B (en) Method for adjusting content contrast, electronic device and storage medium
CN112783460A (en) Display control method and device, electronic equipment and readable storage medium
CN112669768B (en) LED display screen brightness adjusting method, device and equipment and readable storage medium
CN109559707B (en) Gamma value processing method and device of display panel and display equipment
CN113990267B (en) Pixel brightness compensation method and device, storage medium and display panel
JP2014071448A (en) Font generation system and method of display unit
CN112992052B (en) Power consumption control method of display panel and display panel
JP5903283B2 (en) Image processing apparatus, image display system, and image display method
CN115223509A (en) Backlight control method, backlight control device, display equipment and computer readable storage medium
CN111862877B (en) Wide-viewing-angle adjustment method, display panel and computer-readable storage medium
US20200090603A1 (en) Display image adjusting method, display device, and computer readable storage medium
CN111367604A (en) Processing method and device for file display, storage medium and terminal
JP5123270B2 (en) Image processing apparatus and image display apparatus
JP5946281B2 (en) Image processing apparatus, image display system, and image display method

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
GR01 Patent grant
GR01 Patent grant