Display control method, device, apparatus, and storage medium
By calculating the average brightness value of the display device in the display driver IC and using a negative slope linear function to limit the attenuation parameter, combined with gamma correction and degamma correction, the problems of inaccurate brightness control and high computational overhead in the prior art are solved, achieving both accurate brightness control and reduced power consumption.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- CHIPONE TECHNOLOGY (BEIJING) CO LTD
- Filing Date
- 2020-11-27
- Publication Date
- 2026-05-08
AI Technical Summary
Existing display driver ICs have problems with brightness control algorithms that are inaccurate and computationally expensive, especially in high-brightness conditions where it is difficult to accurately control the brightness of the display to reduce power consumption.
By calculating the average brightness value of the display device, and when it exceeds a specified value, gamma correction and de-gamma correction are performed using a linear function with the average brightness value as the independent variable and a negative slope to limit the attenuation parameter, and the power supply current of the display device is controlled to achieve brightness attenuation.
It achieves precise brightness control and reduces computational overhead, avoiding unnecessary power consumption increases caused by excessive brightness in display devices.
Smart Images

Figure CN112435636B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of display technology, and in particular to a display control method, apparatus, device, and computer storage medium. Background Technology
[0002] Existing display driver ICs (integrated circuits) contain algorithms for controlling the brightness of the display. For example, for OLED displays, which are self-emissive and have high brightness characteristics, display driver ICs include current attenuation modules to reduce system power consumption. These modules primarily attenuate unnecessary display brightness when the current (brightness) is high. However, existing attenuation algorithms suffer from inaccurate brightness control and high computational overhead. Summary of the Invention
[0003] In view of this, embodiments of the present invention aim to provide a display control method, apparatus, device, and computer storage medium with precise brightness control and low computational overhead.
[0004] The present invention provides a display control method, comprising: calculating the average brightness value of the display screen of a display device; when the average brightness value exceeds a predetermined value, calculating an attenuation parameter according to a predetermined method; and attenuating the power supply current of the display device according to the attenuation parameter, thereby controlling the brightness of the display device.
[0005] According to a specific embodiment of the present invention, the method is defined as a linear function with the average brightness value as the independent variable and a negative slope.
[0006] According to a specific embodiment of the present invention, calculating the average brightness value of a display screen includes: obtaining the original brightness value of each sub-pixel in all sub-pixels of the display screen; and calculating the average brightness value of the display screen based on the original brightness values. Specifically, controlling the brightness of the display screen by attenuating the power supply current of the display screen according to an attenuation parameter includes: multiplying the original brightness value by the attenuation parameter to obtain an attenuated brightness value; and attenuating the power supply current of the sub-pixels according to the attenuated brightness value to control the brightness of the sub-pixels, thereby controlling the brightness of the display screen.
[0007] According to a specific embodiment of the present invention, after obtaining the original luminance value of each sub-pixel in all sub-pixels of the display screen, the method includes: performing gamma correction on the original luminance values of the sub-pixels. This includes calculating the average luminance value of the display screen based on the original luminance values, which involves calculating the average luminance value of the display screen based on the gamma-corrected original luminance values of all sub-pixels. After multiplying the original luminance value by an attenuation parameter to obtain an attenuated luminance value, the method includes: performing de-gamma correction on the attenuated luminance value of the sub-pixels. This includes attenuating the power supply current of the sub-pixels based on the attenuated luminance value to control the luminance of the sub-pixels, and thus controlling the luminance of the display device, which involves attenuating the power supply current of the sub-pixels based on the de-gamma-corrected attenuated luminance value to control the luminance of the sub-pixels, and thus controlling the luminance of the display device.
[0008] According to a specific embodiment of the present invention, gamma correction is performed on the original luminance value of a sub-pixel, including: determining the gamma value of the display device; and calculating the value of a power function with the original luminance value as the base and the gamma value as the exponent, to obtain the gamma-corrected original luminance value. Gamma correction is performed on the attenuated luminance value of the sub-pixel, including: calculating the value of a power function with the attenuated luminance value as the base and the reciprocal of the gamma value as the exponent, to obtain the gamma-corrected attenuated luminance value.
[0009] According to a specific embodiment of the present invention, when the average brightness exceeds a predetermined value, after calculating the attenuation parameter according to a predetermined method, the method includes: determining the gamma value of the display device; calculating the value of a power function with the attenuation parameter as the base and the reciprocal of the gamma value as the exponent, to obtain a corrected attenuation parameter. The step of multiplying the original brightness value by the attenuation parameter to obtain the attenuated brightness value includes: multiplying the original brightness value by the corrected attenuation parameter to obtain the attenuated brightness value.
[0010] According to a specific embodiment of the present invention, calculating the value of a power function with the attenuation parameter as the base and the reciprocal of the gamma value as the exponent to obtain a corrected attenuation parameter includes: calculating the value of a power function with the attenuation parameter as the base and the reciprocal of the gamma value as the exponent using a linear interpolation method to obtain a corrected attenuation parameter.
[0011] In another aspect, the present invention provides a display control device, comprising: a first calculation module for calculating the average brightness value of the display screen of the display device; a second calculation module for calculating an attenuation parameter according to a predetermined method when the average brightness value exceeds a predetermined value; and an attenuation module for attenuating the power supply current of the display device according to the attenuation parameter, thereby controlling the brightness of the display device.
[0012] In another aspect, the present invention provides a display control device, comprising: a processor; a memory; and an application program, the application program being stored in the memory and configured to be executed by the processor, the application program including instructions for performing the above-described display control method.
[0013] In another aspect, the present invention provides a computer-readable medium storing a computer program for performing the above-described display control method.
[0014] According to the present invention, the average brightness value can accurately reflect the overall brightness of the current display screen. Controlling the brightness of the display device based on the average brightness value of the display screen can better prevent excessive brightness, thus avoiding unnecessary increases in power consumption. The algorithm for calculating the average brightness value is relatively simple, which facilitates precise brightness control with less resource overhead. Attached Figure Description
[0015] The specific embodiments of the present invention will now be described in detail with reference to the accompanying drawings, wherein:
[0016] Figure 1 A flowchart illustrating a display control method according to an embodiment of the present invention is shown;
[0017] Figure 2 A schematic diagram of attenuation operation according to an embodiment of the present invention is shown;
[0018] Figure 3 A schematic diagram illustrating a prescribed method according to an embodiment of the present invention is shown;
[0019] Figure 4 A flowchart illustrating a display control method according to an embodiment of the present invention is shown;
[0020] Figure 5 A flowchart illustrating a display control method according to an embodiment of the present invention is shown;
[0021] Figure 6 A flowchart illustrating a display control method according to an embodiment of the present invention is shown;
[0022] Figure 7 A flowchart illustrating a display control method according to an embodiment of the present invention is shown;
[0023] Figure 8 A flowchart illustrating a display control method according to an embodiment of the present invention is shown;
[0024] Figure 9 A schematic diagram of a brightness control device according to an embodiment of the present invention is shown;
[0025] Figure 10A schematic diagram of a display control device according to an embodiment of the present invention is shown. Detailed Implementation
[0026] To enable those skilled in the art to more clearly understand the concepts and ideas of the present invention, the present invention is described in detail below with reference to specific embodiments. It should be understood that the embodiments given herein are only a part of all possible embodiments of the present invention. Those skilled in the art, after reading this specification, are capable of making improvements, modifications, or substitutions to parts or the entirety of the following embodiments, and such improvements, modifications, or substitutions are also included within the scope of protection claimed by the present invention.
[0027] In this document, the terms "first," "second," and other similar words are not intended to imply any order, quantity, or importance, but are merely used to distinguish different elements. The terms "one," "a," and other similar words are not intended to indicate the existence of only one of the stated things, but rather that the description refers only to one of the stated things, which may have one or more. The terms "comprising," "including," and other similar words are intended to indicate a logical relationship, not a spatial relationship. For example, "A includes B" means that logically B belongs to A, not that spatially B is located inside A. Furthermore, the meanings of the terms "comprising," "including," and other similar words should be considered open-ended, not closed. For example, "A includes B" means that B belongs to A, but B does not necessarily constitute all of A; A may also include other elements such as C, D, and E.
[0028] In this document, the terms "embodiment," "this embodiment," "an embodiment," and "one embodiment" do not imply that the description applies only to one specific embodiment, but rather that such description may also be applicable to one or more other embodiments. Those skilled in the art will understand that any description made herein with respect to one embodiment can be substituted, combined, or otherwise combined with the descriptions in one or more other embodiments. Such substitutions, combinations, or other combinations resulting in new embodiments are readily conceived by those skilled in the art and fall within the scope of protection of this invention.
[0029] In various embodiments of the present invention, brightness can refer to the grayscale or gray level of the display device. For a monochrome display, controlling the brightness of each pixel controls the brightness of the displayed image. For an RGB color display, controlling the relative brightness between the red, green, and blue sub-pixels controls the color of the displayed image, while controlling the overall brightness of the three sub-pixels (while maintaining their relative brightness relationship) controls the brightness of the displayed image. Brightness can have brightness levels (grayscale levels), which depend on the bit depth of the display's processing system. For example, brightness levels can be 16 (corresponding to a 4-bit processing system), 32 (corresponding to a 5-bit processing system), 64 (corresponding to a 6-bit processing system), 256 (corresponding to an 8-bit processing system), or 1024 (corresponding to a 10-bit processing system). In various embodiments of the present invention, brightness control can refer to controlling the brightness and / or color of the display device. Brightness control methods can include changing the current magnitude, such as using an ACL (Auto Current Limitation) algorithm; or changing the pulse width of the current, such as changing the duty cycle.
[0030] Figure 1 A flowchart illustrating a display control method according to an embodiment of the present invention is shown.
[0031] The display control method 100 according to this embodiment includes:
[0032] S110, Calculate the average brightness value of the display screen of the display device;
[0033] S120, when the average brightness value exceeds the specified value, the attenuation parameter is calculated according to the specified method;
[0034] S130 controls the brightness of the display device by attenuating the power supply current according to the attenuation parameter.
[0035] According to this embodiment, the average brightness value can accurately reflect the overall brightness of the current display screen. Controlling the brightness of the display device based on the average brightness value of the display screen can better prevent excessive brightness, thus avoiding unnecessary increases in power consumption. The algorithm for calculating the average brightness value is relatively simple, which helps to achieve precise brightness control with less resource overhead.
[0036] In one embodiment, a display device can refer to a device capable of converting electrical signals into image information. Display devices can include two-dimensional display devices and three-dimensional display devices. Two-dimensional display devices can include cathode ray tube displays (CRTs), light-emitting diode displays (LEDs), electroluminescent displays (ELDs), plasma display panels (PDPs), liquid crystal displays (LCDs), thin-film transistor displays (TFTs), organic light-emitting semiconductor displays (OLEDs), and interferometric modulator-display-display (IMOD). Three-dimensional display devices can include corner mirror displays, wavelength emission displays, laser displays, holographic displays, and light field displays.
[0037] In one embodiment, the display screen can refer to the entire display image presented by the screen of the display device under the control of the display device. In one embodiment, the display screen can be a single still display screen (one frame), multiple still display screens (multiple frames), or a dynamic display screen over a period of time (a dynamic display screen composed of multiple adjacent frames).
[0038] In one embodiment, the brightness value can refer to a numerical value used to represent the display brightness. In one embodiment, the brightness value can be represented by an integer, for example, within a 256-level grayscale range, the brightness value can be any integer value between 0 and 255; it can also be represented by a percentage, for example, the maximum brightness value is represented as 100% (equivalent to 255 in 256 levels of grayscale), and the minimum brightness value is represented as 0% (equivalent to 0 in 256 levels of grayscale). In one embodiment, the average brightness value can refer to the average of the brightness values of multiple pixels or sub-pixels. The average here can be an arithmetic mean, for example, the sum of the brightness values of n pixels divided by n; it can be a geometric mean, for example, the nth root of the product of the brightness values of n pixels; it can be a weighted average, for example, the average calculated by considering different weights for different pixels using the arithmetic mean method is the weighted average; it can also be other types of averages.
[0039] In one embodiment, calculating the average brightness value of the displayed image may refer to calculating the average of the brightness values of all pixels or sub-pixels in the displayed image. In another embodiment, calculating the average brightness value of the displayed image may refer to calculating the average brightness value of the entire displayed image, for example, considering the brightness values of all pixels or sub-pixels involved in displaying the image; or it may refer to calculating the average brightness value of a portion of the displayed image, for example, not considering the brightness of a specific part of the displayed image (e.g., an edge that remains dark for a long time), and only calculating the average brightness value for the remaining part.
[0040] In one embodiment, the specified value can refer to a single value, multiple values, one or more precise value ranges, or one or more ambiguous value ranges. In one embodiment, an average brightness value exceeding the specified value can mean that the average brightness value exceeds a single value, or that the average brightness value exceeds one of multiple values, or that the average brightness value exceeds the minimum, maximum, or other arbitrary value within one or more precise value ranges, or that the average brightness value significantly exceeds the minimum, maximum, or other arbitrary value within one or more ambiguous value ranges.
[0041] In one embodiment, attenuation can refer to the control behavior of a physical quantity such as current, with the aim of reducing or weakening the physical quantity. In one embodiment, the attenuation parameter can be a parameter used to represent the magnitude of the reduction of the physical quantity; by controlling the attenuation parameter, the degree of reduction of the physical quantity can be controlled. In one embodiment, the attenuation parameter can be a parameter representing the size of the subtracted portion (in this case, the larger the attenuation parameter, the greater the degree of reduction), or it can be a parameter representing the size of the remaining portion after reduction (in this case, the larger the attenuation parameter, the smaller the degree of reduction).
[0042] In one embodiment, the specified method may refer to a calculation method that reduces the overall brightness of the displayed image. In another embodiment, the specified method may refer to a calculation method that reduces the attenuation parameter as the average brightness value increases. For example, the specified method may be defined by a subtractive function or a step function. A subtractive function may be a linear function, quadratic function, inverse proportional function, etc., with the average brightness value as the independent variable and the attenuation parameter as the dependent variable. A step function may be a step function with the average brightness value as the independent variable and the attenuation parameter as the dependent variable, wherein a first attenuation parameter is obtained when the average brightness value is within a first interval, and a second attenuation parameter smaller than the first attenuation parameter is obtained when the average brightness value is within a second interval larger than the first interval. In one embodiment, the specified method may refer to a calculation method that reduces the attenuation parameter as the brightness value of one or more pixels increases, for example, considering only the highest brightness value, the lowest brightness value, and / or the median brightness value. Calculating the attenuation parameter using this method involves substituting the highest, lowest, and / or median brightness values into a decreasing function or a decreasing step function with one or more of these brightness values as independent variables and the attenuation parameter as the dependent variable. In one embodiment, the specified method may refer to a calculation method where the attenuation parameter decreases as power consumption increases. For example, first calculate the total power consumption of the display device, and then substitute the total power consumption value into a decreasing function or a decreasing step function with the total power consumption value as the independent variable and the attenuation parameter as the dependent variable. In another embodiment, the specified method may refer to setting the attenuation parameter to a fixed constant, which is predetermined and independent of other variables.
[0043] In one embodiment, calculating the attenuation parameter according to the prescribed method may refer to substituting relevant values into a function defined by the prescribed method to calculate the attenuation parameter; or it may refer to calculating the attenuation parameter based on relevant quantitative or qualitative information (such as whether power consumption is too high, whether screen brightness is glaring, etc.) according to a rule determined by the prescribed method. In one embodiment, when the average brightness value exceeds a predetermined value, calculating the attenuation parameter according to the prescribed method may refer to: if the average brightness value exceeds a specific value, then calculating the attenuation parameter according to the prescribed method; or it may refer to: if the average brightness value exceeds a first specific value, then calculating the attenuation parameter according to a first prescribed method; if the average brightness value exceeds a second predetermined value, then calculating the attenuation parameter according to a second prescribed method; or it may refer to: if the average brightness value slightly exceeds a specific value, for example, exceeding that value by more than 1%, then calculating the attenuation parameter according to the first prescribed method; if the average brightness value significantly exceeds that specific value, for example, exceeding that value by more than 10%, then calculating the attenuation parameter according to a second prescribed method; other methods are also conceivable.
[0044] In one embodiment, the supply current of the display device can refer to the current flowing from the power supply, controlled by the controller of the display device, to the pixels or sub-pixels to make them emit light. In one embodiment, attenuating the supply current of the display device can refer to attenuating (reducing) the magnitude of the current or the duty cycle of the attenuated (reduced) current (current pulse). In one embodiment, attenuating the supply current of the display device according to the attenuation parameter can mean directly attenuating the current according to the proportion represented by the attenuation parameter, for example, if the attenuation parameter is 80%, then the supply current is reduced by 20%; or it can mean calculating based on the attenuation parameter and then attenuating the current according to the calculated result, for example, if the attenuation parameter is 80%, and after specific calculation, an adjusted attenuation parameter of 90% is obtained, then the supply current is reduced by 10%. In one embodiment, controlling the brightness of the display device by attenuating the power supply current of the display device according to the attenuation parameter can mean reducing the current magnitude or the current pulse duty cycle by a specific method according to the information represented by the attenuation parameter, so that the brightness of each pixel or sub-pixel of the display device is reduced (e.g., reduced according to the proportion represented by the attenuation parameter), thereby controlling the brightness of the display device.
[0045] Figure 2 A schematic diagram of attenuation operation in a display control method according to an embodiment of the present invention is shown.
[0046] like Figure 2As shown, the horizontal axis represents the brightness value before the attenuation operation (also known as the input data), and the vertical axis represents the brightness value after the attenuation operation (also known as the output data). The slanted dashed line in the figure represents the brightness distribution of a certain display screen before the attenuation operation, at which point the input data and output data are equal, and the slope of the dashed line is 1. The slanted solid line in the figure represents the brightness distribution of the same display screen after the attenuation operation. At this point, for a pixel with a brightness of 255 (which can also be represented as 100%), its brightness decreases by ofst_Y, and for a pixel with a brightness of y_pixel1, its brightness decreases proportionally by delta_y.
[0047] The following is for reference Figure 3 Another embodiment of the present invention is described below. Figure 1 A specific instance of an embodiment may include one or more features from one or more of the embodiments described above.
[0048] In this embodiment, the specified method is defined by a linear function whose independent variable is the average brightness value and whose slope is negative.
[0049] According to this embodiment, the calculation method for this function-defined attenuation parameter allows for the acquisition of a suitable attenuation parameter using a relatively simple algorithm. Practice has shown that this attenuation parameter algorithm is suitable for the vast majority of display devices, including OLEDs.
[0050] Figure 3 An example of the method specified in this embodiment is shown. In this example, the independent variable is the average brightness value, and the linear function with a negative slope is the following function:
[0051] y = (kx + b) × 100%, where x ∈ [(1-b) / k, 100%], y ∈ (0, 100%], y is the attenuation parameter, x is the average brightness value, (1-b) / k is a specified value, k is a negative number, and 0 < k + b < 1, 0 < (1-b) / k < 1.
[0052] like Figure 3 As shown in the figure, the solid line represents the graph of the above function. The highest point of the solid line represents the case when the attenuation parameter is 100%, at which time the average brightness value is (1-b) / k. The lowest point of the solid line represents the case when the average brightness value is 100%, at which time the attenuation parameter is k+b.
[0053] In this example, k is negative, which indicates that the function gradually decreases; the attenuation parameter decreases as the average brightness value increases, so the attenuation parameter is represented by the value of the remaining part after attenuation.
[0054] In this example, y∈(0,100%), from which we can know that: the attenuation parameter is greater than 0 and less than or equal to 100%; when y=100%, it means that the average brightness has not decreased; and y must be greater than 0, which means that the attenuation parameter must be greater than 0 (if y=0, it means that the average brightness of the display device is 0, the display is completely black, which does not meet the application requirements).
[0055] In this example, x is the average brightness value, (1-b) / k is the specified value, x∈[(1-b) / k,100%], and 0<(1-b) / k<1. Therefore, the brightness value is expressed as a percentage. When x<(1-b) / k, the average brightness value does not exceed the specified value, and no current attenuation occurs. When x=(1-b) / k, the average brightness value is exactly equal to the specified value, and no current attenuation occurs; the attenuation parameter is 100%. When (1-b) / k<x<100%, the average brightness value exceeds the specified value, and the current is attenuated to a certain extent. When x=100%, the display is completely white, and the current is attenuated to the maximum extent; the attenuation parameter is (k+b)×100%.
[0056] In this example, 0 < k + b < 1. Therefore, when the average brightness value reaches its maximum (100%), the attenuation parameter reaches its minimum (k + b), and the current is attenuated to the maximum extent. The average brightness value after attenuation must be greater than 0% (because if it is 0%, it means that the display is completely black and the display image disappears), and it must be less than 100% (because if it is equal to 100%, it means that the average brightness value has not changed and no attenuation operation has been performed).
[0057] The following is for reference Figure 4 Another embodiment of the present invention is described below. Figure 1 A specific instance of an embodiment may include one or more features from one or more of the embodiments described above.
[0058] In this embodiment, the display control method 400 according to the present invention includes:
[0059] S410, Obtain the original brightness value of each sub-pixel in all sub-pixels of the display screen;
[0060] S420 calculates the average brightness value of the display device based on the original brightness value;
[0061] S430, when the average brightness value exceeds the specified value, the attenuation parameter is calculated according to the specified method;
[0062] S440 multiplies the original brightness value by the attenuation parameter to obtain the attenuated brightness value;
[0063] The S450 controls the brightness of the sub-pixels by attenuating the power supply current to the sub-pixels based on the attenuation brightness value, thereby controlling the brightness of the display device.
[0064] According to this embodiment, by determining the average brightness value based on the original brightness value, the display brightness and power consumption of the display device before undergoing the attenuation operation can be accurately determined. This allows for an accurate assessment of whether an attenuation operation is necessary and, to what extent, to perform the attenuation. Multiplying the original brightness value by the attenuation parameter yields the attenuated brightness value. This form of attenuation parameter simplifies calculations and enables the attenuation operation algorithm with lower resource overhead.
[0065] In one embodiment, a pixel can refer to a unit or element that constitutes an image, and the color and position of each pixel determine the final appearance of the image. In one embodiment, a subpixel can refer to a smaller unit of multiple colors that constitutes a pixel in a color display. For example, in an RGB display, the red, green, and blue color blocks that constitute a pixel are subpixels.
[0066] In one embodiment, each sub-pixel in the display screen of the display device can refer to each of all sub-pixels of the display device that participate in constituting the display screen. In one embodiment, the original brightness value can refer to the brightness value of a certain sub-pixel before brightness control is performed, for example, a value representing the display brightness at a certain sub-pixel position stored in the data of a frame in the display device or a device associated with the display device. In one embodiment, obtaining the original brightness value of each sub-pixel in the display screen of the display device can refer to accessing image data stored in the storage device or a storage device associated with the display device, and obtaining the value representing the brightness of the image at each pixel position recorded in the image data; or it can refer to detecting the brightness of each sub-pixel when the display device is displaying the current frame, determining the original brightness value of each sub-pixel based on the detection result, and using the calculated attenuation parameter to control the brightness of the next frame or a frame displayed at a later time.
[0067] In one embodiment, calculating the average brightness value of the display device based on the original brightness value can refer to statistically analyzing the original brightness value of each sub-pixel across all sub-pixels to calculate the average brightness value of the displayed image in the current frame. For example, the original brightness value of each sub-pixel (or a value obtained through further calculation based on the original brightness value) can be added together and then divided by the number of sub-pixels to obtain the arithmetic mean brightness value of the displayed image. Another example is multiplying the original brightness value of each sub-pixel (assuming a total of n sub-pixels) (or a value obtained through further calculation based on the original brightness value) and then taking the nth root to obtain the geometric mean brightness value of the displayed image.
[0068] In one embodiment, multiplying the original luminance value by an attenuation parameter to obtain the attenuated luminance value can mean that the attenuation parameter is represented by a percentage of the remaining luminance after attenuation, and multiplying the original luminance value by this percentage yields the attenuated luminance value. For example, the result of multiplying the original luminance value by the attenuation parameter is the attenuated luminance value. As another example, the result of multiplying the original luminance value by the attenuation parameter, after further calculation, yields the attenuated luminance value.
[0069] In one embodiment, attenuating the supply current of a sub-pixel based on the attenuation brightness value can mean limiting the magnitude or duty cycle of the supply current to the sub-pixel based on the information represented by the attenuation brightness value, thereby reducing the brightness of the sub-pixel. For example, limiting the magnitude or duty cycle of the supply current to the sub-pixel reduces its brightness to the attenuation brightness value itself. Another example is limiting the magnitude or duty cycle of the supply current to the sub-pixel, reducing its brightness to another brightness value calculated based on the attenuation brightness value. In one embodiment, attenuating the supply current of the sub-pixel based on the attenuation brightness value to control the brightness of the sub-pixel, and thus control the brightness of the display device, can mean limiting the magnitude or duty cycle of the supply current to the sub-pixel based on the information represented by the attenuation brightness value, reducing the brightness of the sub-pixel to a desired brightness (directly reduced to the attenuation brightness value, or reduced to another brightness value calculated based on the attenuation brightness value), thereby achieving the purpose of brightness control. After such control is applied to each sub-pixel, the brightness of the entire display device decreases, thereby achieving the purpose of brightness control and reducing the power consumption of the entire display device.
[0070] The following is for reference Figure 5 Another embodiment of the present invention is described below. Figure 1 A specific instance of an embodiment may include one or more features from one or more of the embodiments described above.
[0071] In this embodiment, the display control method 500 according to the present invention includes:
[0072] S510, obtain the original brightness value of each sub-pixel in all sub-pixels of the display screen;
[0073] S520 performs gamma correction on the original brightness value of the sub-pixel;
[0074] S530 calculates the average brightness value of the displayed image based on the original brightness values of all sub-pixels after gamma correction.
[0075] S540, when the average brightness value exceeds the specified value, the attenuation parameter is calculated according to the specified method;
[0076] S550 multiplies the original brightness value by the attenuation parameter to obtain the attenuated brightness value;
[0077] S560 performs gamma correction on the attenuation brightness value of sub-pixels;
[0078] The S570 controls the brightness of sub-pixels by attenuating the power supply current to sub-pixels based on the attenuated brightness value after gamma correction, thereby controlling the brightness of the display device.
[0079] According to this embodiment, gamma correction is performed before calculating the average brightness value, and degamma correction is performed after calculating the attenuated brightness value. This ensures that the brightness of the display device after the attenuation operation still conforms to the human eye's visual perception curve (gamma curve). If gamma correction is not performed on the relevant parameters of the attenuation operation, the brightness after attenuation will deviate from the human eye's visual perception curve, causing the brightness of objects in the image seen by the human eye to differ from the brightness of objects seen in real life.
[0080] In one embodiment, gamma correction, also known as gamma nonlinearization or gamma encoding, refers to performing certain calculations on the brightness of a displayed image or individual pixels to make the displayed image or scene appear more realistic to the human eye. As is known to those skilled in the art, the human eye's perception of brightness is not directly proportional to the actual power of the pixels used to display that brightness. For example, a gray with a power of 50% may be perceived by the human eye as having a brightness of 72.97%. A medium gray perceived by the human eye as 50% may actually have a power of 21.76%, thus requiring gamma correction. In one embodiment, the gamma correction method can be to substitute the brightness value into a function for calculation to obtain the gamma-corrected brightness value. The function can be a power function, such as a power function with the original brightness value as the base and the gamma value as the exponent; or it can be to establish a correspondence table, in which each brightness value (e.g., represented by an integer between 0 and 255) corresponds to a corrected brightness value, and then for any original brightness value, look up the corrected brightness value from the table so that the corrected brightness value is more in line with the visual laws of the human eye.
[0081] In one embodiment, performing gamma correction on the original luminance value of a sub-pixel can mean deriving a corrected luminance value based on the original luminance value using a gamma correction method. For example, the original luminance value can be directly substituted into a power function or correspondence table representing gamma correction to obtain the corrected luminance value. Another example is to calculate an intermediate value based on the original luminance value, and then substitute this intermediate value into a power function or correspondence table representing gamma correction to obtain the corrected luminance value.
[0082] In one embodiment, calculating the average brightness value of the displayed image based on the gamma-corrected original brightness values of all sub-pixels can mean that after gamma correction of the original brightness values of all sub-pixels, the average brightness value of the displayed image is calculated based on the corrected brightness values of all sub-pixels. For example, the corrected brightness values can be directly used as the basis for calculation, and substituted into the relevant average calculation formula. Alternatively, the corrected brightness values can be first calculated or processed to obtain an intermediate value, and then this intermediate value can be substituted into the relevant average calculation formula for calculation.
[0083] In one embodiment, de-gamma correction, also known as gamma correction, involves performing an inverse operation (reversal operation) on a gamma-corrected value to obtain an uncorrected value. In one embodiment, de-gamma correction can be achieved by substituting the corrected luminance value into a function (e.g., the inverse function of the gamma correction function) to obtain the de-gamma-corrected luminance value. This function can be a power function, such as a power function with the corrected luminance value as the base and the reciprocal of the gamma value as the exponent. Alternatively, a correspondence table can be created where each corrected luminance value (e.g., represented by an integer between 0 and 255) corresponds to an original luminance value. Then, for any corrected luminance value, the original luminance value is looked up in the table to obtain the de-gamma-corrected luminance value.
[0084] In one embodiment, gamma correction of the attenuated brightness value of a sub-pixel can refer to obtaining an uncorrected brightness value based on the attenuated brightness value according to a gamma correction method. For example, the attenuated brightness value can be directly substituted into a power function or correspondence table representing gamma correction to obtain the uncorrected brightness value. Alternatively, an intermediate value can be calculated based on the attenuated brightness value, and then this intermediate value can be substituted into a power function or correspondence table representing gamma correction to obtain the uncorrected brightness value.
[0085] In one embodiment, the supply current to a sub-pixel is attenuated based on the de-gamma-corrected attenuated brightness value to control the brightness of the sub-pixel, and thus the brightness of the display device. This can mean limiting the magnitude or duty cycle of the supply current to the sub-pixel based on the information represented by the de-gamma-corrected attenuated brightness value, causing the sub-pixel's brightness to decrease to a desired level (e.g., directly to the de-corrected attenuated brightness value), thereby achieving brightness control. After such control is applied to each sub-pixel, the brightness of the entire display device decreases, thus achieving the goal of brightness control and reducing the overall power consumption of the display device.
[0086] The following is for reference Figure 6 Another embodiment of the present invention is described below. Figure 1 A specific instance of an embodiment may include one or more features from one or more of the embodiments described above.
[0087] In this embodiment, the display control method 600 according to the present invention includes:
[0088] S610, obtain the original brightness value of each sub-pixel in all sub-pixels of the display screen;
[0089] S620, determine the gamma value of the display device;
[0090] S630 calculates the value of a power function with the original brightness value as the base and the gamma value as the exponent, to obtain the original brightness value after gamma correction;
[0091] S640 calculates the average brightness value of the displayed image based on the original brightness values of all sub-pixels after gamma correction.
[0092] S650: When the average brightness value exceeds the specified value, the attenuation parameter is calculated according to the specified method.
[0093] S660 multiplies the original brightness value by the attenuation parameter to obtain the attenuated brightness value;
[0094] S670, calculate the value of a power function with the attenuation brightness value as the base and the reciprocal of the gamma value as the exponent, to obtain the attenuation brightness value after gamma correction;
[0095] The S680 controls the brightness of sub-pixels by attenuating the power supply current to sub-pixels based on the attenuated brightness value after gamma correction, thereby controlling the brightness of the display device.
[0096] According to this embodiment, gamma correction is performed using a power function, which can save computational overhead and avoid the problem of increased data storage caused by the correspondence table method or other calculation methods, thereby enabling the calculation of the gamma-corrected brightness value at a faster speed.
[0097] In one embodiment, the gamma value can represent the relationship between the input and output brightness in printing technology or image processing, affecting the distribution of tones from highlights to shadows on the original. In one embodiment, the gamma value of a display device can represent the relationship between the brightness of the input and output values of the display device, affecting the brightness distribution of the display device. In one embodiment, the gamma value of the display device can be a parameter used for gamma correction, determined according to the settings or operating system of the specific display device. Those skilled in the art will know that most displays have a gamma value of 2.2, and Apple computers (Macs) have a default gamma value of 1.8.
[0098] In one embodiment, determining the gamma value of a display device may refer to reading the gamma value stored in the display's storage device or a storage device associated with the display, thereby determining the gamma value of the display device; or it may refer to acquiring parameters related to the display and calculating the gamma value of the display device based on these parameters.
[0099] In one embodiment, the value of a power function with the original luminance value as the base and the gamma value as the exponent can refer to the value of the following functions:
[0100] pixel-out = pixel-in γ , where pixel-out represents the luminance value after gamma correction (e.g., expressed as a percentage), pixel-in represents the original luminance value without gamma correction, and γ represents the gamma value, for example, 2.2.
[0101] In one embodiment, the original luminance value after gamma correction is obtained by calculating the value of a power function with the original luminance value as the base and the gamma value as the exponent. This can mean that the original luminance value and the gamma value are substituted into the above function, and the result of the function is the original luminance value after gamma correction. Alternatively, the original luminance value and the gamma value are substituted into the above function, and the result of the function is further calculated to obtain the original luminance value after gamma correction.
[0102] In one embodiment, the value of a power function with the attenuation brightness value as the base and the reciprocal of the gamma value as the exponent can refer to the value of the following function:
[0103] pixel-out = pixel-in 1 / γ , where pixel-out represents the brightness value after gamma correction (e.g., expressed as a percentage), pixel-in represents the brightness value without gamma correction, γ represents the gamma value, and 1 / γ is, for example, 0.45.
[0104] In one embodiment, the value of a power function with the attenuated brightness value as the base and the reciprocal of the gamma value as the exponent is calculated to obtain the attenuated brightness value after gamma correction. This can mean that the attenuated brightness value and the gamma value are substituted into the above function, and the result of the function is the original brightness value after gamma correction; or it can mean that the attenuated brightness value and the gamma value are substituted into the above function, and the result of the function is further calculated to obtain the original brightness value after gamma correction.
[0105] The following is for reference Figure 7 Another embodiment of the present invention is described below. Figure 1A specific instance of an embodiment may include one or more features from one or more of the embodiments described above.
[0106] In this embodiment, the display control method 700 according to the present invention includes:
[0107] S710, obtain the original brightness value of each sub-pixel in all sub-pixels of the display screen;
[0108] S720 calculates the average brightness value of the display device based on the original brightness value;
[0109] S730: When the average brightness value exceeds the specified value, the attenuation parameter is calculated according to the specified method.
[0110] S740, determine the gamma value of the display device;
[0111] S750 calculates the value of a power function with the attenuation parameter as the base and the reciprocal of the gamma value as the exponent, to obtain the corrected attenuation parameter;
[0112] S760 multiplies the original brightness value by the corrected attenuation parameter to obtain the attenuated brightness value;
[0113] The S770 controls the brightness of sub-pixels by attenuating the power supply current to the sub-pixels based on the attenuation brightness value, thereby controlling the brightness of the display device.
[0114] In the aforementioned embodiments, gamma correction and de-gamma correction were performed before and after the attenuation algorithm (ACL algorithm), respectively. While this prevents brightness from deviating from the human visual perception curve, it incurs significant computational overhead, requiring calculations on the pixel data of the entire frame. In this embodiment, the attenuation algorithm remains unchanged; only the attenuation parameters involved in the attenuation algorithm are calculated or processed. When these attenuation parameters are then used in the attenuation algorithm, they directly ensure that the resulting attenuated brightness conforms to the human visual perception curve. This calculation method significantly reduces computational overhead and helps reduce device power consumption.
[0115] In one embodiment, the value of a power function with the attenuation parameter as the base and the reciprocal of the gamma value as the exponent can refer to the value of the following function:
[0116] y'=y 1 / γ , where y represents the attenuation parameter, y' represents the corrected attenuation parameter, γ represents the gamma value, and 1 / γ represents the reciprocal of the gamma value.
[0117] According to the above formula, pixel-out = pixel-in × y 1 / γ, where pixel-out represents the attenuated brightness value based on the corrected attenuation parameters, and pixel-in represents the original brightness value.
[0118] When γ = 2.2, the above formula is equivalent to (assuming that the brightness data of each pixel in the image is 8 bits, then the pixel brightness pixel-in and pixel-out are represented by integers from 0 to 255), pixel-out = [(pixel-in / 255)]. 2.2 [×255×y / 255] 0.45 ×255, where (pixel-in / 255) 2.2 ×255 is equivalent to performing gamma correction on the original input brightness value, [pixel / 255]. 0.45 ×255 is equivalent to de-gamma correction of the output attenuation brightness value.
[0119] In one embodiment, the modified attenuation parameter may refer to the attenuation parameter calculated according to the foregoing embodiment, and then processed so that after the attenuation operation in which the attenuation parameter participates, the screen brightness of the display device conforms to the human eye's visual law curve (gamma curve). The attenuation parameter processed in this way is the modified attenuation parameter.
[0120] In one embodiment, the modified attenuation parameter is obtained by calculating the value of a power function with the attenuation parameter as the base and the reciprocal of the gamma value as the exponent. This can mean that the attenuation parameter and the gamma value are substituted into the above function, and the result of the function is the modified attenuation parameter; or it can mean that the attenuation parameter and the gamma value are substituted into the above function, and then the result of the function is further calculated or processed to obtain the modified attenuation parameter.
[0121] In one embodiment, multiplying the original brightness value by the corrected attenuation parameter to obtain the attenuated brightness value can mean that after correcting the attenuation parameter, the original brightness value is multiplied by the attenuation parameter, and the result is the attenuated brightness value; or it can mean that after correcting the attenuation parameter, the original brightness value is multiplied by the attenuation parameter, and then further calculations or processing are performed, and the result is the attenuated brightness value.
[0122] The following is for reference Figure 8 Another embodiment of the present invention is described below. Figure 7 A specific instance of an embodiment may include one or more features from one or more of the embodiments described above.
[0123] In this embodiment, Figure 7 S750 of the embodiment includes:
[0124] The corrected attenuation parameter is obtained by calculating the value of a power function with the attenuation parameter as the base and the reciprocal of the gamma value as the exponent using linear interpolation.
[0125] According to this embodiment, the linear interpolation method uses multiple linear functions to approximate the curve of the power function. The value of the power function can be obtained through simple calculation of the linear functions. Such calculation can be greatly simplified, reducing computational overhead and facilitating the implementation of power function operations in driver ICs or related processors.
[0126] In one embodiment, linear interpolation can refer to an approximate calculation method that uses a geometric relationship to find other values of an unknown function based on a set of known values of the independent variable of the unknown function and its corresponding function values. It is a solution method for finding approximate values of unknown functions.
[0127] For example, see Figure 8 One or more binding points can be set (Noden represents the nth binding point), and each binding point is a power function (y' = y). 1 / γ A point on the power function is used to connect these bound points with a straight line. The resulting curve is used to approximate the curve of the power function. In this example, the bound points can be fixed or not, and the bound point values are configurable.
[0128] The following combination Figure 9 A display control device according to an embodiment of the present invention is described.
[0129] According to this embodiment, the display control device 900 includes:
[0130] The first calculation module 910 is used to calculate the average brightness value of the displayed screen.
[0131] The second calculation module 920 is used to calculate the attenuation parameter according to the specified method when the average brightness value exceeds the specified value.
[0132] The attenuation module 930 is used to attenuate the power supply current of the display device according to the attenuation parameters, thereby controlling the brightness of the display device.
[0133] For details regarding the first calculation module 910, the second calculation module 920, and the attenuation module 930, please refer to the above section. Figure 1 Description of the embodiments.
[0134] In one embodiment, the first computing module 910 is configured to:
[0135] Obtain the original brightness value of each sub-pixel in the display screen;
[0136] Calculate the average brightness value of the displayed image based on the original brightness value;
[0137] The attenuation module 930 is configured as follows:
[0138] Multiply the original brightness value by the attenuation parameter to obtain the attenuated brightness value;
[0139] Based on the attenuation brightness value, the power supply current of the sub-pixel is attenuated to control the brightness of the sub-pixel, thereby controlling the brightness of the display device.
[0140] In one embodiment, the display control device 900 further includes:
[0141] Gamma correction module 940 is used to perform gamma correction on the original brightness value of sub-pixels;
[0142] The gamma correction module 950 is used to perform gamma correction on the attenuation brightness value of sub-pixels.
[0143] The first computing module 910 is further configured as follows:
[0144] The average brightness value of the displayed image is calculated based on the original gamma-corrected brightness values of all sub-pixels.
[0145] The attenuation module 930 is further configured as follows:
[0146] Based on the attenuated brightness value after gamma correction, the power supply current of the sub-pixel is attenuated to control the brightness of the sub-pixel, thereby controlling the brightness of the display device.
[0147] In one embodiment, the gamma correction module is configured to:
[0148] Determine the gamma value of the display device;
[0149] Calculate the value of a power function with the original luminance value as the base and the gamma value as the exponent to obtain the original luminance value after gamma correction;
[0150] The gamma correction module is configured as follows:
[0151] Calculate the value of a power function with the attenuation brightness value as the base and the reciprocal of the gamma value as the exponent to obtain the attenuation brightness value after gamma correction.
[0152] In one embodiment, the brightness control device 900 according to the present invention further includes:
[0153] Module 960 is used to determine the gamma value of the display device;
[0154] The third calculation module 970 is used to calculate the value of a power function with the attenuation parameter as the base and the reciprocal of the gamma value as the exponent, so as to obtain the corrected attenuation parameter;
[0155] The attenuation module 930 is further configured as follows:
[0156] Multiply the original brightness value by the corrected attenuation parameter to obtain the attenuated brightness value.
[0157] In one embodiment, the third computing module is further configured to:
[0158] The corrected attenuation parameter is obtained by calculating the value of a power function with the attenuation parameter as the base and the reciprocal of the gamma value as the exponent using linear interpolation.
[0159] The following combination Figure 10 A display control device according to an embodiment of the present invention is described.
[0160] like Figure 10 As shown, the display control device 1000 includes one or more processors 1010 and memory 1020.
[0161] The processor 1010 may be a central processing unit (CPU) or other form of processing unit with data processing capabilities and / or instruction execution capabilities, and may control other components in the display control device 1000 to perform desired functions.
[0162] The memory 1020 may include one or more computer program products, which may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. The volatile memory may include, for example, random access memory (RAM) and / or cache memory. The non-volatile memory may include, for example, read-only memory (ROM), hard disk, flash memory, etc. One or more computer program instructions may be stored on the computer-readable storage medium, and the processor 1010 may execute the program instructions to implement the parking methods of the various embodiments of this application described above and / or other desired functions.
[0163] In one example, the display control device 1000 may also include an input device 1030 and an output device 1040, which are interconnected via a bus system and / or other forms of connection mechanism (not shown).
[0164] For example, the input device 1030 may be a microphone or microphone array for capturing voice input signals; it may be a communication network connector for receiving the collected input signals from the cloud or other devices; and it may also include, for example, a keyboard, mouse, etc.
[0165] The output device 1040 can output various information to the outside, including determined distance information, direction information, etc. The output device 1040 may include, for example, a display, a speaker, a printer, and a communication network and its connected remote output devices, etc.
[0166] Of course, for the sake of simplicity, Figure 10 Only some of the components of the display control device 1000 relevant to this application are shown in this illustration; components such as buses, input / output interfaces, etc., are omitted. In addition, the display control device 1000 may include any other suitable components depending on the specific application.
[0167] In addition to the methods and devices described above, embodiments of this application may also be computer-readable storage media storing computer program instructions thereon, which, when executed by a processor, cause the processor to perform the steps in the display control methods according to various embodiments of this application described above.
[0168] The computer-readable storage medium may be any combination of one or more readable media. A readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may, for example, include, but is not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatuses, or devices, or any combination thereof. More specific examples of readable storage media (a non-exhaustive list) include: electrical connections having one or more wires, portable disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.
[0169] The concepts, principles, and ideas of the present invention have been described in detail above with reference to specific embodiments (including examples and instances). Those skilled in the art should understand that the embodiments of the present invention are not limited to those given above. After reading this application, those skilled in the art can make any possible improvements, substitutions, and equivalents to the steps, methods, apparatus, and components in the above embodiments, and such improvements, substitutions, and equivalents should be considered to fall within the scope of the present invention. The scope of protection of the present invention is limited to the claims.
Claims
1. A display control method, comprising: Calculate the average brightness value of the display screen on the display device; When the average brightness value exceeds the specified value, the attenuation parameter is calculated according to the specified method; Based on the attenuation parameter, the power supply current of the display device is attenuated to control the brightness of the display device. The calculation of the average brightness value of the displayed image includes: Obtain the original brightness value of each sub-pixel in the display screen of the display device; Calculate the average brightness value of the displayed image based on the original brightness value; The step of attenuating the power supply current of the display device according to the attenuation parameter to control the brightness of the display device includes: Multiply the original brightness value by the attenuation parameter to obtain the attenuated brightness value; Based on the attenuation brightness value, the power supply current of the sub-pixel is attenuated to control the brightness of the sub-pixel, thereby controlling the brightness of the display device. After obtaining the original brightness value of each sub-pixel in all sub-pixels of the display screen, the process includes: Perform gamma correction on the original brightness value of the sub-pixel; The step of calculating the average brightness value of the displayed image based on the original brightness value includes: The average brightness value of the display screen is calculated based on the gamma-corrected original brightness values of all the sub-pixels. The step of multiplying the original brightness value by the attenuation parameter to obtain the attenuated brightness value includes: Gamma correction is performed on the attenuation brightness value of the sub-pixel; The step of attenuating the power supply current of the sub-pixel according to the attenuated brightness value, thereby controlling the brightness of the sub-pixel and thus controlling the brightness of the display device, includes: Based on the attenuated brightness value after gamma correction, the power supply current of the sub-pixel is attenuated to control the brightness of the sub-pixel, thereby controlling the brightness of the display device. The step of performing gamma correction on the original brightness value of the sub-pixel includes: Determine the gamma value of the display device; Calculate the value of a power function with the original brightness value as the base and the gamma value as the exponent to obtain the original brightness value after gamma correction; The step of performing gamma correction on the attenuation brightness value of the sub-pixel includes: Calculate the value of a power function with the attenuated brightness value as the base and the reciprocal of the gamma value as the exponent to obtain the attenuated brightness value after gamma correction; When the average brightness exceeds a predetermined value, after calculating the attenuation parameter according to a predetermined method, the process includes: Determine the gamma value of the display device; The modified attenuation parameter is obtained by calculating the value of a power function with the attenuation parameter as the base and the reciprocal of the gamma value as the exponent. The step of multiplying the original brightness value by the attenuation parameter to obtain the attenuated brightness value includes: Multiply the original brightness value by the corrected attenuation parameter to obtain the attenuated brightness value; The calculation of the modified attenuation parameter, which is a power function with the attenuation parameter as the base and the reciprocal of the gamma value as the exponent, includes: The corrected attenuation parameter is obtained by calculating the value of a power function with the attenuation parameter as the base and the reciprocal of the gamma value as the exponent using a linear interpolation method.
2. The display control method according to claim 1, wherein, The specified method is defined by a linear function whose independent variable is the average brightness value and whose slope is negative.
3. A display control device for executing the display control method according to any one of claims 1-2, comprising: The first calculation module is used to calculate the average brightness value of the display screen on the display device. The second calculation module is used to calculate the attenuation parameter according to a specified method when the average brightness value exceeds a specified value. The attenuation module is used to attenuate the power supply current of the display device according to the attenuation parameters, thereby controlling the brightness of the display device.
4. A display control device, comprising: processor; Memory; An application, stored in the memory and configured to be executed by the processor, the application including instructions for performing the display control method according to any one of claims 1-2.
5. A computer-readable medium storing a computer program for performing the display control method according to any one of claims 1-2.
Citation Information
Patent Citations
Image processing method, image processing module and display device
CN111277810A