CN114170975A - Display brightness adjusting method and device, display device and storage medium - Google Patents

Display brightness adjusting method and device, display device and storage medium Download PDF

Info

Publication number
CN114170975A
CN114170975A CN202111491922.3A CN202111491922A CN114170975A CN 114170975 A CN114170975 A CN 114170975A CN 202111491922 A CN202111491922 A CN 202111491922A CN 114170975 A CN114170975 A CN 114170975A
Authority
CN
China
Prior art keywords
image
preset
template image
brightness
input image
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.)
Granted
Application number
CN202111491922.3A
Other languages
Chinese (zh)
Other versions
CN114170975B (en
Inventor
陈杰
刘华龙
刘雪龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
TCL Huaxing Photoelectric Technology Co Ltd
Original Assignee
TCL Huaxing Photoelectric Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by TCL Huaxing Photoelectric Technology Co Ltd filed Critical TCL Huaxing Photoelectric Technology Co Ltd
Priority to CN202111491922.3A priority Critical patent/CN114170975B/en
Publication of CN114170975A publication Critical patent/CN114170975A/en
Application granted granted Critical
Publication of CN114170975B publication Critical patent/CN114170975B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control 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/34Control 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 by control of light from an independent source
    • G09G3/3406Control of illumination source
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control 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/22Control 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/30Control 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/32Control 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]
    • G09G3/3208Control 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] organic, e.g. using organic light-emitting diodes [OLED]
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/02Improving the quality of display appearance
    • G09G2320/0271Adjustment of the gradation levels within the range of the gradation scale, e.g. by redistribution or clipping
    • G09G2320/0276Adjustment 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
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/06Adjustment of display parameters
    • G09G2320/0613The adjustment depending on the type of the information to be displayed
    • G09G2320/062Adjustment of illumination source parameters

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)
  • Transforming Electric Information Into Light Information (AREA)
  • Television Receiver Circuits (AREA)

Abstract

The application discloses a display 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 detection subareas; subtracting each detection subarea of the input image from a subarea corresponding to a preset window template image to obtain the number of the difference subareas of the input image and the preset window template image, wherein the preset window template image is an image with a white preset area; and when the number of the difference partitions is less than or equal to a preset threshold value, adjusting the brightness of the display screen according to the preset window template image. According to the embodiment of the application, the window detection scheme is adopted, and after the preset window template image is detected, the brightness of the display screen is adjusted according to the preset window template image, so that gamma is maintained at 2.2, and the quality of the panel is improved.

Description

