CN114038402B - Video image brightness adjusting method and device, display device and storage medium - Google Patents
Video image brightness adjusting method and device, display device and storage medium Download PDFInfo
- Publication number
- CN114038402B CN114038402B CN202111284160.XA CN202111284160A CN114038402B CN 114038402 B CN114038402 B CN 114038402B CN 202111284160 A CN202111284160 A CN 202111284160A CN 114038402 B CN114038402 B CN 114038402B
- Authority
- CN
- China
- Prior art keywords
- partition
- detection
- gray
- brightness
- white frame
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G3/00—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
- G09G3/20—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
- G09G3/22—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources
- G09G3/30—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels
- G09G3/32—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels semiconductive, e.g. using light-emitting diodes [LED]
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2320/00—Control of display operating conditions
- G09G2320/02—Improving the quality of display appearance
- G09G2320/0271—Adjustment of the gradation levels within the range of the gradation scale, e.g. by redistribution or clipping
- G09G2320/0276—Adjustment of the gradation levels within the range of the gradation scale, e.g. by redistribution or clipping for the purpose of adaptation to the characteristics of a display device, i.e. gamma correction
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2320/00—Control of display operating conditions
- G09G2320/06—Adjustment of display parameters
- G09G2320/0626—Adjustment of display parameters for control of overall brightness
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Liquid Crystal Display Device Control (AREA)
- Control Of Indicators Other Than Cathode Ray Tubes (AREA)
Abstract
The application discloses a video image brightness adjusting method and device, a display device and a storage medium. The method comprises the following steps: acquiring an input image to be detected of a display screen; dividing the input image into a preset number of partition units; obtaining a plurality of all-in-one detecting subareas according to the number of the subarea units contained in the subarea units and the preset detecting subareas; acquiring a partition gray scale value of each detection partition; and adjusting the brightness of the display screen according to the partition gray-scale value. According to the embodiment of the application, the brightness of the white frame in the real-time dynamic Rtins scene on the 8K Mini-LED bare machine can reach the target value, the power limiting condition is met, and the image quality and taste are guaranteed.
Description
Technical Field
The application relates to the technical field of display, in particular to a method and a device for adjusting brightness of a video picture, a display device and a storage medium.
Background
The Local Dimming algorithm is realized by controlling the brightness of LED lamps in different areas of backlight to control the backlight, so that the bright area and the dark area of a display picture are brighter and darker, the contrast of the display picture is enhanced, and the picture quality is improved.
However, the brightness of the white frame in the current Rtings real-time dynamic scene on the 8K MiniLED bare engine cannot reach the target value, the brightness of the high gray segment can be increased by directly adjusting the existing backlight Gamma, and because the brightness of the high gray segment is greatly increased due to the power limitation, the brightness of the low gray segment must be greatly reduced so that the power does not exceed the standard, so that the overall darker scene exists, and the risk of affecting the image quality exists at this time.
Disclosure of Invention
The embodiment of the application provides a video image brightness adjusting method, a video image brightness adjusting device, a display device and a storage medium, which can enable the brightness of a white frame in an Rttigs real-time dynamic scene on an 8K Mini-LED bare machine to reach a target value, meet a power limiting condition and ensure the image quality and taste.
The embodiment of the application provides a video image brightness adjusting method, which comprises the following steps:
acquiring an input image to be detected of a display screen;
dividing the input image into a preset number of partition units;
obtaining a plurality of all-in-one detection partitions according to the partition units and the number of the partition units contained in the preset detection partitions;
acquiring a partition gray scale value of each detection partition;
and adjusting the brightness of the display screen according to the partition gray-scale value.
In some embodiments, the dividing the input image into a preset number of partition units includes:
acquiring the number of pixels contained in a preset target partition unit;
and dividing the input image into a preset number of partition units according to the number of pixels and the size of the input image.
In some embodiments, the obtaining a plurality of multi-in-one detection partitions according to the partition units and the number of partition units included in a preset detection partition includes:
obtaining an all-in-one first detection partition according to the number of the first partition units and a preset length-width ratio of a first white frame;
and obtaining an all-in-one second detection partition according to the number of the second partition units and a preset length-width ratio of a second white frame.
In some embodiments, the adjusting the brightness of the display screen according to the partition gray-scale value includes:
judging whether the input image contains a white frame area or not according to the partition gray-scale value;
if the input image comprises a white frame area, switching a backlight gamma curve into a preset gamma curve to adjust the brightness of the display screen;
and if the input image does not contain a white frame area, maintaining the current backlight gamma curve to adjust the brightness of the display screen.
In some embodiments, the adjusting the brightness of the display screen according to the partition gray-scale value includes:
when the partition gray-scale value of a target first detection partition in the first detection partitions is greater than or equal to a first gray-scale threshold value, and the partition gray-scale value of the target first detection partition is greater than or equal to the partition gray-scale value of a first detection partition adjacent to the target first detection partition, determining that the input image comprises a first type white frame area;
when the partition gray-scale value of a target second detection partition in the second detection partitions is greater than or equal to a second gray-scale threshold value, and the partition gray-scale value of the target second detection partition is greater than or equal to the partition gray-scale value of a second detection partition adjacent to the target second detection partition, determining that the input image contains a second type white frame area;
and if the input image simultaneously contains the first type white frame area and the second type white frame area, adjusting the brightness of the display screen.
In some embodiments, before the adjusting the brightness of the display screen according to the partition gray-scale value, the method includes:
acquiring a first pixel total number contained in the first detection partition and a second pixel total number contained in the second detection partition;
determining the first gray scale threshold value according to the total number of the first pixels and a preset white frame gray scale value;
and determining the second gray level threshold according to the second pixel total number and a preset white frame gray level value.
In some embodiments, if the input image includes both the first type white frame area and the second type white frame area, adjusting the brightness of the display screen includes:
if the input image simultaneously comprises the first type white frame area and the second type white frame area, switching a backlight gamma curve into a preset gamma curve;
and according to the preset gamma curve, improving the brightness of the first type white frame area and the second type white frame area in the display screen, and reducing the brightness of other areas in the display screen.
The embodiment of the application provides a video image brightness adjusting device, including:
the image acquisition module is used for acquiring an input image to be detected of the display screen;
the unit dividing module is in communication connection with the image acquisition module and is used for dividing the input image into a preset number of partition units;
the partition dividing module is in communication connection with the unit dividing module and is used for obtaining an all-in-one detection partition according to the partition units and the number of partition units contained in a preset detection partition;
the data acquisition module is in communication connection with the partition dividing module and is used for acquiring the partition gray-scale value of each detection partition;
and the brightness adjusting module is in communication connection with the data acquisition module and is used for adjusting the brightness of the display screen according to the partition gray-scale value.
In some embodiments, the unit partitioning module is further configured to obtain the number of pixels included in a preset target partition unit; and dividing the input image into a preset number of partition units according to the number of pixels and the size of the input image.
In some embodiments, the partition dividing module is further configured to obtain an all-in-one first detection partition according to the number of the first partition units and a preset ratio of the length to the width of the first white frame, where the number of the partition units includes the number of the first partition units and the number of the second partition units; and obtaining an all-in-one second detection partition according to the number of the second partition units and a preset length-width ratio of a second white frame.
In some embodiments, the brightness adjustment module is further configured to determine whether the input image includes a white frame region according to the partition gray-scale value; if the input image comprises a white frame area, switching a backlight gamma curve into a preset gamma curve to adjust the brightness of the display screen; and if the input image does not contain a white frame area, maintaining the current backlight gamma curve to adjust the brightness of the display screen.
In some embodiments, the brightness adjustment module is further configured to determine that the input image includes a first type of white frame region when a partition gray scale value of a target first detection partition in the first detection partitions is greater than or equal to a first gray scale threshold value, and the partition gray scale value of the target first detection partition is greater than or equal to a partition gray scale value of a first detection partition adjacent to the target first detection partition; when the partition gray-scale value of a target second detection partition in the second detection partitions is greater than or equal to a second gray-scale threshold value, and the partition gray-scale value of the target second detection partition is greater than or equal to the partition gray-scale value of a second detection partition adjacent to the target second detection partition, determining that the input image contains a second type white frame area; and if the input image simultaneously contains the first type white frame area and the second type white frame area, adjusting the brightness of the display screen.
In some embodiments, the brightness adjustment module is further configured to obtain a first total number of pixels included in the first detection partition and a second total number of pixels included in the second detection partition; determining the first gray scale threshold value according to the total number of the first pixels and a preset white frame gray scale value; and determining the second gray level threshold according to the second pixel total number and a preset white frame gray level value.
In some embodiments, the brightness adjustment module is further configured to switch the backlight gamma curve to a preset gamma curve if the input image includes both the first type white frame area and the second type white frame area; and according to the preset gamma curve, improving the brightness of the first type white frame area and the second type white frame area in the display screen, and reducing the brightness of other areas in the display screen.
The embodiment of the application provides a display device, which comprises a controller and a memory, wherein the controller is used for executing a plurality of instructions stored in the memory so as to realize any one of the methods.
The embodiment of the application provides a storage medium, wherein a plurality of instructions are stored in the storage medium, and the instructions are used for being executed by a controller to realize the method.
According to the video image brightness adjusting method, the video image brightness adjusting device, the video image brightness adjusting display device and the storage medium, the input image is partitioned to obtain the partition units, then the multiple-in-one detection partitions are obtained, the white frame area is determined according to the partition gray scale value of each detection partition, and brightness adjustment is carried out on the basis of the white frame area, so that the brightness of a white frame in an Rtins real-time dynamic scene on an 8K Mini-LED bare machine reaches a target value.
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 illustrating a method for adjusting brightness of a video frame according to an embodiment of the present disclosure.
Fig. 2 is a flowchart illustrating a video frame brightness adjusting method according to another embodiment of the present disclosure.
Fig. 3 is a flowchart illustrating a video frame brightness adjusting method according to another embodiment of the present disclosure.
Fig. 4 is a flowchart illustrating a video frame brightness adjusting method according to another embodiment of the present disclosure.
Fig. 5 is a flowchart illustrating a video frame brightness adjusting method according to another embodiment of the present disclosure.
Fig. 6 is a flowchart illustrating a video frame brightness adjusting method according to another embodiment of the present disclosure.
Fig. 7 is a flowchart illustrating a video frame brightness adjusting method according to another embodiment of the present disclosure.
Fig. 8 is a schematic structural diagram of a video frame brightness adjusting apparatus according to an embodiment of the present application.
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.
In the description of the present application, it is to be understood that the terms "center," "longitudinal," "lateral," "length," "width," "thickness," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," "clockwise," "counterclockwise," and the like are used in an orientation or positional relationship indicated in the drawings for convenience in describing the present application and to simplify the description, and are not intended to indicate or imply that the device or element so referred to must have a particular orientation, be constructed in a particular orientation, and be operated in a particular orientation, and thus are not to be construed as limiting the present application. Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, features defined as "first", "second", may explicitly or implicitly include one or more of the described features. In the description of the present application, "a plurality" means two or more unless specifically limited otherwise.
In the description of the present application, it is to be noted that, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; may be mechanically connected, may be electrically connected or may be in communication with each other; either directly or indirectly through intervening media, either internally or in any other relationship. The specific meaning of the above terms in the present application can be understood by those of ordinary skill in the art as appropriate.
In this application, unless expressly stated or limited otherwise, the first feature "on" or "under" the second feature may comprise direct contact of the first and second features, or may comprise contact of the first and second features not directly but through another feature in between. Also, the first feature being "on," "above" and "over" the second feature includes the first feature being directly on and obliquely above the second feature, or merely indicating that the first feature is at a higher level than the second feature. A first feature being "under," "below," and "beneath" a second feature includes the first feature being directly under and obliquely below the second feature, or simply meaning that the first feature is at a lesser elevation than the second feature.
The following disclosure provides many different embodiments or examples for implementing different features of the application. In order to simplify the disclosure of the present application, specific example components and arrangements are described below. Of course, they are merely examples and are not intended to limit the present application. Moreover, the present application may repeat reference numerals and/or letters in the various examples, such repetition is for the purpose of simplicity and clarity and does not in itself dictate a relationship between the various embodiments and/or configurations discussed. In addition, examples of various specific processes and materials are provided herein, but one of ordinary skill in the art may recognize applications of other processes and/or use of other materials.
Referring to fig. 1, an embodiment of the present application provides a method for adjusting brightness of a display, including steps S101 to S105 as follows:
s101, obtaining an input image to be detected of a display screen.
Specifically, the input image is used for detecting the display effect of the display screen, then the display mode of the display screen is adjusted based on the detection result, and relevant parameters of the input image, such as size, need to be selected based on the relevant parameters of the display screen. The display is detected through the video in the real-time dynamic scene, so that each frame of image of the video can be detected selectively.
S102, dividing the input image into a preset number of partition units.
Specifically, the partition unit refers to a minimum unit for dividing the input image, and the size of the partition unit can be set as required, so that the corresponding preset number can also be adjusted, and it should be noted that the input image needs to be divided into m × n partition units by the partition unit, where m and n are positive integers, for example, a 4k frame is divided into 54 × 96 partition units.
In one embodiment, as shown in FIG. 2, this step includes: s201, acquiring the number of pixels contained in a preset target partition unit; s202, dividing the input image into a preset number of partition units according to the number of pixels and the size of the input image.
Specifically, the number of the partitioned partition units depends on the size of the partition unit, so that the number of pixels included in a preset target partition unit is obtained, the target partition unit is a partition unit to be partitioned when detection is currently performed, and different target partition units include different numbers of pixels, which can be set and selected according to the detected refinement requirement.
The size of the input image is acquired synchronously when the input image is acquired, and the size of the input image can be determined according to the size of the display screen because the size of the input image is matched with the size of the display screen. The input image is divided into a preset number of partition units according to the number of pixels and the size of the input image, for example, the size of the input image is 4320 × 7680, and the number of pixels included in the target partition unit is 80 × 80, so that the input image is divided into 54 × 96 partition units.
S103, obtaining a plurality of all-in-one detecting subareas according to the number of the subarea units contained in the subarea units and the preset detecting subareas.
The multiple-in-one method is to merge multiple partition units into one detection partition, and then analyze the detection partition to determine whether the detection partition is a white frame area. In addition, the sizes of the different detection partitions are different, so that a plurality of detection partitions which are combined into one according to the number of the partition units contained in the partition units and the number of the partition units contained in the preset detection partition are obtained.
In one embodiment, as shown in FIG. 3, this step includes: s301, obtaining an all-in-one first detection partition according to the number of the first partition units and a preset ratio of the length to the width of a first white frame, wherein the number of the partition units comprises the number of the first partition units and the number of the second partition units; s302, obtaining an all-in-one second detection partition according to the number of the second partition units and a preset length-width ratio of a second white frame.
The detecting partitions are different in size, the number of partition units includes a first partition unit number and a second partition unit number, the first partition unit number is the number of partition units included in the first detecting partition, and the second partition unit number is the number of partition units included in the second detecting partition. In addition, for the same number of partition units, the aspect ratios of the detection partitions are different, and the corresponding areas are different in shape, for example, if a detection partition includes 88 partition units, the corresponding size of the detection partition is 11 × 8 or 22-4, which needs to be further determined. Therefore, different detection partitions need to be determined based on the number of partition units included therein and the corresponding ratio of the length to the width of the white frame, and only any detection partition needs to be determined not to exceed the boundary of the input image, where the ratio of the length to the width of the white frame includes the first ratio of the length to the width of the white frame and the second ratio of the length to the width of the white frame.
For example, for the Local Dimming-based Rtings detection scheme, which includes small white frame detection and large white frame detection, the detection partition in the small white frame detection process corresponds to the first detection partition, and the detection partition in the large white frame detection process corresponds to the second detection partition. The size of the input image is 4320 × 7680, and the number of pixels included in the target partition unit is 80 × 80, the input image is divided into 54 × 96 partition units. The size of a small white frame of an Rtins scene is 88 partition units, the length-width ratio of a first white frame is 11 × 8, the obtained 54 × 96 partition units are taken as the 1 st first detection partition from the upper left corner of the horizontal 11 partition units, the step length of each movement is 1 partition unit from left to right and from top to bottom, and accordingly 88in1 operation is performed, so that P _88in1 is 44 × 89 first detection partitions, that is, all the first detection partitions in the input image are obtained by arbitrary combination, and the first detection partitions cannot be split. And the second detection partition is obtained by the same analogy.
It should be noted that the number of the first partition units and the number of the second partition units may be freely set with different white frame sizes, that is, the size of the small white frame in the above example may be 88 partition units, or may be other quantities. For example, since the Rtings picture is a dynamic scene, the area of the large white frame is not a fixed value, some frames are 266 partition units, and some frames are 285 partition units, the obtained partition units are taken as the 1 st second detection partition from the top left 19 horizontal partition units, the vertical 14 and 15 partition units are moved by 1 partition unit step length from left to right and from top to bottom, and accordingly the operations of 266in1 and 285in1 are performed, so as to obtain P _266in1 which is 36 × 83 and P _285in1 which is 36 × 82 second detection partitions. In this embodiment, at least the first detection partition and the second detection partition are divided, and if the progress is further improved, the third detection partition may be divided in the above manner.
S104, obtaining the partition gray-scale value of each detection partition.
Specifically, the gray scale values of the detection partitions are respectively obtained through statistics, and the detection partitions comprise a first detection partition and a second detection partition. In order to reduce the statistics amount and avoid acquiring and counting the gray scale values of the pixels one by one in each detection partition, after the input image is divided into the preset number of partition units in step S102, the gray scale value sum of each partition unit may be counted, and then the gray scale value sum of each detection partition may be directly calculated based on the gray scale value sum of each partition unit when the partition gray scale value of each detection partition is acquired.
S105, adjusting the brightness of the display screen according to the partition gray-scale value.
Specifically, the brightness of the display screen is adjusted according to the partition gray scale value, so that the brightness of a white frame in the real-time dynamic Rtins scene on the 8K Mini-LED bare machine reaches a target value, the power limiting condition is met, and the image quality effect is ensured.
In one embodiment, as shown in FIG. 4, this step includes: s401, judging whether the input image contains a white frame area or not according to the partition gray-scale value; s402, if the input image contains a white frame area, switching a backlight gamma curve into a preset gamma curve to adjust the brightness of the display screen; and S403, if the input image does not contain a white frame region, maintaining the current backlight gamma curve to adjust the brightness of the display screen.
The white frame area is a detection subarea with a gray scale value being white light and a gray scale value being larger than that of the surrounding area, so that whether the input image comprises the white frame area or not is judged according to the subarea gray scale value, namely whether the detection subarea is the white frame area or not is judged. If the input image does not contain the white frame area, the current brightness display effect is better, and the brightness of the display screen is adjusted by maintaining the current backlight gamma curve. If the input image contains a white frame area, the brightness of a gray section can be improved by directly adjusting according to the existing backlight Gamma curve, but the overall dark scene is darker, so that the brightness of the display screen is adjusted by switching the backlight Gamma curve to the preset Gamma curve.
It should be noted that the preset gamma curve may be the only backlight gamma curve, that is, all the input images determined to have the white frame area are adjusted to the same backlight gamma curve for brightness adjustment. However, the preset gamma curve may also be determined according to the total gray scale value of the white frame region, so as to select a more appropriate backlight gamma curve for brightness adjustment.
In one embodiment, as shown in FIG. 5, this step includes: s501, when the partition gray-scale value of a target first detection partition in the first detection partitions is greater than or equal to a first gray-scale threshold value, and the partition gray-scale value of the target first detection partition is greater than or equal to the partition gray-scale value of a first detection partition adjacent to the target first detection partition, determining that the input image comprises a first type white frame area; s502, when the partition gray-scale value of a target second detection partition in the second detection partitions is greater than or equal to a second gray-scale threshold value, and the partition gray-scale value of the target second detection partition is greater than or equal to the partition gray-scale value of a second detection partition adjacent to the target second detection partition, determining that the input image contains a second white frame-like region; and S503, if the input image simultaneously contains the first type white frame area and the second type white frame area, adjusting the brightness of the display screen.
The method comprises the steps of judging whether a detection partition is a white frame area or not, wherein two conditions need to be met, namely the partition gray-scale value of the detection partition exceeds a threshold value, and the partition gray-scale value of the detection partition is larger than the partition gray-scale value adjacent to the detection partition. In addition, since the detection partitions include a first detection partition and a second detection partition, attention needs to be paid to determine whether the first detection partition has a target and the first detection partition is a first type of white frame region, and whether the second detection partition has a target and the second detection partition is a second type of white frame region. If the first type white frame area and the second type white frame area exist at the same time, the input image contains the white frame area, and the brightness of the display screen needs to be adjusted.
For example, if the size of the input image is 4320 × 7680 and the number of pixels included in the target partition unit is 80 × 80, the input image is divided into 54 × 96 partition units. The size of the small white frame of the Rtings scene is 88 partition units, resulting in P _88in1 being 44 × 89 first detection partitions. Because the Rtings picture is a dynamic scene, the area of the large white frame is not a constant value, some frames are 266 partition units, and some frames are 285 partition units, the 266-in-1 or 285-in-1 operation is performed accordingly, and P _266in1 is 36 × 83, and P _285in1 is 36 × 82 second detection partitions are obtained. Detecting a small white frame: judging whether the partition gray-scale value of each first detection partition of the P _88in1 is greater than a first gray-scale threshold small _ box _ thre; whether the partition gray-scale value of the first detection partition is larger than the partition gray-scale value corresponding to the adjacent first detection partitions at the periphery or not; if the two conditions are judged to be yes, the picture has a small white frame. Detecting a large white frame: first, it is determined whether the partition gray level value of each second detection partition of P _266in1 or P _285in1 is greater than the second gray level threshold big _ box266_ thre or big _ box285_ thre, and the two are determined as "OR" logic relationship; whether the partition gray-scale value of the second detection partition is larger than the partition gray-scale values corresponding to the adjacent peripheral second detection partitions or not; if the two conditions are judged to be yes, the picture has a large white frame. And when the judgment picture has a small white frame and a large white frame at the same time, the input image comprises a white frame area, and the frame input image is an Rtings test picture. If the non-Rtins picture is detected, maintaining the existing backlight Gamma curve; if the Rtins scene picture is detected, the backlight Gamma curve is switched, the brightness of the white frame area is improved, and the brightness of the dark area of the picture is reduced.
In one embodiment, as shown in fig. 6, this step is preceded by: s601, acquiring a total number of first pixels included in the first detection partition and a total number of second pixels included in the second detection partition; s602, determining the first gray scale threshold value according to the total number of the first pixels and a preset white frame gray scale value; s603, determining the second gray level threshold according to the second pixel total number and a preset white frame gray level value.
Specifically, the size of the detection partition can be adjusted according to different requirements, and the detection partitions with different sizes correspond to different gray level thresholds. Therefore, a first total number of pixels included in the first detection partition and a second total number of pixels included in the second detection partition are obtained. For example, if the size of the input image is 4320 × 7680 and the number of pixels included in the target partition unit is 80 × 80, the input image is divided into 54 × 96 partition units. The size of the small white frame of the Rtings scene is 88 partition units, resulting in P _88in1 being 44 × 89 first detection partitions, and the total number of first pixels included in one first detection partition is 80 × 88. Since the gray level threshold is a criterion for determining whether the gray level of the partition of the detection partition reaches the white frame, and the gray level of the white frame is a determined value, such as 255 gray levels, the first gray level threshold is determined according to the total number of the first pixels and the preset gray level of the white frame, and the second gray level threshold is determined according to the total number of the second pixels and the preset gray level of the white frame.
In one embodiment, as shown in fig. 7, in step S503, if the input image includes both the first type white frame area and the second type white frame area, the adjusting the brightness of the display screen includes: s701, if the input image simultaneously comprises the first type white frame area and the second type white frame area, switching a backlight gamma curve into a preset gamma curve; s702, according to the preset gamma curve, the brightness of the first type white frame area and the second type white frame area in the display screen is improved, and the brightness of other areas in the display screen is reduced.
Specifically, if the first type white frame area and the second type white frame area exist at the same time, which indicates that the input image includes the white frame area, the brightness of the display screen needs to be adjusted, and the backlight gamma curve is switched to the preset gamma curve. The brightness of the first type white frame area and the second type white frame area in the display screen is improved according to the preset gamma curve, and the brightness value of the white frame is only improved, so that the influence on the power is small, the brightness of other areas in the display screen is slightly reduced, the power requirement can be met, the power limiting condition is met, the target value of the brightness of the white frame can be reached, and the image quality is not influenced.
In the embodiment, by detecting the Rtings real-time dynamic scene and switching the backlight Gamma curve, the brightness of the white frame area is improved, the brightness of the dark area of the picture is reduced, the power limiting condition is met, and the target value of the white frame brightness can be reached.
In order to better implement the video frame brightness adjusting method in the embodiment of the present application, on the basis of the video frame brightness adjusting method, the embodiment of the present application further provides a video frame brightness adjusting device, as shown in fig. 8, the video frame brightness adjusting device 100 includes:
the image acquisition module 110 is configured to acquire an input image to be detected on a display screen;
a unit dividing module 120, communicatively connected to the image obtaining module 110, configured to divide the input image into a preset number of partition units;
the partition dividing module 130 is in communication connection with the unit dividing module 120, and is configured to obtain multiple detection partitions according to the number of partition units included in the partition units and a preset detection partition;
a data obtaining module 140, communicatively connected to the partition dividing module 130, configured to obtain partition gray-scale values of the detection partitions;
and the brightness adjusting module 150 is in communication connection with the data acquiring module 140 and is used for adjusting the brightness of the display screen according to the partition gray-scale value.
In some embodiments, the unit partitioning module 120 is further configured to obtain the number of pixels included in a preset target partition unit; and dividing the input image into a preset number of partition units according to the number of pixels and the size of the input image.
In some embodiments, the partition dividing module 130 is further configured to obtain an all-in-one first detection partition according to the number of the first partition units and a preset ratio of the length to the width of the first white frame, where the number of the partition units includes the number of the first partition units and the number of the second partition units; and obtaining an all-in-one second detection partition according to the number of the second partition units and a preset length-width ratio of a second white frame.
In some embodiments, the brightness adjustment module 150 is further configured to determine whether the input image includes a white frame region according to the partition gray scale value; if the input image comprises a white frame area, switching a backlight gamma curve into a preset gamma curve to adjust the brightness of the display screen; and if the input image does not contain a white frame area, maintaining the current backlight gamma curve to adjust the brightness of the display screen.
In some embodiments, the brightness adjustment module 150 is further configured to determine that the input image includes a first type of white frame region when a partition gray scale value of a first detection partition of the first detection partitions is greater than or equal to a first gray scale threshold value, and a partition gray scale value of the first detection partition of the target is greater than or equal to a partition gray scale value of a first detection partition adjacent to the first detection partition of the target; when the partition gray-scale value of a target second detection partition in the second detection partitions is greater than or equal to a second gray-scale threshold value, and the partition gray-scale value of the target second detection partition is greater than or equal to the partition gray-scale value of a second detection partition adjacent to the target second detection partition, determining that the input image contains a second type white frame area; and if the input image simultaneously comprises the first type white frame area and the second type white frame area, adjusting the brightness of the display screen.
In some embodiments, the brightness adjustment module 150 is further configured to obtain a first total number of pixels included in the first detection partition and a second total number of pixels included in the second detection partition; determining the first gray scale threshold value according to the total number of the first pixels and a preset white frame gray scale value; and determining the second gray level threshold according to the second pixel total number and a preset white frame gray level value.
In some embodiments, the brightness adjustment module 150 is further configured to switch the backlight gamma curve to a preset gamma curve if the input image includes both the first type white frame area and the second type white frame area; and according to the preset gamma curve, improving the brightness of the first type white frame area and the second type white frame area in the display screen, and reducing the brightness of other areas in the display screen.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
The invention also provides a display device which comprises a memory and a controller, wherein the controller is used for executing a plurality of instructions stored in the memory so as to realize the video picture brightness adjusting method.
In one embodiment, the present invention provides a storage medium storing instructions for execution by a controller to implement a video picture brightness adjustment method as described in any one of the above. It should be noted that, those skilled in the art can understand that all or part of the steps in the methods of the above embodiments can be implemented by relevant hardware instructed by a program. Among others, the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
The foregoing describes in detail a method, an apparatus, a display apparatus, and a storage medium for adjusting brightness of a video image provided in an embodiment of the present application, and a specific example is applied in the present application to explain the principle and the implementation of the present application, and the description of the foregoing embodiment is only used to help understand the technical solution 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.
Claims (9)
1. A method for adjusting brightness of a video frame, comprising:
acquiring an input image to be detected of a display screen;
dividing the input image into a preset number of partition units;
obtaining a plurality of all-in-one detecting subareas according to the number of the subarea units contained in the subarea units and the preset detecting subareas;
acquiring a partition gray scale value of each detection partition;
adjusting the brightness of the display screen according to the partition gray-scale value, specifically comprising:
judging whether the input image comprises a white frame area according to the partition gray scale value, wherein the white frame area is a detection partition with a gray scale value of white light and a gray scale value larger than that of a surrounding area;
if the input image comprises a white frame area, switching a backlight gamma curve into a preset gamma curve to adjust the brightness of the display screen;
and if the input image does not contain a white frame area, maintaining the current backlight gamma curve to adjust the brightness of the display screen.
2. The method of claim 1, wherein the dividing the input image into a preset number of partition units comprises:
acquiring the number of pixels contained in a preset target partition unit;
and dividing the input image into a preset number of partition units according to the number of pixels and the size of the input image.
3. The method of claim 1, wherein the number of partition units comprises a first number of partition units and a second number of partition units, and the obtaining a plurality of multi-in-one detection partitions according to the number of partition units included in the partition units and a predetermined detection partition comprises:
obtaining an all-in-one first detection partition according to the number of the first partition units and a preset length-width ratio of a first white frame;
and obtaining an all-in-one second detection partition according to the number of the second partition units and a preset length-width ratio of a second white frame.
4. The method according to claim 3, wherein the adjusting the brightness of the display screen according to the partition gray-scale value comprises:
when the partition gray-scale value of a target first detection partition in the first detection partitions is greater than or equal to a first gray-scale threshold value, and the partition gray-scale value of the target first detection partition is greater than or equal to the partition gray-scale value of a first detection partition adjacent to the target first detection partition, determining that the input image comprises a first type white frame area;
when the partition gray-scale value of a target second detection partition in the second detection partitions is greater than or equal to a second gray-scale threshold value, and the partition gray-scale value of the target second detection partition is greater than or equal to the partition gray-scale value of a second detection partition adjacent to the target second detection partition, determining that the input image contains a second type white frame area;
and if the input image simultaneously contains the first type white frame area and the second type white frame area, adjusting the brightness of the display screen.
5. The method of claim 4, wherein the adjusting the brightness of the display screen according to the partition gray-scale value comprises:
acquiring a first pixel total number contained in the first detection partition and a second pixel total number contained in the second detection partition;
determining the first gray scale threshold value according to the total number of the first pixels and a preset white frame gray scale value;
and determining the second gray level threshold according to the second pixel total number and a preset white frame gray level value.
6. The method for adjusting the brightness of a video frame according to claim 4, wherein if the input image includes both the first type white frame area and the second type white frame area, the adjusting the brightness of the display screen comprises:
if the input image simultaneously comprises the first type white frame area and the second type white frame area, switching a backlight gamma curve into a preset gamma curve;
and according to the preset gamma curve, improving the brightness of the first type white frame area and the second type white frame area in the display screen, and reducing the brightness of other areas in the display screen.
7. A video picture brightness adjustment apparatus, comprising:
the image acquisition module is used for acquiring an input image to be detected of the display screen;
the unit dividing module is in communication connection with the image acquisition module and is used for dividing the input image into a preset number of partition units;
the partition dividing module is in communication connection with the unit dividing module and is used for obtaining an all-in-one detection partition according to the partition units and the number of partition units contained in a preset detection partition;
the data acquisition module is in communication connection with the partition division module and is used for acquiring the partition gray-scale value of each detection partition;
the brightness adjusting module is in communication connection with the data acquisition module and is used for adjusting the brightness of the display screen according to the partition gray-scale value; the brightness adjusting module is further used for judging whether the input image comprises a white frame area according to the partition gray scale value, wherein the white frame area is a detection partition with a gray scale value being white light and a gray scale value being larger than that of the surrounding area; if the input image comprises a white frame area, switching a backlight gamma curve into a preset gamma curve to adjust the brightness of the display screen; and if the input image does not contain a white frame area, maintaining the current backlight gamma curve to adjust the brightness of the display screen.
8. A display device comprising a controller and a memory, wherein the controller is configured to execute instructions stored in the memory to implement the method of any one of claims 1 to 6.
9. A storage medium having stored therein instructions for execution by a controller to implement the method of any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111284160.XA CN114038402B (en) | 2021-11-01 | 2021-11-01 | Video image brightness adjusting method and device, display device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111284160.XA CN114038402B (en) | 2021-11-01 | 2021-11-01 | Video image brightness adjusting method and device, display device and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114038402A CN114038402A (en) | 2022-02-11 |
CN114038402B true CN114038402B (en) | 2022-09-27 |
Family
ID=80135861
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111284160.XA Active CN114038402B (en) | 2021-11-01 | 2021-11-01 | Video image brightness adjusting method and device, display device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114038402B (en) |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004361816A (en) * | 2003-06-06 | 2004-12-24 | Toshiba Matsushita Display Technology Co Ltd | El display device |
JP5124050B1 (en) * | 2012-03-01 | 2013-01-23 | シャープ株式会社 | Video display device and television receiver |
JP2012194559A (en) * | 2012-04-23 | 2012-10-11 | Sharp Corp | Image display |
KR102139693B1 (en) * | 2013-11-18 | 2020-07-31 | 삼성디스플레이 주식회사 | Method of controlling luminance, luminance control unit, and organic light emitting display device having the same |
CN105185353B (en) * | 2015-10-16 | 2018-05-18 | 青岛海信电器股份有限公司 | Liquid crystal display brightness control method and device and liquid crystal display |
-
2021
- 2021-11-01 CN CN202111284160.XA patent/CN114038402B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN114038402A (en) | 2022-02-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3429188B1 (en) | Regulation method, terminal equipment and non-transitory computer-readable storage medium for automatic exposure control of region of interest | |
KR100936862B1 (en) | Display Gradation Presenting Device and Method | |
CN105741792B (en) | A kind of gray-scale intensity method of adjustment, device and 3D display equipment | |
US7738727B2 (en) | Method of processing brightness of an image and related device | |
KR100867104B1 (en) | Method and apparatus for controlling brightness of back light | |
CN111586292B (en) | Camera shooting state switching method and device and computer equipment | |
CN110364123B (en) | Backlight control method and device, electronic equipment and computer readable storage medium | |
CN113990263B (en) | Backlight processing method and device for display screen, storage medium and electronic equipment | |
CN112489593B (en) | Seamless splicing correction method and device for LED display screen | |
CN111508443A (en) | Display device and backlight brightness control method and device thereof | |
TWI567707B (en) | Image adjusting method and related display | |
US20070242898A1 (en) | Image processing apparatus, image processing method, and image processing program | |
CN114038402B (en) | Video image brightness adjusting method and device, display device and storage medium | |
CN110650329B (en) | Method, apparatus and system for reducing crosstalk for autostereoscopic displays | |
CN115278104B (en) | Image brightness adjustment method and device, electronic equipment and storage medium | |
CN111317426A (en) | Endoscope parameter self-adaptive adjusting method and device | |
CN113766114B (en) | Image processing method, device, electronic equipment and storage medium | |
KR20040063567A (en) | Method for preventing image sticking on a image display device using pdp module | |
KR20140061103A (en) | Display apparatus and method for image output thereof | |
CN114170975A (en) | Display brightness adjusting method and device, display device and storage medium | |
EP2190195A2 (en) | Moving-image processing apparatus and method therefor | |
JP2021173901A (en) | Display control device, display control method, and program | |
CN112884659A (en) | Image contrast enhancement method and device and display equipment | |
CN114023274B (en) | Backlight adjustment method, device, display equipment and storage medium | |
CN117496900A (en) | Display backlight adjusting method and device, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |