CN110910830A - Display brightness adjusting method, display system, computer device and medium - Google Patents

Display brightness adjusting method, display system, computer device and medium Download PDF

Info

Publication number
CN110910830A
CN110910830A CN201911199453.0A CN201911199453A CN110910830A CN 110910830 A CN110910830 A CN 110910830A CN 201911199453 A CN201911199453 A CN 201911199453A CN 110910830 A CN110910830 A CN 110910830A
Authority
CN
China
Prior art keywords
value
pixel point
pixel
yuv
average value
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
CN201911199453.0A
Other languages
Chinese (zh)
Other versions
CN110910830B (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.)
BOE Technology Group Co Ltd
Original Assignee
BOE Technology Group 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 BOE Technology Group Co Ltd filed Critical BOE Technology Group Co Ltd
Priority to CN201911199453.0A priority Critical patent/CN110910830B/en
Publication of CN110910830A publication Critical patent/CN110910830A/en
Application granted granted Critical
Publication of CN110910830B publication Critical patent/CN110910830B/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/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]
    • G09G3/3225Control 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] using an active matrix
    • 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/0626Adjustment of display parameters for control of overall brightness
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2330/00Aspects of power supply; Aspects of display protection and defect management
    • G09G2330/02Details of power systems and of start or stop of display operation
    • G09G2330/021Power management, e.g. power saving

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)

Abstract

The invention discloses a display brightness adjusting method, a display system, computer equipment and a medium. A specific implementation mode of the method comprises the steps of obtaining YUV values of all pixel points in an image frame to be displayed; calculating the YUV average value of the image frame to be displayed, and calculating the YUV average value of each pixel point in a first pixel range and a second pixel range which take the YUV average value as the center; calculating the difference value of the YUV average values of each pixel point in the first pixel range and the second pixel range by taking the pixel point as the center, calculating the average difference value of each pixel point and other pixel points in the first pixel range by taking the pixel point as the center, and further calculating to obtain the significant value parameter of each pixel point; obtaining the significant value of each pixel point according to the relationship between the significant value parameter of each pixel point and the first and second preset thresholds, and further calculating to obtain the brightness attenuation coefficient of each pixel point; and calculating to obtain the adjusted brightness value of each pixel point according to the brightness attenuation coefficient of each pixel point, and finishing the adjustment. This embodiment can reduce power consumption with less influence on the display effect.

Description

