Specific embodiment
Hereinafter each aspect of the present invention is described more fully with reference to the accompanying drawings.However, the present invention can have
Body is melted into many different forms, and should not be interpreted as limited to any given structure or function presented through this specification.
Will be so that the present invention be thorough and complete on the contrary, providing these aspects, and this specification will be abundant to those skilled in the art
Convey the scope of the present invention in ground.Based on this specification institute teaching content, it should be appreciated by one skilled in the art that, either singly
Solely or any other embodiment of this specification is combined to realize any embodiment disclosed by this specification, the scope of the present invention
It is intended to cover any embodiment disclosed in this specification.It is, for example, possible to use this specification to propose any number of dress
Method is set or executed to realize.In addition, other than multiple embodiments disclosed by this specification, the scope of the present invention more purport
Covering using other structures, function or structure and function the device or method realized., it is to be appreciated that it can be wanted by right
One or more elements of book are asked to embody any embodiment disclosed herein.
Word " exemplary " is used herein to mean that " being used as example, example or explanation ".Any embodiment of this exposure
This specification be described as " exemplary " design be not necessarily to be construed as being preferable over or better than this exposure or design other realities
Apply example.
Although being described herein as specific embodiment, many variations and sequence of these embodiments fall into model of the invention
In enclosing.Although some benefits and advantage of preferred embodiment are mentioned, the scope of the present invention is not only intended to be limited to specific
Benefit, use or target.On the contrary, the present invention is directed to be widely used in different technologies, system configuration, network and agreement,
Some of them are illustrated by way of example in the explanation of attached drawing and preferred embodiment below.Detail specifications and attached
Figure is only to define this hair by the appended claims and its equivalent to the illustrative rather than limiting present invention of the present invention
Bright range.
The present invention relates to a kind of image processing methods and device for realizing automatic current limiting.Organic Light Emitting Diode
(OLED) display can be used OLED array and show image in whole display;Each OLED subpixel is received based on it
Driving current emit the light of particular color and brightness.In one embodiment, red, green and blue transmitter can be used
Show various colors.In another embodiment, can be used white emitter, and with colour filter or fluorescent material by white transition at
Each color.The light emitted can be red, green and blue, but other white sub-pixels can also be used.In another reality
It applies in example, red, green and blue transmitter can be used for emitting various colors, and these colors can be by passing through one group of colour filter
Channel further refines, so that every kind of transmitting color is matched with the colour filter of particular color.
A variety of electronic devices are in combination with automatic current limiter (Automatic Current Limiting, ACL)
OLED display.The example of suitable electronic device may include the various internally and/or externally elements for facilitating apparatus function.Figure
1 is the schematic diagram of electronic device 100 in an embodiment according to the present invention.It will be appreciated by those skilled in the art that shown in fig. 1
Various functional modules may include hardware element (including circuit), software element (including the meter that may be stored on the computer-readable medium
Calculation machine program code) or both hardware element and software element combination.It should also be noted that Fig. 1 is only certain specific implementation
An example, and be intended only to show the component type that may be present in electronic device 100.For example, in present illustrated embodiment
In, electronic device 100 may include display 110, the port I/O 112, input structure 114, one or more processors 116, memory
118, storage device 120, one or more optical sensors 122, networked devices 124, power supply 126 and automatic current limiter (ACL) 128.
For each of these elements, display 110 can be used for showing each as caused by electronic device 100
Kind image.In one embodiment, display 110 can be Organic Light Emitting Diode (OLED) display.OLED display may include
It can be used for showing the multiple pixels or picture element of image on display 110.In OLED display, each pixel can be by three
A pixel component (also referred to as sub-pixel) is constituted, respectively red, green and blue;Alternatively, four pixels point can be used
Amount, i.e., red, green, blue and white.Electroluminescence layer (that is, organic compound film) can be used to show phase for each sub-pixel
The color answered, the electroluminescence layer emit light in response to electric current.Observe that the color of light can directly be emitted by sub-pixel
Light, or the color to be changed by passing through the channel comprising absorbent material or fluorescent material colour filter.Therefore, when in display
When bright image being presented on 110, relatively high power level is can be used in display 110.
The port I/O 112 may include the port for being configured to be connected to a variety of external device (ED)s, and said external device seems electricity
Source, headphone or speaker or other electronic device (such as hand-held device and/or computer, printer, projector, outsides
Display, modem, expansion slot etc.).Input structure 114 may include for providing user's input to processor 116 or returning
Various devices, circuit and the path of feedback.Input structure 114 can be arranged to control the function of electronic device 100, in electronic device
The application run on 100 and/or any interface or device that are connected to electronic device 100 or are used by electronic device 100.
One or more processors 116 can provide processing capacity, to execute operating system, program, user and application interface,
And any other function of electronic device 100.The instruction or data handled by one or more processors 116 can be stored in meter
In calculation machine readable media, such as in memory 118.Memory 118 can be volatile memory, seem random access memory
Device (Random Access Memory, RAM) and/or nonvolatile memory, such as read-only memory (Read-only
Memory, ROM).Electronic device 100 can further comprise the computer-readable medium of other forms, such as storage device
120, storage device 120 can be non-volatile memory device, be used for permanent storage data and/or instruction.Storage device 120 may be used also
Including flash memory, hard disk drive or other optics, magnetism and/or firmware storage media, for storing firmware, data text
Part, software, wireless connection information and any other suitable data.
Electronic device 100 shown in FIG. 1 may also include one or more optical sensors 122.Optical sensor 122 may include sensing
Device, seems photodetector, photodiode, photo resistance (photo resistors), photovoltaic element (photocells),
Or it is able to detect any other sensor of ambient light.In various embodiments, optical sensor 122 may be provided on substrate,
So that it receives light from orientation substrate, the direction opposite with substrate or the two directions.In certain embodiments, a camera can fill
It is located in electronic device 100 and as an optical sensor.
Electronic device 100 shown in Fig. 1 further includes a networked devices 124, such as network controller or network interface card
(Network Interface Card, NIC).Network equipment 124 can for Wi-Fi device, radio-frequency unit,Dress
It sets, honeycomb communication device etc..Network equipment 124 can permit electronic device 100 and be communicated by network, for example, local
Net (Local Area Network, LAN), wide area network (Wide Area Network, WAN) or internet (Internet).Separately
Outside, electronic device 100 may also include power supply 126, such as battery or AC power source.
To prevent display 110 from consuming power excessively, electronic device 100 may also include automatic current limiter 128.Automatic current limiting
Device 128 can be with overall power or electric current that monitor scope 110 uses, and passes through the electric current that control is supplied to display 110
To reduce the overall power consumption in display 110.In one embodiment, automatic current limiter 128 can estimate that be intended for will be
The power consumption of the picture frame shown on display 110, and can be according to the content adjust automatically output frame figure of input frame image
The brightness of picture, to reduce the power consumption of display 110 and keep the visual effect of output frame image.
Fig. 2 is the flow chart 200 of image processing method used in automatic current limiter 128 in Fig. 1.Two kinds can be used
Process flow shown in embodiment implementation method flow Figure 200, the first embodiment is in combination with Fig. 2 B, Fig. 3, Fig. 4 A, figure
5A and Fig. 5 B is illustrated, and second of embodiment is illustrated in combination with Fig. 2 C, Fig. 3, Fig. 4 B, Fig. 5 A and Fig. 5 B.Below first
The first embodiment of method flow Figure 200 is described in conjunction with Fig. 2 B, Fig. 3, Fig. 4 A, Fig. 5 A and Fig. 5 B.
In step S205, automatic current limiter 128 receives an input frame image.In step S210, automatic current limiter 128
Calculate a universe brightness value of input frame image.In more detail, automatic current limiter 128 first calculates each in input frame image
The brightness value (alternatively referred to as the first brightness value) of pixel, then be averaged after adding up to the brightness value of each pixel to obtain
The universe brightness value of input frame image.Wherein, the brightness value of each pixel can by the red channel of each pixel, green channel and
The sub-pixel value of blue channel is calculated according to a conversion formula, and wherein conversion formula is expressed as follows:
DataY=ω1×dataR+ω2×dataG+ω3×dataB
Wherein dataY is the first brightness value, and dataR, dataG and dataB are respectively the pixel in input frame image
The sub-pixel value of red channel, green channel and blue channel, ω1、ω2And ω3A weight respectively between 0 to 1
Value.In one embodiment, ω1、ω2And ω3Summation be 1, in another embodiment, above-mentioned conversion formula is also possible that one
Constant term.Therefore, the universe brightness value original value L of input frame imageavgIt can be expressed as follows:
Wherein, dataYijIt is arranged first corresponding to (or i-th column jth row) pixel for the i-th row jth in input frame image
Brightness value, Μ, Ν are positive integer and Μ × Ν is the sum of all pixels of input frame image.
In another embodiment, universe brightness value original value LavgFor brightest pixel in input frame image or most dark pixel pair
The the first brightness value dataY answered.The invention is not limited thereto, and the value of any universe feature that can represent input frame image is ok
As universe brightness value original value Lavg。
Universe brightness value YavgFor the universe brightness value original value L of input frame imageavgValue after normalized, universe
Brightness value YavgMaximum value is 1, minimum value is 0.
In step S215, automatic current limiter 128 calculates the feature brightness value of each pixel of input frame image.In more detail
Ground says, the feature brightness value original value L of each pixel of input frame imageMaxIt is expressed as follows:
LMax=MAX (dataR, dataG, dataB)
Wherein MAX (dataR, dataG, dataB) be each pixel in red channel, green channel and blue channel this three
Maximum value among sub-pixel value dataR, dataG and dataB corresponding to a channel.In another embodiment, each pixel
Feature brightness value original value LMaxFor the first brightness value dataY of respective pixel.In other embodiments, the spy of each pixel
Levy brightness value original value LMaxCan value be respective pixel sub-pixel value dataR or dataG or dataB.
Feature brightness value YMaxFor the feature brightness value original value L of each pixel of input frame imageMaxThrough normalized
Value afterwards, feature brightness value YMaxMaximum value is 1, minimum value is 0.
In step S220, automatic current limiter 128 is according to the feature brightness value Y of each pixel in input frame imageMaxWith
The universe brightness value Y of input frame imageavgCalculate the final pixel brightness ratio aclLR of each pixel;Fig. 2 B is according to the present invention one
The more detailed process flow diagram 201 of step S220 in Fig. 2A described in embodiment, below in conjunction with Fig. 3, Fig. 4 A, Fig. 5 A and figure
5B does more detailed description to process Figure 20 1.
In step B2200, automatic current limiter 128 calculates the feature brightness value Y of each pixel in input frame imageMax
With the universe brightness value Y of input frame imageavgLuminance difference absolute value delta YMax;Luminance difference absolute value original value Δ LMaxTable
Show as follows:
ΔLMax=| Lavg-LMax| (1)
In another embodiment, luminance difference absolute value original value Δ LMaxIt can be replaced with another formula (2), be indicated such as
Under:
ΔLMax=MAX (| Lavg- dataR |, | Lavg- dataG |, | Lavg-dataB|) (2)
Wherein, LavgFor universe brightness value original value, dataR, dataG, data Β are each pixel in input frame image
The sub-pixel value of middle red channel, green channel and blue channel;MAX(|Lavg- dataR |, | Lavg- dataG |, | Lavg-
DataB |) indicate to take | Lavg-dataR|、|Lavg-dataG|、|Lavg- dataB | among maximum value.
Luminance difference absolute value delta YMaxFor luminance difference absolute value original value Δ LMaxValue after normalized, brightness
Absolute difference Δ YMaxMaximum value is 1, minimum value is 0.
In step B2202, automatic current limiter 128 is according to the universe brightness value Y of input frame imageavgDetermine that a universe is bright
Then degree calculates the basic pixel brightness ratio of each pixel in input frame image than aclGR according to universe brightness ratio aclGR
aclLGR.Specifically, automatic current limiter 128 can be according to the universe brightness value Y of a look-up table and input frame imageavgDetermine one
Then universe brightness ratio aclGR calculates the basic pixel brightness of each pixel in input frame image according to universe brightness ratio aclGR
Compare aclLGR.In other words, the universe brightness value Y of input frame image is found in a lookup tableavgCorresponding brightness ratio, and with
Universe brightness ratio aclGR of the brightness ratio obtained by correspondence as input frame image, can be to input frame using universe brightness ratio aclGR
The brightness of each pixel in image carries out reduction processing, i.e., is calculated according to universe brightness ratio aclGR each in input frame image
The basic pixel brightness ratio aclLGR of pixel reduces input frame image using the basic pixel brightness ratio aclLGR of each pixel
Overall brightness is to achieve the purpose that power saving and not influence visual effect.For example, in fig. 3, it is assumed that look-up table includes brightness
Index value idx_x [i], idx_x [i+1], and correspond respectively to the brightness ratio of brightness index value idx_x [i], idx_x [i+1]
acl_lut[i],acl_lut[i+1];And as shown in figure 3, horizontal axis can indicate that brightness index value, the longitudinal axis can indicate brightness ratio, lead to
Brightness ratio corresponding to brightness index value can be obtained by crossing look-up table.It should be noted that as shown in figure 3, brightness index value idx_x
[i] is less than brightness index value idx_x [i+1], and brightness ratio acl_lut [i] is greater than brightness ratio acl_lut [i+1];When input frame figure
The universe brightness value Y of pictureavgWhen smaller, the larger value is set by the universe brightness ratio aclGR of input frame image, will be given in this way
The lesser brightness range of decrease of darker input frame image is excessively dark to avoid the image of display, and then guarantees that the entirety of input frame image is bright
Degree and visual effect;As the universe brightness value Y of input frame imageavgWhen larger, by the universe brightness ratio aclGR of input frame image
It is set as smaller value, it is excessively bright to avoid the image of display that the biggish brightness range of decrease of brighter input frame image will be given in this way.Cause
This can still keep vision in the case where reducing the overall brightness of input frame image after the adjustment of universe brightness ratio aclGR
Effect.In other words, if the universe brightness value Y of an input frame imageavgGreater than the universe brightness value Y of another input frame imageavg, this
The universe brightness ratio aclGR of input frame image can be less than the universe brightness ratio aclGR of another input frame image;If an input frame figure
The universe brightness value Y of pictureavgLess than the universe brightness value Y of another input frame imageavg, the universe brightness ratio of this input frame image
AclGR can be greater than the universe brightness ratio aclGR of another input frame image.In one embodiment, brightness can be obtained by searching for table
The slope value of index value and brightness ratio can calculate corresponding universe brightness value Y then according to slope valueavgUniverse brightness ratio
aclGR.For example, universe brightness ratio aclGR can be calculated by following formula (3):
It is worth noting that, only including two groups of brightness index value idx_x [i], idx_x in the present embodiment, in look-up table
[i+1] and its corresponding brightness ratio acl_lut [i], acl_lut [i+1] are (because can pass through (idx_x [i], acl_lut
[i]) with (idx_x [i+1] acl_lut [i+1]) two o'clock defined in straight line calculate universe brightness ratio aclGR), but the present invention
It is without being limited thereto.For example, in one embodiment, in look-up table may include eight groups of brightness index values and its corresponding brightness ratio, this
Sample, universe brightness value YavgIt may be in seven brightness index value sections.In one embodiment, in access automatic current limiter 128
Afterwards, look-up table, however, the present invention is not limited thereto are established by processor 116.
As previously mentioned, universe brightness ratio aclGR can be used for reducing the overall brightness of input frame image, to obtain input frame figure
The basic pixel brightness ratio aclLGR of each pixel of picture.In one embodiment, automatic current limiter 128 is by the complete of input frame image
Basic pixel brightness ratio aclLGR of the domain brightness ratio aclGR as each pixel, for reducing the overall brightness of input frame image.
In another embodiment, a region is drawn centered on input frame image center, and the center of image is watched as human eye,
In drawn region can be the circle using image center as the center of circle, the square or length being also possible to centered on image center
Rectangular, however, the present invention is not limited thereto, drawn region can be any shape;Automatic current limiter 128 is complete by input frame image
Domain brightness ratio aclGR as each pixel in drawn region basic pixel brightness ratio aclLGR, will be than input frame image
Universe brightness ratio aclGR small value as drawn region outside each pixel basic pixel brightness ratio aclLGR, for reducing
The overall brightness of input frame image.In another embodiment, input frame image can be divided into multiple regions, each region makes
Use a value related with the universe brightness ratio aclGR of input frame image as the basic pixel brightness ratio aclLGR of each pixel,
For reducing the overall brightness of input frame image.The invention is not limited thereto, and any method for dividing input frame image can be used
The basic pixel brightness ratio aclLGR of each pixel is calculated, for reducing the overall brightness of input frame image.
Then, for the visual effect of holding output frame image while reducing input frame image overall brightness, automatically
The first pixel intensity that current limiter 128 calculates each pixel of input frame image again is adjusted than aclLRA and the second pixel intensity tune
It is whole than aclLRC, then according to the basic pixel brightness ratio aclLGR of each pixel of input frame image, the first pixel intensity adjust
The final pixel brightness ratio aclLR of each pixel is calculated than aclLRC than aclLRA and the adjustment of the second pixel intensity, specifically
Steps are as follows for calculating.
In step B2205, automatic current limiter 128 is according to luminance difference absolute value delta YMaxGenerate corresponding first pixel
Brightness adjustment ratio aclLRA, for improving individual brightness of each pixel in input frame image.Specifically, such as Fig. 4 A institute
Show, automatic current limiter 128 will be according to formula (1) or (2) luminance difference absolute value delta Y calculatedMaxTo calculate each pixel
The adjustment of first pixel intensity allows the luminance difference absolute value delta Y of pixel than aclLRAMaxSmaller (that is, the feature brightness of pixel
Value YMaxCloser to the universe brightness value Y of input frame imageavg) there is biggish brightness amplification, and luminance difference absolute value delta YMax
The greater (that is, the feature brightness value Y of pixelMaxFurther away from the universe brightness value Y of input frame imageavg) there is lesser brightness
Amplification.It can make luminance difference absolute value delta Y in this wayMaxBiggish pixel ratio luminance difference absolute value delta YMaxLesser pixel have compared with
Small brightness amplification, to achieve the purpose that keep input frame brightness of image.Particularly, automatic current limiter 128 is by all brightness
Absolute difference Δ YMaxIn minimum value be defined as minimum brightness absolute difference, corresponding to the first pixel intensity adjustment
It is set as first threshold acl_pixrthavg than aclLRA, by all luminance difference absolute value delta YMaxIn maximum value be defined as
Maximum brightness absolute difference, corresponding to the first pixel intensity adjust and than aclLRA be set as 0.Therefore, interpolation can be passed through
The each pixel being calculated as in input frame image calculates the adjustment of the first pixel intensity corresponding to it and compares aclLRA.It should be noted that
It is that the minimum brightness difference in Fig. 4 A can be denoted as 0, and maximum brightness difference can be denoted as 1.Horizontal axis in Fig. 4 A is indicated to each picture
The luminance difference absolute value of element, the longitudinal axis indicate that the first pixel intensity adjusts ratio.In one embodiment, first threshold acl_
Pixrthavg can be a preset value, and first threshold acl_pixrthavg is greater than 0.Corresponding to each pixel of input frame image
The first pixel intensity adjust operational mode than aclLRA, further in connection with the adjustment of the second pixel intensity than aclLRC do into
One step explanation.As shown in Figure 4 A, it is bright to be in the first pixel corresponding to the input frame pixel between 0 to 1 for luminance difference absolute value
Degree adjustment can be obtained than aclLRA by following formula (4) come interpolation:
AclLRA=acl_pixrthavg X (1- Δ YMax) (4)
Therefore, the luminance difference absolute value delta Y of each pixel in input frame image can be calculated using above-mentioned formulaMaxInstitute
AclLRA is compared in corresponding first pixel intensity adjustment.
In step B2210, automatic current limiter 128 is according to the feature brightness value Y of each pixel in input frame imageMax
With the universe brightness value Y of input frame imageavgCorresponding second pixel intensity adjustment is generated than aclLRC, for improving input frame
Individual brightness of each pixel in image.Particularly, automatic current limiter 128 is according to each pixel in input frame image
Feature brightness value YMaxWith the universe brightness value Y of input frame imageavgBetween relationship determine each picture in input frame image
The adjustment of second pixel intensity corresponding to element is than aclLRC, wherein the adjustment of the second pixel intensity can keep output frame than aclLRC
The contrast of image elaborates below in conjunction with Fig. 5 A and Fig. 5 B.
In detail, as the feature brightness value Y of each pixel in input frame imageMaxLess than the universe of input frame image
Brightness value YavgWhen, by the feature brightness value Y of these input frame pixelsMaxIn corresponding second pixel intensity of minimum value adjust ratio
AclLRC is set as second threshold acl_pixrlowth (as shown in Figure 5A);As the spy of the input frame pixel in input frame image
Levy brightness value YMaxGreater than the universe brightness value Y of input frame imageavgWhen, by the feature brightness value Y of these pixelsMaxIn maximum
The second corresponding pixel intensity of value, which is adjusted, is set as third threshold value acl_pixrth (as shown in Figure 5 B) than aclLRC;Work as input
The feature brightness value Y of input frame pixel in frame imageMaxEqual to the universe brightness value Y of input frame imageavgWhen, then by the input
The corresponding second pixel intensity adjustment of frame pixel is set as 0 than aclLRC.It therefore, can be according to each pixel in input frame image
Feature brightness value YMaxCome interpolation calculation go out the second pixel intensity corresponding to each pixel adjustment compare aclLRC.In this way, passing through
Second pixel intensity adjustment of Fig. 5 A and Fig. 5 B to determine pixel in input frame image can make (1) feature brightness value than aclLRC
YMaxIn universe brightness value YavgMinor modification is done in the brightness of neighbouring pixel;(2) feature brightness value YMaxApart from universe brightness value
YavgLarger adjustment is done in the brightness of farther away pixel.Then after such processing, feature brightness value YMaxThe smallest pixel and
Feature brightness value YMaxMaximum pixel intensity amplification is all larger, thus maintains the contrast that input frame image is shown.
Fig. 5 A show the feature brightness value Y when input frame pixelMaxLess than the universe brightness value Y of input frame imageavgWhen
To determine that the second pixel intensity corresponding to input frame pixel adjusts a kind of embodiment than aclLRC, wherein horizontal axis indicates
The feature brightness value of input frame pixel, the longitudinal axis indicates that the second pixel intensity adjusts ratio, by feature brightness value YMaxFor 0 (that is, input
Feature brightness value original value L in frame pixelMaxReckling) input frame pixel the second pixel intensity adjustment than aclLRC be arranged
For second threshold acl_pixrlowth, by feature brightness value YMaxEqual to universe brightness value YavgInput frame pixel the second picture
Plain brightness adjustment ratio aclLRC is set as 0, feature brightness value YMaxThe universe brightness value Y for arriving input frame image in 0avgBetween
The adjustment of second pixel intensity corresponding to input frame pixel can be obtained than aclLRC by following formula (5) come interpolation:
AclLRC=acl_pixrlowth × (Yavg-YMax)/Yavg (5)
Fig. 5 B show the feature brightness value Y when input frame pixelMaxGreater than the universe brightness value Y of input frame imageavgWhen
To determine that the second pixel intensity corresponding to input frame pixel adjusts a kind of embodiment than aclLRC, wherein horizontal axis indicates
The feature brightness value of input frame pixel, the longitudinal axis indicate that the second pixel intensity adjusts ratio, are 1 (that is, input frame picture by feature brightness value
Feature brightness value original value L in elementMaxThe maximum) the second pixel intensity adjust and than aclLRC be set as third threshold value acl_
Feature brightness value is equal to universe brightness value Y by pixrthavgInput frame pixel the second pixel intensity adjustment set than aclLRC
It is set to 0, feature brightness value YMaxThe universe brightness value Y for arriving input frame image in 1avgBetween input frame pixel corresponding to
The adjustment of two pixel intensities can be obtained than aclLRC by following formula (6) come interpolation:
AclLRC=acl_pixrth × (YMax-Yavg)/(1-Yavg) (6)
In one embodiment, second threshold acl_pixrlowth and third threshold value acl_pixrth can be preset value, and the
Three threshold value acl_pixrth and second threshold acl_pixrlowth are all larger than 0, so that input frame pixel is in the processing by Fig. 3
Afterwards, brightness is turned up in each pixel in input frame image again.And feature brightness value YMaxWith universe brightness value YavgDifference compared with
Big pixel (such as in figure 5B feature brightness value closer to 1 pixel or in fig. 5 feature brightness value closer to 0 picture
Element) brightness magnitude be turned up again is larger, the contrast of output frame image can be kept in this way.In addition, the present invention not office
It is limited to the feature brightness value Y according to each pixel in input frame imageMaxWith the universe brightness value Y of input frame imageavgBetween
Relationship come determine the second pixel intensity corresponding to each pixel in input frame image adjustment compare aclLRC.For example, one
In embodiment, automatic current limiter 128 can also be according to the luminance difference absolute value delta Y of each pixel in input frame imageMaxWith
The universe brightness value Y of input frame imageavgBetween relationship determine the second picture corresponding to each pixel in input frame image
Plain brightness adjustment ratio aclLRC.Therefore, formula (5) can be replaced by formula (7), and formula (6) can be replaced by formula (8),
In, formula (7) and formula (8) may be expressed as:
AclLRC=acl_pixrlowth × Δ YMax/Yavg (7)
AclLRC=acl_pixrth × Δ YMax/(1-Yavg) (8)
In other words, the present invention is according to the feature brightness value Y of each pixel in input frame imageMaxWith input frame image
Universe brightness value YavgBetween relationship be assured that the second pixel intensity corresponding to each pixel in input frame image
AclLRC is compared in adjustment.
In the above-described embodiments, basic pixel brightness ratio aclLGR is first calculated, then calculates the first pixel intensity adjustment ratio
AclLRA finally just calculates the adjustment of the second pixel intensity and compares aclLRC.However, the present invention is not limited thereto, in a further embodiment,
The adjustment of the first pixel intensity can first be calculated than aclLRA, then calculate the adjustment of the second pixel intensity than aclLRC, finally just calculated
Basic pixel brightness ratio aclLGR;I.e. in the present invention, aclLRA is compared in basic pixel brightness ratio aclLGR, the adjustment of the first pixel intensity
The calculating adjusted with the second pixel intensity than aclLRC can be carried out with random order.
In step B2215, automatic current limiter 128 is according to the corresponding basic pixel brightness of pixel each in input frame image
Than aclLGR, the adjustment of the first pixel intensity than aclLRA, universe of the second pixel intensity adjustment than aclLRC and input frame image
Brightness value YavgThe final pixel brightness ratio aclLR of each pixel is calculated, wherein each pixel in input frame image is corresponding most
Whole pixel intensity ratio aclLR can be calculated by formula (9):
AclLR=aclLGR+ ωc×aclLRC+(1-ωc)×aclLRA (9)
Wherein ωcA weighted value of the system between 0 to 1, and weighted value ωcIt (10) can calculate according to the following formula:
ωc=aclwgratio×(1-Yavg) (10)
Wherein aclwgratioFor a preset value, can be adjusted by display dealer or consumer, to determine output frame image
Brightness and/or contrast.For example, before display factory, dealer adjusts acl according to the situation of respective panelwgratio, and
It is transferred in the ROM or Flash that display is written after optimal numerical value and stores, it is aobvious on panel for adjusting input frame image
Show.It is found that it can be according to the universe brightness value Y of input frame image by formula (10)avgCalculate weighted value ωcIf input frame figure
The universe brightness value Y of pictureavgIt is bigger, weighted value ωcWith regard to smaller, the final pixel brightness of input frame pixel is calculated according to formula (9)
When than aclLR, the adjustment of the first pixel intensity is bigger than aclLRA proportion and the second pixel intensity is adjusted than aclLRC institute
Accounting weight is just smaller;On the contrary, if the universe brightness value Y of input frame imageavgIt is smaller, weighted value ωcIt is bigger, according to formula
(9) when calculating the final pixel brightness ratio aclLR of input frame pixel, the adjustment of the first pixel intensity is got over than aclLRA proportion
Small and the second pixel intensity adjusts bigger than aclLRC proportion.Processing in this way has smaller universe brightness value
YavgInput frame image corresponding to output frame image can keep more contrast, and there is larger universe brightness value
YavgInput frame image corresponding to output frame image can keep less contrast, thus avoid the expansion of noise,
The visual effect that display is maintained while reducing output frame image overall brightness is accomplished.
In step S225, automatic current limiter 128 is adjusted according to final pixel brightness ratio aclLR corresponding with each pixel
The brightness of each pixel of input frame image.In more detail, automatic current limiter 128 is by each pixel in input frame image
Red color channel value, green channel value and blue channel value are respectively multiplied by final pixel brightness ratio aclLR corresponding with each pixel
To obtain the adjusted value of each pixel of input frame image, and the adjusted value of each pixel is transmitted to display to show output frame
Image.
Second of embodiment of method flow Figure 200 is described below with reference to Fig. 2 C, Fig. 3, Fig. 4 B, Fig. 5 A and Fig. 5 B;Side
It is in step S220, to lead in place of the main difference of second of embodiment and its first embodiment of method flow chart 200
The mode for crossing the brightness of each pixel for reducing input frame image calculates the adjustment of the first pixel intensity and compares aclLRA.Fig. 2 C is basis
The more detailed process flow diagram 202 of step S220 in Fig. 2A described in one embodiment of the invention, below in conjunction with Fig. 3, Fig. 4 B,
Fig. 5 A and Fig. 5 B do more detailed description to process Figure 20 2.
Step C2200, C2202, C2210 and C2215 in process flow 202 in Fig. 2 C and the place in corresponding Fig. 2 B
The concrete operations for managing step B2200, B2202, B2210 and B2215 in process 201 are identical;Process flow in only Fig. 2 C
Step C2205 in 202 is different from the concrete operations of step B2205 in the process flow 201 in corresponding Fig. 2 B, below will
The only concrete operations process of the step C2205 in the process flow 202 in description Fig. 2 C.
In step C2205, automatic current limiter 128 is according to luminance difference absolute value delta YMaxGenerate corresponding first pixel
Brightness adjustment ratio aclLRA, for reducing individual brightness of each pixel in input frame image.Specifically, such as Fig. 4 B institute
Show, automatic current limiter 128 will be according to formula (1) or (2) luminance difference absolute value delta Y calculatedMax, by reducing input frame
The mode of the brightness of each pixel of image makes the luminance difference of pixel exhausted to calculate the adjustment of the first pixel intensity than aclLRA
To value Δ YMaxSmaller (that is, the feature brightness value Y of pixelMaxCloser to the universe brightness value Y of input frame imageavg) have compared with
The small brightness range of decrease, and luminance difference absolute value delta YMaxThe greater (that is, the feature brightness value Y of pixelMaxFurther away from input frame
The universe brightness value Y of imageavg) there is the biggish brightness range of decrease.It can make luminance difference absolute value delta Y in this wayMaxBiggish pixel
Specific luminance absolute difference Δ YMaxLesser pixel has the biggish brightness range of decrease, to reach the mesh for keeping input frame brightness of image
's.Particularly, automatic current limiter 128 is by all luminance difference absolute value delta YMaxIn minimum value to be defined as minimum brightness poor
Be worth absolute value, corresponding to the first pixel intensity adjust and than aclLRA be set as 0, by all luminance difference absolute value delta YMax
In maximum value be defined as maximum brightness absolute difference, corresponding to the adjustment of the first pixel intensity be set as the than aclLRA
Four threshold value acl_pixrthavg1.Therefore, can to calculate its for each pixel in input frame image by interpolation calculation right
AclLRA is compared in the first pixel intensity adjustment answered.It should be noted that the minimum brightness absolute difference in Fig. 4 B can be denoted as 0, and
Maximum brightness absolute difference can be denoted as 1.Horizontal axis in Fig. 4 B indicates that the luminance difference absolute value to each pixel, the longitudinal axis indicate
First pixel intensity adjusts ratio.In one embodiment, the 4th threshold value acl_pixrthavg1 can be a preset value, and the 4th threshold value
Acl_pixrthavg1 is less than 0.In this manner it is possible to reduce individual brightness of each pixel in input frame image.As shown in Figure 4 B,
Luminance difference absolute value is in the first pixel intensity corresponding to each pixel of the input frame image between 0 to 1 and adjusts ratio
AclLRA can be obtained by following formula (4 ') come interpolation:
AclLRA=acl_pixrthavg1X Δ YMax (4’)
In the present embodiment, due to turning down the bright of respective pixel once more after turning down the overall brightness of input frame image
Degree, thus can by Fig. 5 A and Fig. 5 B second threshold acl_pixrlowth and third threshold value acl_pixrth be set as comparing
The second threshold acl_pixrlowth and third being arranged in the first embodiment using method flow Figure 200 of Fig. 4 A
Threshold value acl_pixrth high, so that the brightness of respective pixel is able to height-regulating by a relatively large margin, to obtain preferable display effect.
In another embodiment, third threshold value acl_pixrth can be set to be compared with second threshold acl_pixrlowth
Height, so that the amplitude that the darker pixel brightness value of Amplitude Ratio that the brightness value of brighter pixels is elevated is elevated is big, further to mention
The brightness value of brighter pixels is risen, and then further promotes the contrast of image.
In conclusion present invention final pixel brightness ratio aclLR according to corresponding to pixel each in input frame image is certainly
The display brightness of each pixel in dynamic adjustment input frame image, to reduce the power consumption of monitor overall;Moreover, the present invention is adopted
Automatic current limiting regulative mode is simple, and can guarantee the display quality of output frame image, such as makes the clear of output frame image
Degree and/or contrast are preferable.
In addition, in one embodiment, the processor 116 in electronic device 100 also can be performed program in memory 118 and
Instruction is to be presented movement described in above-described embodiment and step.
Any specific order of disclosed program is an example herein.Based on the preference in design, it is necessary to understand journey
Any specific order in sequence can disclosed herein in the range of be rearranged.Corresponding claim to a method shows with one
Example sequence shows the order of each step, and also therefore the particular order that should not be shown by this limits.
To the not dark using of the ordinal numbers such as " first " of modified elements, " second ", " third " itself in claims
Show the order of any priority, order of priority, step performed by precedence or method between each element, and is only used to
Distinguish the different elements with same names (with different ordinal numbers).
Although this specification is disclosed above to implement example, so it is not limited to the application, the technology of this field
Personnel without departing from the spirit and scope of the present invention, when that can do few modifications and retouching, therefore work as by the protection scope of the application
Subject to the appended claims confining spectrum.