Method and device for adjusting brightness of backlight module and storage medium

文档序号:1923510 发布日期:2021-12-03 浏览:25次 中文

阅读说明:本技术 背光模组亮度的调节方法、装置及存储介质 (Method and device for adjusting brightness of backlight module and storage medium ) 是由 赵小欢 秦建设 葛东霖 于 2021-08-17 设计创作,主要内容包括:本申请公开了一种背光模组亮度的调节方法、装置及存储介质,所述调节方法包括:获取当前帧图像的分区图像的图像亮度值,其中所述分区图像为当前帧图像的部分图像;获取当前帧图像的后继至少一帧图像;根据所述图像亮度值调节所述背光模组对应分区的背光亮度值;以及更新当前帧图像为所述后继至少一帧图像中的第一帧图像,并基于更新后的当前帧图像,重新执行获取当前帧图像的分区图像的图像亮度值的步骤。本申请提供的背光模组亮度的调节方法、装置及存储介质可有效避免由于背光模组数据量庞大所导致的当前帧图像与背光模组亮度不匹配的问题,进而有效提升了画面对比度,以防止屏幕残影现象的产生。(The application discloses a method and a device for adjusting the brightness of a backlight module and a storage medium, wherein the adjusting method comprises the following steps: acquiring an image brightness value of a partition image of a current frame image, wherein the partition image is a partial image of the current frame image; acquiring at least one frame of image succeeding the current frame of image; adjusting the backlight brightness value of the corresponding partition of the backlight module according to the image brightness value; and updating the current frame image to be the first frame image in the at least one subsequent frame image, and re-executing the step of acquiring the image brightness value of the partition image of the current frame image based on the updated current frame image. The method, the device and the storage medium for adjusting the brightness of the backlight module can effectively avoid the problem that the brightness of the current frame image is not matched with that of the backlight module due to the huge data volume of the backlight module, and further effectively improve the image contrast to prevent the generation of the phenomenon of screen ghost.)

1. A method for adjusting the brightness of a backlight module is characterized by comprising the following steps:

acquiring an image brightness value of a partition image of a current frame image, wherein the partition image is a partial image of the current frame image;

acquiring at least one frame of image succeeding the current frame of image;

adjusting the backlight brightness value of the corresponding partition of the backlight module according to the image brightness value; and

and updating the current frame image to be the first frame image in the at least one subsequent frame image, and re-executing the step of acquiring the image brightness value of the partition image of the current frame image based on the updated current frame image.

2. The adjusting method according to claim 1, wherein the step of obtaining the image brightness value of the partitioned image of the current frame image is preceded by:

acquiring a current frame image; and

and dividing the current frame image into a plurality of subarea images according to the preset backlight subareas of the backlight module.

3. The adjusting method as claimed in claim 2, wherein in the step of dividing the current frame image into a plurality of divided images according to a backlight partition preset by the backlight module, the backlight partition and the divided images have a proportional relationship.

4. The adjusting method according to claim 1, wherein the step of obtaining the image brightness value of the partitioned image of the current frame image comprises:

acquiring a pixel point brightness value corresponding to each pixel point in the partitioned image; and

and calculating the average value of the brightness values of the pixel points of the same subarea image to be used as the brightness value of the image.

5. The adjusting method according to claim 1, wherein the step of adjusting the backlight brightness value of the corresponding partition of the backlight module according to the image brightness value comprises:

acquiring an image brightness value of a subarea image of a previous frame image; and

and adjusting the backlight brightness value of the backlight partition corresponding to the backlight module according to the difference between the image brightness value of the partition image of the previous frame image and the image brightness value of the partition image of the corresponding current frame image.

6. The method according to claim 5, wherein the step of adjusting the backlight brightness value of the backlight partition corresponding to the backlight module according to the difference between the image brightness value of the partition image of the previous frame image and the image brightness value of the partition image of the corresponding current frame image comprises:

obtaining a compensation brightness value corresponding to the difference value according to a preset brightness compensation rule;