Display brightness adjusting method, display system, computer device and medium
Technical Field
The invention relates to the technical field of display. And more particularly, to a display brightness adjusting method, a display system, a computer device, and a medium.
Background
At present, various types of display screens generally have the problem of high display power consumption, and particularly, the display screens are AMOLED display screens which are more and more widely applied. The AMOLED display screen is more and more emphasized by the advantages of high contrast, high color gamut, thinness, capability of being made into a flexible screen and the like, but the problem of high display power consumption is serious, so that the energy efficiency ratio is not high, and the service life of the display panel can be influenced.
Therefore, it is desirable to provide a display brightness adjustment method, a display system, a computer device, and a medium.
Disclosure of Invention
An object of the present invention is to provide a display brightness adjusting method, a display system, a computer device, and a medium, which solve at least one of the problems of the prior art.
In order to achieve the purpose, the invention adopts the following technical scheme:
the invention provides a display brightness adjusting method in a first aspect, which comprises the following steps:
acquiring YUV values of all pixel points in an image frame to be displayed;
calculating YUV average value Dis of image frame to be displayedinitialCalculating the YUV average value of each pixel point in a first pixel range and the YUV average value of each pixel point in a second pixel range by taking the YUV average value as the center;
calculating the difference Dis between the YUV average value of each pixel point in the first pixel range taking the pixel point as the center and the YUV average value of each pixel point in the second pixel range taking the pixel point as the center, and calculating the average difference Dis between each pixel point and other pixel points in the first pixel range taking the pixel point as the centeravrAnd then calculating to obtain the significant value parameter of each pixel point
Figure BDA0002295505090000011
Judging significance parameter Dis of each pixel pointaddThe relation between the significant value parameter Dis of a pixel and the first preset threshold α and the second preset threshold βaddSatisfy DisaddIf the value is more than α, the significant value P of the pixel point is equal to 1, and if the value is more than α, the significant value parameter Dis of the pixel point is equal to 1addα more than or equal to DisaddNot less than β, the significant value P of the pixel point is equal to
Figure BDA0002295505090000012
If the significant parameter Dis of the pixel pointaddSatisfy DisaddIf the value is less than β, the value of the significant value P of the pixel point is P which is 0;
calculating the brightness attenuation coefficient Ratio of each pixel pointmax(1-P), wherein, RatiomaxThe maximum value of the preset brightness attenuation coefficient is obtained;
and calculating to obtain the brightness value of each pixel point after adjustment according to the brightness attenuation coefficient Ratio of each pixel point, and finishing the adjustment of the display brightness.
According to the display brightness adjusting method provided by the first aspect of the invention, the significance of the pixel points is analyzed and quantified based on the brightness difference between each pixel point and the surrounding pixel points in the image frame to be displayed, so that the pixel points with higher significance value are subjected to smaller brightness attenuation, and the pixel points with lower significance value are subjected to larger brightness attenuation, so that the display power consumption is effectively reduced under the condition of less influence on the display effect.
Optionally, the first pixel range is a 3 × 3 pixel range, and the second pixel range is an n × n pixel range, where n is 5, 7, 9, 11, 13, or 15.
The optional mode can more accurately analyze and quantize the significance of the pixel points according to the brightness difference between each pixel point and the surrounding pixel points in the image frame to be displayed, thereby more accurately acquiring the significance value of each pixel point and being beneficial to more accurately performing targeted brightness attenuation on different pixel points.
Optionally, the formula for calculating the YUV average value of the image frame to be displayed is as follows:
Disinitial=(Yavr)2+(Uavr)2+(Vavr)2
wherein, Yavr、Uavr、VavrRespectively is the Y average value, the U average value and the V average value of each pixel point in the image frame to be displayed.
Alternatively,
the formula for calculating the difference value Dis between the YUV average value in the first pixel range and the YUV average value in the second pixel range of each pixel point by taking the YUV average value as the center is as follows:
Dis=(Yavrn-Yavr3)2+(Uavrn-Uavr3)2+(Vavrn-Vavr3)2
wherein, Yavr3、Uavr3、Vavr3Respectively as the Y average value, the U average value, the V average value and the Y average value of the pixel points within the range of 3 multiplied by 3 pixels by taking the pixel points as centersavrn、Uavrn、VavrnThe average value Y, the average value U and the average value V of the pixel points within the range of n multiplied by n pixels by taking the pixel points as centers are respectively shown.
Calculating the average difference value Dis between each pixel point and other pixel points in the first pixel range taking the pixel point as the centeravrThe formula of (1) is:
Figure BDA0002295505090000021
wherein, Yx,y、Ux,y、Vx,yThe Y value, the U value and the V value of the pixel point with the coordinate (x, Y) are respectively.
Optionally, the formula for obtaining the adjusted brightness value of each pixel point according to the brightness attenuation coefficient Ratio of each pixel point is as follows:
Y'x,y=Yx,y-Yx,y*Ratio
wherein, Y'x,yIs the adjusted brightness value of the pixel point with the coordinate (x, y).
Optionally, the value of the first preset threshold α is 0.3, and the value of the second preset threshold β is 0.02.
The optional mode can set more appropriate significant values for the pixel points, and is more favorable for performing more accurate targeted brightness attenuation on different pixel points.
Optionally, the preset maximum value Ratio of the brightness attenuation coefficientmaxIs 0.2.
This alternative may ensure that the impact on the display effect is within an acceptable range while ensuring a reduction in the display power consumption effect.
Optionally, the method further comprises: judging whether the brightness attenuation coefficient Ratio of the pixel point is smaller than the preset brightness attenuation coefficient minimum value RatiominIf yes, setting the value of the brightness attenuation coefficient Ratio of the pixel point as Ratiomin. With this implementation, forSignificance parameter DisaddA pixel > α that has a saliency value of 1 but will also experience minimal luminance degradation.
This option can further secure the effect of reducing the display power consumption.
Optionally, the preset minimum value Ratio of brightness attenuation coefficientminIs 0.02.
This alternative may ensure that the impact on the display effect is within an acceptable range while ensuring a reduction in the display power consumption effect.
Alternatively,
the acquiring the YUV value of each pixel point in the image frame to be displayed further comprises: converting the RGB value of each pixel point in the image frame to be displayed into a YUV value;
after the adjusted brightness value of each pixel point is obtained by calculation according to the brightness attenuation coefficient Ratio of each pixel point and the display brightness adjustment is completed, the method further comprises the following steps: and converting the YUV value of each pixel point after the brightness value is adjusted into an RBG value.
A second aspect of the invention provides a computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the method provided by the first aspect of the invention when executing the program.
A third aspect of the invention provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the method provided by the first aspect of the invention.
A fourth aspect of the invention provides a display system comprising the computer device of the second aspect of the invention and a display screen for displaying the adjusted image frames to be displayed.
Optionally, the display screen is an AMOLED display screen.
The invention has the following beneficial effects:
according to the technical scheme, the display power consumption can be effectively reduced under the condition that the display effect is slightly influenced, so that the energy efficiency ratio of the display screen is improved, and the service life of the display panel is prolonged.
Drawings
The following describes embodiments of the present invention in further detail with reference to the accompanying drawings;
fig. 1 shows a flowchart of a display brightness adjustment method according to an embodiment of the present invention.
Fig. 2 shows a graph of saliency value as a function of a saliency value parameter.
Fig. 3 is a schematic structural diagram of a computer device provided in an embodiment of the present invention.
Detailed Description
In order to more clearly illustrate the invention, the invention is further described below with reference to preferred embodiments and the accompanying drawings. Similar parts in the figures are denoted by the same reference numerals. It is to be understood by persons skilled in the art that the following detailed description is illustrative and not restrictive, and is not to be taken as limiting the scope of the invention.
As shown in fig. 1, an embodiment of the present invention provides a display brightness adjusting method, including:
acquiring YUV values of all pixel points in an image frame to be displayed; the YUV values comprise Y channel values, U channel values and V channel values of YUV color space, which can also be directly called as Y values, U values and V values, wherein the Y channel values represent brightness components of pixel points, and the U channel values and the V channel values respectively represent chrominance components of the pixel points;
calculating YUV average value Dis of image frame to be displayedinitialCalculating the YUV average value of each pixel point in a first pixel range and the YUV average value of each pixel point in a second pixel range by taking the YUV average value as the center;
calculating the difference Dis between the YUV average value of each pixel point in the first pixel range taking the pixel point as the center and the YUV average value of each pixel point in the second pixel range taking the pixel point as the center, and calculating the average difference Dis between each pixel point and other pixel points in the first pixel range taking the pixel point as the centeravrAnd then calculating to obtain the significant value parameter of each pixel point
Figure BDA0002295505090000041
Judging significance parameter Dis of each pixel pointaddThe relation between the significant value parameter Dis of a pixel and the first preset threshold α and the second preset threshold βaddSatisfy DisaddIf the value is more than α, the significant value P of the pixel point is equal to 1, and if the value is more than α, the significant value parameter Dis of the pixel point is equal to 1addα more than or equal to DisaddNot less than β, the significant value P of the pixel point is equal to
Figure BDA0002295505090000042
If the significant parameter Dis of the pixel pointaddSatisfy DisaddIf the value is less than β, the value of the significant value P of the pixel point is P which is 0;
calculating the brightness attenuation coefficient Ratio of each pixel pointmax(1-P), wherein, RatiomaxThe maximum value of the preset brightness attenuation coefficient is obtained;
and calculating to obtain the brightness value of each pixel point after adjustment according to the brightness attenuation coefficient Ratio of each pixel point, and finishing the adjustment of the display brightness.
According to the image saliency principle, human eyes are limited to the attention area of an image, are more sensitive to brightness variation of a relatively salient area, and are dull to brightness variation of a non-salient area. The display brightness adjusting method provided by this embodiment analyzes and quantizes the significance of the pixel points based on the brightness difference between each pixel point and the surrounding pixel points in the image frame to be displayed, and further performs smaller brightness attenuation on the pixel points with higher significance values and performs larger brightness attenuation on the pixel points with lower significance values, thereby effectively reducing the display power consumption under the condition of less influence on the display effect.
In some optional implementations of this embodiment, the first pixel range is a 3 × 3 pixel range, and the second pixel range is an n × n pixel range, where n is 5, 7, 9, 11, 13, or 15. In one specific example, n has a value of 11.
The realization mode can more accurately realize the analysis and quantification of the significance of the pixel points on the brightness difference between each pixel point and the surrounding pixel points in the image frame to be displayed, thereby more accurately acquiring the significance value of each pixel point and being beneficial to more accurately performing targeted brightness attenuation on different pixel points.
In a specific example, for the pixels located at the edge of the image frame, there may not be the second pixel range or even the first pixel range centered on the pixels, but since the saliency of the pixels at the edge is low, the luminance attenuation coefficient of the pixels may be directly set to the maximum value of the preset luminance attenuation coefficient, or even larger.
In some optional implementations of this embodiment, the formula for calculating the YUV average value of the image frame to be displayed is as follows:
Disinitial=(Yavr)2+(Uavr)2+(Vavr)2
wherein, Yavr、Uavr、VavrRespectively is the Y average value, the U average value and the V average value of each pixel point in the image frame to be displayed.
In some alternative implementations of the present embodiment,
the formula for calculating the difference value Dis between the YUV average value in the first pixel range and the YUV average value in the second pixel range of each pixel point by taking the YUV average value as the center is as follows:
Dis=(Yavrn-Yavr3)2+(Uavrn-Uavr3)2+(Vavrn-Vavr3)2
wherein, Yavr3、Uavr3、Vavr3Respectively as the Y average value, the U average value, the V average value and the Y average value of the pixel points within the range of 3 multiplied by 3 pixels by taking the pixel points as centersavrn、Uavrn、VavrnThe average value Y, the average value U and the average value V of the pixel points within the range of n multiplied by n pixels by taking the pixel points as centers are respectively shown.
Calculating the average difference value Dis between each pixel point and other pixel points in the first pixel range taking the pixel point as the centeravrThe formula of (1) is:
Figure BDA0002295505090000061
wherein, Yx,y、Ux,y、Vx,yThe Y value, the U value and the V value of the pixel point with the coordinate (x, Y) are respectively.
Other pixel points within a 3 × 3 pixel range of a pixel point whose coordinates are (x, y) expressed in the form of a matrix are as follows:
Figure BDA0002295505090000062
in some optional implementation manners of this embodiment, the formula for obtaining the adjusted brightness value of each pixel point according to the brightness attenuation coefficient Ratio of each pixel point is:
Y'x,y=Yx,y-Yx,y*Ratio
wherein, Y'x,yIs the adjusted brightness value of the pixel point with the coordinate (x, y).
In some optional implementation manners of this embodiment, a value of the first preset threshold α is 0.3, a value of the second preset threshold β is 0.02, and a curve of the significant value changing with the significant value parameter is shown in fig. 2 when a value of the first preset threshold α is 0.3 and a value of the second preset threshold β is 0.02.
The realization mode can set more appropriate significant values for the pixel points, and is more favorable for carrying out more accurate targeted brightness attenuation on different pixel points.
In some optional implementations of this embodiment, the preset maximum value Ratio of the brightness attenuation coefficientmaxIs 0.2.
The realization mode can ensure that the influence on the display effect is within an acceptable range while ensuring the effect of reducing the display power consumption.
In some optional implementations of this embodiment, the method further includes: judging whether the brightness attenuation coefficient Ratio of the pixel point is smaller than the preset brightness attenuation coefficient minimum value RatiominIf yes, setting the value of the brightness attenuation coefficient Ratio of the pixel point as Ratiomin. With this implementation, parameters are consulted for significant valuesNumber DisaddA pixel > α that has a saliency value of 1 but will also experience minimal luminance degradation.
This implementation can further secure the effect of reducing display power consumption.
In some optional implementations of this embodiment, the preset minimum value Ratio of the brightness attenuation coefficientminIs 0.02.
The realization mode can ensure that the influence on the display effect is within an acceptable range while ensuring the effect of reducing the display power consumption.
In some alternative implementations of the present embodiment,
the acquiring the YUV value of each pixel point in the image frame to be displayed further comprises: converting the RGB value of each pixel point in the image frame to be displayed into a YUV value;
after the adjusted brightness value of each pixel point is obtained by calculation according to the brightness attenuation coefficient Ratio of each pixel point and the display brightness adjustment is completed, the method further comprises the following steps: and converting the YUV value of each pixel point after the brightness value is adjusted into an RBG value. And after the YUV value of each pixel point after the brightness value is adjusted is converted into an RBG value, the display screen can directly display the adjusted image frame to be displayed according to the RBG value of each pixel point.
In a specific example, a conversion formula for converting an RGB value of each pixel point in an image frame to be displayed into a YUV value is as follows:
Figure BDA0002295505090000071
another embodiment of the present invention provides a display system, which includes a computer device and a display screen for displaying adjusted image frames to be displayed, wherein the computer device includes a memory, a processor and a computer program stored in the memory and executable on the processor, and the processor implements the method provided by the above embodiment when executing the program.
The processor of the computer device can be described as being provided with a plurality of modules, for example, the processor comprises an acquisition module, a first calculation module, a second calculation module, a significant value assignment module, a third calculation module and an adjustment module;
the acquiring module is used for acquiring YUV values of all pixel points in an image frame to be displayed;
a first calculating module for calculating YUV average value Dis of image frame to be displayedinitialCalculating the YUV average value of each pixel point in a first pixel range and the YUV average value of each pixel point in a second pixel range by taking the YUV average value as the center;
a second calculating module, configured to calculate a difference Dis between the YUV average value of each pixel point in the first pixel range centered on the YUV average value and the YUV average value of each pixel point in the second pixel range centered on the YUV average value, and calculate an average difference Dis between each pixel point and another pixel point in the first pixel range centered on the YUV average valueavrAnd then calculating to obtain the significant value parameter of each pixel point
Figure BDA0002295505090000072
A significant value assignment module for determining the significant value parameter Dis of each pixel pointaddThe relation between the significant value parameter Dis of a pixel and the first preset threshold α and the second preset threshold βaddSatisfy DisaddIf the value is more than α, the significant value P of the pixel point is equal to 1, and if the value is more than α, the significant value parameter Dis of the pixel point is equal to 1addα more than or equal to DisaddNot less than β, the significant value P of the pixel point is equal to
Figure BDA0002295505090000081
If the significant parameter Dis of the pixel pointaddSatisfy DisaddIf the value is less than β, the value of the significant value P of the pixel point is P which is 0;
a third calculating module for calculating a brightness attenuation factor Ratio of each pixelmax(1-P), wherein, RatiomaxThe maximum value of the preset brightness attenuation coefficient is obtained;
and the adjusting module is used for calculating the adjusted brightness value of each pixel point according to the brightness attenuation coefficient Ratio of each pixel point to finish the adjustment of the display brightness.
In some optional implementations of this embodiment, the display screen is an AMOLED display screen.
It should be noted that the principle and the working flow of implementing the display brightness adjustment by the computer device in the display system provided in this embodiment are similar to those of the display brightness adjustment method, and reference may be made to the above description for relevant points, which is not described herein again.
As shown in fig. 3, a computer system suitable for implementing the computer device provided in the present embodiment includes a central processing module (CPU) that can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) or a program loaded from a storage section into a Random Access Memory (RAM). In the RAM, various programs and data necessary for the operation of the computer system are also stored. The CPU, ROM, and RAM are connected thereto via a bus. An input/output (I/O) interface is also connected to the bus.
An input section including a keyboard, a mouse, and the like; an output section including a speaker and the like such as a Liquid Crystal Display (LCD); a storage section including a hard disk and the like; and a communication section including a network interface card such as a LAN card, a modem, or the like. The communication section performs communication processing via a network such as the internet. The drive is also connected to the I/O interface as needed. A removable medium such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive as necessary, so that a computer program read out therefrom is mounted into the storage section as necessary.
In particular, the processes described in the above flowcharts may be implemented as computer software programs according to the present embodiment. For example, the present embodiments include a computer program product comprising a computer program tangibly embodied on a computer-readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication section, and/or installed from a removable medium.
The flowchart and schematic diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to the present embodiments. In this regard, each block in the flowchart or schematic diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the schematic and/or flowchart illustration, and combinations of blocks in the schematic and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
On the other hand, the present embodiment also provides a nonvolatile computer storage medium, which may be the nonvolatile computer storage medium included in the apparatus in the foregoing embodiment, or may be a nonvolatile computer storage medium that exists separately and is not assembled into a terminal. The non-volatile computer storage medium stores one or more programs that, when executed by a device, cause the device to: acquiring YUV values of all pixel points in an image frame to be displayed; calculating YUV average value Dis of image frame to be displayedinitialCalculating the YUV average value of each pixel point in a first pixel range and the YUV average value of each pixel point in a second pixel range by taking the YUV average value as the center; calculating the difference Dis between the YUV average value of each pixel point in the first pixel range taking the pixel point as the center and the YUV average value of each pixel point in the second pixel range taking the pixel point as the center, and calculating the average difference Dis between each pixel point and other pixel points in the first pixel range taking the pixel point as the centeravrAnd then calculating to obtain the significant value parameter of each pixel point
Figure BDA0002295505090000091
Judging significance parameter Dis of each pixel pointaddThe relation between the significant value parameter Dis of a pixel and the first preset threshold α and the second preset threshold βaddSatisfy DisaddIf the value is more than α, the significant value P of the pixel point is equal to 1, and if the value is more than α, the significant value parameter Dis of the pixel point is equal to 1addα more than or equal to DisaddNot less than β, the significant value P of the pixel point is equal to
Figure BDA0002295505090000092
If the significant parameter Dis of the pixel pointaddSatisfy DisaddIf the value is less than β, the significant value P of the pixel point is equal to 0, and the brightness attenuation coefficient Ratio of each pixel point is calculatedmax(1-P), wherein, RatiomaxThe maximum value of the preset brightness attenuation coefficient is obtained; and calculating to obtain the brightness value of each pixel point after adjustment according to the brightness attenuation coefficient Ratio of each pixel point, and finishing the adjustment of the display brightness.
It is to be noted that, in the description of the present invention, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
It should be understood that the above-mentioned embodiments of the present invention are only examples for clearly illustrating the present invention, and are not intended to limit the embodiments of the present invention, and it will be obvious to those skilled in the art that other variations and modifications can be made on the basis of the above description, and all embodiments cannot be exhaustive, and all obvious variations and modifications belonging to the technical scheme of the present invention are within the protection scope of the present invention.

Claims (14)

1. A display brightness adjustment method is characterized by comprising the following steps:
acquiring YUV values of all pixel points in an image frame to be displayed;
calculating YUV average value Dis of image frame to be displayedinitialCalculating the YUV average value of each pixel point in a first pixel range and the YUV average value of each pixel point in a second pixel range by taking the YUV average value as the center;
calculating the difference Dis between the YUV average value of each pixel point in the first pixel range taking the pixel point as the center and the YUV average value of each pixel point in the second pixel range taking the pixel point as the center, and calculating the average difference Dis between each pixel point and other pixel points in the first pixel range taking the pixel point as the centeravrAnd then calculating to obtain the significant value parameter of each pixel point
Figure FDA0002295505080000011
Judging significance parameter Dis of each pixel pointaddThe relation between the significant value parameter Dis of a pixel and the first preset threshold α and the second preset threshold βaddSatisfy DisaddIf the value is more than α, the significant value P of the pixel point is equal to 1, and if the value is more than α, the significant value parameter Dis of the pixel point is equal to 1addα more than or equal to DisaddNot less than β, the significant value P of the pixel point is equal to
Figure FDA0002295505080000012
If the significant parameter Dis of the pixel pointaddSatisfy DisaddIf the value is less than β, the value of the significant value P of the pixel point is P which is 0;
calculating the brightness attenuation coefficient Ratio of each pixel pointmax(1-P), wherein, RatiomaxThe maximum value of the preset brightness attenuation coefficient is obtained;
and calculating to obtain the brightness value of each pixel point after adjustment according to the brightness attenuation coefficient Ratio of each pixel point, and finishing the adjustment of the display brightness.
2. The method of claim 1, wherein the first range of pixels is a 3 x 3 range of pixels and the second range of pixels is an n x n range of pixels, and wherein n is 5, 7, 9, 11, 13, or 15.
3. The method according to claim 1, wherein the formula for calculating YUV average values of the image frame to be displayed is:
Disinitial=(Yavr)2+(Uavr)2+(Vavr)2
wherein, Yavr、Uavr、VavrRespectively is the Y average value, the U average value and the V average value of each pixel point in the image frame to be displayed.
4. The method of claim 2,
the formula for calculating the difference value Dis between the YUV average value in the first pixel range and the YUV average value in the second pixel range of each pixel point by taking the YUV average value as the center is as follows:
Dis=(Yavrn-Yavr3)2+(Uavrn-Uavr3)2+(Vavrn-Vavr3)2
wherein, Yavr3、Uavr3、Vavr3Respectively as the Y average value, the U average value, the V average value and the Y average value of the pixel points within the range of 3 multiplied by 3 pixels by taking the pixel points as centersavrn、Uavrn、VavrnThe average value Y, the average value U and the average value V of the pixel points within the range of n multiplied by n pixels by taking the pixel points as centers are respectively shown.
Calculating the average difference value Dis between each pixel point and other pixel points in the first pixel range taking the pixel point as the centeravrThe formula of (1) is:
Figure FDA0002295505080000021
wherein, Yx,y、Ux,y、Vx,yThe Y value, the U value and the V value of the pixel point with the coordinate (x, Y) are respectively.
5. The method according to claim 4, wherein the formula for obtaining the adjusted brightness value of each pixel point according to the brightness attenuation coefficient Ratio of each pixel point is as follows:
Y′x,y=Yx,y-Yx,y*Ratio
wherein, Y'x,yIs the adjusted brightness value of the pixel point with the coordinate (x, y).
6. The method of claim 1, wherein the first predetermined threshold α is 0.3, and wherein the second predetermined threshold β is 0.02.
7. The method according to claim 1, wherein the preset maximum value Ratio of the luminance attenuation coefficientmaxIs 0.2.
8. The method of claim 1, further comprising: judging whether the brightness attenuation coefficient Ratio of the pixel point is smaller than the preset brightness attenuation coefficient minimum value RatiominIf yes, setting the value of the brightness attenuation coefficient Ratio of the pixel point as Ratiomin
9. The method according to claim 8, wherein the preset minimum value Ratio of the luminance attenuation coefficientminIs 0.02.
10. The method of claim 1,
the acquiring the YUV value of each pixel point in the image frame to be displayed further comprises: converting the RGB value of each pixel point in the image frame to be displayed into a YUV value;
after the adjusted brightness value of each pixel point is obtained by calculation according to the brightness attenuation coefficient Ratio of each pixel point and the display brightness adjustment is completed, the method further comprises the following steps: and converting the YUV value of each pixel point after the brightness value is adjusted into an RBG value.
11. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the method according to any of claims 1-10 when executing the program.
12. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-10.
13. A display system comprising a computer device as claimed in claim 11 and a display screen for displaying the adjusted image frames to be displayed.
14. The display system of claim 13, wherein the display screen is an AMOLED display screen.
CN201911199453.0A 2019-11-29 2019-11-29 Display brightness adjusting method, display system, computer device and medium Active CN110910830B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911199453.0A CN110910830B (en) 2019-11-29 2019-11-29 Display brightness adjusting method, display system, computer device and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911199453.0A CN110910830B (en) 2019-11-29 2019-11-29 Display brightness adjusting method, display system, computer device and medium