Display brightness adjusting method and device, display device and storage medium
Technical Field
The application relates to the technical field of display, in particular to a display brightness adjusting method and device, 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 conventional backlight gamma curve causes the brightness of a display screen to be low in a low gray section and high in a medium and high gray section, and the debugging workload is huge when the size of a white area in the center of the display screen changes, so that it is difficult to balance between the gamma of 2.2 and good PQ (picture quality).
Disclosure of Invention
The embodiment of the application provides a display brightness adjusting method and device, a display device and a storage medium, a window detection scheme is adopted, after a preset window template image is detected, the brightness of a display screen is adjusted according to the preset window template image, gamma is maintained to be 2.2, and the quality of a panel is improved.
The embodiment of the application provides a display 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 detection subareas;
subtracting each detection subarea of the input image from a subarea corresponding to a preset window template image to obtain the number of the difference subareas of the input image and the preset window template image, wherein the preset window template image is an image with a white preset area;
and when the number of the difference partitions is less than or equal to a preset threshold value, adjusting the brightness of the display screen according to the preset window template image.
In some embodiments of the present application, the dividing the input image into a preset number of detection partitions includes:
acquiring the number of pixels contained in a preset target detection partition;
and dividing the input image into a preset number of detection subareas according to the number of pixels and the size of the input image.
In some embodiments of the present application, the subtracting the detection partitions of the input image from the partitions corresponding to the template image of the preset window to obtain the number of the difference partitions between the input image and the template image of the preset window includes:
carrying out binarization processing on the input image to obtain a preprocessed image;
and subtracting each detection subarea of the preprocessed image from a subarea corresponding to a preset window template image to obtain the number of different subareas of the input image and the preset window template image, wherein the preset window template image is a binary image.
In some embodiments of the present application, the binarizing the input image to obtain a preprocessed image includes:
calculating the total brightness value of each detection partition of the input image;
and processing each detection subarea according to each brightness total value and a preset binarization threshold value to obtain the preprocessed image.
In some embodiments of the present application, the preset window template image includes a plurality of target template images, and the obtaining the number of difference partitions between the input image and the preset window template image by subtracting each detection partition of the input image from a partition corresponding to the preset window template image includes:
differentiating each detection subarea of the input image with a subarea corresponding to each target template image in a preset window template image to obtain the quantity of a plurality of target differential subareas;
when the number of the difference partitions is less than or equal to a preset threshold value, adjusting the brightness of the display screen according to the preset window template image, including:
comparing the quantity of each target difference partition with a preset threshold value of the corresponding target template image;
and when the number of the certain target difference partitions is less than or equal to the preset threshold value of the corresponding target template image, adjusting the brightness of the display screen according to the target template image corresponding to the certain target difference partitions.
In some embodiments of the present application, after comparing the number of each target difference partition with the preset threshold of the corresponding target template image, the method includes:
and when the number of each target difference partition is greater than the preset threshold value of the corresponding target template image, adjusting the brightness of the display screen according to the current gamma curve.
In some embodiments of the present application, when the number of the difference partitions is less than or equal to a preset threshold, adjusting the brightness of the display screen according to the preset window template image includes:
when the number of the difference partitions is less than or equal to a preset threshold value, determining a corresponding target gamma curve according to the preset window template image;
and adjusting the brightness of the display screen according to the target gamma curve.
The embodiment of the application provides a display brightness control device, includes:
the image acquisition module is used for acquiring an input image to be detected of the display screen;
the partition dividing module is in communication connection with the image acquisition module and is used for dividing the input image into a preset number of detection partitions;
the difference analysis module is in communication connection with the partition division module and is used for making a difference between each detection partition of the input image and a partition corresponding to a preset window template image to obtain the number of the difference partitions of the input image and the preset window template image, wherein the preset window template image is an image with a white preset area;
and the brightness adjusting module is in communication connection with the difference analyzing module and is used for adjusting the brightness of the display screen according to the preset window template image when the number of the difference partitions is less than or equal to a preset threshold value.
In some embodiments of the present application, the partition dividing module is further configured to obtain a number of pixels included in a preset target detection partition; and dividing the input image into a preset number of detection subareas according to the number of pixels and the size of the input image.
In some embodiments of the present application, the difference analysis module is further configured to perform binarization processing on the input image to obtain a preprocessed image; and subtracting each detection subarea of the preprocessed image from a subarea corresponding to a preset window template image to obtain the number of different subareas of the input image and the preset window template image, wherein the preset window template image is a binary image.
In some embodiments of the present application, the difference analysis module is further configured to calculate a total brightness value of each of the detection regions of the input image; and processing each detection subarea according to each brightness total value and a preset binarization threshold value to obtain the preprocessed image.
In some embodiments of the present application, the difference analysis module is further configured to make a difference between each detection partition of the input image and a partition corresponding to each target template image in a preset window template image, where the preset window template image includes a plurality of target template images, so as to obtain a number of target difference partitions; the brightness adjusting module is also used for comparing the number of each target difference partition with a preset threshold value of the corresponding target template image; and when the number of the certain target difference partitions is less than or equal to the preset threshold value of the corresponding target template image, adjusting the brightness of the display screen according to the target template image corresponding to the certain target difference partitions.
In some embodiments of the present application, the brightness adjusting module is further configured to adjust the brightness of the display screen according to a current gamma curve when the number of each target difference partition is greater than a preset threshold of the corresponding target template image.
In some embodiments of the present application, the brightness adjusting module is further configured to determine a corresponding target gamma curve according to the preset window template image when the number of the difference partitions is less than or equal to a preset threshold; and adjusting the brightness of the display screen according to the target gamma curve.
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 are used for being executed by a controller to realize the method.
According to the display brightness adjusting method, the display brightness adjusting device, the display device and the storage medium, the detection partitions are obtained by partitioning the input image, the difference is made between each detection partition of the input image and the partition corresponding to the preset window template image, whether the detection partition belongs to the preset window template image or not is detected according to the number of the difference partitions of the detection partitions, and after the preset window template image is detected, the brightness of the display screen is adjusted according to the preset window template image, so that gamma is maintained to be 2.2, and the quality of the panel is improved.
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 display according to an embodiment of the present disclosure.
Fig. 2 is a schematic flowchart of a method for adjusting brightness of a display according to another embodiment of the present disclosure.
Fig. 3 is a schematic diagram of a 10% frame in another embodiment of the present application.
Fig. 4 is a schematic diagram of a 20% frame in another embodiment of the present application.
Fig. 5 is a flowchart illustrating a method for adjusting brightness of a display according to another embodiment of the present disclosure.
Fig. 6 is a flowchart illustrating a method for adjusting brightness of a display according to another embodiment of the present disclosure.
Fig. 7 is a flowchart illustrating a method for adjusting brightness of a display according to another embodiment of the present disclosure.
Fig. 8 is a flowchart illustrating a method for adjusting brightness of a display according to another embodiment of the present disclosure.
Fig. 9 is a schematic structural diagram of a display 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 the orientations and positional relationships indicated in the drawings for convenience in describing the present application and for simplicity in description, and are not intended to indicate or imply that the referenced devices or elements must have a particular orientation, be constructed in a particular orientation, and be operated in a particular manner, and 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 S104, which are as follows:
s101, acquiring an input image to be detected of the 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.
The method mainly detects whether an input image is a window frame with a corresponding proportion, namely whether the central area of the input image contains pixels with brightness of a preset proportion lower than that of pixels encountered in a preset mode.
S102, dividing the input image into a preset number of detection subareas.
Specifically, the detection partition refers to a minimum unit for dividing the input image, and the size of the detection partition can be set as required, so that the corresponding preset number can be adjusted, and it should be noted that the input image needs to be divided into m × n detection partitions, where m and n are positive integers, for example, a 4k frame is divided into 54 × 96 detection partitions.
In one embodiment, as shown in FIG. 2, this step includes: s201, acquiring the number of pixels contained in a preset target detection partition; s202, dividing the input image into a preset number of detection partitions according to the number of pixels and the size of the input image.
Specifically, the number of the divided detection partitions depends on the size of the detection partition, so that the number of pixels included in a preset target detection partition is obtained, the target detection partition is a detection partition which is to be divided when detection is performed currently, and different target detection partitions include different numbers of pixels, which can be set and selected according to the refinement requirement of detection.
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 predetermined number of detection partitions 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 detection partition is 80 × 80, so that the input image is divided into 54 × 96 detection partitions. And because the window state is judged based on the detection subareas subsequently, the detection subareas are obtained by equally dividing the input image, so that the detection subareas are ensured to be the same in size, and comparison can be carried out on the same order of magnitude.
And S103, subtracting each detection subarea of the input image from a subarea corresponding to a preset window template image to obtain the number of the difference subareas of the input image and the preset window template image, wherein the preset window template image is an image with a white preset area.
Wherein a preset frame template image is obtained, the preset frame template image is an image with a white preset area, for example, 10% frame as shown in fig. 3 or 20% frame as shown in fig. 4. And the preset window template image is used for comparing with the input image, judging whether the input image accords with the characteristics of the preset window template image or not, and further analyzing whether the brightness of the display screen is adjusted or not. Thus, the preset window template image matches the size of the input image.
Because the number of pixels of the input image is large, if a single pixel is used as a unit to be compared with the preset window template image, the data amount to be compared is too large, and the obtained comparison result is large, it is difficult to accurately analyze whether the input image conforms to the characteristics of the preset window template image. Therefore, detecting subareas with the same number and positions as the input images in one-to-one correspondence are divided by the preset window template image, then, the detecting subareas of the input image, which are different from the detecting subareas of the preset window template image, are differentiated, the detecting subareas of the input image, which are not different from the preset window template image, are counted, and finally, the number of the different subareas of the input image and the preset window template image is obtained. The input image and the preset window template image are equally divided to obtain the detection subareas, so that the magnitude orders represented by the detection subareas are the same, and the number of the difference subareas of the input image and the preset window template image is the total number of the detection subareas of all the input images and the preset window template image.
In one embodiment, as shown in FIG. 5, this step includes: s301, performing binarization processing on the input image to obtain a preprocessed image; and S302, subtracting each detection subarea of the preprocessed image from a subarea corresponding to a preset window template image to obtain the number of different subareas of the input image and the preset window template image, and taking the preset window template image as a binary image.
Because the color brightness of each pixel point of the input image is different, the input image is compared with a preset window template image in order to obtain a preprocessed image by performing binarization processing on the input image. Similarly, the preset window template image is also a binarized image which is subjected to binarization processing, and then difference is made between each detection partition of the preprocessed image and the partition corresponding to the preset window template image, so that the number of difference partitions between the preprocessed image and the preset window template image, namely the number of difference partitions between the input image and the preset window template image, is finally obtained. It should be noted that the number of the finally obtained difference partitions is the number of detection partitions where the input image is different from the preset window template image after binarization, for example, if a certain frame side partition preprocessed image is a white region and the preset window template image is a black region, it is determined as a difference partition, and then counting is performed, and if the certain frame side partition preprocessed image is a white region and the preset window template image is also a white region, it is determined as not a difference partition, and then counting is not required.
In one embodiment, as shown in fig. 6, the step S301 of performing binarization processing on the input image to obtain a preprocessed image includes: s401, calculating the total brightness value of each detection partition of the input image; s402, processing each detection subarea according to each brightness total value and a preset binarization threshold value to obtain the preprocessed image.
After the input image is divided into the preset number of detection subareas, the analysis processing is performed by taking each detection subarea as a minimum unit, namely, the pixel points in each detection subarea are taken as a whole, so that the total brightness value of each detection subarea of the input image is calculated, and each detection subarea is processed according to each total brightness value and a preset binarization threshold value to obtain a preprocessed image. For example, a preset binarization threshold is set to 0, the total brightness value of each detection partition is set to 1 when the total brightness value is greater than 0, and set to 0 when the total brightness value is less than or equal to 0, and finally a binarized preprocessed image is obtained. It should be noted that the preset binarization threshold may be freely set according to the display effect of the display screen, and this embodiment is not specifically limited.
And S104, when the number of the difference partitions is less than or equal to a preset threshold value, adjusting the brightness of the display screen according to the preset window template image.
Specifically, the preset threshold is determined based on the area of the white area in the preset frame template image, and this embodiment is not limited in particular, for example, as shown in fig. 3, a 10% frame or as shown in fig. 4, a 20% frame may be set according to the number of the detection partitions corresponding to the white area in the corresponding frame. When the number of the difference partitions is less than or equal to a preset threshold value, namely the number of the detection partitions with the difference between the input image and the preset window template image is within a certain error range, the input image is judged to accord with the characteristics of the preset window template image, and therefore the brightness of the display screen is adjusted according to the preset window template image.
It should be noted that the more the detection partitions are divided, the finer the difference between the input image and the template image of the preset window is, and the more accurate the result is. The default frame template image is an image with a white default area, i.e. there is a boundary between a white area and a black area in the default frame template image, e.g. 10% frame as shown in fig. 3 or 20% frame as shown in fig. 4. The input image and the preset window template image are divided into detection partitions, and one detection partition cannot contain two types of images, that is, for the preset window template image, the same detection partition of the preset window template image cannot contain both a white region and a black region, so that when the detection partitions are divided, the input image needs to be divided into a preset number of detection partitions by combining the distribution state of the white region in the preset window template image.
In an embodiment, as shown in fig. 7, in step S103, subtracting each of the detection partitions of the input image from a partition corresponding to a preset window template image, and obtaining the number of the difference partitions between the input image and the preset window template image includes: s501, the preset window template image comprises a plurality of target template images, and each detection subarea of the input image is respectively differenced with a subarea corresponding to each target template image in the preset window template image to obtain the quantity of a plurality of target difference subareas; s104, when the number of the difference partitions is less than or equal to a preset threshold value, adjusting the brightness of the display screen according to the preset window template image comprises the following steps: s502, comparing the number of the target difference partitions with a preset threshold of the corresponding target template image; s503, when the number of the target difference partitions is less than or equal to the preset threshold of the corresponding target template image, adjusting the brightness of the display screen according to the target template image corresponding to the number of the target difference partitions.
Wherein the preset frame template image comprises a plurality of target template images, for example, 10% frame as shown in fig. 3 or 20% frame as shown in fig. 4, or other percentages of frames, based on the different proportions of white areas in the preset frame template image. Different target template images respectively correspond to respective preset thresholds, the preset thresholds of the different target template images may be the same or different, and the preset thresholds are set based on the distribution states of the white areas of the different target template images, which is not specifically limited in this embodiment.
And respectively differentiating each detection subarea of the input image with the subarea corresponding to each target template image in the preset window template image to obtain the quantity of a plurality of target differential subareas. Similarly, an input image is binarized to obtain a preprocessed image, each target template image is also binarized to obtain a binarized image, differences are respectively made between each detection partition of the preprocessed image and a partition corresponding to each target template image, and finally the number of difference partitions between the preprocessed image and each target template image, namely the number of difference partitions between the input image and each target template image, namely the number of a plurality of target difference partitions, is obtained, and each target difference partition number is associated with the corresponding target template image.
And comparing the quantity of each target difference subarea with a preset threshold value of the corresponding target template image, if the quantity of a certain target difference subarea is less than or equal to the preset threshold value of the corresponding target template image and the quantity of other target difference subareas is greater than the preset threshold value of the corresponding target template image, judging that the input image is consistent with the characteristics of the target template image corresponding to the quantity of the certain target difference subarea, and adjusting the brightness of the display screen according to the target template image corresponding to the quantity of the certain target difference subarea.
In one embodiment, the step S502, after comparing the number of each target difference partition with the preset threshold of the corresponding target template image, includes: s601, when the number of each target difference partition is larger than the preset threshold value of the corresponding target template image, adjusting the brightness of the display screen according to the current gamma curve.
Specifically, the number of each target difference partition is compared with a preset threshold of the corresponding target template image, and if all the target difference partition numbers are larger than the preset threshold of the corresponding target template image, which indicates that the input image does not conform to the characteristics of any target template image, the brightness of the display screen is adjusted by keeping the current gamma curve without performing other adjustments.
In one embodiment, as shown in fig. 8, in step S104, when the number of difference partitions is less than or equal to a preset threshold, adjusting the brightness of the display screen according to the preset window template image includes:
s701, when the number of the difference partitions is less than or equal to a preset threshold value, determining a corresponding target gamma curve according to the preset window template image; s702, adjusting the brightness of the display screen according to the target gamma curve.
Specifically, when the number of the differential partitions is less than or equal to a preset threshold value, the input image is judged to accord with the characteristics of a preset window template image, a corresponding target gamma curve is determined according to the preset window template image, the preset window template image and the corresponding target gamma curve can be preset with a corresponding relationship, then the preset window template image and the corresponding target gamma curve are directly obtained, and finally the brightness of the display screen is adjusted according to the target gamma curve.
It should be noted that, if the template image of the preset window includes a plurality of target template images, the target gamma curves corresponding to different target template images may be the same or different. In addition, for the target template images corresponding to the same target gamma curve, if the white area of the target template images is divided into adjacent parameters, merging may be performed, for example, the target template images contain 10%, 20%, 30%, 40% and other window frames, and if 10% and 20% of the window frames correspond to the same target gamma curve, 10% and 20% of the window frames may be merged into the same category by setting the preset threshold and other parameters.
In this embodiment, a window detection scheme is adopted, and after a window frame is detected, a backlight gamma curve is switched, so that gamma is maintained at 2.2, and the quality of a panel is improved.
In order to better implement the display brightness adjusting method in the embodiment of the present application, on the basis of the display brightness adjusting method, the embodiment of the present application further provides a display brightness adjusting apparatus, as shown in fig. 9, the display brightness adjusting apparatus 100 includes:
the image acquisition module 110 is configured to acquire an input image to be detected on a display screen;
a partition dividing module 120, communicatively connected to the image obtaining module 110, configured to divide the input image into a preset number of detection partitions;
a difference analysis module 130, communicatively connected to the partition dividing module 120, configured to perform a difference between each detection partition of the input image and a partition corresponding to a preset window template image, to obtain the number of difference partitions between the input image and the preset window template image, where the preset window template image is an image with a white preset area;
and a brightness adjusting module 140, communicatively connected to the difference analyzing module 130, configured to adjust the brightness of the display screen according to the preset window template image when the number of the difference partitions is less than or equal to a preset threshold.
In some embodiments, the partition module 120 is further configured to obtain a number of pixels included in a preset target detection partition; and dividing the input image into a preset number of detection subareas according to the number of pixels and the size of the input image.
In some embodiments, the difference analysis module 130 is further configured to perform binarization processing on the input image to obtain a preprocessed image; and subtracting each detection subarea of the preprocessed image from a subarea corresponding to a preset window template image to obtain the number of different subareas of the input image and the preset window template image, wherein the preset window template image is a binary image.
In some embodiments, the difference analysis module 130 is further configured to calculate a total brightness value of each of the detection regions of the input image; and processing each detection subarea according to each brightness total value and a preset binarization threshold value to obtain the preprocessed image.
In some embodiments, the difference analysis module 130 is further configured to perform a difference between each of the detection sub-regions of the input image and a sub-region corresponding to each target template image in a preset window template image, where the preset window template image includes a plurality of target template images, so as to obtain a number of target difference sub-regions; the brightness adjusting module 140 is further configured to compare the number of each target difference partition with a preset threshold of the corresponding target template image; and when the number of the certain target difference partitions is less than or equal to the preset threshold value of the corresponding target template image, adjusting the brightness of the display screen according to the target template image corresponding to the certain target difference partitions.
In some embodiments, the brightness adjusting module 140 is further configured to adjust the brightness of the display screen according to the current gamma curve when the number of each target difference partition is greater than the preset threshold of the corresponding target template image.
In some embodiments, the brightness adjustment module 140 is further configured to determine a corresponding target gamma curve according to the preset window template image when the number of the difference partitions is less than or equal to a preset threshold; and adjusting the brightness of the display screen according to the target gamma curve.
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 display brightness adjusting method.
In one embodiment, the present invention provides a storage medium having stored therein instructions for execution by a controller to implement a display brightness adjustment method as described in any 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 display 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 (10)