performing an addition operation on the compensation brightness value and a backlight brightness value of a backlight partition corresponding to the difference value to obtain an addition result; and

and adjusting the backlight brightness value of the backlight partition corresponding to the difference value according to the addition result.

7. The utility model provides a backlight unit luminance's adjusting device which characterized in that includes:

the image brightness adjusting unit is used for acquiring the image brightness value of a partition image of the current frame image, wherein the partition image is a partial image of the current frame image;

the subsequent image acquisition unit is used for acquiring at least one subsequent frame image of the current frame image; and

and the backlight brightness adjusting unit is used for adjusting the backlight brightness value of the corresponding partition of the backlight module according to the image brightness value.

8. The adjustment device of claim 7, comprising:

the current image acquisition unit is used for acquiring a current frame image; and

and the partition image dividing unit is used for dividing the current frame image into a plurality of partition images according to the backlight partition preset by the backlight module.

9. The adjustment device according to claim 7, wherein the image brightness adjustment unit includes:

the pixel brightness obtaining unit is used for obtaining the pixel brightness value corresponding to each pixel point in the subarea image; and

and the image brightness calculation unit is used for calculating the average value of the pixel point brightness values of the same subarea image to be used as the image brightness value.

10. A storage medium, characterized in that the storage medium stores a computer program, which is read and executed by a processor, and executes the steps of the method for adjusting the brightness of a backlight module according to any one of claims 1 to 6.

Technical Field

The present disclosure relates to the field of display panel technologies, and in particular, to a method and an apparatus for adjusting brightness of a backlight module, and a storage medium.

Background

With the continuous development of screen display technology, the Local Dimming display technology (Local Dimming display technology) has received attention from more manufacturers. In the regional backlight technology, the backlight module is divided into a plurality of backlight partitions, so that the brightness of the backlight partitions can be adjusted according to the real-time display state of a screen. However, when the number of backlight partitions is large, a large amount of operation data easily causes a certain time difference between the brightness adjustment operation of the backlight module and the actually displayed image. For example: however, when the next frame of image is a full white image, the backlight module is likely to have adjustment lag due to huge calculation data amount, so that when the screen displays the next frame of full white image, the backlight module cannot adjust the brightness of the screen in time, and the screen does not actually display the next frame of full white image.

Therefore, a method for adjusting the brightness of a backlight module is needed to solve the above-mentioned problems.

Disclosure of Invention

The present invention provides a method, an apparatus and a storage medium for adjusting the brightness of a backlight module, so as to solve the problem of delay in data transmission of the backlight module.

In order to achieve the above object, an embodiment of the present invention provides a method for adjusting luminance of a backlight module, including: acquiring an image brightness value of a partition image of a current frame image, wherein the partition image is a partial image of the current frame image; acquiring at least one frame of image succeeding the current frame of image; adjusting the backlight brightness value of the corresponding partition of the backlight module according to the image brightness value; and updating the current frame image to be the first frame image in the at least one subsequent frame image, and re-executing the step of acquiring the image brightness value of the partition image of the current frame image based on the updated current frame image.

Further, the step of obtaining the image brightness value of the partition image of the current frame image is preceded by: acquiring a current frame image; and dividing the current frame image into a plurality of subarea images according to a backlight subarea preset by the backlight module.

Further, in the step of dividing the current frame image into a plurality of divided images according to a backlight division preset by the backlight module, a proportional relationship exists between the backlight division and the divided images.

Further, the step of obtaining the image brightness value of the partition image of the current frame image includes: acquiring a pixel point brightness value corresponding to each pixel point in the partitioned image; and calculating the average value of the pixel point brightness values of the same subarea image to be used as the image brightness value.

Further, the step of adjusting the backlight brightness value of the corresponding partition of the backlight module according to the image brightness value includes: acquiring an image brightness value of a subarea image of a previous frame image; and adjusting the backlight brightness value of the backlight partition corresponding to the backlight module according to the difference value between the image brightness value of the partition image of the previous frame image and the image brightness value of the partition image of the corresponding current frame image.

Further, the step of adjusting the backlight brightness value of the backlight partition corresponding to the backlight module according to the difference between the image brightness value of the partition image of the previous frame image and the image brightness value of the partition image of the corresponding current frame image includes: obtaining a compensation brightness value corresponding to the difference value according to a preset brightness compensation rule; performing an addition operation on the compensation brightness value and a backlight brightness value of a backlight partition corresponding to the difference value to obtain an addition result; and adjusting the backlight brightness value of the backlight partition corresponding to the difference value according to the addition result.

The embodiment of the present invention further provides a device for adjusting the brightness of a backlight module, including: the image brightness adjusting unit is used for acquiring the image brightness value of a partition image of the current frame image, wherein the partition image is a partial image of the current frame image; the subsequent image acquisition unit is used for acquiring at least one subsequent frame image of the current frame image; and the backlight brightness adjusting unit is used for adjusting the backlight brightness value of the corresponding partition of the backlight module according to the image brightness value.

Further, the adjusting device includes: the current image acquisition unit is used for acquiring a current frame image; and the partition image dividing unit is used for dividing the current frame image into a plurality of partition images according to the backlight partition preset by the backlight module.

Further, the image brightness adjusting unit includes: the pixel brightness obtaining unit is used for obtaining the pixel brightness value corresponding to each pixel point in the subarea image; and the image brightness calculation unit is used for calculating the average value of the pixel point brightness values of the same subarea image to be used as the image brightness value.

The embodiment of the invention also provides a storage medium, wherein the storage medium stores a computer program, and when the computer program is read and operated by a processor, any step of the method for adjusting the brightness of the backlight module is executed.

The method for adjusting the brightness of the backlight module can effectively avoid the problem that the brightness of the current frame image is not matched with that of the backlight module due to the huge data volume of the backlight module, thereby effectively improving the image contrast and preventing the generation of the phenomenon of screen ghost.

Drawings

The technical solution and other advantages of the present application will become apparent from the detailed description of the embodiments of the present application with reference to the accompanying drawings.

Fig. 1 is a flowchart of a method for adjusting luminance of a backlight module according to an embodiment of the present disclosure.

Fig. 2 is a sub-flowchart of the step S100 shown in fig. 1 for acquiring the image brightness value of the partition image of the current frame image.

Fig. 3 is a sub-flowchart of the step S300 shown in fig. 1 for adjusting the backlight brightness value of the corresponding partition of the backlight module according to the image brightness value.

Fig. 4 is a schematic structural diagram of a device for adjusting luminance of a backlight module according to an embodiment of the present disclosure.

Fig. 5 is a schematic structural diagram of the image brightness adjusting unit 110 shown in fig. 4.

Fig. 6 is a schematic structural diagram of the backlight brightness adjusting unit 130 shown in fig. 4.

Detailed Description

The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. It is to be understood that the embodiments described are only a few embodiments of the present application and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.

Referring to fig. 1, the present embodiment provides a method for adjusting the brightness of a backlight module, which includes the following steps.

And step S100, acquiring the image brightness value of the partition image of the current frame image. The partitioned image is a partial image of the current frame image. The image brightness value can represent the brightness degree of the partitioned image, the higher the image brightness value is, the brighter the partitioned image is, and the lower the image brightness value is, the darker the partitioned image is. Further, referring to fig. 2, step S100 includes sub-steps S110 to S120.

Step S110, obtaining the brightness value of a pixel point corresponding to each pixel point in the subarea image. Because the partitioned image includes a plurality of pixel points, the brightness of each pixel point needs to be counted to obtain the brightness of the partitioned image. Specifically, the luminance value of the pixel point can be calculated by calculating RGB (red, green, blue) values of the pixel point, the data format of the RGB values can be set to (R value, G value, B value), and the larger the sum of the R value, the G value, and the B value is, the higher the luminance value of the pixel point is. Illustratively, the luminance value of the pixel point is the sum of the R value, the G value and the B value. For example: the RGB value of the pixel 1 is (100,100,100), the RGB value of the pixel 2 is (200,200,200), that is, the pixel brightness value of the pixel 1 is 300, and the pixel brightness value of the pixel 2 is 600, then the pixel 2 is considered brighter than the pixel 1.

And step S120, calculating the average value of the pixel point brightness values of the same subarea image to be used as the image brightness value. The image brightness value obtained by the step has certain representativeness, and the real brightness degree of the partition graph can be fully restored.

Continuing to refer to fig. 1, at step S200, at least one frame image subsequent to the current frame image is obtained.

In this embodiment, since the information of the next frame of image is obtained in advance in the process of adjusting the brightness of the backlight module, the brightness calculation can be performed according to the subsequent image immediately after step S300 is performed, so that the problem that the brightness of the current frame of image is not matched with that of the backlight module is solved. For example, in the case that the manufacturer does not consider the processor operation load, the calculation may be performed for each frame of image, i.e., step S200 may be selected to acquire a frame of image subsequent to the current frame of image. For example, in a case where the manufacturer considers the operation load of the processor, the step S200 may be selected to acquire a plurality of frame images subsequent to the current frame image, and if the operation load of the processor is set as above, the manufacturer does not need to select a processor with stronger computing capability, thereby greatly reducing the manufacturing cost of the manufacturer. In particular, the subsequent image may be transmitted to the processor by the following data stream. The data stream comprises a subsequent image index, an image brightness value and a backlight brightness value which are transmitted in sequence. The image brightness value and the backlight brightness value are described in detail below. The subsequent image index may include: field frequency (i.e., refresh frequency) of the subsequent image, pixel parameters of the subsequent image, etc. Because the subsequent image index is transmitted to the processor before the backlight brightness value, the subsequent image can be immediately processed according to the subsequent image index after the backlight module adjusts the backlight brightness value, and the delay phenomenon of data transmission is avoided.

Step S300, adjusting the backlight brightness value of the corresponding partition of the backlight module according to the image brightness value, updating the current frame image to be the first frame image in at least one subsequent frame image, and re-executing the step S100 based on the updated current frame image.

Since the image brightness value is the brightness of the image, and the backlight brightness of the backlight module is required to be adjusted in this embodiment, and the measurement units of the image brightness value and the backlight brightness value are not uniform, the manufacturer can pre-establish the corresponding relationship between the image brightness value and the backlight brightness value of the backlight module, so that the image brightness value can be associated with the backlight brightness value. The embodiment does not limit the correspondence relationship between the two. Illustratively, the higher the image brightness value, the higher the backlight brightness value, and the lower the image brightness value, the lower the backlight brightness value.

Preferably, the manufacturer can simultaneously execute step S200 and step S300 (i.e., adjust the backlight brightness value of the backlight module while receiving the subsequent image) through the multithreaded processor to improve the efficiency of processing data, thereby further improving the problem of mismatch between the image brightness value and the backlight brightness value. Further, referring to fig. 3, step S300 may include sub-steps S310 to S320.

And step S310, acquiring the image brightness value of the partition image of the previous frame image.

Step S320, adjusting the backlight brightness value of the backlight partition corresponding to the backlight module according to the difference between the image brightness value of the partition image of the previous frame image and the image brightness value of the partition image of the current frame image. The backlight brightness value of the backlight module can be adjusted through the difference. For example: if the difference is greater than 0, the backlight brightness value is increased, if the difference is less than 0, the backlight brightness value is decreased, and if the difference is equal to zero, the backlight brightness value is not changed. Specifically, step S320 may include the steps of: and obtaining a compensation brightness value corresponding to the difference value according to a preset brightness compensation rule. And performing an addition operation on the compensation brightness value and the backlight brightness value of the backlight partition corresponding to the difference value to obtain an addition result. And adjusting the backlight brightness value of the backlight partition corresponding to the difference value according to the addition result. Specifically, the brightness compensation rule may be stored in a brightness compensation table, and the adjusting method provided in this embodiment may adjust the backlight brightness according to the brightness compensation rule in the brightness compensation table. In the brightness compensation table, the difference of the brightness values of the image corresponds to a compensation brightness value. The brightness difference between the two frames of images is within a proper range by setting the compensation brightness value, so that the discomfort of eyes of a user caused by the overlarge brightness difference is avoided.

Further, before step S100, the control method of the present embodiment may further include the steps of: and acquiring a current frame image. And dividing the current frame image into a plurality of subarea images according to the preset backlight subareas of the backlight module. The present embodiment is applied to a display panel supporting Local Dimming (Local Dimming), and a backlight module of the display panel includes a plurality of backlight partitions. The present embodiment does not limit the way of dividing the backlight module into the backlight partitions. Manufacturers can select the division rule of the backlight module according to actual requirements. For example, manufacturers may equally divide the backlight module into a plurality of backlight partitions, and the number of the backlight partitions may be increased as much as possible without considering the operation speed of the processor. For example, a manufacturer can divide the backlight module into two main areas, and then equally divide the two main areas into a plurality of backlight partitions, and the areas of the backlight partitions of the two main areas can be different, so as to meet the requirements of different contrasts of the same display screen. For example: the two areas are an image display area and an operation panel display area respectively, and the operation panel only needs to provide a touch function for a user, so that the picture contrast of the operation panel can be reduced properly (namely, a manufacturer can increase the backlight partition area of the operation panel display area) to reduce the operation load of the processor.

Illustratively, the backlight partitions and the partition images have a proportional relationship, and preferably, one backlight partition corresponds to one partition image. Illustratively, if the number of backlight partitions is 16, the number of partitioned images is also 16.

The method for adjusting the brightness of the backlight module provided by the embodiment can effectively avoid the problem that the brightness of the current frame image is not matched with that of the backlight module due to the huge data volume of the backlight module, thereby effectively improving the image contrast and preventing the generation of the phenomenon of screen ghost.

Referring to fig. 4, based on the same inventive concept, the present embodiment further provides a device 100 for adjusting the brightness of a backlight module, which includes an image brightness adjusting unit 110, a subsequent image obtaining unit 120, and a backlight brightness adjusting unit 130.

The image brightness adjusting unit 110 is configured to obtain an image brightness value of a partition image of the current frame image, where the partition image is a partial image of the current frame image. Further, referring to fig. 5, the image brightness adjusting unit 110 further includes a pixel brightness acquiring unit 111 and an image brightness calculating unit 112.

The pixel brightness obtaining unit 111 is used for obtaining a pixel brightness value corresponding to each pixel point in the partitioned image. Because the partitioned image includes a plurality of pixel points, the brightness of each pixel point needs to be counted to obtain the brightness of the partitioned image. Specifically, the luminance value of the pixel point can be calculated by calculating RGB (red, green, blue) values of the pixel point, the data format of the RGB values can be set to (R value, G value, B value), and the larger the sum of the R value, the G value, and the B value is, the higher the luminance value of the pixel point is. Illustratively, the luminance value of the pixel point is the sum of the R value, the G value and the B value. For example: the RGB value of the pixel 1 is (100,100,100), the RGB value of the pixel 2 is (200,200,200), that is, the pixel brightness value of the pixel 1 is 300, and the pixel brightness value of the pixel 2 is 600, then the pixel 2 is considered brighter than the pixel 1. The image brightness calculating unit 112 is used for calculating an average value of pixel brightness values of the same partition image as the image brightness value.

The subsequent image obtaining unit 120 is used for obtaining at least one frame image subsequent to the current frame image. The backlight brightness adjusting unit 130 is used for adjusting the backlight brightness value of the corresponding partition of the backlight module according to the image brightness value. The image brightness value can represent the brightness degree of the partitioned image, the higher the image brightness value is, the brighter the partitioned image is, and the lower the image brightness value is, the darker the partitioned image is.

Referring to fig. 6, the backlight brightness adjusting unit 130 further includes an image brightness acquiring unit 131 and a difference acquiring unit 132.

The image brightness acquiring unit 131 is used for acquiring the image brightness value of the partition image of the previous frame image.

The difference obtaining unit 132 is configured to adjust the backlight brightness value of the backlight partition corresponding to the backlight module according to a difference between the image brightness value of the partition image of the previous frame image and the image brightness value of the partition image of the current frame image. The backlight brightness value of the backlight module can be adjusted through the difference. For example: if the difference is greater than 0, the backlight brightness value is increased, if the difference is less than 0, the backlight brightness value is decreased, and if the difference is equal to zero, the backlight brightness value is not changed.

Further, the difference value acquisition unit 132 includes: and the compensation brightness obtaining unit is used for obtaining a compensation brightness value corresponding to the difference value according to a preset brightness compensation rule and further used for performing addition operation on the compensation brightness value and the backlight brightness value of the backlight partition corresponding to the difference value to obtain an addition result. The backlight luminance adjusting unit 130 adjusts the backlight luminance value of the backlight partition corresponding to the difference value according to the addition result. Specifically, the brightness compensation rule may be stored in a brightness compensation table, and the adjusting method provided in this embodiment may adjust the backlight brightness according to the brightness compensation rule in the brightness compensation table. In the brightness compensation table, the difference of the brightness values of the image corresponds to a compensation brightness value. The brightness difference between the two frames of images is within a proper range by setting the compensation brightness value, so that the discomfort of eyes of a user caused by the overlarge brightness difference is avoided.

Further, as shown in fig. 4, the adjusting apparatus 100 further includes a current image obtaining unit 140 and a divisional image dividing unit 150.

The current image obtaining unit 140 is used for obtaining a current frame image. The partition image dividing unit 150 is configured to divide the current frame image into a plurality of partition images according to a backlight partition preset by the backlight module. Manufacturers can select the division rule of the backlight module according to actual requirements. For example, manufacturers may equally divide the backlight module into a plurality of backlight partitions, and the number of the backlight partitions may be increased as much as possible without considering the operation speed of the processor. For example, a manufacturer can divide the backlight module into two main areas, and then equally divide the two main areas into a plurality of backlight partitions, and the areas of the backlight partitions of the two main areas can be different, so as to meet the requirements of different contrasts of the same display screen. For example: the two areas are an image display area and an operation panel display area respectively, and the operation panel only needs to provide a touch function for a user, so that the picture contrast of the operation panel can be reduced properly (namely, a manufacturer can increase the backlight partition area of the operation panel display area) to reduce the operation load of the processor. Illustratively, the backlight partitions and the partition images have a proportional relationship, and preferably, one backlight partition corresponds to one partition image. Illustratively, if the number of backlight partitions is 16, the number of partitioned images is also 16.

The device for adjusting the brightness of the backlight module can effectively avoid the problem that the brightness of the current frame image is not matched with that of the backlight module due to the huge data volume of the backlight module, and further effectively improves the image contrast to prevent the generation of the phenomenon of screen ghost.

Based on the same inventive concept, this embodiment further provides a storage medium, where a computer program is stored, and when the computer program is read and executed by a processor, any step in the method for adjusting the brightness of the backlight module is executed.

The method, the device and the storage medium for adjusting the brightness of the backlight module provided by the embodiment of the present application are introduced in detail, a specific example is applied in the description to explain the principle and the implementation of the present application, and the description of the embodiment is only used to help understanding the technical scheme and the core idea of the present application; those of ordinary skill in the art will understand that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications or substitutions do not depart from the spirit and scope of the present disclosure as defined by the appended claims.

11页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种专用色墨水屏及显色方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类