Publications (2)

Publication Number Publication Date
CN110910830A true CN110910830A (en) 2020-03-24
CN110910830B CN110910830B (en) 2021-02-12

Family

ID=69820606

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911199453.0A Active CN110910830B (en) 2019-11-29 2019-11-29 Display brightness adjusting method, display system, computer device and medium

Country Status (1)

Country Link
CN (1) CN110910830B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112992052A (en) * 2021-03-09 2021-06-18 深圳市华星光电半导体显示技术有限公司 Power consumption control method of display panel and display panel
CN114613327A (en) * 2022-03-10 2022-06-10 海信视像科技股份有限公司 OLED display device and OLED display method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108831409A (en) * 2018-04-23 2018-11-16 遵义师范学院 A kind of image display driving method
CN109272928A (en) * 2018-11-16 2019-01-25 合肥鑫晟光电科技有限公司 Image display method and apparatus
CN109543701A (en) * 2018-11-30 2019-03-29 长沙理工大学 Vision significance method for detecting area and device
WO2019148912A1 (en) * 2018-02-02 2019-08-08 杭州海康威视数字技术股份有限公司 Image processing method, apparatus, electronic device and storage medium
CN110301000A (en) * 2019-01-04 2019-10-01 京东方科技集团股份有限公司 The method and corresponding display device that brightness disproportionation for display device compensates

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019148912A1 (en) * 2018-02-02 2019-08-08 杭州海康威视数字技术股份有限公司 Image processing method, apparatus, electronic device and storage medium
CN108831409A (en) * 2018-04-23 2018-11-16 遵义师范学院 A kind of image display driving method
CN109272928A (en) * 2018-11-16 2019-01-25 合肥鑫晟光电科技有限公司 Image display method and apparatus
CN109543701A (en) * 2018-11-30 2019-03-29 长沙理工大学 Vision significance method for detecting area and device
CN110301000A (en) * 2019-01-04 2019-10-01 京东方科技集团股份有限公司 The method and corresponding display device that brightness disproportionation for display device compensates

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
庄衍竖: "TFT-LCD与OLED图像显示降低功耗方法的研究与实现", 《硕士学位论文》 *
黄成强,樊爱均,康帅: "基于两段直线模型的低功耗高画质显示驱动算法研究及其FPGA实现", 《计算机系统应用》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112992052A (en) * 2021-03-09 2021-06-18 深圳市华星光电半导体显示技术有限公司 Power consumption control method of display panel and display panel
CN112992052B (en) * 2021-03-09 2022-04-26 深圳市华星光电半导体显示技术有限公司 Power consumption control method of display panel and display panel
CN114613327A (en) * 2022-03-10 2022-06-10 海信视像科技股份有限公司 OLED display device and OLED display method
CN114613327B (en) * 2022-03-10 2024-05-24 海信视像科技股份有限公司 OLED display equipment and OLED display method