1. A method for adjusting the brightness of a display is characterized by comprising the following steps:
acquiring an input image to be detected of a display screen;
dividing the input image into a preset number of detection subareas;
subtracting each detection subarea of the input image from a subarea corresponding to a preset window template image to obtain the number of the difference subareas of the input image and the preset window template image, wherein the preset window template image is an image with a white preset area;
and when the number of the difference partitions is less than or equal to a preset threshold value, adjusting the brightness of the display screen according to the preset window template image.
2. The method as claimed in claim 1, wherein the dividing the input image into a predetermined number of detection sections comprises:
acquiring the number of pixels contained in a preset target detection partition;
and dividing the input image into a preset number of detection subareas according to the number of pixels and the size of the input image.
3. The method for adjusting brightness of a display according to claim 1, wherein the obtaining the number of the difference partitions between the input image and the template image of the predetermined window by subtracting each of the detecting partitions of the input image from the partition corresponding to the template image of the predetermined window comprises:
carrying out binarization processing on the input image to obtain a preprocessed image;
and subtracting each detection subarea of the preprocessed image from a subarea corresponding to a preset window template image to obtain the number of different subareas of the input image and the preset window template image, wherein the preset window template image is a binary image.
4. The method for adjusting brightness of a display according to claim 3, wherein the binarizing the input image to obtain a preprocessed image comprises:
calculating the total brightness value of each detection partition of the input image;
and processing each detection subarea according to each brightness total value and a preset binarization threshold value to obtain the preprocessed image.
5. The method of claim 1, wherein the preset window template image comprises a plurality of target template images, and the step of obtaining the number of difference partitions between the input image and the preset window template image by subtracting each of the detection partitions of the input image from a partition corresponding to the preset window template image comprises:
differentiating each detection subarea of the input image with a subarea corresponding to each target template image in a preset window template image to obtain the quantity of a plurality of target differential subareas;
when the number of the difference partitions is less than or equal to a preset threshold value, adjusting the brightness of the display screen according to the preset window template image, including:
comparing the quantity of each target difference partition with a preset threshold value of the corresponding target template image;
and when the number of the certain target difference partitions is less than or equal to the preset threshold value of the corresponding target template image, adjusting the brightness of the display screen according to the target template image corresponding to the certain target difference partitions.
6. The method for adjusting brightness of a display according to claim 5, wherein the comparing the number of each target difference partition with the preset threshold of the corresponding target template image comprises:
and when the number of each target difference partition is greater than the preset threshold value of the corresponding target template image, adjusting the brightness of the display screen according to the current gamma curve.
7. The method for adjusting the brightness of a display according to any one of claims 1 to 6, wherein when the number of the difference partitions is less than or equal to a preset threshold, adjusting the brightness of the display according to the preset window template image comprises:
when the number of the difference partitions is less than or equal to a preset threshold value, determining a corresponding target gamma curve according to the preset window template image;
and adjusting the brightness of the display screen according to the target gamma curve.
8. A display brightness adjustment apparatus, comprising:
the image acquisition module is used for acquiring an input image to be detected of the display screen;
the partition dividing module is in communication connection with the image acquisition module and is used for dividing the input image into a preset number of detection partitions;
the difference analysis module is in communication connection with the partition division module and is used for making a difference between each detection partition of the input image and a partition corresponding to a preset window template image to obtain the number of the difference partitions of the input image and the preset window template image, wherein the preset window template image is an image with a white preset area;
and the brightness adjusting module is in communication connection with the difference analyzing module and is used for adjusting the brightness of the display screen according to the preset window template image when the number of the difference partitions is less than or equal to a preset threshold value.
9. 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 7.
10. A storage medium having stored therein instructions for execution by a controller to implement the method of any one of claims 1 to 7.
CN202111491922.3A 2021-12-08 2021-12-08 Display brightness adjusting method and device, display device and storage medium Active CN114170975B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111491922.3A CN114170975B (en) 2021-12-08 2021-12-08 Display brightness adjusting method and device, display device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111491922.3A CN114170975B (en) 2021-12-08 2021-12-08 Display brightness adjusting method and device, display device and storage medium

Publications (2)

Publication Number Publication Date
CN114170975A true CN114170975A (en) 2022-03-11
CN114170975B CN114170975B (en) 2023-05-30

Family

ID=80484552

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111491922.3A Active CN114170975B (en) 2021-12-08 2021-12-08 Display brightness adjusting method and device, display device and storage medium

Country Status (1)

Country Link
CN (1) CN114170975B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117975909A (en) * 2023-12-29 2024-05-03 京东方科技集团股份有限公司 Display interface optimization method for special-shaped screen

Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003331274A (en) * 2002-05-15 2003-11-21 Fuji Photo Film Co Ltd Image processor
US20050068332A1 (en) * 2003-09-29 2005-03-31 Diefenbaugh Paul S. Dynamic backlight and image adjustment using gamma correction
CN101739975A (en) * 2008-11-21 2010-06-16 比亚迪股份有限公司 Method for adjusting display effects of liquid crystal display module
CN103902026A (en) * 2012-12-25 2014-07-02 鸿富锦精密工业(武汉)有限公司 System and method for automatically adjusting display screen
US20140320552A1 (en) * 2013-04-25 2014-10-30 Lg Display Co., Ltd. Gamma compensation method and display device using the same
CN105869581A (en) * 2016-06-17 2016-08-17 武汉华星光电技术有限公司 Driving circuit of LCD (Liquid Crystal Display) and LCD device
CN106973156A (en) * 2017-03-22 2017-07-21 努比亚技术有限公司 Screen brightness regulation method and device
CN107863083A (en) * 2017-12-20 2018-03-30 惠科股份有限公司 The driving method and drive device of a kind of display device
CN107909970A (en) * 2017-12-29 2018-04-13 晨星半导体股份有限公司 Display device and its corresponding local dimming driving method
CN207250107U (en) * 2017-05-24 2018-04-17 昆山龙腾光电有限公司 Gamma electric voltage adjusting apparatus and system
CN108646907A (en) * 2018-04-18 2018-10-12 Oppo广东移动通信有限公司 Back light brightness regulating method and Related product
CN108922486A (en) * 2018-07-17 2018-11-30 创维液晶器件(深圳)有限公司 Gamma adjustment method, device and computer readable storage medium
CN109716427A (en) * 2017-01-18 2019-05-03 华为技术有限公司 A kind of brightness adjusting method and terminal
US20190197971A1 (en) * 2017-12-27 2019-06-27 Wuhan China Star Optoelectronics Technology Co., Ltd. Image display method and device
CN112232428A (en) * 2020-10-23 2021-01-15 上海电力大学 Image hash acquisition method based on three-dimensional characteristics and energy change characteristics
US20210312882A1 (en) * 2020-04-01 2021-10-07 Qisda Corporation Display device and color adjusting method

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003331274A (en) * 2002-05-15 2003-11-21 Fuji Photo Film Co Ltd Image processor
US20050068332A1 (en) * 2003-09-29 2005-03-31 Diefenbaugh Paul S. Dynamic backlight and image adjustment using gamma correction
CN101739975A (en) * 2008-11-21 2010-06-16 比亚迪股份有限公司 Method for adjusting display effects of liquid crystal display module
CN103902026A (en) * 2012-12-25 2014-07-02 鸿富锦精密工业(武汉)有限公司 System and method for automatically adjusting display screen
US20140320552A1 (en) * 2013-04-25 2014-10-30 Lg Display Co., Ltd. Gamma compensation method and display device using the same
CN105869581A (en) * 2016-06-17 2016-08-17 武汉华星光电技术有限公司 Driving circuit of LCD (Liquid Crystal Display) and LCD device
CN109716427A (en) * 2017-01-18 2019-05-03 华为技术有限公司 A kind of brightness adjusting method and terminal
CN106973156A (en) * 2017-03-22 2017-07-21 努比亚技术有限公司 Screen brightness regulation method and device
CN207250107U (en) * 2017-05-24 2018-04-17 昆山龙腾光电有限公司 Gamma electric voltage adjusting apparatus and system
CN107863083A (en) * 2017-12-20 2018-03-30 惠科股份有限公司 The driving method and drive device of a kind of display device
US20190197971A1 (en) * 2017-12-27 2019-06-27 Wuhan China Star Optoelectronics Technology Co., Ltd. Image display method and device
CN107909970A (en) * 2017-12-29 2018-04-13 晨星半导体股份有限公司 Display device and its corresponding local dimming driving method
CN108646907A (en) * 2018-04-18 2018-10-12 Oppo广东移动通信有限公司 Back light brightness regulating method and Related product
CN108922486A (en) * 2018-07-17 2018-11-30 创维液晶器件(深圳)有限公司 Gamma adjustment method, device and computer readable storage medium
US20210312882A1 (en) * 2020-04-01 2021-10-07 Qisda Corporation Display device and color adjusting method
CN112232428A (en) * 2020-10-23 2021-01-15 上海电力大学 Image hash acquisition method based on three-dimensional characteristics and energy change characteristics

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117975909A (en) * 2023-12-29 2024-05-03 京东方科技集团股份有限公司 Display interface optimization method for special-shaped screen

Also Published As

Publication number Publication date
CN114170975B (en) 2023-05-30

Similar Documents

Publication Publication Date Title
US11120757B2 (en) Gray scale adjustment method and device for display panel
EP3429188B1 (en) Regulation method, terminal equipment and non-transitory computer-readable storage medium for automatic exposure control of region of interest
EP2849431B1 (en) Method and apparatus for detecting backlight
US20170263198A1 (en) System and method for adjusting luminance of a display screen
US20140139561A1 (en) Display Processing Method Display Processing Device and Display
CN110718069B (en) Image brightness adjusting method and device and storage medium
CN102402918B (en) Method for improving picture quality and liquid crystal display (LCD)
CN111586292B (en) Camera shooting state switching method and device and computer equipment
CN101350933A (en) Method for regulating lighteness of filmed display screen based on image inductor
CN105049734A (en) License camera capable of giving shooting environment shooting prompt and shooting environment detection method
US20180352177A1 (en) Image-processing device
CN112489593B (en) Seamless splicing correction method and device for LED display screen
CN112653845B (en) Exposure control method, exposure control device, electronic equipment and readable storage medium
CN110428411B (en) Backlight plate detection method and system based on secondary exposure
CN112561906A (en) Image processing method, device, equipment and medium
CN114170975B (en) Display brightness adjusting method and device, display device and storage medium
CN111317426A (en) Endoscope parameter self-adaptive adjusting method and device
CN114881889A (en) Video image noise evaluation method and device
CN114038402B (en) Video image brightness adjusting method and device, display device and storage medium
US10909669B2 (en) Contrast adjustment system and contrast adjustment method
CN112261310B (en) Automatic adjusting method for observation brightness of digital visibility meter
CN111179197B (en) Contrast enhancement method and device
CN113572968A (en) Image fusion method and device, camera equipment and storage medium
KR101365828B1 (en) Apparatus and Method for array-histogram equalization
US9578315B2 (en) Method and system for judging in a 3D imaging environment

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