Background technology
Along with the prosperity of electronic industry, portable type electronic product is full of gradually in life, for example: mobile phone, PDA(Personal Digital Assistant), MP3 player etc. at present.And in these portable type electronic products, can have a small display screen usually, its panel may be LCD (LCD), organic light emission flat-panel screens (OLED) or other common flat-panel screens.Yet the battery electric quantity of these portable type electronic products is limited usually, increases in order to make the battery Use Limitation, the brightness of display can be done appropriateness adjustment usually, to increase total system service time.
Generally speaking, the shown brightness of flat-panel screens is healed strong, represents institute's consumed current just big more.With the LCD is example, if under same GTG, brightness Qiang Ze more represents institute backlight consumed current big more; And for the organic light emission flat-panel screens, if under the single display pixel, required current sinking then can increase.
At present common method for controlling display brightness has following several: (a) reach power saving to count brightness reduction that automatically will be backlight after certain interruption service time or to close, but this kind mode can directly influence the picture overall brightness, and only can power saving when not operation; And the Luminance Distribution of (b) adding up picture in operation period, for example: when playing video,, then reduce backlight illumination if most GTG value of whole image concentrates on the dark partially zone of image (for example: GTG value major part is less than GTG value 50); Otherwise, if the GTG value of broadcasting pictures concentrates on the bright partially zone of image, then backlight illumination is kept normal condition, so that the human eye unsusceptibility reduces the image quality variation that is produced to brightness, yet this kind way is except needs statistics Luminance Distribution at present, still needing will see through picture frame impact damper (frame buffer) and store whole image, will make that so circuit design relative complex and system cost are higher.
Summary of the invention
The purpose of this invention is to provide a kind of method and device thereof of controlling display brightness, dynamically adjusting image contrast and brightness according to the Luminance Distribution of input image.
The purpose of this invention is to provide a kind of method and device thereof of controlling display brightness, so that brightness can gradually progressively be adjusted, to avoid the phenomenon of scene brightness flicker that discontinuous picture is produced.
The purpose of this invention is to provide a kind of method and device thereof of controlling display brightness, store whole image, so that circuit design is comparatively simple and can reduce system cost can need not to use picture to keep in impact damper (frame buffer).
According to a characteristic of the present invention, be to propose a kind of method of controlling display brightness, comprise following step: a receiving step is to receive a part of picture image; One statistics step is the Luminance Distribution of this part picture image of statistics; One comparison step is Luminance Distribution and the backlight illumination according to this part picture image, obtains a comparative result; And one adjust the backlight illumination step, is the backlight illumination of adjusting this display according to this comparative result.
According to another characteristic of the present invention, be to propose a kind of device of controlling display brightness, comprise: an imaging data stream statistic unit is to receive a part of picture image, and the Luminance Distribution of adding up this part picture image; One dynamic area computing module is to judge the brightness of this part picture image according to the Luminance Distribution of this part picture image, and judges whether backlight illumination meets this part picture image, to obtain a control signal; And a backlight pulse width modulation signaling control unit, be the backlight illumination of adjusting this display according to this control signal.
Because modern design of the present invention can provide on the industry and utilize, and truly have the enhancement effect, so apply for patent of invention in accordance with the law.
Embodiment
The present invention utilizes the high-brightness region ratio of statistics part image to reach.Just,, then turn down backlight illumination gradually, reduce to save power consumption backlight when the pixel quantity of continuous horizontal sweep trace hi-lite during less than a setting value.
Relevant preferred embodiment explanation of the present invention, please be with reference to the functional block diagram of Fig. 1 demonstration, it is to comprise imaging data stream statistic unit (video stream histogram unit) 110, dynamic area computing module (dynamic range calculation module) 120, backlight pulse width modulation signaling control unit 130, digital to analog converter (DAC) 140, backlight module 150 and contrast reinforcement unit 160.
Imaging data stream statistic unit 110 be in order to receive image information (R, G, B), for the part picture is carried out statistical treatment, to obtain the result who meets default value in the picture partly.120 of dynamic area computing modules receive the statisticses of imaging data stream statistic unit 110, and whether adjust processing backlight according to statistics, to obtain a control signal.Backlight pulse width modulation signaling control unit 130 is width (PW) of adjusting a PM signal (PWM) according to the control signal that dynamic area computing module 120 is exported, to adjust backlight illumination.140 PM conversion of signals with numeral of digital analog converter become simulating signal, with the brightness of control backlight module 150.Contrast reinforcement unit 160 is the R in order to the adjustment pixel, G, and the B value is to strengthen the contrast of picture.
In addition, it is a selectivity function unit that unit 160 is strengthened in contrast, in other embodiments, also can not add this function square.Again, in other embodiments, digital analog converter 140 also can be low pass filtering device, and (Low Pass Filter LPF) replaces.
Relevant of the present invention further specifying please be in the lump with reference to Fig. 1 and Fig. 2, and wherein Fig. 2 is the process flow diagram for a preferred embodiment of the present invention.At first, in step S205, imaging data stream statistic unit 110 receives partly picture image information.In present embodiment, partly picture image information is meant single horizontal scanning line.In other embodiments, partly picture image information can for half bar horizontal scanning line, plurality of pixels (for example: 200 points), some continuous horizontal sweep traces or section picture.In step S210, imaging data stream statistic unit 110 is the R that can find out each pixel, G, and the maximal value among the B (L), for example: the R of a certain pixel, G, the B value is respectively 50,100,160, then represents the maximum R of this pixel, G, B value (L) is 160.
In step S215, imaging data stream statistic unit 110 judges whether less than first default value (for example: 64), less than first default value, then represent this pixel dark partially as if this L value the L value.Number to inclined to one side dark pixel in step S220 is added up, to obtain a dark partially accumulated value SUM.Otherwise, if the L value greater than first default value, is then proceeded step S210.
In step S225, judge whether to finish the statistical treatment of this part image, if do not finish as yet, then continue to get back to step S210, to proceed the statistics of the dark partially number of pixel.Otherwise, if finished this partly statistics of image, then execution in step S230.
In step S230, dynamic area computing module 120 is to judge that whether the dark partially number SUM that adds up is greater than the second default value S
TH(for example: 500) and the width of this PM signal whether (minimum is allowed backlight illumination, for example: 88) greater than the 3rd default value PWmin.If, execution in step S235 then, if not, execution in step S240 then.
In step S235, represent that the inclined to one side dark pixel of this part picture image surpasses the second default value S
TH(500), and the width of PM signal greater than the 3rd default value PWmin.Just partly picture image is dark partially, but backlight illumination is brighter, therefore backlight illumination can be turned down a little.Reduce the width of PM signal this moment, to reduce the brightness of backlight module 150.
In step S240, judge that whether the dark partially number SUM that adds up is less than the second default value S
TH(500) and the width of this PM signal whether less than the 4th default value PWmax.If, execution in step S245 then, if not, execution in step S250 then.
In step S245, represent that the inclined to one side dark pixel of this part picture image does not surpass the second default value S
TH(500), and the width of PM signal less than the 4th default value PWmax.Just partly picture image is bright partially, but backlight illumination is darker, therefore backlight illumination can be increased a little.Increase the width of PM signal this moment, to promote the brightness of backlight module 150.
At last, behind the width of adjusting the PM signal, be execution in step S250, to export the PM signal, with the brightness of control backlight module 150 to digital analog converter 140.So can reach difference, and can dynamically adjust backlight illumination, and reach the power consumption of reduction system with the broadcasting pictures influence.
The above embodiments are main based on the dim spot number in the statistics part image, certainly in other embodiments, also can utilize the bright spot number in the statistics part image to be the basis.
Fig. 3 is the process flow diagram of another preferred embodiment of the present invention.Wherein step S305~S325, S350~S360 major part be with Fig. 2 in step S205~S225, S230~S250 similar, therefore no longer be illustrated at this.But in this embodiment, step S330 judges whether greater than the 5th default value (for example: 196), greater than the 5th default value, then represent this pixel bright partially as if the L value L value.So step S330 is the number of the inclined to one side bright spot of statistics.
In step S340, judge the dark partially number SUM1 add up whether greater than the bright partially number SUM2 that adds up, the partially secretly number SUM that adds up whether greater than the second default value S
TH(500) and the width of this PM signal whether greater than the 3rd default value PWmin.If all set up, represent that the number of the inclined to one side dim spot of this part image is more, reduce the width of PM signal this moment, to reduce the brightness (step S350) of backlight module 150.
In step S345, judge the bright partially number SUM2 add up whether greater than the partially secretly number SUM1 that adds up, the bright partially number SUM2 that adds up whether greater than the second default value S
TH(500) and the width of this PM signal whether less than the 4th default value PWmax, if all set up, represent that the number of the inclined to one side bright spot of this part image is more, increase the width of PM signal this moment, with the brightness (step S355) of lifting backlight module 150.
By above explanation as can be known, the present invention dynamically adjusts image contrast and brightness according to the Luminance Distribution of input image, in addition, be to adopt progressively to adjust when adjusting backlight illumination, the picture brightness flicker takes place in the time of so can avoiding scene discontinuous, and the present invention need not to use the temporary impact damper of picture just can reach above-mentioned effect, makes that not only comparatively simple the and cost of circuit can be lower.
Above-mentioned preferred embodiment only is to give an example for convenience of description, and the protection domain that the present invention advocated should be as the criterion so that claim of the present invention is described certainly, but not only limits to the foregoing description.