Also Published As

Publication number Publication date
CN110910830B (en) 2021-02-12

Similar Documents

Publication Publication Date Title
US10460701B2 (en) Display mura correction method, apparatus, and system
JP4189328B2 (en) Image processing apparatus, image display apparatus, image processing method, and image processing program
WO2017143635A1 (en) Method and system for reducing power consumption of display panel
JP5654065B2 (en) Video processing method and apparatus
US8390542B2 (en) Apparatus, method, and program for processing image
EP3379822B1 (en) Video enhancement method, terminal, and nonvolatile computer readable storage medium
US20140328539A1 (en) Method and apparatus for enhancing color
US20200034997A1 (en) An image processing method and apparauts
CN1477880A (en) Self-adapting contrast and brightness reinforcement with colour save
JP2006197584A (en) Black/white stretching system using rgb information in image
CN110910830B (en) Display brightness adjusting method, display system, computer device and medium
EP2141655A2 (en) Color enhancement for graphic images
US20100302269A1 (en) Image processing apparatus and image processing method
CN109919859B (en) Outdoor scene image defogging enhancement method, computing device and storage medium thereof
US20180308458A1 (en) Data compression method and apparatus
CN111105756B (en) Backlight compensation method and device for liquid crystal display image, storage medium and terminal
US20200394760A1 (en) Image adjustment method and associated image processing circuit
US8290262B2 (en) Color processing apparatus and method thereof
CN100525469C (en) Image processing device and method
CN112783460A (en) Display control method and device, electronic equipment and readable storage medium
KR20180045056A (en) Method and apparatus for enhancing an image through white pop-out
KR102525546B1 (en) Image processing method and image processor performing the same
CN113808045B (en) Image brightness adjusting method and device
US11580620B2 (en) Image processing apparatus, image processing method, and non-transitory computer-readable medium
US20230410706A1 (en) Method for image rendering, terminal device and non-transitory computer-readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant