Backlight control method, device and storage medium
By acquiring image data from the display panel and dynamically adjusting backlight brightness and pixel voltage, the problem of image display distortion in existing technologies is solved, achieving improved display quality and contrast while saving energy.
Patent Information
- Application Number
- CN202211209551.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-30
- Publication Date
- 2026-01-27
- Estimated Expiration
- 2042-09-30
AI Technical Summary
In existing technologies, content-adaptive backlight control technology is prone to image display distortion in mobile terminals, especially when displaying high-brightness, high-contrast images, where the display quality deteriorates significantly.
By acquiring image data from the display panel, display parameters and characteristic parameters are determined, and backlight brightness and pixel voltage are dynamically adjusted. An adaptive backlight control method is adopted to dynamically adjust the brightness of the backlight module and the compensation of the liquid crystal pixels according to the image content.
It improves the display effect of the display panel, meets the display needs of different images, and reduces image distortion while saving energy, thereby improving image contrast and display quality.
Smart Images

Figure CN115472135B_ABST
Abstract
Description
Technical Field
[0001] This application relates to, but is not limited to, the field of display technology, and in particular to a backlight control method, device, and storage medium. Background Technology
[0002] In related technologies, content-adaptive backlight control technology has been applied in mobile terminal products to save power. The core of this technology is a dynamic dimming algorithm, which changes the output brightness of the backlight module according to the displayed content, and adjusts the liquid crystal pixel values accordingly while maintaining the brightness of the displayed image. However, this dimming algorithm can easily cause problems such as image display distortion when using low or high backlight values for dimming. Summary of the Invention
[0003] In view of this, embodiments of this application provide at least one backlight control method, device, and storage medium.
[0004] The technical solution of this application embodiment is implemented as follows:
[0005] On one hand, embodiments of this application provide a backlight control method, the method comprising:
[0006] Obtain image data of the displayed image on the display panel;
[0007] Based on the image data, the display parameters of the displayed image are determined;
[0008] Based on the display parameters, determine the feature parameters of the displayed image;
[0009] Backlight control is performed on the display panel based on the display parameters and the feature parameters.
[0010] On the other hand, embodiments of this application provide a backlight control device, the device comprising:
[0011] The backlight control device includes: a host unit, a data receiving module, a storage module, a backlight control circuit module, a backlight compensation module, and a display panel;
[0012] The first end of the host terminal is connected to the image data input terminal, and the second end of the host terminal is connected to the first end of the data receiving module; the second end of the data receiving module is connected to the first end of the storage module; the second end of the storage module is connected to the first end of the backlight control circuit module, and the second end of the backlight control circuit module is connected to the first end of the backlight compensation module; the second end of the backlight compensation module is connected to the display panel.
[0013] The host terminal is used to acquire image data of the displayed image on the display panel and output the image data to the data receiving module through a preset interface;
[0014] The data receiving module is used to store the image data in the storage module;
[0015] The backlight control circuit module is used to read the image data from the storage module, determine the display parameters of the displayed image based on the image data, and determine the feature parameters of the displayed image based on the display parameters.
[0016] The backlight compensation module is used to control the backlight of the display panel based on the display parameters and the feature parameters.
[0017] In another aspect, embodiments of this application provide a computer device, including a memory and a processor, wherein the memory stores a computer program that can run on the processor, and the processor executes the program to implement some or all of the steps in the above-described method.
[0018] In another aspect, embodiments of this application provide a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements some or all of the steps in the above-described method.
[0019] In another aspect, embodiments of this application provide a computer program including computer-readable code, wherein when the computer-readable code is run in a computer device, a processor in the computer device performs some or all of the steps for implementing the above-described method.
[0020] In another aspect, embodiments of this application provide a computer program product, the computer program product including a non-transitory computer-readable storage medium storing a computer program, wherein when the computer program is read and executed by a computer, it implements some or all of the steps in the above method.
[0021] In this embodiment, for the acquired display image of the display panel, firstly, by determining the image data of the display image, the image data is analyzed to obtain the display parameters of the display image. Then, the display parameters are used to further determine the feature parameters of the display image, which can dynamically change in real time with different display parameters. Finally, backlight control of the display panel is performed using the display parameters and feature parameters that adaptively change with the display image. Thus, because the display parameters and feature parameters can dynamically change with different display images, backlight control of the display panel can be adaptively performed using these parameters, ensuring that the display effect of the display panel dynamically changes with the feature parameters and display parameters. This allows the display effect of the display panel to meet the display requirements of the feature parameters and display parameters, thereby improving the display effect of the display panel.
[0022] It should be understood that the above general description and the following detailed description are merely exemplary and explanatory, and are not intended to limit the technical solutions of this disclosure. Attached Figure Description
[0023] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with this application and, together with the specification, serve to explain the technical solutions of this application.
[0024] Figure 1 A schematic diagram illustrating the implementation process of a backlight control method provided in an embodiment of this application;
[0025] Figure 2 This is a schematic diagram illustrating another implementation process of a backlight control method provided in an embodiment of this application;
[0026] Figure 3 A schematic diagram illustrating the implementation process of a backlight control method provided in an embodiment of this application;
[0027] Figure 4 A schematic diagram illustrating the implementation process of a backlight control method provided in an embodiment of this application;
[0028] Figure 5 A simulation diagram of the S-curve for liquid crystal pixel adjustment provided in the embodiments of this application;
[0029] Figure 6 Another simulation diagram of the S-curve for liquid crystal pixel adjustment provided in an embodiment of this application;
[0030] Figure 7A This is a schematic diagram of the composition structure of a backlight control device provided in an embodiment of this application;
[0031] Figure 7BThis is a schematic diagram of another component structure of a backlight control device provided in an embodiment of this application;
[0032] Figure 8 This is a schematic diagram of the hardware entity of a computer device provided in an embodiment of this application. Detailed Implementation
[0033] To make the objectives, technical solutions, and advantages of this application clearer, the technical solutions of this application are further described in detail below with reference to the accompanying drawings and embodiments. The described embodiments should not be regarded as limitations on this application. All other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0034] In the following description, references are made to “some embodiments,” which describe a subset of all possible embodiments. However, it is understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.
[0035] The terms “first / second / third” are used merely to distinguish similar objects and do not represent a specific ordering of objects. It is understood that “first / second / third” may be interchanged in a specific order or sequence where permitted, so that the embodiments of this application described herein can be implemented in an order other than that illustrated or described herein.
[0036] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application pertains. The terminology used herein is for descriptive purposes only and is not intended to limit the scope of this application.
[0037] Before providing a further detailed description of the embodiments of this application, the nouns and terms involved in the embodiments of this application will be explained, and the nouns and terms involved in the embodiments of this application shall be interpreted as follows.
[0038] 1) A liquid crystal display (LCD) is constructed by placing a liquid crystal cell between two parallel glass substrates. A TFT (thin-film transistor) is placed on the lower glass substrate, and a color filter is placed on the upper glass substrate. The rotation direction of the liquid crystal molecules is controlled by changing the signal and voltage on the TFT, thereby controlling whether polarized light is emitted from each pixel to achieve the display purpose.
[0039] 2) The integrated circuit (IC) industry continues to drive the development of the smartphone industry. Touch and display driver integration (TDDI) brings a unified system architecture. The original system architecture, because the display and touch chips were separate, could lead to some display noise. TDDI, however, achieves unified control, resulting in better noise management. TDDI uses a "time-division scanning" method, dividing one frame of display time into two parts: one part for touch scanning and the other for display scanning, without interference, fundamentally reducing the risk of signal interference.
[0040] 3) Content Adaptive Backlight Control (CABC) is a technology used to control the amount of light emitted by the backlight of a liquid crystal display (LCD) assembly, thereby enhancing image quality and / or saving power. CABC requires the addition of an image content analyzer circuit within the LCD driver IC. When the mobile phone processor transmits image data to the driver IC, the image content analyzer calculates and analyzes the image data, automatically increasing its brightness (making the image brighter) and then decreasing the backlight brightness (making the image darker) according to settings and algorithms. Because the image brightness has already been compensated by the analyzer circuit beforehand, the user can obtain a display effect almost identical to the original circuit, but with reduced backlight power consumption. In this embodiment, CABC technology dynamically adjusts the LCD backlight according to the displayed image content, reducing backlight brightness while compensating for liquid crystal pixels. Under the same display effect, it achieves the goals of reducing backlight power consumption and improving image contrast.
[0041] To better understand the backlight control method provided in the embodiments of this application, the pixel compensation scheme used in related technologies will be described below.
[0042] Power consumption is a crucial performance indicator for mobile terminals (phones, tablets, etc.) or head-mounted displays. In related technologies, CABC (Computed Brightness-Based Array) functionality is used to reduce backlight power consumption. In some embodiments, the CABC level can be adjusted on the mobile terminal, selecting different levels based on the image's brightness intensity, enhancing the user experience. However, this only performs linear compensation for pixels and doesn't address high and low brightness levels specifically. When an image contains high-brightness pixels, image overflow distortion occurs. Thus, setting the same pixel compensation ratio for all images significantly degrades the display quality of some dimmed images. In some possible implementations, different brightness zones are divided based on image content, such as high-brightness, medium-brightness, and low-brightness zones, with different curves used for pixel compensation in different brightness zones. This prevents overflow distortion but doesn't consider the actual image contrast requirements during display. Compared to the previous approach, this solution reduces image distortion, but the display effect is still not optimal. Furthermore, the segmented curve liquid crystal pixel compensation method adopts a segmentation method based on brightness division points (high brightness, medium brightness, low brightness), which are fixed division points and cannot be dynamically adjusted according to the actual needs of the image, resulting in significant distortion of high-brightness, high-contrast images.
[0043] This application provides a backlight control method, which can be executed by a processor of a computer device. The computer device can refer to a server, laptop computer, tablet computer, desktop computer, smart TV, set-top box, mobile device (such as a mobile phone, portable video player, personal digital assistant, dedicated messaging device, portable gaming device), or other device with backlight control capabilities. Figure 1 This is a schematic diagram illustrating the implementation process of a backlight control method provided in an embodiment of this application, as shown below. Figure 1 As shown, the method includes the following steps S101 to S104:
[0044] Step S101: Obtain image data of the display image on the display panel.
[0045] Here, the display image from the display panel is first acquired, and then the image data of that display image is determined. The display panel can be a device with display functionality, such as a liquid crystal display (LCD). The content of the display image on the display panel can be any image. Taking an LCD as an example, the display image can be an image displayed on the LCD.
[0046] In some possible implementations, the display image is obtained by capturing an image of the screen displayed on the display panel. This display image shows the entire screen displayed by the display panel. Alternatively, it can be a display image of the display panel to be adjusted, sent from another device. In this way, the image information can characterize the pixel values displayed on the display panel.
[0047] In some possible implementations, the image data of the displayed image can be obtained by identifying the pixel value of each pixel in the displayed image. For example, the red, green, and blue (RGB) value of each pixel in the displayed image can characterize the average brightness information of that pixel. The image data of the displayed image can also be data representing the pixel values of the displayed image sent by other devices, or it can be read from a database that stores the image data of the displayed image.
[0048] Step S102: Based on the image data, determine the display parameters of the displayed image.
[0049] Here, by extracting the pixel value of each pixel in the image data and analyzing that pixel value, the display parameters of the displayed image are obtained. These display parameters include the average brightness, maximum brightness, and contrast of the displayed image.
[0050] In some possible implementations, the resolution of the display panel can be obtained by analyzing the pixel value of each pixel in the image data and following the correspondence between that pixel value and resolution. The correspondence is that a larger pixel value corresponds to a higher resolution. The average brightness of the displayed image can be obtained by combining this resolution with the grayscale value of each pixel. By dividing the displayed image into blocks and determining the brightness value of each pixel block, the maximum and minimum brightness values are selected from multiple pixel blocks, and the ratio of the maximum to the minimum brightness value is used as the contrast ratio of the displayed image. The maximum and minimum pixel values are also selected from the pixel values of each pixel in the image data and used as the maximum and minimum brightness values of the displayed image. The average brightness, maximum brightness value, and contrast ratio are all used as display parameters for the displayed image.
[0051] Step S103: Determine the feature parameters of the displayed image based on the display parameters.
[0052] Here, the characteristic parameters of the displayed image are determined by the average brightness, maximum brightness, and contrast ratio in the display parameters. These characteristic parameters include backlight brightness correction parameters for adjusting the backlight brightness of the backlight module of the display panel and voltage compensation parameters for compensating the voltage of the display panel.
[0053] In some possible implementations, the brightness level of the displayed image is determined by analyzing the average and maximum brightness values in the display parameters and according to the correspondence between brightness and preset levels. Further, a backlight brightness correction parameter matching this brightness level is determined, and this backlight brightness correction parameter is used as the backlight brightness correction parameter in the feature parameters.
[0054] In some possible implementations, a pre-defined correspondence between the average brightness, contrast ratio, and voltage compensation parameters is first obtained. Then, based on this correspondence, the voltage compensation parameters matching the average brightness and contrast ratio in the display parameters can be determined. These voltage compensation parameters characterize the inflection point and curvature of the curve used for pixel voltage adjustment. This curve can be plotted using these voltage compensation parameters. By inputting the initial grayscale value of the display image into the function of this curve, the function output value of the curve can be obtained. This function value is the grayscale value that the display image needs to be adjusted to, and this grayscale value is then converted into a voltage value, which is used to achieve voltage compensation for the display panel.
[0055] Step S104: Based on the display parameters and the feature parameters, backlight control is performed on the display panel.
[0056] Here, backlight control of the display panel includes two aspects: adjusting the backlight brightness of the backlight module of the display panel, and compensating the pixel voltage of the display panel to improve the display effect of the display panel.
[0057] In some possible implementations, the backlight brightness of the backlight module in the display panel is adjusted using the backlight brightness correction parameter among the display parameters and feature parameters. This allows the backlight brightness of the backlight module to adaptively change with the display parameters of the displayed image and the backlight brightness correction parameter, thereby meeting the backlight brightness requirements of the displayed image. Voltage compensation is then applied to the display panel using the voltage compensation parameter among the display parameters and feature parameters, enabling the pixel voltage of the display panel to also adaptively change with different displayed images. In this way, different feature parameters are adaptively selected for images with different display parameters, ensuring that images with different display parameters achieve good energy-saving effects and display effects.
[0058] In this embodiment, by determining the image data of the displayed image and analyzing the image data, the display parameters of the displayed image can be obtained. Then, the feature parameters of the displayed image are further determined using the display parameters. In this way, the feature parameters can change dynamically in real time with different display parameters. Since the display parameters and feature parameters can change dynamically with different displayed images, the backlight control of the display panel can be adaptively performed using the feature parameters and display parameters, so that the display effect of the display panel changes dynamically with the feature parameters and display parameters, thereby making the display effect of the display panel meet the display requirements of the feature parameters and display parameters, and improving the display effect of the display panel.
[0059] In some embodiments, the display parameter is obtained by analyzing the brightness and contrast of the image data, that is, step S102 above can be achieved by the following steps S121 to S124 (not shown in the figure):
[0060] Step S121: Determine the resolution of the display panel based on the image data.
[0061] Here, the resolution data format of the display panel is X×Y. The correspondence between the number of pixels displayed on the panel screen and the resolution is obtained; for example, more pixels mean higher resolution. Thus, by obtaining the number of pixels in the image data and following this correspondence, the resolution used by the display panel to present the displayed image can be determined. The resolution of the display panel is the screen resolution when displaying the image, representing the number of pixels in both the horizontal and vertical directions. For screens of the same size, fewer pixels displayed on the screen indicate a lower resolution (e.g., 640×480). More pixels displayed indicate a higher screen resolution (e.g., 1600×1200).
[0062] Step S122: Based on the resolution, determine the average brightness and maximum brightness of the displayed image.
[0063] Here, first, the resolution is used as the denominator to determine its reciprocal; then, at that resolution, the sum of the pixels of the entire displayed image is determined; finally, the summation is multiplied by the reciprocal of the resolution to obtain the average brightness of the displayed image. The maximum and minimum brightness values of the displayed image include both the maximum and minimum brightness values. The maximum brightness value of the displayed image can be obtained by using a colorimeter.
[0064] In some possible implementations, the image area of the display image is divided into multiple small blocks according to the resolution X×Y of the display panel. The size of each small block can be a pixel * b pixel (where X is a multiple of a and Y is a multiple of b). For each small block, a colorimeter is used to measure the average brightness of that block, thus obtaining the average brightness of each small block. By comparing the average brightness of multiple small blocks, the largest average brightness is taken as the maximum brightness value, and the smallest average brightness is taken as the minimum brightness value.
[0065] Step S123: Determine the contrast of the displayed image based on the maximum brightness value.
[0066] Here, the contrast ratio of the displayed image is determined based on the maximum and minimum values among the extreme values of brightness. The contrast ratio of the displayed image is a measurement of the different brightness levels between the brightest white and the darkest black in the image's bright and darkest areas; that is, it refers to the magnitude of the grayscale contrast. A larger range of difference indicates a greater contrast, and a smaller range of difference indicates a smaller contrast.
[0067] In some possible implementations, the ratio between the maximum and minimum brightness values is used as the contrast of the displayed image.
[0068] Step S124: The average brightness, the maximum brightness, and the contrast ratio are determined as the display parameters.
[0069] Here, the average brightness, maximum brightness, minimum brightness, and image contrast are all used as display parameters for subsequent backlight control of the display panel. This allows the backlight control of the display panel to adaptively change according to different image display parameters. Thus, by using the pixel value of each pixel in the image data, the resolution corresponding to that pixel value can be obtained. Based on this resolution, the average brightness and maximum brightness of the displayed image are calculated. Then, the contrast of the displayed image is obtained by the ratio between the maximum and minimum brightness values. Since the average brightness, maximum brightness, and contrast all change with different displayed images, display parameters that change in real time with the displayed image on the display panel can be obtained. Therefore, when backlight control of the display panel is performed using these display parameters, the backlight control process can be more closely matched to the displayed image.
[0070] In some embodiments, the backlight brightness correction parameter and voltage compensation parameter in the characteristic parameters are determined by displaying the average brightness, maximum brightness, and contrast ratio in the display parameters. That is, step S103 above can be determined by... Figure 2 The steps shown are to be implemented as follows:
[0071] Step S201: Based on the average brightness value in the display parameters, determine the brightness level to which the average brightness value belongs.
[0072] First, a preset correspondence is established between the average brightness and the brightness level. For example, if the average brightness is between [140, 255], the brightness level is high; if the average brightness is between [60, 139], the brightness level is medium; and if the average brightness is between [0, 59], the brightness level is low. Thus, based on the average brightness of the displayed image in these display parameters and this preset correspondence, the brightness level of the displayed image can be obtained.
[0073] Step S202: Based on the first preset correspondence between the brightness level and the backlight brightness correction parameters, determine the backlight brightness correction parameters that match the brightness level.
[0074] Here, the backlight brightness correction parameter is used to correct the backlight brightness value used for backlight brightness adjustment. The first preset correspondence between brightness levels and backlight brightness correction parameters can be user-defined or set according to the overall brightness of the image. For example, for images with high overall brightness, a larger backlight brightness correction parameter is set to ensure sufficient display brightness; for images with low overall brightness, a smaller backlight brightness correction parameter is set to improve energy efficiency. In a specific example, for a high brightness level, the backlight brightness correction parameter is set to 0.5; for a medium brightness level, it is set to 0.4; and for a low brightness level, it is set to 0.3. In this way, after classifying the brightness of the displayed image into levels, different backlight brightness correction parameters can be adaptively used to correct the backlight brightness for different brightness levels.
[0075] Step S203: Determine voltage compensation parameters based on the contrast ratio, maximum brightness value, and average brightness value among the display parameters.
[0076] Here, by obtaining a pre-set second preset correspondence between contrast, average brightness, and the curvature of the voltage compensation curve, the curvature of the compensation curve matched to the average brightness and contrast in the displayed image can be obtained. Then, based on the ratio between the maximum brightness and the average brightness, the contribution of high-brightness pixels in the displayed image is obtained. Finally, based on this contribution of high-brightness pixels combined with the image's brightness value, the inflection point of the compensation curve is set. This curvature and inflection point are used as voltage compensation parameters.
[0077] This voltage compensation parameter is used to compensate the pixel voltage of the display panel when displaying images. By changing the pixel voltage, the current of the display panel for image display is changed, thereby adjusting the angle between the display panel and the backlight module, so that the display panel can present the displayed image with better display effect.
[0078] Step S204: The backlight brightness correction parameters matching the brightness level and the voltage compensation parameters are determined as the characteristic parameters.
[0079] Here, the backlight brightness correction parameters for adjusting backlight brightness and the voltage compensation parameters for pixel voltage compensation are both used as feature parameters, which can introduce detailed information of the displayed image during the backlight control process.
[0080] In this embodiment, the brightness level of the displayed image is determined according to the average brightness value. Based on a preset correspondence, the backlight brightness correction parameter corresponding to that brightness level can be obtained. Thus, the backlight brightness correction parameter can vary with different brightness levels of the displayed image. A voltage compensation parameter is calculated by combining the contrast ratio, average intensity, and maximum brightness value. This voltage compensation parameter can vary with changes in the display parameters. Therefore, using the backlight brightness correction parameter and voltage compensation parameter, which vary with the display parameters, as characteristic parameters, the backlight control of the display panel is more closely matched to the display parameters of the displayed image, resulting in a better display image.
[0081] In some embodiments, by comprehensively considering the average brightness, contrast, and maximum brightness of the displayed image, a voltage compensation parameter that dynamically changes with the display parameters is obtained. That is, step S203 can be achieved through the following steps S231 to S234 (not shown in the figure):
[0082] Step S231: Based on the second preset correspondence between the average brightness, contrast and curvature, determine the curvature of the compensation curve that matches the average brightness and contrast of the displayed image.
[0083] Here, the compensation curve is used to adjust the pixel voltage, and this compensation curve can be an S-curve. The second preset correspondence can be user-defined, or it can be a curve where the curvature changes from low to high as the average brightness value of the image decreases; moreover, under the same average brightness value, a higher curvature is set for images with lower contrast to improve the contrast of the processed image. This second preset correspondence can be as shown in Table 2, where the curvature value of the compensation curve is shown as α in Table 2. Thus, according to this second preset correspondence, the curvature of the compensation curve can be obtained given the average brightness and contrast of the displayed image.
[0084] Step S232: Determine the contribution of high-brightness pixels in the displayed image based on the maximum value among the extreme values of brightness and the average value of brightness.
[0085] Here, the ratio between the maximum value and the average value of brightness is first determined, and then the root mean square (RMS) of this ratio is calculated. The RMS value is then used as the contribution of the high-brightness pixel. This contribution characterizes the importance of high-brightness pixel details to the displayed image.
[0086] Step S233: Based on the numerical relationship between the contribution of the high-brightness pixels and the preset contribution threshold, and the brightness value of the displayed image, determine the inflection point of the compensation curve.
[0087] Here, the preset contribution threshold can be set according to the needs of the host. In some possible implementations, if the host requires a high-brightness image, the preset contribution threshold can be set to a slightly larger value, such as 0.9. If the host requires a medium-brightness image, the preset contribution threshold can be set to a medium value, such as 0.7. The numerical relationship between the high-brightness pixel contribution and the preset contribution threshold represents the magnitude relationship between the two; for example, the high-brightness pixel contribution is greater than or equal to the preset contribution threshold, or the high-brightness pixel contribution is less than the preset contribution threshold. A brightness value matching this numerical relationship is selected from the brightness values of the displayed image, and the inflection point of the compensation curve is obtained through this matched brightness value.
[0088] In some possible implementations, step S233 above can be achieved through the following process:
[0089] First, if the numerical relationship indicates that the contribution of the high-brightness pixel is greater than or equal to the preset contribution threshold, the inflection point is determined based on the first brightness value and the second brightness value of the displayed image.
[0090] Here, if the contribution of high-brightness pixels is greater than or equal to a preset contribution threshold, it indicates a greater need for high-brightness pixels to remain undistorted. Therefore, the inflection point needs to be shifted towards lower brightness values. This allows the compensation curve to output a larger brightness value for the low-brightness values of the image, compensating for the pixel voltage and thus meeting the requirement of undistorted high-brightness pixels. The first and second brightness values of the displayed image correspond to different pixel ranges within the displayed image. The first brightness value represents 15% of the brightness value corresponding to all pixels in the displayed image, and the second brightness value represents 45% of the brightness value corresponding to all pixels in the displayed image. The inflection point is obtained by summing the first and second brightness values and adjusting the summation result by a preset ratio. This preset ratio can be set according to the experience of those skilled in the art, for example, setting the preset ratio to one-third.
[0091] The second step is to determine the inflection point based on the third and fourth brightness values of the displayed image when the numerical relationship indicates that the contribution of the high-brightness pixel is less than the preset contribution threshold.
[0092] Here, the third brightness value is less than the first brightness value, the first brightness value is less than the fourth brightness value, and the fourth brightness value is less than the second brightness value. If the contribution of high-brightness pixels is less than the preset contribution threshold, it indicates that the requirement for high-brightness pixels to remain undistorted is relatively small. Therefore, the inflection point needs to be shifted towards higher brightness values. In this way, for low brightness values of the image, the compensation curve can output a smaller brightness value, and for high brightness values of the image, the compensation curve can output a larger brightness value. This compensates for the pixel voltage of the image, satisfying the requirement for high-brightness pixels to remain undistorted while also achieving energy saving. The third and fourth brightness values of the displayed image correspond to brightness values corresponding to different pixel ranges in the displayed image. The third brightness value corresponds to 25% of the brightness value of all pixels in the displayed image, and the fourth brightness value corresponds to 75% of the brightness value of all pixels in the displayed image. The inflection point is obtained by summing the third and fourth brightness values and adjusting the summation result by a preset ratio. Thus, for different numerical relationships, different brightness values in the displayed image are used to determine the inflection point of the compensation curve, allowing the inflection point of the compensation curve to adaptively change with the changes in numerical relationships.
[0093] In the first and second steps above, when the contribution of high-brightness pixels is greater than or equal to the preset contribution threshold, it indicates a greater need for distortion-free high-brightness pixels. Therefore, the inflection point of the compensation curve is determined using the brightness values of fewer pixels to shift the inflection point towards lower brightness. This results in a larger output value for the compensation curve drawn according to this inflection point, given a fixed input brightness value, thus satisfying the greater need for distortion-free high-brightness pixels. Conversely, when the contribution of high-brightness pixels is less than the preset contribution threshold, it indicates a smaller need for distortion-free high brightness. The inflection point of the compensation curve is determined using the brightness values of more pixels to shift the inflection point towards higher brightness, thus satisfying the smaller need to not set high-brightness pixels.
[0094] Step S234: Determine the curvature and the inflection point as the voltage compensation parameters.
[0095] Here, the curvature and inflection point of the compensation curve are both used as voltage compensation parameters. This allows the voltage compensation value to adaptively change with the curvature and inflection point, thus better meeting the display panel's requirements for pixel voltage. In this way, considering the needs of high-brightness images during the process of obtaining the curvature and inflection point of the compensation curve, the compensation for high-brightness images can be further enhanced, improving the image display effect.
[0096] Steps S231 to S234 above, based on the correspondence between average brightness, contrast, and curvature, yield the curvature of the compensation curve required for the average brightness and contrast of the displayed image. Further, the contribution of high-brightness pixels is determined by the ratio between the maximum value and the average brightness among the extreme values, and the numerical relationship between the contribution of high-brightness pixels and a preset contribution threshold is judged. Based on this numerical relationship, the inflection point of the compensation curve is determined using the brightness value of the displayed image that matches this relationship. Thus, the inflection point of the compensation curve corresponds to the brightness value of the displayed image, better matching the content of the displayed image, thereby ensuring that the compensation curve determined by the inflection point and curvature better meets the image quality requirements of the displayed image.
[0097] In some embodiments, backlight control of the display panel is achieved by adjusting the backlight brightness of the backlight module of the display panel and compensating the pixel voltage of the display panel. That is, step S104 above can be achieved by adjusting the backlight brightness of the backlight module of the display panel and compensating the pixel voltage of the display panel. Figure 3 The steps shown are to be implemented as follows:
[0098] Step S301: Generate a backlight brightness value based on the display parameters and the backlight brightness correction parameters in the feature parameters.
[0099] Here, the difference between the average brightness and the maximum brightness in the display parameters is obtained, and this difference is corrected using backlight brightness correction parameters to obtain the backlight brightness adjustment value. This backlight brightness value is then obtained by adjusting the average brightness using the backlight brightness adjustment value. This backlight brightness value is then converted from digital to analog to obtain the backlight modulation signal for adjusting the backlight brightness of the backlight module. This backlight brightness value is then used as the required backlight brightness for the backlight module of the display panel, i.e., the backlight brightness of the backlight module is adjusted to this value.
[0100] Step S302: Determine the compensation voltage value based on the voltage compensation parameter in the feature parameters and the brightness value of each pixel in the displayed image.
[0101] Here, a compensation curve is plotted using the curvature and inflection point in the voltage compensation parameters. The brightness value of each pixel in the displayed image is then input into this compensation curve to obtain the corresponding output, which is the compensation voltage value. Thus, with the same input brightness value and curvature, the closer the inflection point of the compensation curve is to the high brightness value, the smaller the output compensation voltage value.
[0102] Step S303: Based on the backlight brightness value and compensation voltage value, backlight control is performed on the display panel.
[0103] Here, the backlight brightness of the backlight module of the display panel is adjusted via a backlight control signal to ensure that the backlight brightness reaches the specified value. The pixel voltage of the display panel is compensated using a compensation voltage value to better match the pixel voltage to the display requirements of the image.
[0104] In this embodiment of the application, during the backlight control process, a backlight modulation signal corresponding to the backlight brightness correction parameter and a voltage compensation parameter are introduced, thereby introducing detailed information of the image to reflect the overall brightness level of the image, and taking into account the demand for high-brightness images in the compensation curve corresponding to the compensation voltage value, further enhancing the compensation for high-brightness images, which can improve the display effect of the image.
[0105] In some embodiments, a backlight modulation signal for adjusting backlight brightness is dynamically generated by combining the maximum and minimum brightness values, average brightness values, and contrast ratios in the display parameters. That is, step S301 above can be achieved through the following steps S311 to S313 (not shown in the figure):
[0106] Step S311: Determine the difference between the maximum brightness value and the average brightness value in the display parameters.
[0107] Here, the difference is obtained by subtracting the maximum brightness value from the average brightness value in the display parameters. This difference can characterize the approximate proportion of high-brightness pixels in the overall brightness of the displayed image. For example, a large difference indicates that there are not many high-brightness pixels in the displayed image, while a small difference indicates that there are many high-brightness pixels in the displayed image.
[0108] Step S312: Determine the backlight brightness adjustment value based on the difference and the backlight brightness correction parameters.
[0109] Here, the square of the difference is determined, and this square is divided by the largest gray value (i.e., 255) to obtain the division result. This result is then summed with the difference to obtain the sum. Next, the backlight brightness correction parameter is multiplied by this sum to correct the sum and obtain the backlight brightness adjustment value.
[0110] Step S313: Determine the backlight brightness value based on the backlight brightness adjustment value and the average brightness value.
[0111] Here, the backlight brightness value is obtained by adding the backlight brightness adjustment value and the average brightness value, and then dividing the result by the maximum grayscale value of 255. In some possible implementations, the numerical backlight brightness value is converted into an analog signal, which is the backlight modulation signal. This backlight modulation signal can be a pulse width modulation signal. The backlight brightness of the backlight module is adjusted using this backlight modulation signal. Thus, since detailed information such as the maximum and average brightness values of the image are incorporated in the process of obtaining the backlight brightness correction parameters, the resulting backlight brightness adjustment value also takes these details into account. Therefore, adjusting the average brightness value using the backlight brightness adjustment value yields a more accurate backlight brightness value.
[0112] In this embodiment, the backlight brightness value is dynamically adjusted by combining the difference between the maximum and average brightness values with backlight brightness correction parameters, based on the average brightness value of the image. Thus, in the process of obtaining the backlight brightness value, detailed image information is incorporated into the backlight brightness correction parameters, ensuring that the adjusted backlight brightness value reflects the overall brightness level of the image while improving image quality. Furthermore, the implementation process is relatively simple and easy to use.
[0113] In some embodiments, backlight control is achieved by voltage compensation and backlight brightness adjustment of the display panel, that is, step S302 above can be achieved by the following steps S321 to S323 (not shown in the figure):
[0114] Step S321: Based on the voltage compensation parameters, determine a compensation curve for adjusting the pixel voltage.
[0115] Here, the compensation curve is plotted using the curvature and inflection point in the voltage compensation parameters. The greater the curvature, the more curved the curve. For images with higher brightness, the smaller the curvature is set, the smaller the inflection point, meaning the closer the inflection point is to the low brightness value. Using the inflection point in the compensation curve as the dividing point, pixels with brightness values lower than the inflection point are compressed, while pixels with brightness values higher than the inflection point are increased, thereby improving the contrast of the entire compensated image.
[0116] Step S322: Determine the compensation brightness value based on the compensation curve and the brightness value of each pixel in the displayed image.
[0117] Here, after drawing the compensation curve, by taking the brightness value of each pixel in the displayed image as input, the required compensation brightness value for each pixel can be output. For example, by taking the brightness value of each pixel in the displayed image as the input value of the function corresponding to the compensation curve (as shown in formula (7)), the output result is the compensation brightness value.
[0118] Step S323: Perform voltage conversion on the compensated brightness value to obtain the compensated voltage value.
[0119] Here, the binary compensation brightness value is converted from digital to analog voltage, thus obtaining the compensation voltage value. This compensation voltage value generates current in the display panel, which drives a change in the angle between the display panel and the backlight module, thereby altering the display effect. In this way, by adjusting the pixel voltage using a compensation curve, and combining this curve with the requirements for high-brightness images, compensation for high-brightness images can be improved, enhancing the display effect of high-brightness images.
[0120] In some embodiments, the backlight brightness is adjusted by the backlight brightness value, and the pixel voltage is compensated by the compensation voltage value to achieve backlight control of the display panel. That is, the above step S303 can be achieved by the following steps S331 and S332 (not shown in the figure):
[0121] Step S331: Based on the backlight brightness value, adjust the backlight brightness of the display panel to obtain the adjusted backlight brightness.
[0122] Here, the backlight brightness value is changed in the form of a backlight modulation signal to change the backlight brightness of the display panel's backlight module, so that the adjusted backlight brightness of the backlight module is the backlight brightness value.
[0123] Step S332: Based on the compensation voltage value, compensate the pixel voltage of the display panel that meets the adjusted backlight brightness to obtain a compensated display panel.
[0124] Here, by sending the compensation voltage to the display panel and converting it into current, the current drives the display panel to change its relative position with the backlight module, for example, by increasing the included angle. This change in relative position alters the pixel value of each pixel on the display panel, thus adjusting the pixel brightness. Furthermore, since the pixel circuitry corresponds to the pixel voltage, pixel voltage adjustment is also achieved. The display panel that satisfies this relative position is considered the compensated display panel.
[0125] In some possible implementations, a display panel satisfying the adjusted backlight brightness can be understood as having a backlight module corresponding to that display panel with an adjusted backlight brightness. The backlight module corresponding to the voltage-compensated display panel has an adjusted backlight brightness, and the pixel voltage is the compensation voltage value. Thus, by adjusting the backlight brightness of the backlight module using the backlight brightness value and compensating the pixel voltage of the display panel using the compensation voltage value, the relative positional relationship between the display panel and the backlight module can be changed, thereby improving the display effect of the display panel.
[0126] In some embodiments, if the feature parameters of the next frame image are not significantly different from those of the previous frame image, then the backlight brightness value and compensation voltage value of the next frame image are kept consistent with those of the previous frame image to save power consumption. This can be achieved through the following process:
[0127] The first step is to determine the numerical difference between the feature parameters and the feature parameters of the next frame image in a preset repository.
[0128] Here, the preset repository is used to store the feature parameters of each frame of the displayed image; the next frame image is adjacent to the displayed image, and its timing follows that of the displayed image. Since the feature parameters are calculated based on the display parameters, the numerical differences between the feature parameters can also characterize the differences between the display parameters of the current frame and the next frame image to a certain extent.
[0129] The second step involves adjusting the backlight brightness of the display panel corresponding to the next frame image using the backlight brightness value when the numerical difference is less than a preset difference threshold, and compensating the pixel voltage of the display panel corresponding to the next frame image using the compensation voltage value.
[0130] Here, the preset difference threshold can be a small value set by the user; there can be one or more preset difference thresholds, and the feature parameters include backlight brightness correction parameters and voltage compensation parameters. Therefore, the preset difference threshold can be set as the difference threshold between the backlight brightness correction parameters of two frames of images, and the difference threshold between the voltage compensation parameters of two frames of images. The two difference thresholds can be different. For example, the difference threshold between the backlight brightness correction parameters of two frames of images can be set to 0.1; the difference threshold between the voltage compensation parameters of two frames of images can be set to 0.01. In this way, for the next frame of images where the difference between the feature parameters and the feature parameters of the previous frame of images is small, the backlight brightness of the backlight module of the next frame of images is adjusted using the same backlight brightness value as the previous frame of images, and the pixel voltage of the display panel of the next frame of images is compensated using the same compensation voltage value as the previous frame of images, thereby saving power consumption of the driving pixel circuit.
[0131] The following describes the application of the backlight control method provided in the embodiments of this application in a real-world scenario, taking a power-saving and image-undistorted CABC method as an example.
[0132] The CABC method provided in this application embodiment can be used... Figure 4 The flowchart shown is implemented in conjunction with Figure 4 The steps shown are explained below:
[0133] Step S401: The host outputs image data to the driver IC.
[0134] Here, the host outputs image data to the driver IC through the Mobile Industry Processor Interface (MIPI) to store the received data in Random Access Memory (RAM).
[0135] In step S402, the driver IC stores the image data in RAM.
[0136] Step S403: Extract image data, perform image classification, and extract feature parameters.
[0137] Here, the characteristic parameters include: maximum brightness (Imax), average brightness (Iave), contrast ratio (CR), backlight brightness correction parameter (k), S-curve change rate parameter α, and inflection point of the S-curve (Lg).
[0138] By extracting and analyzing image data from RAM, images are classified based on their brightness and contrast. The classification results include: high brightness and high contrast, high brightness and low contrast, medium brightness and high contrast, medium brightness and low contrast, low brightness and high contrast, and low brightness and low contrast.
[0139] In some possible implementations, to improve energy efficiency and image quality after processing, the image is mapped into three categories—low brightness, medium brightness, and high brightness—based on the average brightness value Lave. The average brightness value Lave can be expressed as formula (1):
[0140]
[0141] In formula (1), l(i,j) represents the gray value of pixel (i,j). X*Y represents the display resolution. When Lave is between [0,59], the image is determined to be low brightness; when Lave is between [60,129], the image is determined to be medium brightness; when Lave is between [130,255], the image is determined to be high brightness. Static contrast is the ratio of the highest brightness to the lowest brightness in an image. The contrast is obtained by measuring the highest and lowest brightness of the image using a colorimeter. The colorimeter measures the average brightness within a certain area. If the display resolution is X*Y, the image is divided into a pixel*b pixel sizes, the average brightness of each block is calculated, and the ratio of the maximum and minimum gray values in all blocks is taken as the contrast CR of the image. The contrast CR is shown in formula (2):
[0142]
[0143] Where max(L) block) and min(L block ) represent the maximum and minimum grayscale values, respectively.
[0144] The image classification results are shown in Table 1. The brightness and CR upper and lower limits are for reference only and can be adjusted according to the actual needs of the terminal.
[0145] Table 1. Correspondence between image classification, mean brightness, and contrast.
[0146] Image type Iave lower bound Iave cap CR lower limit CR lower limit High brightness and high contrast 140 255 300 1000 High brightness and low contrast 140 255 1 300 Medium brightness, high contrast 60 139 300 1000 Medium brightness, low contrast 60 139 1 300 Low brightness, high contrast 0 59 300 1000 Low brightness and low contrast 0 59 1 300
[0147] In Table 1, Lave represents the average brightness of the image, ranging from [0, 255]. CR represents the contrast of the image, ranging from [1, 1000].
[0148] Step S404: Generate backlight values based on image classification and feature parameters.
[0149] In some possible implementations, the backlight adjustment algorithm is based on the average brightness of the image, and uses the difference between the maximum brightness and the average brightness as the correction basis to dynamically adjust the backlight brightness. The calculated backlight value can add the image's detailed information to the correction parameter value, so that the adjusted backlight brightness value can reflect the overall brightness level of the image and ensure the image quality. At the same time, the algorithm is relatively simple and suitable for use in mobile terminal products. The maximum value Lmax of the entire image is determined by comparing the brightness values of each pixel in the image and selecting the one with the largest brightness value; the maximum value Lmax is shown in formula (3):
[0150] Lmax = max(I(i,j)) (3);
[0151] The average brightness value of the entire image, Lave, has the same expression as the average brightness value, as shown in formula (1).
[0152] The backlight brightness value BL is shown in formula (4):
[0153] BL=(Lave+correction) / 255 (4);
[0154] Wherein, correction is the backlight brightness correction value, as shown in formula (5):
[0155]
[0156] Where k is the backlight brightness correction parameter, and Diff is the difference between the maximum and average brightness of the image, Diff = Lmax – Lave. Different backlight brightness correction parameters k are assigned according to different brightness levels, as shown in formula (6):
[0157]
[0158] Specifically, for images with high overall brightness, a larger value for k is used to increase display brightness; for images with low overall brightness, a smaller value for k is used to improve energy efficiency.
[0159] Step S405: Determine the backlight modulation signal based on the backlight value.
[0160] Here, the backlight modulation signal can be a pulse width modulation (PWM) signal.
[0161] In step S406, the backlight modulation signal is output to the driver IC of the backlight control module to control the backlight brightness of the liquid crystal display panel.
[0162] While performing steps S404 to S406 above, perform the following steps S407 to S409.
[0163] Step S407: Generate an S-curve adjustment function based on image classification and feature parameters.
[0164] In some embodiments, after the backlight brightness is determined, the overall backlight brightness decreases, and the liquid crystal pixels need to be compensated to ensure that the display brightness remains unchanged. In related technologies, each pixel value in the image is multiplied by a compensation coefficient greater than 1 to improve the display brightness. After linear compensation, compared with the original image, for low-brightness images, the overall image brightness is too high, resulting in greater distortion; for high-brightness images, the overall image brightness does not change much, and the distortion is small. However, when the image contains high-brightness level pixels, the pixels will overflow distortion due to excessive compensation (exceeding 255 after compensation). In the embodiments of this application, the pixels are adjusted by an improved S-curve method. Based on the S-curve compensation method, the requirements of terminal applications or videos for high-brightness images are taken into account, and the compensation for high-brightness images is further strengthened to ensure the best display effect of high-brightness images. The S-curve equation Lout is shown in formula (7):
[0165] Lout = 255 / (1+e) α*(Lpoint-Lin) (7);
[0166] Where Lpoint represents the inflection point of the S-curve, α represents the rate of change parameter of the S-curve, and the S-curve is as follows: Figure 5 As shown, Figure 5This is a simulation diagram of the S-curve for liquid crystal pixel adjustment provided in an embodiment of this application. Curve 501 represents the S-curve, the horizontal axis represents the input brightness value Lin, and the vertical axis represents the S-curve value Lout. As can be seen from curve 501, the S-curve compresses low-brightness pixel values below Lpoint and increases high-brightness pixel values above Lpoint. After compensation, the contrast of the entire image is significantly improved, thereby minimizing the overflow distortion of high-brightness pixel values. α determines the curvature of the S-curve; as α increases, the S-curve becomes increasingly curved, and the magnitude of change between dark and bright areas of the image also increases. Figure 6 As shown, where, Figure 6 In (a), curve 601 represents the S-curve obtained when α = 0.011; Figure 6 In (b), curve 602 represents the S-curve obtained when α = 0.021. Figure 6 In (c), curve 603 represents the S-curve obtained when α = 0.031.
[0167] In this embodiment, the optimal α of the image is determined based on typical feature values such as the average brightness and contrast of the image. Figure 6 It can be seen that the α value should increase as the average image brightness value decreases. Under the same average brightness value, appropriately increasing the α value can improve the contrast of the processed image for images with low contrast. The values of α are shown in Table 2:
[0168] Table 2. Values of the curvature α (i.e., the second pre-defined correspondence) of the S-curve.
[0169] Image type Iave lower bound Iave cap CR lower limit CR lower limit α High brightness and high contrast 140 255 300 1000 0.018 High brightness and low contrast 140 255 1 300 0.021 Medium brightness, high contrast 60 139 300 1000 0.020 Medium brightness, low contrast 60 139 1 300 0.023 Low brightness, high contrast 0 59 300 1000 0.022 Low brightness and low contrast 0 59 1 300 0.025
[0170] Step S408: Perform pixel voltage compensation according to the S-curve adjustment function.
[0171] Here, the other parameter, Lpoint, represents the coordinates of the inflection point of the S-curve. If Lpoint is a fixed value, pixel compensation is performed based on the value of α in different types of images. However, for scenes requiring high brightness, detail distortion still exists. In this embodiment, considering the proportion of high-brightness pixel details in the image, Lpoint is dynamically adjusted based on the contribution of high-brightness pixels.
[0172] In some embodiments, if a frame contains pixels with brightness values higher than the average, the image is determined to be an image with high-brightness pixels. The high-brightness pixels collectively constitute the high-brightness details in the frame; the more high-brightness pixels there are, the closer the image mean is to the maximum value. The importance of high-brightness pixel details to the image in a frame is called the high-brightness pixel contribution CI. The high-brightness pixel contribution CI is shown in formula (8):
[0173]
[0174] Where PI is the proximity index between the mean and maximum image brightness, which can be expressed as:
[0175]
[0176] When CI is less than the preset contribution threshold A (where A can be set according to the host requirements, CI≥A indicates a greater need for high-brightness pixels to maintain their integrity), the inflection point Lg of the S-curve changes from L... 25 and L 75 Confirmed. L 25 It includes 25% of the corresponding brightness value for all pixels, L 75 It includes 75% of the corresponding brightness value of all pixels. The inflection point Lg can be expressed as shown in formula (10):
[0177]
[0178] When CI≥A, the inflection point Lg needs to be shifted towards lower brightness, which can be expressed as formula (11):
[0179]
[0180] In some possible implementations, Lg can also be adjusted according to the actual content displayed on the host.
[0181] Step S409: Output the compensated pixel voltage to the liquid crystal display panel.
[0182] In some embodiments, after the current frame image data analysis is completed, the feature parameters are stored in RAM. After the next frame image data analysis is completed, the feature parameters of the previous frame image are extracted from RAM and compared. If the comparison data are similar, the backlight brightness and pixel voltage of the next frame are consistent with the current frame. In this way, compensation is performed on each frame image, and the feature parameters of the current frame and the next frame image are compared and analyzed. If the overall pixel brightness of the two frames is not significantly different, the backlight brightness and pixel brightness voltage remain the same as the previous frame, thereby further saving the power consumption of the driver integrated circuit.
[0183] In this embodiment, a global dynamic dimming algorithm based on image classification is used. Under different usage scenarios or terminal requirements, different backlight brightness calculation parameters and pixel compensation values are adaptively selected for different image categories to ensure optimal energy saving and display effects for all images. During backlight adjustment, the determined backlight value incorporates image detail information into the correction parameter value, ensuring that the adjusted backlight brightness value reflects the overall brightness level of the image while improving image quality. This algorithm is relatively simple and suitable for mobile terminal products. Furthermore, the S-curve method is used to adjust pixels. Building upon the S-curve compensation method, and considering the requirements of terminal applications or videos for high-brightness images, compensation for high-brightness images is further strengthened to ensure optimal display effects for high-brightness images.
[0184] Based on the foregoing embodiments, this application provides a backlight control device, which includes various units and modules included in each unit, and can be implemented by a processor in a computer device; of course, it can also be implemented by specific logic circuits; in the implementation process, the processor can be a central processing unit (CPU), a microprocessor unit (MPU), a digital signal processor (DSP), or a field programmable gate array (FPGA), etc.
[0185] Figure 7A This is a schematic diagram of the composition structure of a backlight control device provided in an embodiment of this application, as shown below. Figure 7A As shown, the backlight control device 700 includes: a host terminal 701, a data receiving module 702, a storage module 703, a backlight control circuit module 704, a backlight compensation module 705, and a display panel 706.
[0186] The first end of the host terminal 701 is connected to the image data input terminal, and the second end of the host terminal 701 is connected to the first end of the data receiving module 702; the second end of the data receiving module 702 is connected to the first end of the storage module 703; the second end of the storage module 703 is connected to the first end of the backlight control circuit module 704, and the second end of the backlight control circuit module 704 is connected to the first end of the backlight compensation module 705; the second end of the backlight compensation module 705 is connected to the display panel 706.
[0187] The host terminal 701 is used to acquire image data of the displayed image on the display panel and output the image data to the data receiving module through a preset interface;
[0188] The data receiving module 702 is used to store the image data in the storage module 703;
[0189] The backlight control circuit module 704 is used to read the image data from the storage module, determine the display parameters of the displayed image based on the image data, and determine the feature parameters of the displayed image based on the display parameters.
[0190] The backlight compensation module 705 is used to control the backlight of the display panel 706 based on the display parameters and the feature parameters.
[0191] Here, the backlight control circuit module 704 can be the Content Adaptive Backlight Control Semiconductor Intellectual PropertyCore (CABC IP core) in the driver chip.
[0192] In some embodiments, the backlight control circuit module 704 is further configured to read the image data from the storage module in response to an enable signal for enabling the backlight control function.
[0193] In some embodiments, the backlight control circuit module 704 is further configured to determine the resolution of the display panel based on the image data; determine the average brightness and maximum brightness of the displayed image based on the resolution; determine the contrast ratio of the displayed image based on the maximum brightness; and determine the average brightness, the maximum brightness, and the contrast ratio as the display parameters.
[0194] In some embodiments, the backlight control circuit module 704 is further configured to: determine the brightness level to which the average brightness value belongs based on the average brightness value in the display parameters; determine the backlight brightness correction parameter matching the brightness level based on a first preset correspondence between the brightness level and the backlight brightness correction parameter; determine the voltage compensation parameter based on the contrast ratio, the maximum brightness value and the average brightness value in the display parameters; and determine the backlight brightness correction parameter matching the brightness level and the voltage compensation parameter as the feature parameters.
[0195] In some embodiments, the backlight control circuit module 704 is further configured to: determine the curvature of a compensation curve that matches the average brightness and contrast of the displayed image based on a second preset correspondence between the average brightness, contrast, and curvature; wherein the compensation curve is used to adjust the pixel voltage; determine the high-brightness pixel contribution of the displayed image based on the maximum value among the extreme values of brightness and the average brightness; determine the inflection point of the compensation curve based on the numerical relationship between the high-brightness pixel contribution and a preset contribution threshold, and the brightness value of the displayed image; and determine the curvature and the inflection point as the voltage compensation parameters.
[0196] In some embodiments, the backlight control circuit module 704 is further configured to: determine the inflection point based on a first brightness value and a second brightness value of the displayed image when the numerical relationship indicates that the contribution of the high-brightness pixel is greater than or equal to the preset contribution threshold; and determine the inflection point based on a third brightness value and a fourth brightness value of the displayed image when the numerical relationship indicates that the contribution of the high-brightness pixel is less than the preset contribution threshold; wherein the third brightness value is greater than the first brightness value, the third brightness value is less than the second brightness value, and the fourth brightness value is greater than the second brightness value.
[0197] In some embodiments, such as Figure 7B As shown, the backlight compensation module 705 further includes a backlight brightness generation submodule 751 and a voltage compensation submodule 752, and the display panel 706 includes a display submodule 761 and a backlight submodule 762.
[0198] The first end of the backlight brightness generation submodule 751 is connected to the third end of the backlight control circuit module 704; the second end of the backlight brightness generation submodule 751 is connected to the backlight submodule 762.
[0199] The first end of the voltage compensation submodule 752 is connected to the second end of the backlight control circuit module 704, and the second end of the voltage compensation submodule 752 is connected to the display submodule 761.
[0200] The backlight brightness generation submodule 751 is used to: generate a backlight brightness value based on the display parameters and the backlight brightness correction parameters in the feature parameters; and transmit the backlight brightness value to the backlight submodule;
[0201] The backlight submodule 762 is used to adjust the backlight brightness based on the backlight brightness value to obtain the adjusted backlight brightness.
[0202] The voltage compensation submodule 752 is used to determine a compensation voltage value based on the voltage compensation parameter in the feature parameters and the brightness value of each pixel in the displayed image; and to feed back the compensation voltage value to the display submodule 761.
[0203] The display submodule 761 is used to compensate the pixel voltage based on the compensation voltage value.
[0204] In some embodiments, the backlight brightness generation submodule 751 is further configured to: determine the difference between the maximum brightness value and the average brightness value in the display parameters; determine a backlight brightness adjustment value based on the difference and the backlight brightness correction parameters; and determine the backlight brightness value based on the backlight brightness adjustment value and the average brightness value.
[0205] In some embodiments, the voltage compensation submodule 752 is further configured to: determine a compensation curve for adjusting the pixel voltage based on the voltage compensation parameters; determine a compensation brightness value based on the compensation curve and the brightness value of each pixel in the displayed image; and perform voltage conversion on the compensation brightness value to obtain the compensation voltage value.
[0206] In some embodiments, the backlight control circuit module 704 is further configured to: determine the numerical difference between the feature parameters and the feature parameters of the next frame image in a preset storage repository; wherein the preset storage repository is used to store the feature parameters of each frame of the display image; the next frame image is adjacent to the display image, and its timing follows that of the display image;
[0207] The backlight compensation module 705 is further configured to adjust the backlight brightness of the display panel corresponding to the next frame image using the backlight brightness value when the numerical difference is less than a preset difference threshold, and to compensate the pixel voltage of the display panel corresponding to the next frame image using the compensation voltage value.
[0208] The descriptions of the above device embodiments are similar to those of the above method embodiments, and have similar beneficial effects. In some embodiments, the functions or modules included in the device provided in this disclosure can be used to perform the methods described in the above method embodiments. For technical details not disclosed in the device embodiments of this application, please refer to the descriptions of the method embodiments of this application for understanding.
[0209] It should be noted that, in the embodiments of this application, if the above-described backlight control method is implemented as a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiments of this application, or the part that contributes to the related technology, can be embodied in the form of a software product. This software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, mobile hard drives, read-only memory (ROM), magnetic disks, or optical disks. Thus, the embodiments of this application are not limited to any specific hardware, software, or firmware, or any combination of hardware, software, and firmware.
[0210] This application provides a computer device including a memory and a processor. The memory stores a computer program that can run on the processor. When the processor executes the program, it implements some or all of the steps in the above-described method.
[0211] This application provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements some or all of the steps in the above-described method. The computer-readable storage medium can be transient or non-transient.
[0212] This application provides a computer program including computer-readable code, wherein when the computer-readable code is executed in a computer device, a processor in the computer device performs some or all of the steps in the above-described method.
[0213] This application provides a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program. When the computer program is read and executed by a computer, it implements some or all of the steps in the above-described method. This computer program product can be implemented specifically through hardware, software, or a combination thereof. In some embodiments, the computer program product is specifically embodied as a computer storage medium; in other embodiments, the computer program product is specifically embodied as a software product, such as a software development kit (SDK), etc.
[0214] It should be noted that the descriptions of the various embodiments above tend to emphasize the differences between them, while their similarities or commonalities can be referred to interchangeably. The descriptions of the above embodiments of the device, storage medium, computer program, and computer program product are similar to the descriptions of the above method embodiments and have similar beneficial effects. For technical details not disclosed in the embodiments of the device, storage medium, computer program, and computer program product of this application, please refer to the descriptions of the method embodiments of this application for understanding.
[0215] It should be noted that, Figure 8 This is a schematic diagram of a hardware entity of a computer device in an embodiment of this application, such as... Figure 8 As shown, the hardware entity of the computer device 800 includes: a processor 801, a communication interface 802, and a memory 803, wherein:
[0216] Processor 801 typically controls the overall operation of computer device 800.
[0217] The communication interface 802 enables computer devices to communicate with other terminals or servers over a network.
[0218] The memory 803 is configured to store instructions and applications executable by the processor 801, and can also cache data to be processed or already processed (e.g., image data, audio data, voice communication data, and video communication data) in the processor 801 and various modules in the computer device 800. It can be implemented using flash memory or random access memory (RAM). Data transfer between the processor 801, the communication interface 802, and the memory 803 can be performed via bus 804.
[0219] It should be understood that the phrase "one embodiment" or "an embodiment" throughout the specification means that a specific feature, structure, or characteristic related to the embodiment is included in at least one embodiment of this application. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. Furthermore, these specific features, structures, or characteristics can be combined in any suitable manner in one or more embodiments. It should be understood that in the various embodiments of this application, the sequence numbers of the above steps / processes do not imply a sequential order of execution; the execution order of each step / process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application. The sequence numbers of the above embodiments of this application are merely descriptive and do not represent the superiority or inferiority of the embodiments.
[0220] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.
[0221] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely illustrative. For example, the division of units is only a logical functional division, and in actual implementation, there may be other division methods, such as: multiple units or components can be combined, or integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the various components shown or discussed can be through some interfaces, and the indirect coupling or communication connection between devices or units can be electrical, mechanical, or other forms.
[0222] The units described above as separate components may or may not be physically separate. The components shown as units may or may not be physical units. They may be located in one place or distributed across multiple network units. Some or all of the units may be selected to achieve the purpose of this embodiment according to actual needs.
[0223] In addition, each functional unit in the various embodiments of this application can be integrated into one processing unit, or each unit can be a separate unit, or two or more units can be integrated into one unit; the integrated unit can be implemented in hardware or in the form of hardware plus software functional units.
[0224] Those skilled in the art will understand that all or part of the steps of the above method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it performs the steps of the above method embodiments. The aforementioned storage medium includes various media that can store program code, such as mobile storage devices, read-only memory (ROM), magnetic disks, or optical disks.
[0225] Alternatively, if the integrated units described above are implemented as software functional modules and sold or used as independent products, they can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence or the part that contributes to related technologies, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as mobile storage devices, ROM, magnetic disks, or optical disks.
[0226] The above description is merely an embodiment of this application, but the scope of protection of this application is not limited thereto. Any changes or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application.
Claims
1. A backlight control method, characterized in that, The method includes: Obtain image data of the displayed image on the display panel; Based on the image data, the display parameters of the displayed image are determined; Based on the display parameters, determine the feature parameters of the displayed image; The characteristic parameters include voltage compensation parameters; the voltage compensation parameters are determined based on the contrast ratio, maximum and minimum brightness values, and average brightness values in the display parameters; the voltage compensation parameters include the inflection points of the compensation curve; the compensation curve is matched with the average brightness value and contrast ratio of the displayed image to adjust the pixel voltage; Specifically, the contribution of high-brightness pixels in the displayed image is determined based on the maximum value among the extreme values and the average brightness value. If the contribution of high-brightness pixels is greater than or equal to a preset contribution threshold, the first and second brightness values of the displayed image are summed, and the summation result is adjusted by a preset ratio to move the inflection point towards a lower brightness value, thus determining the inflection point. If the contribution of high-brightness pixels is less than the preset contribution threshold, the third and fourth brightness values of the displayed image are summed, and the summation result is adjusted by the preset ratio to move the inflection point towards a higher brightness value, thus determining the inflection point. The first, second, third, and fourth brightness values are brightness values corresponding to different pixel ranges in the displayed image; the third brightness value is greater than the first brightness value, the third brightness value is less than the second brightness value, and the fourth brightness value is greater than the second brightness value. Backlight control is performed on the display panel based on the display parameters and the feature parameters.
2. The method according to claim 1, characterized in that, Determining the display parameters of the displayed image based on the image data includes: Based on the image data, the resolution of the display panel is determined; Based on the resolution, the average brightness and the maximum brightness of the displayed image are determined; The contrast of the displayed image is determined based on the maximum brightness value; The average brightness, the maximum brightness, and the contrast ratio are determined as the display parameters.
3. The method according to claim 1 or 2, characterized in that, The step of determining the feature parameters of the displayed image based on the display parameters further includes: Based on the average brightness value in the display parameters, determine the brightness level to which the average brightness value belongs; Based on the first preset correspondence between the brightness level and the backlight brightness correction parameters, the backlight brightness correction parameters matching the brightness level are determined. The backlight brightness correction parameters that match the brightness level and the voltage compensation parameters are determined as the characteristic parameters.
4. The method according to claim 3, characterized in that, The step of determining the voltage compensation parameters based on the contrast ratio, the maximum brightness value, and the average brightness value among the display parameters further includes: Based on a second preset correspondence between the average brightness, contrast, and curvature, the curvature of a compensation curve that matches the average brightness and contrast of the displayed image is determined. The curvature and the inflection point are determined as the voltage compensation parameters.
5. The method according to claim 1, characterized in that, The backlight control of the display panel based on the display parameters and the feature parameters includes: A backlight brightness value is generated based on the display parameters and the backlight brightness correction parameters in the feature parameters; The compensation voltage value is determined based on the voltage compensation parameter in the feature parameters and the brightness value of each pixel in the displayed image; Backlight control is performed on the display panel based on the backlight brightness value and the compensation voltage value.
6. The method according to claim 5, characterized in that, The step of generating a backlight brightness value based on the display parameters and the backlight brightness correction parameters among the feature parameters includes: Determine the difference between the maximum brightness value and the average brightness value in the display parameters; Based on the difference and the backlight brightness correction parameters, the backlight brightness adjustment value is determined; The backlight brightness value is determined based on the backlight brightness adjustment value and the average brightness value.
7. The method according to claim 5, characterized in that, The step of determining the compensation voltage value based on the voltage compensation parameter in the feature parameters and the brightness value of each pixel in the displayed image includes: Based on the voltage compensation parameters, a compensation curve for adjusting the pixel voltage is determined; The compensation brightness value is determined based on the compensation curve and the brightness value of each pixel in the displayed image; The compensated brightness value is converted into a voltage value to obtain the compensated voltage value.
8. The method according to claim 5, characterized in that, The backlight control of the display panel based on the backlight brightness value and the compensation voltage value includes: Based on the backlight brightness value, the backlight brightness of the display panel is adjusted to obtain the adjusted backlight brightness. Based on the compensation voltage value, the pixel voltage of the display panel that meets the adjusted backlight brightness is compensated.
9. The method according to claim 8, characterized in that, After compensating the pixel voltages of the display panel that meet the adjusted backlight brightness based on the compensation voltage value, the method further includes: In a preset repository, the numerical difference between the feature parameters and the feature parameters of the next frame image is determined; wherein, the preset repository is used to store the feature parameters of each frame of the display image; the next frame image is adjacent to the display image, and its timing follows that of the display image. If the numerical difference is less than a preset difference threshold, the backlight brightness of the display panel corresponding to the next frame image is adjusted using the backlight brightness value, and the pixel voltage of the display panel corresponding to the next frame image is compensated using the compensation voltage value.
10. A backlight control device, characterized in that, The backlight control device includes: a host unit, a data receiving module, a storage module, a backlight control circuit module, a backlight compensation module, and a display panel; The first end of the host terminal is connected to the image data input terminal, and the second end of the host terminal is connected to the first end of the data receiving module; the second end of the data receiving module is connected to the first end of the storage module; the second end of the storage module is connected to the first end of the backlight control circuit module, and the second end of the backlight control circuit module is connected to the first end of the backlight compensation module; the second end of the backlight compensation module is connected to the display panel. The host terminal is used to acquire image data of the displayed image on the display panel and output the image data to the data receiving module through a preset interface; The data receiving module is used to store the image data in the storage module; The backlight control circuit module is used to read the image data from the storage module, determine the display parameters of the displayed image based on the image data, and determine the feature parameters of the displayed image based on the display parameters. The characteristic parameters include voltage compensation parameters; the voltage compensation parameters are determined based on the contrast, maximum and minimum brightness, and average brightness values in the display parameters; the voltage compensation parameters include the inflection point of the compensation curve; the compensation curve is matched with the average brightness and contrast of the displayed image to adjust the pixel voltage; Specifically, the contribution of high-brightness pixels in the displayed image is determined based on the maximum value among the extreme values and the average brightness value. If the contribution of high-brightness pixels is greater than or equal to a preset contribution threshold, the first and second brightness values of the displayed image are summed, and the summation result is adjusted by a preset ratio to move the inflection point towards a lower brightness value, thus determining the inflection point. If the contribution of high-brightness pixels is less than the preset contribution threshold, the third and fourth brightness values of the displayed image are summed, and the summation result is adjusted by the preset ratio to move the inflection point towards a higher brightness value, thus determining the inflection point. The first, second, third, and fourth brightness values are brightness values corresponding to different pixel ranges in the displayed image; the third brightness value is greater than the first brightness value, the third brightness value is less than the second brightness value, and the fourth brightness value is greater than the second brightness value. The backlight compensation module is used to control the backlight of the display panel based on the display parameters and the feature parameters.
11. The device according to claim 10, characterized in that, The backlight control circuit module is also used to read the image data from the storage module in response to an enable signal for activating the backlight control function.
12. The device according to claim 10, characterized in that, The backlight control circuit module is further configured to determine the resolution of the display panel based on the image data; and to determine the average brightness and the maximum brightness of the displayed image based on the resolution. The contrast of the displayed image is determined based on the maximum brightness value; The average brightness, the maximum brightness, and the contrast ratio are determined as the display parameters.
13. The device according to any one of claims 10 to 12, characterized in that, The backlight control circuit module is further configured to: determine the brightness level to which the average brightness value belongs based on the average brightness value in the display parameters; and determine the backlight brightness correction parameters matching the brightness level based on a first preset correspondence between the brightness level and the backlight brightness correction parameters. The backlight brightness correction parameters that match the brightness level and the voltage compensation parameters are determined as the characteristic parameters.
14. The device according to claim 13, characterized in that, The backlight control circuit module is further configured to: determine the curvature of a compensation curve that matches the average brightness and contrast of the displayed image based on a second preset correspondence between the average brightness, contrast and curvature; and determine the curvature and the inflection point as the voltage compensation parameters.
15. The device according to claim 10, characterized in that, The backlight compensation module further includes a backlight brightness generation submodule and a voltage compensation submodule, and the display panel includes a display submodule and a backlight submodule; The first end of the backlight brightness generation submodule is connected to the third end of the backlight control circuit module; the second end of the backlight brightness generation submodule is connected to the backlight submodule. The first end of the voltage compensation submodule is connected to the second end of the backlight control circuit module, and the second end of the voltage compensation submodule is connected to the display submodule. The backlight brightness generation submodule is used to: generate a backlight brightness value based on the display parameters and the backlight brightness correction parameters in the feature parameters; And transmit the backlight brightness value to the backlight submodule; The backlight submodule is used to adjust the backlight brightness based on the backlight brightness value to obtain the adjusted backlight brightness. The voltage compensation submodule is used to determine the compensation voltage value based on the voltage compensation parameter in the feature parameters and the brightness value of each pixel in the displayed image; The compensation voltage value is then fed back to the display submodule. The display submodule is used to compensate the pixel voltage based on the compensation voltage value.
16. The device according to claim 15, characterized in that, The backlight brightness generation submodule is further configured to: determine the difference between the maximum brightness value and the average brightness value in the display parameters; and determine the backlight brightness adjustment value based on the difference and the backlight brightness correction parameters. The backlight brightness value is determined based on the backlight brightness adjustment value and the average brightness value.
17. The device according to claim 15, characterized in that, The voltage compensation submodule is further configured to: determine the compensation curve for adjusting the pixel voltage based on the voltage compensation parameters; and determine the compensation brightness value based on the compensation curve and the brightness value of each pixel in the displayed image. The compensated brightness value is converted into a voltage value to obtain the compensated voltage value.
18. The device according to claim 15, characterized in that, The backlight control circuit module is further configured to: determine the numerical difference between the feature parameters and the feature parameters of the next frame image in a preset storage repository; wherein the preset storage repository is used to store the feature parameters of each frame of the display image; the next frame image is adjacent to the display image, and its timing follows that of the display image. The backlight compensation module is further configured to adjust the backlight brightness of the display panel corresponding to the next frame image using the backlight brightness value when the numerical difference is less than a preset difference threshold, and to compensate the pixel voltage of the display panel corresponding to the next frame image using the compensation voltage value.
19. A computer device comprising a memory and a processor, the memory storing a computer program executable on the processor, characterized in that, When the processor executes the program, it implements the steps of the method according to any one of claims 1 to 9.
20. A computer-readable storage medium having a computer program stored thereon, characterized in that, When executed by a processor, the computer program implements the steps of the method according to any one of claims 1 to 9.
Citation Information
Patent Citations
Integrated backlight dimming method and device for enhancing liquid crystal display contrast ratio
CN102243855A
Global dimming method of liquid crystal display backlight based on image classification
CN103106876A