Brightness control method and apparatus, device, storage medium, and program product
By adjusting pixel brightness according to the display window size, the contradiction between power consumption and display effect when the display is reduced to its maximum brightness is resolved, and flexible brightness control under different window sizes is achieved.
Patent Information
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2025-08-05
- Publication Date
- 2026-04-02
AI Technical Summary
When a monitor displays different grayscale values, reducing the maximum display brightness may result in excessively low brightness at low grayscale values, affecting the display effect and increasing power consumption.
Based on the window size of the target display window, the pixel brightness is flexibly controlled. By obtaining the mapping relationship between the window size and the maximum display brightness, the pixel brightness is adjusted to match the display requirements of different window sizes.
While reducing power consumption, it ensures the display effect under different window sizes and avoids the problem of excessively low brightness under low grayscale values.
Smart Images

Figure CN2025112668_02042026_PF_FP_ABST
Abstract
Description
Brightness control method, device, equipment, storage medium and program product
[0001] The present application claims priority to the Chinese patent application No. 202411389099.9, filed on September 30, 2024, and entitled "Brightness control method, device, equipment, storage medium and program product", the entire content of which is incorporated herein by reference. TECHNICAL FIELD
[0002] The present application relates to the technical field of display, in particular to a brightness control method, device, equipment, storage medium and program product. BACKGROUND
[0003] When a display displays different gray scale values, the brightness thereof is adjusted according to a gamma curve (for example, a Gamma2.2 curve), and the gamma curve is more sensitive to the change in brightness at a lower gray scale value than at a high gray scale value. Therefore, reducing the maximum display brightness can cause the brightness of a display picture at a low gray scale value to become very low, even below the threshold value that can be clearly distinguished by the human eye, thereby affecting the display effect. Based on this, how to flexibly control the brightness of a display picture when the display displays the picture to reduce power consumption while ensuring the display effect has become a technical problem to be solved. SUMMARY
[0004] The present application provides a brightness control method, device, equipment, storage medium and program product, which can flexibly control the pixel brightness of a plurality of pixels contained in a target display window according to the window size of the target display window. The technical solution is as follows:
[0005] In a first aspect, a brightness control device is provided, and the device comprises:
[0006] A window size acquisition module is configured to acquire the window size of a target display window, the target display window containing a plurality of pixels, the plurality of pixels being used to display a target picture.
[0007] A maximum brightness determination module is configured to determine the maximum display brightness corresponding to the target display window based on the window size of the target display window, wherein the maximum display brightness refers to the maximum brightness that can be achieved when the target picture is displayed according to the window size, and the maximum display brightness corresponding to different window sizes is different.
[0008] A brightness control module is configured to control the pixel brightness of the plurality of pixels based on the maximum display brightness.
[0009] Optionally, the maximum brightness determination module is specifically configured to:
[0010] obtain window brightness configuration information, the window brightness configuration information indicating a mapping relationship between a window size of a display window and a maximum display brightness of the display window;
[0011] determine, based on a window size of the target display window, the maximum display brightness corresponding to the target display window from the window brightness configuration information.
[0012] Optionally, the window brightness configuration information comprises a first mapping relationship and a second mapping relationship.
[0013] The first mapping relationship indicates that when the window size of the display window is less than a first threshold, the maximum display brightness corresponding to the display window is a target brightness; and the second mapping relationship indicates that when the window size of the display window is greater than the first threshold, the maximum display brightness corresponding to the display window is negatively correlated with the window size.
[0014] Optionally, the second mapping relationship comprises a first sub-mapping relationship.
[0015] The first sub-mapping relationship indicates that when the window size of the display window is greater than the first threshold, a negative correlation coefficient between the maximum display brightness corresponding to the display window and the window size is a first coefficient.
[0016] Optionally, the second mapping relationship comprises a second sub-mapping relationship and a third sub-mapping relationship.
[0017] The second sub-mapping relationship indicates that when the window size of the display window is greater than the first threshold and less than a second threshold, the maximum display brightness corresponding to the display window is determined by a first function; the third sub-mapping relationship indicates that when the window size of the display window is greater than the second threshold, the maximum display brightness corresponding to the display window is determined by a second function; and a slope of the second function is less than a slope of the first function.
[0018] Optionally, the target brightness is greater than the maximum display brightness corresponding to any window size in the second mapping relationship.
[0019] Optionally, the maximum brightness determination module is further configured to:
[0020] obtain a plurality of groups of test data, each group of test data comprising a window size sample value and a maximum display brightness sample value;
[0021] obtain power consumption parameters corresponding to the plurality of groups of test data respectively;
[0022] determine the window brightness configuration information based on the power consumption parameters.
[0023] Optionally, the obtaining the window brightness configuration information comprises:
[0024] determining an ambient light condition of a display device where the target display window is located;
[0025] determining the window brightness configuration information based on the ambient light condition.
[0026] Optionally, the window size obtaining module comprises:
[0027] a gray scale value obtaining unit, configured to obtain gray scale values of corresponding points of the plurality of pixels in the target picture;
[0028] a brightness determining unit, configured to determine a display brightness of the target picture based on the gray scale values corresponding to the plurality of pixels;
[0029] a window size determining unit, configured to determine a window size of the target display window based on the display brightness of the target picture.
[0030] Optionally, the brightness determining unit is specifically configured to:
[0031] sum the gray scale values corresponding to the plurality of pixels to obtain a pixel gray scale sum of the target picture;
[0032] map the pixel gray scale sum into a picture brightness range, and determine a corresponding mapping value as the display brightness of the target picture, the picture brightness range indicating a brightness variation range of the display device displaying a picture.
[0033] Optionally, the brightness determining unit is specifically configured to:
[0034] determine original brightnesses of the plurality of pixels based on the gray scale values corresponding to the plurality of pixels and a reference brightness, the reference brightness indicating a maximum brightness that can be reached by the display device displaying a picture;
[0035] sum the original brightnesses of the plurality of pixels to obtain a pixel brightness sum of the target picture;
[0036] map the pixel brightness sum into a picture brightness range, and determine a corresponding mapping value as the display brightness of the target picture, the picture brightness range indicating a brightness variation range of the display device displaying a picture.
[0037] Optionally, the brightness control module is specifically configured to:
[0038] obtain gray scale values of corresponding points of the plurality of pixels in the target picture;
[0039] determine target brightnesses of the plurality of pixels based on the maximum display brightness and grayscale values corresponding to the plurality of pixels;
[0040] control the plurality of pixels to emit light according to the target brightnesses, so as to display the target picture.
[0041] In a second aspect, a brightness control method is provided, and the method comprises:
[0042] obtain a window size of a target display window, the target display window comprising a plurality of pixels, the plurality of pixels being used to display a target picture;
[0043] determine a maximum display brightness corresponding to the target display window based on the window size of the target display window; wherein the maximum display brightness refers to a maximum brightness that can be reached when the target picture is displayed according to the window size, and the maximum display brightness corresponding to different window sizes is different;
[0044] control pixel brightnesses of the plurality of pixels based on the maximum display brightness.
[0045] Optionally, the determining of the maximum display brightness corresponding to the target display window based on the window size of the target display window comprises:
[0046] obtain window brightness configuration information, the window brightness configuration information indicating a mapping relationship between window sizes of display windows and maximum display brightnesses;
[0047] determine the maximum display brightness corresponding to the target display window from the window brightness configuration information based on the window size of the target display window.
[0048] Optionally, the window brightness configuration information comprises a first mapping relationship and a second mapping relationship.
[0049] The first mapping relationship indicates that when the window size of the display window is less than a first threshold, the maximum display brightness corresponding to the display window is a target brightness; and the second mapping relationship indicates that when the window size of the display window is greater than the first threshold, the maximum display brightness corresponding to the display window is negatively correlated with the window size.
[0050] Optionally, the second mapping relationship comprises a first sub-mapping relationship.
[0051] The first sub-mapping relationship indicates that when the window size of the display window is greater than the first threshold, a negative correlation coefficient between the maximum display brightness corresponding to the display window and the window size is a first coefficient.
[0052] Optionally, the second mapping relationship comprises a second sub-mapping relationship and a third sub-mapping relationship.
[0053] The second sub-mapping relationship indicates that when the window size of the display window is greater than the first threshold and less than a second threshold, the maximum display brightness corresponding to the display window is determined by a first function; the third sub-mapping relationship indicates that when the window size of the display window is greater than the second threshold, the maximum display brightness corresponding to the display window is determined by a second function; and the slope of the second function is less than the slope of the first function.
[0054] Optionally, the target brightness is greater than the maximum display brightness corresponding to any window size in the second mapping relationship.
[0055] Optionally, before the window brightness configuration information is obtained, the method further comprises:
[0056] Obtaining a plurality of sets of test data, each set of test data comprising a window size sample value and a maximum display brightness sample value;
[0057] Obtaining power consumption parameters corresponding to the plurality of sets of test data respectively;
[0058] Determining the window brightness configuration information based on the power consumption parameters.
[0059] Optionally, the window brightness configuration information is obtained by:
[0060] Determining an ambient light condition of a display device in which the target display window is located;
[0061] Determining the window brightness configuration information based on the ambient light condition.
[0062] Optionally, the window size of the target display window is obtained by:
[0063] Obtaining grayscale values of corresponding points of the plurality of pixels in the target picture;
[0064] Determining a display brightness of the target picture based on the grayscale values corresponding to the plurality of pixels;
[0065] Determining the window size of the target display window based on the display brightness of the target picture.
[0066] Optionally, the display brightness of the target picture is determined based on the grayscale values corresponding to the plurality of pixels by:
[0067] Summing the grayscale values corresponding to the plurality of pixels to obtain a pixel grayscale sum of the target picture;
[0068] map the pixel gray scale into a picture luminance range, and determine a corresponding mapping value as the display luminance of the target picture, the picture luminance range indicating a luminance variation range of the display device when displaying a picture.
[0069] Optionally, the determining the display luminance of the target picture based on the gray scale values corresponding to the plurality of pixels comprises:
[0070] determining original luminances of the plurality of pixels based on the gray scale values corresponding to the plurality of pixels and a reference luminance, the reference luminance indicating a maximum luminance that can be reached by the display device when displaying a picture;
[0071] summing the original luminances of the plurality of pixels to obtain a pixel luminance sum of the target picture.
[0072] map the pixel gray scale into a picture luminance range, and determine a corresponding mapping value as the display luminance of the target picture, the picture luminance range indicating a luminance variation range of the display device when displaying a picture.
[0073] Optionally, the controlling the pixel luminance of the plurality of pixels based on the maximum display luminance comprises:
[0074] obtaining gray scale values of the plurality of pixels at corresponding points in the target picture;
[0075] determining target luminances of the plurality of pixels based on the maximum display luminance and the gray scale values corresponding to the plurality of pixels;
[0076] controlling the plurality of pixels to emit light according to the target luminances to display the target picture.
[0077] In a third aspect, a display device is provided, the computer device comprising a memory and a processor;
[0078] the memory is configured to store a computer program;
[0079] the processor is configured to execute the computer program to implement the luminance control method of the second aspect.
[0080] In a fourth aspect, a computer readable storage medium is provided, the storage medium storing a computer program, the computer program being executed by a processor to implement the luminance control method of the second aspect.
[0081] In a fifth aspect, a computer program product is provided, the computer program product storing computer instructions, the computer instructions being executed by a processor to implement the luminance control method of the second aspect.
[0082] The technical scheme provided in the application can bring at least the following beneficial effects:
[0083] When displaying a target picture in a target display window, the application can first acquire the window size of the target display window, determine the corresponding maximum display brightness based on the window size, and then control the pixel brightness of the multiple pixels in the target display window based on the maximum display brightness. Since the maximum display brightness corresponding to different window sizes is different, the maximum display brightness determined by the application is also different for display windows of different sizes. In this way, by flexibly controlling the maximum display brightness of display windows of different sizes, the pixel brightness of the multiple pixels contained in display windows of different sizes can be controlled, which can not only reduce the power consumption of the display device when displaying a picture in a large window, but also ensure the display effect of the display device when displaying a picture in a small window. BRIEF DESCRIPTION OF DRAWINGS
[0084] In order to more clearly illustrate the technical scheme in the embodiments of the application, the drawings needed to be used in the embodiment description will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the application, and other drawings can be obtained by those skilled in the art without creative effort.
[0085] FIG. 1 is a flow diagram of a brightness control method provided by an embodiment of the application;
[0086] FIG. 2 is a curve diagram of a first APL and Lmax provided by an embodiment of the application;
[0087] FIG. 3 is a curve diagram of a second APL and Lmax provided by an embodiment of the application;
[0088] FIG. 4 is a curve diagram of a third APL and Lmax provided by an embodiment of the application;
[0089] FIG. 5 is a curve diagram of a fourth APL and Lmax provided by an embodiment of the application;
[0090] FIG. 6 is a structural diagram of a brightness control device provided by an embodiment of the application;
[0091] FIG. 7 is a structural diagram of a display device provided by an embodiment of the application. DETAILED DESCRIPTION
[0092] In order to make the purpose, technical scheme and advantages of the embodiments of the application more clear, the embodiments of the application will be further described in detail below with reference to the drawings.
[0093] Before the brightness control method provided by the embodiments of the present application is explained and described, the related terms and related application scenarios involved in the embodiments of the present application are introduced first for ease of understanding.
[0094] Firstly, the terms involved in the embodiments of the present application are introduced.
[0095] 1. HDR (High Dynamic Range) mode
[0096] HDR is a new generation of display technology, which aims to present more realistic and vivid picture effects by improving the brightness range, color depth and contrast of images. Among them, the HDR technology can capture and display a wider range of brightness levels, from extremely dark to extremely bright, so that the highlights and dark details can be better displayed; and the HDR technology usually uses a wider color gamut, such as P3 color gamut or Rec.2020 color gamut, and a higher color depth, such as 10 bits or 12 bits, so as to provide richer color levels and more delicate color transitions.
[0097] Because the HDR technology needs higher brightness to display the highlight details while maintaining the clarity of the dark details, therefore, in the (Organic Light-Emitting Diode, OLED) product, the maximum brightness (also known as the maximum display brightness) in the HDR mode is usually greater than that in the SDR mode.
[0098] 2. SDR (Standard Dynamic Range) mode
[0099] SDR is a technical standard adopted in early televisions and photography, and its dynamic range is relatively limited. Among them, SDR usually uses a traditional gamma curve (such as Gamma 2.2 curve) to describe images or videos, which is based on the limit of CRT (Cathode Ray Tube), and allows a lower maximum brightness (such as 100 cd / m2). In addition, SDR is also relatively narrow in color depth and color gamut, usually using 8-bit color depth (i.e. only 256 color steps on each color channel) and Rec.709 color gamut.
[0100] Because the dynamic range of SDR is limited, it may not be able to simultaneously display all the details of the highlights and darks in the scene, resulting in loss of picture details in bright or dark areas; and the color performance of SDR is also relatively limited, and cannot present the rich color levels and delicate color transitions as HDR.
[0101] It should be noted that for a certain display device, the display picture brightness in the SDR mode is not only related to the maximum display brightness of the display device, but also closely related to the gray scale value of the input signal.
[0102] 3. OLED (Organic Light-Emitting Diode) products
[0103] OLED products are a new type of display technology that uses a very thin coating of organic material and a glass substrate (or a flexible organic substrate). When an electric current passes through, these organic materials emit light. The light-emitting principle involves a power source driving electrons from the cathode to the electron transport layer, and holes from the anode to the hole transport layer. When these two electrons meet in the light-emitting layer, they generate excitons, which excite light-emitting molecules, producing light through radiation. Simply put, an OLED screen consists of numerous tiny "light-emitting points," each capable of emitting light independently, thus displaying an image.
[0104] Due to their advantages such as thinness, wide viewing angle, low power consumption, vibrant colors, and flexibility, OLED products are widely used in many fields, including electronic products such as smartphones, laptops, displays, televisions, tablets, and digital cameras, as well as commercial equipment such as POS (Point of Sales) machines, copiers, and ATMs (Automated Teller Machines), transportation equipment such as ships, aircraft instruments, GPS (Global Positioning System), video phones, and in-vehicle displays, and medical equipment such as medical diagnostic imaging and surgical screen monitoring.
[0105] It should be noted that because HDR technology requires higher brightness to display details in bright areas while maintaining the clarity of details in dark areas, the maximum display brightness in HDR mode is usually greater than that in SDR mode in OLED products. The maximum display brightness in SDR mode can be expressed by the following formula (1): Lmax(SDR)=k*Lmax(HDR) (1)
[0106] In the above formula, k is a constant value less than 1, Lmax(SDR) is the maximum display brightness in SDR mode, and Lmax(HDR) is the maximum display brightness in HDR mode.
[0107] 3. Relationship between grayscale and brightness
[0108] Grayscale, or gray level (GL), refers to the different brightness levels in an image, ranging from pure black to pure white. In an 8-bit display system, the grayscale range is from 0 (pure black) to 255 (pure white), totaling 256 levels.
[0109] Luminance (L) refers to the intensity of light emitted from the surface of a display device, usually measured in nits. The luminance range differs between HDR and SDR modes, with HDR mode typically exhibiting significantly higher brightness than SDR mode.
[0110] In OLED products, whether in HDR mode or SDR mode, the relationship between brightness and grayscale usually follows a certain gamma curve, such as the Gamma 2.2 curve, which describes how brightness changes with grayscale values.
[0111] Gamma 2.2 is a commonly used standard that makes the perceived change in brightness and grayscale more linear. Specifically, when the grayscale increases from 0 to 255, the brightness does not increase linearly, but rather according to (GL / 255). 2.2 The relationship increases. Among them, brightness can be expressed by the following formula (2): L=Lmax(SDR)*(GL / 255) 2.2 (2)
[0112] In the above formula, L is the brightness value, Lmax(SDR) is the maximum display brightness in SDR mode, and GL is the grayscale value.
[0113] It should be noted that, regardless of whether it is HDR mode or SDR mode, grayscale and brightness are applied to individual pixels, meaning that the grayscale and brightness values of each pixel can be adjusted independently.
[0114] 4. Pixels
[0115] In a display, a "pixel" is a physical entity, the smallest unit that emits light or displays color on the screen. Furthermore, pixels on a monitor directly participate in the image display process, and their brightness and color are determined by physical mechanisms such as screen backlighting and pixel driving circuitry. The number of physical pixels on a given monitor is finite and usually fixed. Moreover, adjusting monitor settings (such as brightness and contrast) actually changes the light-emitting characteristics of each pixel on the monitor.
[0116] It should be noted that there is also a concept of "pixel" in the field of images, but the "pixel" in the image is the basic unit of digital image data, which is an abstract concept stored in the computer and mainly serves as a carrier of image information for processing and transmitting image data in the computer. Moreover, the number of pixels in the image can be adjusted as needed, for example, by image scaling to change the pixel size of the image. In addition, when editing an image in image processing software, the color value or position of the pixel point in the image file is actually changed. Therefore, although they all involve the concept of pixels, they have different meanings and uses in different contexts and fields.
[0117] In the embodiments of the present application, "pixel" refers to a physical pixel on a display device, i.e., the smallest light-emitting unit that can be driven. In the brightness control method provided by the embodiments of the present application, the brightness of each pixel in the display window is flexibly controlled to flexibly control the brightness of the entire display window, thereby reducing the power consumption of the display device when presenting the display window.
[0118] 5. Display window
[0119] In the embodiments of the present application, "display window" is a more general concept, which refers to the size of the area on the display device that is currently activated or used to display content. More specifically, it refers to the size of the backlight area of the display or the size of the circuit area that actually drives the pixels to display content, which is more technically close to the number of pixels.
[0120] wherein as the display window increases, the power consumption of the display device also increases linearly, and the power consumption of the display device can be represented by the following formula (3): P=L*number of pixels (3)
[0121] In the above formula, P is the power consumption of the display device, L is the brightness of each pixel contained in the display window, and the number of pixels is the number of light-emitting pixels in the display window.
[0122] After introducing the terms involved in the embodiments of the present application, the application scenarios of the embodiments of the present application are introduced.
[0123] Taking an OLED display as an example, its power consumption is directly related to the light intensity it emits. In the SDR mode, when displaying the brightest white (i.e., gray scale GL=255) on the full screen, if the maximum display brightness (i.e., Lmax) is high, the OLED display needs to consume more energy to produce such high-brightness light. Therefore, reducing the maximum display brightness can directly reduce the power consumption of the OLED display when displaying the brightest white.
[0124] However, since the display adjusts the luminance according to the Gamma 2.2 curve when displaying different gray scale values, but a key characteristic of the Gamma 2.2 curve is that the luminance change is more sensitive at lower gray scale values than at high gray scale values. Therefore, according to the Gamma 2.2 curve, when the maximum display luminance is reduced, the luminance corresponding to the low gray scale values will also be reduced accordingly, which may cause the luminance of the display picture to become very low at low gray scale values, and even possibly below the threshold value that can be clearly distinguished by the human eye, thereby affecting the display effect.
[0125] Therefore, how to control the maximum display luminance of the OLED display to ensure the display effect while reducing power consumption has become a technical problem to be solved. If the maximum display luminance is excessively reduced in pursuit of low power consumption, it may result in poor display effect at low gray scale values; and if the maximum display luminance is set to be relatively high in order to maintain the display effect at low gray scale values, it may increase the power consumption, that is, when controlling the maximum display luminance of the OLED display, a trade-off needs to be made between power consumption control and display effect.
[0126] Based on this, the embodiments of the present application provide a luminance control method, the window size of a target display window is obtained, and the corresponding maximum display luminance is determined based on the window size, and then the pixel luminance of a plurality of pixels in the target display window is controlled based on the maximum display luminance. Since the maximum display luminance changes, according to the above formula (2), the pixel luminance of the plurality of pixels will also change, so by adjusting the maximum display luminance corresponding to different display window sizes, the luminance of different sizes of display windows can be flexibly controlled, while reducing power consumption and ensuring display effect.
[0127] Please refer to FIG. 1, which is a flow chart of a luminance control method provided by an embodiment of the present application, the method can be applied in a luminance control device, and the luminance control method comprises the following steps:
[0128] Step 101: Obtain the window size of a target display window, the target display window comprises a plurality of pixels, and the plurality of pixels are used to display a target picture.
[0129] As explained in the term introduction in the foregoing, the window size of the target display window is used to describe the light-emitting situation of the plurality of pixels in the target display window. Based on this, when obtaining the window size of the target display window, the embodiments of the present application can be converted to first obtaining the overall brightness level of the target display window when displaying the target picture, and then determining the window size based on the overall brightness level.
[0130] In a possible implementation manner, the implementation process of obtaining the window size of the target display window can comprise the following steps:
[0131] (1) Obtain the gray scale values of the corresponding points of the plurality of pixels in the target picture.
[0132] For the target picture to be displayed in the target display window, each point in the target picture (i.e., the pixel point in the target picture) corresponds to a pixel on the display window (i.e., the pixel on the display), so after determining the target picture to be displayed, the gray scale value of each pixel on the display device corresponding to the point in the target picture can be determined.
[0133] (2) Determine the display brightness of the target picture based on the gray scale values corresponding to the plurality of pixels.
[0134] The display brightness is used to reflect the overall brightness of the target picture, and the display brightness can be represented by APL (Average Picture Level).
[0135] It should be understood that APL, as an indicator of the overall brightness of an image, represents some average or sum of the gray scale values of all light-emitting pixels in the image, and is usually represented in a normalized form, so that the APL value can reflect the overall brightness level of the image.
[0136] Moreover, in display technologies such as OLED, the APL value changes with the size of the window. When the window is small (i.e., only a small part of the area is bright), the APL value is relatively low, indicating that the overall brightness is low; on the contrary, when the window is large or the entire window is bright, the APL value is relatively high, indicating that the overall brightness is high.
[0137] Based on this, in the case where the target display window is used to display the target picture, the embodiments of the present application can first calculate the APL value of the target display window when displaying the target picture based on the gray scale values corresponding to the plurality of pixels in the target picture on the target display window, and then determine the window size of the target display window according to the APL value.
[0138] In determining the display brightness of the target picture based on the gray scale values corresponding to the plurality of pixels, the embodiments of the present application provide two exemplary implementation manners, which will be introduced next.
[0139] In the first implementation manner, the gray scale values corresponding to the plurality of pixels are summed to obtain the pixel gray scale sum of the target picture; the pixel gray scale sum is mapped to a picture brightness range, and the corresponding mapping value is determined as the display brightness of the target picture, and the picture brightness range indicates the brightness variation range of the display device when displaying the picture.
[0140] Considering that the range of the gray scale value is 0-255, and the gray scale value and the brightness of the pixel have the relationship shown in the formula (2), the picture brightness range can also be set to 0-255. Of course, in actual application, the value of the picture brightness range can also be flexibly set according to the luminous performance of the display device, and the embodiments of the present application do not limit this.
[0141] In the second implementation mode, the original brightness of the plurality of pixels is determined based on the gray scale values corresponding to the plurality of pixels and the reference brightness, the reference brightness indicating the maximum brightness that can be reached when the display device displays the picture in which the target display window is located; the original brightness of the plurality of pixels is summed to obtain the pixel brightness sum of the target picture; the pixel brightness sum is mapped into the picture brightness range, and the corresponding mapping value is determined as the display brightness of the target picture, the picture brightness range indicating the brightness variation range when the display device displays the picture.
[0142] Due to the WRGB (White Red Green Blue) pixel ordering product, the conversion from RGB to RWB is usually involved, and a key step in the conversion from RGB to RGBW is how to determine the brightness of W (white) according to the RGB value, which usually involves some form of brightness estimation of the RGB signal, and therefore, operation in the brightness domain (also referred to as L domain) or brightness-related domain is needed to convert the RGB value to the brightness value for more intuitive brightness management.
[0143] Based on this, when calculating the display brightness of the target picture, the gray scale values can be first converted to brightness values based on the gray scale values corresponding to the plurality of pixels and the reference brightness, and then the display brightness of the target picture is determined based on the brightness values.
[0144] The reference brightness can be the maximum display brightness of the display device by default, or the maximum display brightness determined before the window size is switched, and the embodiments of the present application do not limit this.
[0145] When the original brightness of the plurality of pixels is determined based on the gray scale values corresponding to the plurality of pixels and the reference brightness, for each pixel, the gray scale value corresponding to the pixel and the reference brightness can be substituted into the formula (2) to calculate the original brightness corresponding to the pixel through the formula (2).
[0146] It should be understood that the original brightness here is relative to the reference brightness, that is, when the reference brightness changes, the pixel brightness also changes.
[0147] Therefore, in the determination of the display brightness of the target picture, the first implementation manner is to represent the display brightness of the target picture by the normalized representation result of the pixel gray scale sum, and the second implementation manner is to represent the display brightness of the target picture by the normalized representation result of the pixel brightness sum.
[0148] (3) Based on the display brightness of the target picture, the window size of the target display window is determined.
[0149] In a possible implementation, since the target display window is used to display the target picture, that is, the target picture fills the target display window, after the display brightness of the target picture is determined, the display brightness can be directly used as a measurement value of the window size.
[0150] As an example, in the case where the display brightness of the target picture is represented by an APL value, the APL value can be directly used as a measurement value of the window size. For example, when the window size of the display window is one fourth of the entire display device window, the corresponding APL is 25%; when the window size of the display window is one half of the entire display device window, the corresponding APL is 50%; and when the window size of the display window is the entire display device window, the corresponding APL is 100%.
[0151] Step 102: Based on the window size of the target display window, the maximum display brightness corresponding to the target display window is determined; wherein the maximum display brightness refers to the maximum brightness that can be reached when the target picture is displayed according to the window size, and the maximum display brightness corresponding to different window sizes is different.
[0152] In a possible implementation, the implementation process of step 102 can include the following steps:
[0153] (1) Obtain window brightness configuration information, which indicates the mapping relationship between the window size of the display window and the maximum display brightness.
[0154] The window brightness configuration information can be determined based on the display scene of the display device, or can be determined based on the ambient light condition of the display device, which will be introduced in the following.
[0155] In some embodiments, different window brightness configuration information can be constructed in advance for different display scenes, and the correspondence between the display scene and the window brightness configuration information is preconfigured in the display device. In this way, in actual use, the window brightness configuration information corresponding to the current display scene of the display device can be determined from the correspondence.
[0156] The display scene includes, but is not limited to, an indoor display scene, an outdoor display scene, a home theater scene, and the like, and the embodiments of the present application do not limit the display scene.
[0157] Optionally, the display device can provide a scene selection function to the outside, so that the user can select and switch among the above display scenes.
[0158] In some embodiments, different window brightness configuration information can be constructed in advance for different ambient light conditions, and the correspondence between the ambient light conditions and the window brightness configuration information is preconfigured in the display device. In this way, in actual use, the window brightness configuration information corresponding to the current ambient light condition of the display device can be determined from the above correspondence.
[0159] The ambient light condition includes, but is not limited to, a dark light environment, a bright environment, a direct sunlight environment, and the like, and the embodiments of the present application do not limit the ambient light condition.
[0160] Optionally, the display device can include a sensor for detecting the light condition, so as to detect the ambient light condition of the display device through the sensor.
[0161] In some embodiments, different window brightness configuration information can also be constructed in advance for different types of display devices (which can have different power consumption requirements). Based on this, in actual use, the corresponding window brightness configuration information can be obtained according to the device type of the display device where the target display window is located.
[0162] The device type can include, but is not limited to, a device model, a device identifier, and the like, and the embodiments of the present application do not limit the device type.
[0163] It should be noted that, as for the window brightness configuration information, the embodiments of the present application only take the display scene, the ambient light condition, and the device type as examples, and in actual application, the window brightness configuration information can also be optimized in combination with the display scene and / or the ambient light condition and other bases, or the window brightness configuration information can be constructed in combination with other information, and the embodiments of the present application do not limit the window brightness configuration information.
[0164] In some embodiments, for a certain display device, the implementation process of constructing the window brightness configuration information can be: obtaining a plurality of sets of test data, each set of test data including a window size sample value and a maximum display brightness sample value; obtaining power consumption parameters corresponding to the plurality of sets of test data respectively; and determining the window brightness configuration information based on the power consumption parameters.
[0165] The window size sample value corresponding to each set of test data is different, and / or the maximum display brightness sample value is different. For example, the maximum display brightness sample values of the first set of test data, the second set of test data, and the third set of test data are the same, but the corresponding window size sample values are different; the window size sample values of the fourth set of test data, the fifth set of test data, and the sixth set of test data are the same, but the corresponding maximum display brightness sample values are different.
[0166] That is, when determining the window brightness configuration information for the display device, the maximum display brightness can be continuously adjusted while the window size is unchanged to obtain the corresponding power consumption parameter, and / or the window size can be continuously adjusted while the maximum display brightness is unchanged to obtain the corresponding power consumption parameter.
[0167] Taking the maximum display brightness as an example, the maximum display brightness of the display device refers to the highest brightness level that it can output. In the SDR mode, when the display device operates at the maximum brightness, more backlight energy and circuit driving are required for high brightness, thereby increasing the overall power consumption, resulting in relatively high overall power consumption of the display device.
[0168] Taking the window size as an example, and assuming that the window size is determined by the APL value, since APL refers to the average value of the brightness of all pixel points on the display when displaying a specific content, in the SDR mode, if the overall display picture is dark, i.e., the APL is low, the backlight and the circuit do not need to operate at the maximum power, at this time, the power consumption of the display device will also be reduced accordingly, and conversely, when the overall display picture is bright, the power consumption will increase.
[0169] Therefore, in actual application, for different display devices, the embodiments of the present application can test the power consumption of the display device through multiple sets of test data according to the product design and performance of the display device, and set the corresponding window brightness configuration information for each display device under the condition of meeting the power consumption requirement.
[0170] Optionally, the embodiments of the present application also provide several window brightness configuration information to illustrate the mapping relationship between the window size and the maximum display brightness, which will be introduced next.
[0171] The first type of window brightness configuration information includes a first mapping relationship and a second mapping relationship. The first mapping relationship indicates that when the window size of the display window is less than a first threshold, the maximum display brightness corresponding to the display window is a target brightness; and the second mapping relationship indicates that when the window size of the display window is greater than the first threshold, the maximum display brightness corresponding to the display window is negatively related to the window size.
[0172] In a case where the size of the display window is represented by APL, the first threshold value can be any value between 1-256, for example, the first threshold value can be 60, 90 or 128. The target brightness can be 50, 64 or 80, which can be determined based on the display effect and power consumption of the display device under a small window, and the embodiments of the present application do not limit this.
[0173] Optionally, the target brightness is greater than the maximum display brightness corresponding to any one window size in the second mapping relationship. In other words, the target brightness is an upper limit value of the maximum display brightness corresponding to the target display window. When the window size is greater than the first threshold value, the maximum display brightness corresponding to the display window gradually decreases as the window size increases, and the larger the window size, the smaller the maximum display brightness corresponding to the window.
[0174] The second type is based on the first case described above, and the second mapping relationship includes a first sub-mapping relationship. Wherein, the first sub-mapping relationship indicates that when the window size of the display window is greater than the first threshold value, the negative correlation coefficient between the maximum display brightness corresponding to the display window and the window size is the first coefficient.
[0175] The third type is that the second mapping relationship includes a second sub-mapping relationship and a third sub-mapping relationship. Wherein, the second sub-mapping relationship indicates that when the window size of the display window is greater than the first threshold value and less than the second threshold value, the maximum display brightness corresponding to the display window is determined by the first function; the third sub-mapping relationship indicates that when the window size of the display window is greater than the second threshold value, the maximum display brightness corresponding to the display window is determined by the second function; the slope of the second function is less than the slope of the first function.
[0176] As an example, the second threshold value is greater than the first threshold value. For example, the first threshold value is 64, and the second threshold value is 128.
[0177] Since the slope of the second function is less than the slope of the first function, as the display window increases, the decreasing amplitude of the corresponding maximum display brightness will slow down, so as to reduce power consumption without sacrificing display effect.
[0178] Optionally, the first function and the second function can be a power function, or a quadratic power function, etc., and the embodiments of the present application do not limit this.
[0179] (2) Based on the window size of the target display window, determine the maximum display brightness corresponding to the target display window from the window brightness configuration information.
[0180] Since the window brightness configuration information indicates the mapping relationship between the window size of the display window and the maximum display brightness, based on the window size of the target display window, the maximum display brightness corresponding to the window size in the window brightness configuration information is determined as the maximum display brightness corresponding to the target display window.
[0181] Step 103: controlling the pixel brightness of the plurality of pixels based on the maximum display brightness.
[0182] In a possible implementation, the implementation process of step 103 can be: obtaining the gray scale values of the plurality of pixels at the corresponding points in the target picture; determining the target brightness of the plurality of pixels based on the maximum display brightness and the gray scale values corresponding to the plurality of pixels; and controlling the plurality of pixels to emit light according to the target brightness, so as to display the target picture.
[0183] Wherein, after the maximum display brightness and the gray scale value corresponding to each pixel are determined, the target brightness of the corresponding pixel can be calculated by substituting into the above formula (2), which will not be described here.
[0184] In summary, when displaying the target picture in the target display window, the brightness control method provided by the embodiments of the present application can first obtain the window size of the target display window, and then determine the corresponding maximum display brightness based on the window size, and further control the pixel brightness of the plurality of pixels in the target display window based on the maximum display brightness. Since the maximum display brightness corresponding to different window sizes is different, the maximum display brightness determined by the present application is also different for display windows of different sizes. In this way, by flexibly controlling the maximum display brightness of display windows of different sizes, the pixel brightness of the plurality of pixels contained in the display windows of different sizes can be controlled, which not only reduces the power consumption of the display device when displaying a picture in a large window, but also ensures the display effect of the display device when displaying a picture in a small window.
[0185] For ease of understanding, the implementation process of the brightness control method provided by the embodiments of the present application will be further described by way of example.
[0186] In the implementation of the brightness control method, the embodiments of the present application focus on establishing the relationship between the maximum display brightness of the display device in the SDR mode and the window size of the display window. As described above, the window size can be reflected by the APL value mapped to the range of 0-255, and the maximum display brightness can be represented as Lmax.
[0187] Example 1: the window size is represented by the APL value, and the APL value is determined based on the pixel gray scale.
[0188] Wherein, the mapping relationship between APL and Lmax can be represented by the following piecewise function:
[0189] APL = 1: M, Lmax = e;
[0190] APL = (M+1): N, Lmax = a*(APL) 2 +b*APL+c;
[0191] APL = (N + 1): 256, Lmax = d * APL + f.
[0192] The above M, N, a, b, c, d, e, and f are constants, and N is greater than M.
[0193] In the above piecewise function, when APL is less than M, Lmax is a fixed value e, which means that when the image is very dark (i.e., APL is very low), the maximum brightness is also limited to a lower level to avoid producing too strong contrast in a low brightness environment. When APL is greater than M, the Lmax corresponding to APL is all less than e, and Lmax gradually decreases with the increase of APL to adapt to images of different brightness. In this way, the above piecewise function ensures that Lmax can be properly adjusted at different APL levels to control power consumption while maintaining display effects.
[0194] Based on the above piecewise function, after determining the values of each constant through experimental testing, the piecewise function describing the mapping relationship between APL and Lmax can be specific to:
[0195] APL = 1:64, Lmax = 64;
[0196] APL = 65:128, Lmax = -0.0043 * (APL) 2 + 0.5568 * APL + 45.9035;
[0197] APL = 129:256, Lmax = -0.2 * APL + 73.
[0198] Based on the above piecewise function, the mapping relationship between APL and Lmax can also be represented by the curve shown in FIG. 2.
[0199] Wherein, when APL = 1:64, Lmax is fixed at 64; when APL = 65:128, Lmax is calculated by a quadratic function, and because the quadratic coefficient (-0.0043) is negative, the growth rate of Lmax gradually slows down; when APL = 129:256, Lmax is calculated by a linear function, and the slope (-0.2) is small, which means that even if APL continues to increase, the increase of Lmax will be relatively slow. In this way, the display device can automatically adjust its maximum display brightness according to the brightness of the display picture, thereby providing better visual experience, while also considering energy saving and protecting the user's vision.
[0200] Optionally, the Lmax value corresponding to the APL interval can also be calculated by a power function. For example, the piecewise function describing the mapping relationship between Lmax and APL can be specific to:
[0201] APL = 1:90, Lmax = 64;
[0202] APL = 91:128, Lmax = -0.42*APL + 102;
[0203] APL = 129:256, Lmax = -0.2*APL + 73.
[0204] Wherein, APL = 91:128, and APL = 129:256, Lmax is calculated by a linear function, when APL = 91:128, the slope of the corresponding linear function is -0.42, that is, with the increase of APL, Lmax gradually decreases; and when APL = 91:128, the slope of the corresponding linear function is -0.2, and its absolute value is less than 0.42, indicating that the growth rate of Lmax will slow down with the increase of APL.
[0205] Based on the above piecewise function, the mapping relationship between Lmax and APL can be represented by the curve shown in Figure 3.
[0206] Optionally, when the display device is a WRGB pixel ordering product, 128 represents a single color picture 255 gray scale 100% window lighting (R / G / B / W), and 255 represents a mixed color picture 255 gray scale 100% window lighting.
[0207] In one scenario, the input gray scale value is 255, and the window size gradually increases from 0 to 100%. Based on the curve shown in Figure 2, when the window size is 1-65%, Lmax remains unchanged, and the pixel brightness changes according to L = Lmax*(GL / 255) 2.2 output, so the power consumption increases linearly with the increase of the window. When the window size is greater than 65%, Lmax begins to gradually decrease. Due to the decrease of Lmax, the output pixel brightness will decrease under the condition that the gray scale value is unchanged. Therefore, during the process of gradually increasing the window, although the number of emitting pixels continues to increase, the output pixel brightness gradually decreases, so that the increase speed of power consumption gradually slows down.
[0208] In another scenario, the input is 100% window size, and the gray scale value gradually increases from 1-255. Based on the curve shown in Figure 2, when the gray scale is 1-129, Lmax does not change, and the pixel brightness changes according to L = Lmax*(GL / 255) 2.2 normal, so the power consumption increases linearly with the increase of the window. When the gray scale is 130-255, Lmax gradually decreases, at this time, under the joint action of Lmax and the gray scale value, the increase speed of the above pixel brightness value L will slow down, and at this time, the increase speed of power consumption with the increase of the window is slowed down.
[0209] Therefore, the brightness control method provided by the embodiment of the present application can keep the linear increase of the brightness value at a low gray scale value, and control the speed of the increase of the brightness value to be slow at a high gray scale, so as to reduce the power consumption without sacrificing the display effect.
[0210] Example two: the window size is represented by the APL value, and the APL value is determined based on the pixel brightness.
[0211] The mapping relationship between the APL and the Lmax can be represented by the following piecewise function:
[0212] APL=1: P, Lmax=g;
[0213] APL=(P+1): Q, Lmax=h*APL+j;
[0214] APL=(Q+1): 256, Lmax=k*APL+l.
[0215] The P, Q, g, h, j, k, and l are all constants, and Q is greater than P.
[0216] Based on the above piecewise function, after determining the values of the constants through experimental tests, the piecewise function describing the mapping relationship between the APL and the Lmax can be specifically as follows:
[0217] APL=1: 110, Lmax=64;
[0218] APL=111: 128, Lmax=-0.42*APL+102;
[0219] APL=129: 256, Lmax=-0.2*APL+73.
[0220] Based on the above piecewise function, the mapping relationship between the Lmax and the APL can also be represented by the curve shown in FIG. 4.
[0221] Therefore, the above example two can also achieve the same technical effect as the above example one, and can optimize the display effect and the power consumption under different brightness conditions.
[0222] Based on the above two examples, more or fewer APL intervals can be divided in actual applications, and the calculation manner of the Lmax corresponding to each APL interval can be set; for the calculation manner of the Lmax, the above two examples are only examples of the first power function and the second power function, and in actual applications, the Lmax can also be calculated by other functions according to the requirements of the display effect and the power consumption, and the embodiment of the present application does not limit this.
[0223] As an example, as shown in FIG. 5, two APL intervals can also be divided, when APL = 1:90, Lmax is a fixed value 64; and when APL = 91:256, Lmax is determined by a power function, and the slope thereof can be flexibly set and adjusted.
[0224] It should be noted that, as to the above example, the specific implementation logic, implementation process and technical effects thereof can also refer to the foregoing method embodiments, and will not be described herein again.
[0225] FIG. 6 is a structural schematic diagram of a brightness control device provided by an embodiment of the present application, which can be realized by software, hardware or a combination of both. Please refer to FIG. 6, the brightness control device 600 comprises a window size obtaining module 601, a maximum brightness determining module 602 and a brightness control module 603.
[0226] The window size obtaining module 601 is configured to obtain a window size of a target display window, the target display window comprising a plurality of pixels, the plurality of pixels being configured to display a target picture.
[0227] The maximum brightness determining module 602 is configured to determine a maximum display brightness corresponding to the target display window based on the window size of the target display window; wherein the maximum display brightness refers to a maximum brightness that can be reached when displaying the target picture according to the window size, and the maximum display brightness corresponding to different window sizes is different.
[0228] The brightness control module 603 is configured to control pixel brightness of the plurality of pixels based on the maximum display brightness.
[0229] Optionally, the maximum brightness determining module 602 is specifically configured to:
[0230] The configuration information obtaining unit is configured to obtain window brightness configuration information, the window brightness configuration information indicating a mapping relationship between a window size of a display window and a maximum display brightness;
[0231] The maximum brightness determining unit is configured to determine the maximum display brightness corresponding to the target display window from the window brightness configuration information based on the window size of the target display window.
[0232] Optionally, the window brightness configuration information comprises a first mapping relationship and a second mapping relationship.
[0233] The first mapping relationship indicates that when the window size of the display window is less than a first threshold, the maximum display brightness corresponding to the display window is a target brightness; and the second mapping relationship indicates that when the window size of the display window is greater than the first threshold, the maximum display brightness corresponding to the display window is negatively correlated with the window size.
[0234] Optionally, the second mapping relationship comprises a first sub-mapping relationship.
[0235] The first sub-mapping relationship indicates that when the window size of the display window is greater than the first threshold, a negative correlation coefficient between the maximum display brightness corresponding to the display window and the window size is a first coefficient.
[0236] Optionally, the second mapping relationship includes a second sub-mapping relationship and a third sub-mapping relationship.
[0237] The second sub-mapping relationship indicates that when the window size of the display window is greater than the first threshold and less than a second threshold, the maximum display brightness corresponding to the display window is determined by a first function; the third sub-mapping relationship indicates that when the window size of the display window is greater than the second threshold, the maximum display brightness corresponding to the display window is determined by a second function; and a slope of the second function is less than a slope of the first function.
[0238] Optionally, the target brightness is greater than the maximum display brightness corresponding to any window size in the second mapping relationship.
[0239] Optionally, the maximum brightness determination module 602 is further configured to:
[0240] Obtain a plurality of sets of test data, each set of test data including a window size sample value and a maximum display brightness sample value;
[0241] Obtain a plurality of sets of test data respectively corresponding to power consumption parameters;
[0242] Determine window brightness configuration information based on the power consumption parameters.
[0243] Optionally, the configuration information obtaining unit is specifically configured to:
[0244] Determine an ambient light condition of a display device in which the target display window is located;
[0245] Determine window brightness configuration information based on the ambient light condition.
[0246] Optionally, the window size obtaining module 601 includes:
[0247] A gray scale value obtaining unit configured to obtain gray scale values of corresponding points of a plurality of pixels in the target picture;
[0248] A brightness determination unit configured to determine a display brightness of the target picture based on the gray scale values corresponding to the plurality of pixels;
[0249] A window size determination unit configured to determine a window size of the target display window based on the display brightness of the target picture.
[0250] Optionally, the brightness determination unit is specifically configured to:
[0251] summing the gray scale values corresponding to the plurality of pixels to obtain a pixel gray scale sum of the target picture;
[0252] mapping the pixel gray scale sum into a picture brightness range, and determining a corresponding mapping value as the display brightness of the target picture, the picture brightness range indicating a brightness variation range of the display device when displaying a picture.
[0253] Optionally, the brightness determination unit is specifically configured to:
[0254] determining original brightnesses of the plurality of pixels based on the gray scale values corresponding to the plurality of pixels and a reference brightness, the reference brightness indicating a maximum brightness that can be reached by the display device when displaying a picture;
[0255] summing the original brightnesses of the plurality of pixels to obtain a pixel brightness sum of the target picture;
[0256] mapping the pixel brightness sum into a picture brightness range, and determining a corresponding mapping value as the display brightness of the target picture, the picture brightness range indicating a brightness variation range of the display device when displaying a picture.
[0257] Optionally, the brightness control module 603 is specifically configured to:
[0258] obtaining gray scale values of corresponding points of the plurality of pixels in the target picture;
[0259] determining target brightnesses of the plurality of pixels based on the maximum display brightness and the gray scale values corresponding to the plurality of pixels;
[0260] controlling the plurality of pixels to emit light according to the target brightnesses, so as to display the target picture.
[0261] In the embodiments of the present application, when displaying the target picture in the target display window, the brightness control apparatus can obtain a window size of the target display window, and determine a corresponding maximum display brightness based on the window size, and then control pixel brightnesses of a plurality of pixels in the target display window based on the maximum display brightness. Since the maximum display brightness corresponding to different window sizes is different, the maximum display brightness determined by the present application is also different for display windows of different sizes. In this way, by flexibly controlling the maximum display brightness of display windows of different sizes, the pixel brightnesses of a plurality of pixels contained in display windows of different sizes can be controlled, which not only reduces the power consumption of the display device when displaying a picture in a large window, but also ensures the display effect of the display device when displaying a picture in a small window.
[0262] It should be noted that the brightness control device provided in the above embodiments is only used as an example to illustrate the division of the above functional modules when controlling the pixel brightness of the plurality of pixels included in the target display window according to the window size of the target display window. In actual applications, the above functions can be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the brightness control device and the brightness control method provided in the above embodiments belong to the same concept, and the specific implementation process is described above. The method embodiments will not be repeated here.
[0263] In some embodiments, the display device provided in the embodiments of the present application can display a corresponding picture by driving a plurality of pixels to emit light. The display device can also be referred to as a display screen, a display, etc. Of course, the display device can also be a smart device containing a display or a display screen, such as a notebook computer, a television, a tablet, etc. The embodiments of the present application do not limit this.
[0264] Please refer to FIG. 7, which is a structural schematic diagram of a display device provided in the embodiments of the present application. The display device 700 includes a memory 701 and a processor 702.
[0265] In some embodiments, the memory 701 is used to store program code for executing the scheme of the present application, and the processor 702 can execute the program code stored in the memory 701. The program code can include one or more software modules. The display device can realize the brightness control method provided in the embodiments of the present application by the processor 702 and the program code in the memory 701.
[0266] In some embodiments, a computer readable storage medium is also provided, and the storage medium stores a computer program. When the computer program is executed by a processor, the steps of the brightness control method in the above embodiments are realized. For example, the computer readable storage medium can be a ROM, a RAM, a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0267] It should be noted that the computer readable storage medium mentioned in the embodiments of the present application can be a non-volatile storage medium, in other words, a non-transitory storage medium.
[0268] It should be understood that all or part of the steps of the above embodiments can be implemented by software, hardware, firmware or any combination thereof. When implemented by software, it can be implemented in the form of a computer program product in whole or in part. The computer program product includes one or more computer instructions. The computer instructions can be stored in the above computer readable storage medium.
[0269] That is, in some embodiments, a computer program product including computer instructions is also provided, which, when executed on a processor, causes the processor to perform the steps of the brightness control method provided by the embodiments of the present application.
[0270] It should be understood that, in this document, reference to “at least one” indicates one or more, and reference to “a plurality” indicates two or more. In the description of the embodiments of the present application, “ / ” means or, for example, A / B can mean A or B; “and / or” in this document merely describes an associated relationship of associated objects, and can represent three relationships, for example, A and / or B can represent three cases of A alone, A and B together, and B alone. In addition, in order to clearly describe the technical solutions of the embodiments of the present application, in the embodiments of the present application, the same items or similar items with basically the same functions and effects are distinguished by using “first”, “second”, etc. The skilled in the art can understand that “first”, “second”, etc. do not limit the quantity and execution order, and “first”, “second”, etc. also do not necessarily mean different.
[0271] It should be noted that the information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data for analysis, stored data, displayed data, etc.) and signals involved in the embodiments of the present application are all authorized by the user or fully authorized by all parties, and the collection, use and processing of related data need to comply with relevant laws, regulations and standards of relevant countries and regions.
[0272] The above describes the embodiments provided by the present application, and is not intended to limit the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.
Claims
1. A luminance control device, characterized by comprising: The device comprises: a window size obtaining module, configured to obtain a window size of a target display window, the target display window comprising a plurality of pixels, the plurality of pixels being used to display a target picture; a maximum brightness determining module, configured to determine a maximum display brightness corresponding to the target display window based on the window size of the target display window, wherein the maximum display brightness refers to a maximum brightness that can be reached when the target picture is displayed according to the window size, and the maximum display brightness corresponding to different window sizes is different; a brightness control module, configured to control pixel brightness of the plurality of pixels based on the maximum display brightness.
2. The apparatus of claim 1, wherein, The maximum brightness determining module is specifically configured to: a configuration information obtaining unit, configured to obtain window brightness configuration information, the window brightness configuration information indicating a mapping relationship between a window size of a display window and a maximum display brightness; a maximum brightness determining unit, configured to determine the maximum display brightness corresponding to the target display window from the window brightness configuration information based on the window size of the target display window.
3. The apparatus of claim 2, wherein, The window brightness configuration information comprises a first mapping relationship and a second mapping relationship; wherein the first mapping relationship indicates that when the window size of the display window is less than a first threshold, the maximum display brightness corresponding to the display window is a target brightness; and the second mapping relationship indicates that when the window size of the display window is greater than the first threshold, the maximum display brightness corresponding to the display window is negatively correlated with the window size.
4. The apparatus of claim 3, wherein, The second mapping relationship comprises a first sub-mapping relationship; wherein the first sub-mapping relationship indicates that when the window size of the display window is greater than the first threshold, a negative correlation coefficient between the maximum display brightness corresponding to the display window and the window size is a first coefficient.
5. The apparatus of claim 3, wherein, The second mapping relationship comprises a second sub-mapping relationship and a third sub-mapping relationship; wherein the second sub-mapping relationship indicates that when the window size of the display window is greater than the first threshold and less than a second threshold, the maximum display brightness corresponding to the display window is determined by a first function; the third sub-mapping relationship indicates that when the window size of the display window is greater than the second threshold, the maximum display brightness corresponding to the display window is determined by a second function; and a slope of the second function is less than a slope of the first function.
6. The device of any one of claims 3-5, wherein, The target brightness is greater than the maximum display brightness corresponding to any window size in the second mapping relationship.
7. The device of any one of claims 2-5, wherein, The maximum brightness determining module is further configured to: obtain a plurality of groups of test data, each group of test data comprising a window size sample value and a maximum display brightness sample value; obtain power consumption parameters corresponding to the plurality of groups of test data respectively; determine the window brightness configuration information based on the power consumption parameters.
8. The device of any one of claims 2-5, wherein, The configuration information obtaining unit is specifically configured to: determine an ambient light condition of a display device in which the target display window is located; determine the window brightness configuration information based on the ambient light condition.
9. The device of any one of claims 1-5, wherein, The window size obtaining module comprises: a gray scale value obtaining unit, configured to obtain a gray scale value of a corresponding point in the target picture of the plurality of pixels. The brightness determination unit is configured to determine the display brightness of the target picture based on the gray scale values corresponding to the plurality of pixels. The window size determination unit is configured to determine the window size of the target display window based on the display brightness of the target picture.
10. The apparatus of claim 9, wherein, The brightness determination unit is specifically configured to: sum the gray scale values corresponding to the plurality of pixels to obtain a pixel gray scale sum of the target picture; map the pixel gray scale sum into a picture brightness range, and determine a corresponding mapping value as the display brightness of the target picture, the picture brightness range indicating a brightness variation range of a display picture displayed by the display device where the target display window is located.
11. The apparatus of claim 9, wherein, The brightness determination unit is specifically configured to: determine original brightnesses of the plurality of pixels based on the gray scale values corresponding to the plurality of pixels and a reference brightness, the reference brightness indicating a maximum brightness that can be reached when the display device where the target display window is located displays a picture; sum the original brightnesses of the plurality of pixels to obtain a pixel brightness sum of the target picture; map the pixel brightness sum into a picture brightness range, and determine a corresponding mapping value as the display brightness of the target picture, the picture brightness range indicating a brightness variation range of a picture displayed by the display device.
12. The device of any one of claims 1-5, wherein, The brightness control module is specifically configured to: obtain gray scale values of corresponding points of the plurality of pixels in the target picture; determine target brightnesses of the plurality of pixels based on the maximum display brightness and the gray scale values corresponding to the plurality of pixels; control the plurality of pixels to emit light according to the target brightnesses to display the target picture.
13. A luminance control method characterized by, The method comprises: obtaining a window size of a target display window, the target display window comprising a plurality of pixels, the plurality of pixels being used to display a target picture; determining a maximum display brightness corresponding to the target display window based on the window size of the target display window, the maximum display brightness being a maximum brightness that can be reached when the target picture is displayed according to the window size, and the maximum display brightness corresponding to different window sizes being different; controlling pixel brightnesses of the plurality of pixels based on the maximum display brightness.
14. The method of claim 13, wherein, The determination of the maximum display brightness corresponding to the target display window based on the window size of the target display window comprises: obtaining window brightness configuration information, the window brightness configuration information indicating a mapping relationship between window sizes of display windows and maximum display brightnesses; determining the maximum display brightness corresponding to the target display window from the window brightness configuration information based on the window size of the target display window.
15. The method of claim 14, wherein, The window brightness configuration information comprises a first mapping relationship and a second mapping relationship; the first mapping relationship indicates that when the window size of the display window is less than a first threshold, the maximum display brightness corresponding to the display window is a target brightness; and the second mapping relationship indicates that when the window size of the display window is greater than the first threshold, the maximum display brightness corresponding to the display window is negatively correlated with the window size.
16. The method of claim 15, wherein, The target brightness is greater than the maximum display brightness corresponding to any window size in the second mapping relationship.
17. The method of any one of claims 13-16, wherein, The obtaining of the window size of the target display window comprises: acquiring gray scale values of corresponding points of the plurality of pixels in the target picture; determining display brightness of the target picture based on the gray scale values corresponding to the plurality of pixels; determining a window size of the target display window based on the display brightness of the target picture.
18. A display device, characterized by The display device comprises a memory and a processor; The memory is configured to store a computer program; The processor is configured to execute the computer program to implement the brightness control method of any one of claims 13-17.
19. A computer-readable storage medium, characterized in that, The computer readable storage medium stores a computer program, and the computer program is executed by the processor to implement the brightness control method of any one of claims 13-17.
20. A computer program product, characterised in that, The computer program product stores computer instructions, and the computer instructions are executed by the processor to implement the brightness control method of any one of claims 13-17.
Citation Information
Patent Citations
Display apparatus and image processing method
CN115734040A
Display brightness adjusting method and device, display device and storage medium
CN116884333A
Image processing and displaying method and device, monitoring equipment and storage medium
CN117478852A
Driving circuit, electrooptical apparatus using the same, electronic equipment and driving method for the driving circuit
JP2006243223A
Method and apparatus providing rule-based auto exposure technique preserving scene dynamic range
US20090322901A1