CN114170975B - 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
CN114170975B
CN114170975B CN202111491922.3A CN202111491922A CN114170975B CN 114170975 B CN114170975 B CN 114170975B CN 202111491922 A CN202111491922 A CN 202111491922A CN 114170975 B CN114170975 B CN 114170975B
Authority
CN
China
Prior art keywords
image
preset
partition
template image
brightness
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
Application number
CN202111491922.3A
Other languages
Chinese (zh)
Other versions
CN114170975A (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 China Star Optoelectronics Technology Co Ltd
Original Assignee
TCL China Star Optoelectronics 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 China Star Optoelectronics Technology Co Ltd filed Critical TCL China Star Optoelectronics 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, a display brightness adjusting 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 partitions; the detection partitions of the input image are differentiated from the corresponding partitions of a preset window template image, so that the number of the differential partitions of the input image and the preset window template image is obtained, and the preset window template image is an image with a white preset area; and when the number of the difference partitions is smaller 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, 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.

Description

Display brightness adjusting method and device, display device and storage medium
Technical Field
The present disclosure relates to the field of display technologies, and in particular, to a method and an apparatus for adjusting brightness of a display, a display device, and a storage medium.
Background
The Local Dimming algorithm is based on the realization principle that the control of the backlight is realized by controlling the brightness of the LED lamps in different areas of the backlight, so that the bright area of a display picture is brighter, the dark area is darker, the contrast of the display picture is enhanced, and the image quality is improved.
However, the existing backlight gamma curve makes the brightness of the picture of the display screen lower in the low gray segment, higher in the middle and high gray segments, and huge debugging workload when the size of the white area in the center of the picture of the display screen changes, so that it is difficult to balance gamma=2.2 and good quality of Picture (PQ).
Disclosure of Invention
The embodiment of the application provides a display brightness adjusting method, a display device and a storage medium, wherein a window detection scheme is adopted, after a preset window template image is detected, the display brightness is adjusted according to the preset window template image, so that 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 partitions;
the detection partitions of the input image are differentiated from the corresponding partitions of a preset window template image, so that the number of the differential partitions of the input image and the preset window template image is obtained, and the preset window template image is an image with a white preset area;
and when the number of the difference partitions is smaller 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 predetermined number of detection partitions includes:
acquiring the number of pixels contained in a preset target detection partition;
dividing the input image into a preset number of detection partitions according to the pixel number and the size of the input image.
In some embodiments of the present application, the differentiating each detected partition of the input image with a partition corresponding to a preset window template image to obtain a number of differential partitions of the input image and the preset window template image includes:
performing binarization processing on the input image to obtain a preprocessed image;
and differentiating each detection partition of the preprocessing image with a partition corresponding to a preset window template image to obtain the number of differential partitions of the input image and the preset window template image, wherein the preset window template image is a binarized 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 partition according to each brightness total value and a preset binarization threshold value to obtain the preprocessing image.
In some embodiments of the present application, the preset window template image includes a plurality of target template images, and the differentiating each detected partition of the input image with a partition corresponding to the preset window template image to obtain a number of differential partitions between the input image and the preset window template image includes:
respectively differencing each detection partition of the input image with a partition corresponding to each target template image in a preset window template image to obtain the number of multiple target difference partitions;
when the number of the difference partitions is smaller than or equal to a preset threshold, adjusting the brightness of the display screen according to the preset window template image, including:
comparing the number of each target difference partition with a preset threshold value of the corresponding target template image;
when the number of a certain target difference partition is smaller than or equal to a 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 number of the certain target difference partition.
In some embodiments of the present application, after comparing the number of each target differential partition with a preset threshold of the corresponding target template image, the method includes:
and 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.
In some embodiments of the present application, when the number of the differential 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 smaller 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.
An embodiment of the present application provides a display brightness adjusting device, including:
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 detection partitions with preset quantity;
the difference analysis module is in communication connection with the partition dividing module and is used for differentiating each detection partition of the input image with 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 form template image when the number of the difference partitions is smaller 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; dividing the input image into a preset number of detection partitions according to the pixel number 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 differentiating each detection partition of the preprocessing image with a partition corresponding to a preset window template image to obtain the number of differential partitions of the input image and the preset window template image, wherein the preset window template image is a binarized 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 partitions of the input image; and processing each detection partition according to each brightness total value and a preset binarization threshold value to obtain the preprocessing image.
In some embodiments of the present application, the difference analysis module is further configured to difference each detected partition of the input image with 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 plurality of target difference partition numbers; the brightness adjusting module is further used for comparing the number of each target difference partition with a preset threshold value of the corresponding target template image; when the number of a certain target difference partition is smaller than or equal to a 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 number of the certain target difference partition.
In some embodiments of the present application, the brightness adjustment module is further configured to adjust the brightness of the display screen according to a current gamma curve when the number of each of the target differential partitions is greater than a preset threshold of the corresponding target template image.
In some embodiments of the present application, the brightness adjustment module is further configured to determine a corresponding target gamma curve according to the preset window template image when the number of the differential partitions is less than or equal to a preset threshold; and adjusting the brightness of the display screen according to the target gamma curve.
Embodiments of the present application provide a display device, including a controller and a memory, where the controller is configured to execute a number of instructions stored in the memory to implement any of the methods described herein.
Embodiments of the present application provide a storage medium having stored therein a number of instructions for execution by a controller to implement any of the methods described herein.
According to the display brightness adjusting method, the display device and the storage medium, the detection partitions are obtained by partitioning the input image, then 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, after the preset window template image is detected, the display brightness is adjusted according to the preset window template image, so that gamma is maintained to be 2.2, and the quality of a panel is improved.
Drawings
Technical solutions and other advantageous effects of the present application will be made apparent from the following detailed description of specific embodiments of the present application with reference to the accompanying drawings.
Fig. 1 is a flowchart of a method for adjusting brightness of a display according to an embodiment of the disclosure.
Fig. 2 is a flowchart of a method for adjusting brightness of a display according to another embodiment of the 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% window according to another embodiment of the present application.
Fig. 5 is a flowchart of a method for adjusting brightness of a display according to another embodiment of the disclosure.
Fig. 6 is a flowchart of a method for adjusting brightness of a display according to another embodiment of the disclosure.
Fig. 7 is a flowchart of a method for adjusting brightness of a display according to another embodiment of the disclosure.
Fig. 8 is a flowchart of a method for adjusting brightness of a display according to another embodiment of the disclosure.
Fig. 9 is a schematic structural diagram of a display brightness adjusting device 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 will be apparent that the described embodiments are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by those skilled in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
In the description of the present application, it should be understood that the terms "center," "longitudinal," "transverse," "length," "width," "thickness," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," "clockwise," "counterclockwise," etc. indicate or are based on the orientation or positional relationship shown in the drawings, merely for convenience of description and to simplify the description, and do not indicate or imply that the devices or elements referred to must have a specific orientation, be configured and operated in a specific orientation, and thus should not be construed as limiting the present application. Furthermore, the terms "first," "second," and the like, are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include one or more of the described features. In the description of the present application, the meaning of "a plurality" is two or more, unless explicitly defined otherwise.
In the description of the present application, it should be noted that, unless explicitly specified and limited otherwise, the terms "mounted," "connected," and "connected" are to be construed broadly, and may be either fixedly connected, detachably connected, or integrally connected, for example; can be mechanically connected, electrically connected or can be communicated with each other; can be directly connected or indirectly connected through an intermediate medium, and can be communicated with the inside of two elements or the interaction relationship of the two elements. The specific meaning of the terms in this application will be understood by those of ordinary skill in the art as the case may be.
In this application, unless expressly stated or limited otherwise, a first feature "above" or "below" a second feature may include both the first and second features being in direct contact, and may also include the first and second features not being in direct contact but being in contact with each other by way of additional features therebetween. Moreover, a first feature being "above," "over" and "on" a second feature includes the first feature being directly above and obliquely above the second feature, or simply indicating that the first feature is higher in level than the second feature. The first feature being "under", "below" and "beneath" the second feature includes the first feature being directly under and obliquely below the second feature, or simply means that the first feature is less level than the second feature.
The following disclosure provides many different embodiments or examples for implementing different structures of the present application. In order to simplify the disclosure of the present application, the components and arrangements of specific examples are described below. Of course, they are merely examples and are not intended to limit the present application. Furthermore, the present application may repeat reference numerals and/or letters in the various examples, which are for the purpose of brevity and clarity, and which do not in themselves indicate the relationship between the various embodiments and/or arrangements discussed. In addition, the present application provides examples of various specific processes and materials, but one of ordinary skill in the art may recognize the application of other processes and/or the 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, specifically as follows:
s101, acquiring an input image to be detected of a display screen.
Specifically, the input image is used for detecting a display effect of the display screen, and then the display mode of the display screen is adjusted based on the detection result, and relevant parameters such as the size and the like of the input image need to be selected based on the relevant parameters of the display screen. The display is detected in the real-time dynamic scene through the video, so that each frame of image of the video can be detected.
The method mainly detects whether the input image is a window frame with corresponding proportion, namely whether the central area of the input image comprises pixel points with preset proportion of brightness lower than preset meeting.
S102, dividing the input image into a preset number of detection partitions.
Specifically, the detection partition refers to the minimum unit of the input image division, and the size of the detection partition can be set according to needs, so that the corresponding preset number can also be adjusted, and it is required to divide the input image into m×n detection partitions, where m and n are positive integers, for example, 54×96 detection partitions for 4k frames.
In one embodiment, as shown in fig. 2, the 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 pixel number and the size of the input image.
Specifically, since the number of the divided detection partitions depends on the size of the detection partition, the number of pixels included in the preset target detection partition is obtained, the target detection partition is the detection partition which is desired to be divided when the detection is currently performed, and the number of pixels included in different target detection partitions is different, so that the setting selection can be performed according to the refinement requirement of the detection.
The size of the input image is acquired synchronously when the input image is acquired, and in addition, 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 subsequent judgment of the window state is carried out based on the detection partition, the input image is equally divided to obtain the detection partition, so that the detection partitions are ensured to be the same in size, and can be compared on the same level.
S103, differentiating each detection partition of the input image with a partition corresponding to a preset window template image to obtain the number of differential 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.
The preset window template image is obtained, and the preset window template image is an image with a white preset area, for example, a 10% window frame as shown in fig. 3 or a 20% window frame as shown in fig. 4. 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, and further analyzing whether the brightness of the display screen is adjusted. Thus, the preset form template image matches the size of the input image.
Because the number of pixels of the input image is large, if the input image is compared with the preset window template image by taking a single pixel as a unit, the data amount required to be compared is too large, the obtained comparison result is large, and whether the input image accords with the characteristics of the preset window template image is difficult to accurately analyze. Therefore, the preset window template image is divided into detection partitions which are the same in number and correspond to the input image in position one by one, then each detection partition of the input image is differentiated from the corresponding partition of the preset window template image, the detection partitions with differences between the input image and the preset window template image are counted, the detection partitions without differences between the input image and the preset window template image are not counted, and finally the number of the difference partitions between the input image and the preset window template image is obtained. The input image and the preset window form template image are equally divided to obtain detection partitions, so that the magnitudes represented by the detection partitions are the same, and the number of the difference partitions of the input image and the preset window form template image is the total number of the detection partitions with differences between all the input image and the preset window form template image.
In one embodiment, as shown in fig. 5, the step includes: s301, binarizing the input image to obtain a preprocessed image; s302, difference is carried out on each detection partition of the preprocessing image and the corresponding partition of the preset window template image, the difference partition number of the input image and the preset window template image is obtained, and the preset window template image is a binarized image.
The input image is subjected to binarization processing to obtain a preprocessed image in order to facilitate comparison of the input image with a preset window template image due to different color brightness of each pixel point of the input image. Similarly, the preset window template image is also a binarized image subjected to binarization processing, and then based on differences between each detection partition of the preset image and the partition corresponding to the preset window template image, the number of differential partitions of the preset image and the preset window template image, that is, the number of differential partitions of the input image and the preset window template image, is finally obtained. It should be noted that, the number of the finally obtained differential partitions is the number of detection partitions where the input image is different from the preset window template image after binarization, for example, a certain frame side partition preprocessing image is a white area, the preset window template image is a black area, the differential partitions are determined, then counting is performed, if a certain frame side partition preprocessing image is a white area, the preset window template image is also a white area, then it is determined that the differential partitions are not required, and then counting is not performed.
In one embodiment, as shown in fig. 6, in step S301, 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 partition according to each brightness total value and a preset binarization threshold value to obtain the preprocessing image.
After the input image is divided into a preset number of detection partitions, the analysis processing is performed by taking each detection partition as a minimum unit, namely, pixel points in each detection partition are regarded as a whole, so that the brightness total value of each detection partition of the input image is calculated, and each detection partition is processed according to each brightness total value and a preset binary threshold value to obtain a preprocessed image. For example, a preset binarization threshold is set to 0, the brightness total value of each detection partition is set to 1, which is greater than 0, and is set to 0, which 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 the embodiment is not limited specifically.
And S104, when the number of the difference partitions is smaller 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 window template image, which is not limited in this embodiment, for example, 10% window as shown in fig. 3 or 20% window as shown in fig. 4, and the preset threshold may be set according to the number of detection zones corresponding to the white area in the corresponding window. When the number of the difference partitions is smaller than or equal to a preset threshold, that is, when 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, so that 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 comparison between the input image and the preset window template image, and the more accurate the result. The preset window template image is an image with a white preset area, that is, a boundary between the white area and the black area exists in the preset window template image, for example, 10% window frames as shown in fig. 3 or 20% window frames as shown in fig. 4. The input image and the preset window template image are both divided into detection partitions, and the same detection partition cannot contain two types of images, namely, for the preset window template image, the same detection partition of the preset window template image cannot contain both white areas and black areas, 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 areas in the preset window template image.
In one embodiment, as shown in fig. 7, step S103, the step of differentiating each detected partition of the input image with a partition corresponding to a preset window template image to obtain the number of different partitions of the input image and the preset window template image includes: s501, the preset window template image comprises a plurality of target template images, each detection partition of the input image is respectively differenced with a partition corresponding to each target template image in the preset window template image, and the number of a plurality of target difference partitions is obtained; s104, when the number of the difference partitions is smaller than or equal to a preset threshold, adjusting the brightness of the display screen according to the preset window template image comprises: s502, comparing the number of each target difference partition with a preset threshold value of the corresponding target template image; s503, when the number of a certain target difference partition is smaller than or equal to a 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 number of the certain target difference partition.
Wherein the preset template image includes a plurality of target template images, for example, 10% window as shown in fig. 3 or 20% window as shown in fig. 4, or other percentages of window, based on the different proportions of the white areas in the preset template image. The different target template images respectively correspond to the respective preset thresholds, and the preset thresholds of the different target template images may be the same or different, which 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 differencing each detection partition of the input image with a partition corresponding to each target template image in the preset window template image to obtain the number of multiple target difference partitions. Similarly, binarizing the input image to obtain a preprocessed image, wherein each target template image is also a binarized image subjected to binarization, and then, based on difference between each detection partition of the preprocessed image and a partition corresponding to each target template image, the number of difference partitions between the preprocessed image and each target template image, that is, the number of difference partitions between the input image and each target template image, that is, the number of multiple target difference partitions, is finally obtained, and each target difference partition number is associated with a corresponding target template image.
Comparing the number of each target difference partition with a preset threshold value of a corresponding target template image, if the number of a certain target difference partition is smaller than or equal to the preset threshold value of the corresponding target template image, and if the number of other target difference partitions is larger 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 number of the certain target difference partition, and adjusting the brightness of the display screen according to the target template image corresponding to the number of the certain target difference partition.
In one embodiment, step S502 includes, after comparing the number of each target differential partition with a preset threshold of the corresponding target template image: s601, when the number of each target difference partition is larger than a 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 value of a corresponding target template image, if the number of all the target difference partitions is larger than the preset threshold value of the corresponding target template image, the input image is indicated to be not in accordance with the characteristics of any target template image, the current gamma curve is kept to adjust the brightness of the display screen, and other adjustment is not needed.
In one embodiment, as shown in fig. 8, step S104, when the number of the differential 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 smaller 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 smaller than or equal to a preset threshold, determining that the input image accords with the characteristics of a preset window form template image, determining a corresponding target gamma curve according to the preset window form template image, presetting a corresponding relation between the preset window form template image and the corresponding target gamma curve, directly acquiring the corresponding relation, and finally adjusting the brightness of the display screen according to the target gamma curve.
It should be noted that, if the preset window template image includes a plurality of target template images, the target gamma curves corresponding to the 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 is divided into adjacent parameters, merging may be performed, for example, the target template images contain 10%, 20%, 30%, 40% or the like, and if 10% and 20% of the window images correspond to the same target gamma curve, the 10% and 20% of the window images may be merged into the same category by setting a preset threshold or the like.
In this embodiment, a window detection scheme is proposed, and after a window is detected, the backlight gamma curve is switched, so that gamma is maintained at 2.2, and the quality of the panel is improved.
In order to better implement the display brightness adjustment method in the embodiments of the present application, on the basis of the display brightness adjustment method, a display brightness adjustment device is further provided in the embodiments of the present application, as shown in fig. 9, where the display brightness adjustment device 100 includes:
the image acquisition module 110 is used for acquiring an input image to be detected of the display screen;
the partition dividing module 120 is in communication connection with the image obtaining module 110, and is configured to divide the input image into a preset number of detection partitions;
the difference analysis module 130 is in communication connection with the partition dividing module 120, and is configured to perform a difference between each detected partition of the input image and a partition corresponding to a preset window template image, so as to obtain the number of different 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 the brightness adjusting module 140 is in communication connection with the difference analyzing module 130, and is 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 dividing module 120 is further configured to obtain the number of pixels included in the preset target detection partition; dividing the input image into a preset number of detection partitions according to the pixel number 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 differentiating each detection partition of the preprocessing image with a partition corresponding to a preset window template image to obtain the number of differential partitions of the input image and the preset window template image, wherein the preset window template image is a binarized image.
In some embodiments, the difference analysis module 130 is further configured to calculate a total brightness value of each of the detected partitions of the input image; and processing each detection partition according to each brightness total value and a preset binarization threshold value to obtain the preprocessing image.
In some embodiments, the difference analysis module 130 is further configured to difference each detected partition of the input image with 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 plurality of target difference partition numbers; the brightness adjustment module 140 is further configured to compare the number of each target differential partition with a preset threshold of the corresponding target template image; when the number of a certain target difference partition is smaller than or equal to a 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 number of the certain target difference partition.
In some embodiments, the brightness adjustment module 140 is further configured to adjust the brightness of the display screen according to the current gamma curve when the number of each of the target differential partitions is greater than a 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 embodiments are emphasized, and for parts of one embodiment that are not described in detail, reference may be made to related descriptions of other embodiments.
The invention also provides a display device comprising a memory and a controller for executing a number of instructions stored in the memory to implement the display brightness adjustment method as described above.
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, it will be understood by those skilled in the art that all or part of the steps in the methods of the above embodiments may be implemented by a program to instruct related hardware. Wherein the storage medium may include: read Only Memory (ROM), random access Memory (RAM, random Access Memory), magnetic or optical disk, and the like.
The foregoing describes in detail a method, an apparatus, a display device and a storage medium for adjusting brightness of a display device provided in the embodiments of the present application, and specific examples are applied to describe principles and implementations of the present application, where the descriptions of the foregoing embodiments are only used to help understand technical solutions and core ideas of the present application; those of ordinary skill in the art will appreciate that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application.

Claims (8)

1. A method for adjusting brightness of a display, comprising:
acquiring an input image to be detected of a display screen;
dividing the input image into a preset number of detection partitions;
the detection partitions of the input image are differentiated from the corresponding partitions of a preset window template image, so that the number of the differential partitions of the input image and the preset window template image is obtained, and the preset window template image is an image with a white preset area; the method specifically comprises the following steps: calculating the total brightness value of each detection partition of the input image; processing each detection partition according to each brightness total value and a preset binarization threshold value to obtain a binarization preprocessing image; if the color of each detection partition of the binarized preprocessed image is different from the color of the corresponding partition of the binarized preset window template image, determining the detection partition as a difference partition, and determining the number of the difference partitions of the difference partition;
and when the number of the difference partitions is smaller than or equal to a preset threshold value, adjusting the brightness of the display screen according to the preset window template image.
2. The display brightness adjustment method according to claim 1, wherein performing binarization processing on 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 partition according to each brightness total value and a preset binarization threshold value to obtain the preprocessing image.
3. The method for adjusting brightness of a display according to claim 1, wherein the preset template image includes a plurality of target template images, and the step of differentiating each detected partition of the input image with a corresponding partition of the preset template image to obtain a number of differential partitions between the input image and the preset template image includes:
respectively differencing each detection partition of the input image with a partition corresponding to each target template image in a preset window template image to obtain the number of multiple target difference partitions;
when the number of the difference partitions is smaller than or equal to a preset threshold, adjusting the brightness of the display screen according to the preset window template image, including:
comparing the number of each target difference partition with a preset threshold value of the corresponding target template image;
when the number of a certain target difference partition is smaller than or equal to a 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 number of the certain target difference partition.
4. The display brightness adjustment method according to claim 3, wherein after comparing each of the target differential partition numbers with a preset threshold value of the corresponding target template image, comprising:
and 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.
5. The method for adjusting brightness of a display according to any one of claims 1 to 4, wherein adjusting the brightness of the display screen according to the preset window template image when the number of the difference partitions is equal to or smaller than a preset threshold value comprises:
when the number of the difference partitions is smaller 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.
6. A display brightness adjustment device, 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 detection partitions with preset quantity;
the difference analysis module is in communication connection with the partition dividing module and is used for differentiating each detection partition of the input image with 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; the method specifically comprises the following steps: calculating the total brightness value of each detection partition of the input image; processing each detection partition according to each brightness total value and a preset binarization threshold value to obtain a binarization preprocessing image; if the color of each detection partition of the binarized preprocessed image is different from the color of the corresponding partition of the binarized preset window template image, determining the detection partition as a difference partition, and determining the number of the difference partitions of the difference partition;
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 form template image when the number of the difference partitions is smaller than or equal to a preset threshold value.
7. 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 5.
8. A storage medium having stored therein a number of instructions for execution by a controller to implement the method of any one of claims 1 to 5.
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 CN114170975A (en) 2022-03-11
CN114170975B true 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)

Families Citing this family (1)

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

Family Cites Families (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4096354B2 (en) * 2002-05-15 2008-06-04 富士フイルム株式会社 Communication terminal and image server
US7259769B2 (en) * 2003-09-29 2007-08-21 Intel Corporation Dynamic backlight and image adjustment using gamma correction
CN101739975B (en) * 2008-11-21 2012-08-01 比亚迪股份有限公司 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
CN104123926B (en) * 2013-04-25 2016-08-31 乐金显示有限公司 Gamma compensated method and use the display device of this gamma compensated method
CN105869581B (en) * 2016-06-17 2019-07-05 武汉华星光电技术有限公司 Liquid crystal display drive circuit and liquid crystal display device
CN109716427A (en) * 2017-01-18 2019-05-03 华为技术有限公司 A kind of brightness adjusting method and terminal
CN106973156B (en) * 2017-03-22 2020-06-02 陈中和 Screen brightness adjusting method and device
CN207250107U (en) * 2017-05-24 2018-04-17 昆山龙腾光电有限公司 Gamma electric voltage adjusting apparatus and system
CN107863083B (en) * 2017-12-20 2019-12-13 惠科股份有限公司 Driving method and driving device of display device
US10600377B2 (en) * 2017-12-27 2020-03-24 Wuhan China Star Optoelectronics Technology Co., Ltd. Image display method and device of determining backlight coefficient according to grayscale eigenvalues corresponding to pixels in different partition
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
CN108922486B (en) * 2018-07-17 2020-11-13 创维液晶器件(深圳)有限公司 Gamma adjustment method, device and computer readable storage medium
TWI720862B (en) * 2020-04-01 2021-03-01 佳世達科技股份有限公司 Display device and color adjusting method
CN112232428B (en) * 2020-10-23 2021-11-16 上海电力大学 Image hash acquisition method based on three-dimensional characteristics and energy change characteristics

Also Published As

Publication number Publication date
CN114170975A (en) 2022-03-11

Similar Documents

Publication Publication Date Title
US11120757B2 (en) Gray scale adjustment method and device for display panel
CN101127835B (en) A pre-processing method and device for improving video image quality of digital video camera
CN101350933B (en) Method for regulating lighteness of filmed display screen based on image inductor
US20070115372A1 (en) Automatic exposure control method and automatic exposure compensation apparatus
CN110718069B (en) Image brightness adjusting method and device and storage medium
CN102402918B (en) Method for improving picture quality and liquid crystal display (LCD)
CN101582991A (en) Method and device for processing image
CN111261079B (en) Method for detecting abnormal phenomena of bright and dark spots
CN110231018B (en) Structured light distance measuring method and device and computer readable storage medium
CN114170975B (en) Display brightness adjusting method and device, display device and storage medium
CN112653845B (en) Exposure control method, exposure control device, electronic equipment and readable storage medium
CN112489593B (en) Seamless splicing correction method and device for LED display screen
CN102811363B (en) Method for measuring 3D (Three-Dimensional) crosstalk value of liquid crystal display
CN114927109B (en) Backlight source control method and device, display equipment and storage medium
CN108965749B (en) Defect pixel detection and correction device and method based on texture recognition
CN110428411B (en) Backlight plate detection method and system based on secondary exposure
CN112561906A (en) Image processing method, device, equipment and medium
JP2005164565A (en) Defect detection method for flat panel light- related plate element in low and high resolution images
CN104581148A (en) Method for measuring 3D crosstalk values of liquid crystal display
CN111317426A (en) Endoscope parameter self-adaptive adjusting method and device
CN114038402B (en) Video image brightness adjusting method and device, display device and storage medium
US9578315B2 (en) Method and system for judging in a 3D imaging environment
CN105261332A (en) A method, system and apparatus for dynamic backlight local control liquid crystal display
CN111083468A (en) Short video quality evaluation method and system based on image gradient
JPH06343140A (en) Image processor

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