CN106548763A - A kind of method for displaying image and device and terminal - Google Patents
A kind of method for displaying image and device and terminal Download PDFInfo
- Publication number
- CN106548763A CN106548763A CN201510606878.4A CN201510606878A CN106548763A CN 106548763 A CN106548763 A CN 106548763A CN 201510606878 A CN201510606878 A CN 201510606878A CN 106548763 A CN106548763 A CN 106548763A
- Authority
- CN
- China
- Prior art keywords
- value
- present frame
- default
- brightness
- frame
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 37
- 230000001105 regulatory effect Effects 0.000 claims abstract description 89
- 239000012634 fragment Substances 0.000 claims abstract description 16
- 230000011218 segmentation Effects 0.000 claims description 23
- 108090000623 proteins and genes Proteins 0.000 claims description 18
- 238000004148 unit process Methods 0.000 claims description 2
- 230000000638 stimulation Effects 0.000 abstract description 4
- 239000000463 material Substances 0.000 abstract description 2
- 230000008569 process Effects 0.000 description 4
- 230000008859 change Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 210000004556 brain Anatomy 0.000 description 1
- 230000018109 developmental process Effects 0.000 description 1
- 238000004880 explosion Methods 0.000 description 1
- 239000002360 explosive Substances 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 230000035807 sensation Effects 0.000 description 1
- 238000005303 weighing Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/14—Picture signal circuitry for video frequency region
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Transforming Electric Information Into Light Information (AREA)
- Control Of Indicators Other Than Cathode Ray Tubes (AREA)
- Controls And Circuits For Display Device (AREA)
- Television Receiver Circuits (AREA)
Abstract
The present invention discloses a kind of method for displaying image and device and terminal, including:Present frame and the luminance difference value of former frame that acquisition image shows;Picture frame is segmented according to the luminance difference value;In the case where current fragment is kept, the brightness value of present frame is adjusted according to the regulatory factor of storage;Present frame after output regulation.When the luminance difference of two adjacent picture frames is too big, brightness to present frame is adjusted, for a user, when the picture material of display screen is watched, without the need for adjusting brightness manually, especially in dark surrounds, picture frame is automatically adjusted, it is to avoid stimulation to eyes, substantially increase comfort level, the fatigue strength of user is reduced, experience of the user using the electronic equipment that image output is carried out by display screen is improve.
Description
Technical field
The present invention relates to image display technology field, espespecially a kind of method for displaying image and device and end
End.
Background technology
With the development in intelligent epoch, user can (PC, notebook be electric whenever and wherever possible by various terminals
Brain, PAD, mobile phone etc.) video is easily watched, when video is watched, some video segments can
Can be very dark, user cannot see more details, and some videos are partially bright, and user seems that comparison is dazzling,
Especially user plays video in night darkness, is frequently encountered from relatively low being switched to of video segment brightness and regards
The very bright situation of frequency fragment (as scene switches, flash of light, explosion scene etc.), the frequent change of luminance video
Change can cause eyes of user easily tired, and the experience for watching video is very poor, and user manually can adjust
Whole brightness is reaching preferable viewing effect, but operation not enough facilitates, and user frequently adjusts video
Brightness also can bring cumbersome sensation to user, can equally cause the experience of user's viewing video very poor.
The content of the invention
In order to solve the above problems, the present invention proposes a kind of method for displaying image and device and terminal,
Consumer's Experience during user's viewing video can be improved.
In order to achieve the above object, the present invention proposes a kind of method for displaying image, and methods described includes:
Present frame and the luminance difference value of former frame that acquisition image shows;
Picture frame is segmented according to the luminance difference value;
In the case where current fragment is kept, the brightness value of present frame is adjusted according to the regulatory factor of storage;
Present frame after output regulation.
Preferably, it is described picture frame is segmented according to the luminance difference value after, methods described
Also include:
In the case where next segmentation is entered, the brightness value of picture frame is processed accordingly, and is set
Put or update Dynamic gene.
Preferably, the luminance difference value is brightness contrast value or luminance difference.
Preferably, it is described segmentation is carried out to picture frame according to the luminance difference value to include:
Judge the luminance difference value whether more than default flex point threshold value;When luminance difference value is more than default
Flex point threshold value, be judged as into next segmentation, when luminance difference value is less than or equal to default flex point
Threshold value, is judged as keeping current fragment.
Preferably, before the regulatory factor according to storage adjusts the brightness value of present frame, also include:
Judge whether the regulatory factor that is stored with, when be stored with regulatory factor when, perform it is described according to storage
The step of regulatory factor adjusts the brightness value of present frame;
Also include after the regulatory factor that judges whether to be stored with:
In no stored adjustment factor, present frame is exported.
Preferably, it is described judge the luminance difference value whether more than default flex point threshold value after, also
Including:
When the luminance difference value is more than default flex point threshold value, judge whether the luminance difference value is big
In default shining point threshold value;
The brightness value to picture frame is processed accordingly, and setting or renewal Dynamic gene include:
When the luminance difference value is more than default shining point threshold value, adjusted according to the default soft factor
The brightness value of present frame, and record this corresponding regulatory factor of regulation;
Wherein, the shining point threshold value is more than the flex point threshold value.
Preferably, the brightness value for adjusting present frame according to the default soft factor includes:
Xnewi=Xi-1*R;
A=Xi-1*R*/Xi;
Wherein, XnewiFor the brightness value of the present frame after regulation, A is this corresponding regulatory factor of regulation,
R be the default soft factor, Xi-1For the brightness value of former frame, XiFor the brightness value of present frame.
Preferably, it is described judge the luminance difference value whether more than default shining point threshold value after,
The brightness value to picture frame is processed accordingly, and setting or renewal Dynamic gene also include:
When the luminance difference value is less than default shining point threshold value,
In the case where the brightness value of present frame is more than default first luminance threshold, by the brightness of present frame
Value is adjusted to the first luminance threshold, and records this corresponding regulatory factor of regulation;
In the case where the brightness value of present frame is less than default second luminance threshold, by the brightness of present frame
Value is adjusted to the second luminance threshold, and records this corresponding regulatory factor of regulation;
Wherein, first luminance threshold is more than second luminance threshold;
Processed in the brightness value to picture frame accordingly, and after arranging or updating Dynamic gene,
Described image display methods also includes:
Present frame in the case where the brightness value to present frame makes regulation, after output regulation;Do not having
In the case of making regulation, present frame is exported.
In order to achieve the above object, the invention allows for a kind of image display device, described device includes:
Brightness contrast value acquiring unit, for obtaining the luminance difference of present frame that image shows and former frame
Value;
Segmenting unit, for being segmented to picture frame according to the luminance difference value;
First processing units, in the case where current fragment is kept, being adjusted according to the regulatory factor of storage
The brightness value of section present frame;
First output unit, for exporting the present frame after adjusting.
Preferably, it is described picture frame is segmented according to the luminance difference value after, methods described
Also include:
Second processing unit, in the case where next segmentation is entered, entering to the brightness value of picture frame
Row is corresponding to be processed, and arranges or update Dynamic gene.
Preferably, the segmenting unit includes:
Flex point judge module, for judging the luminance difference value whether more than default flex point threshold value;When
Luminance difference value is more than default flex point threshold value, is judged as into next segmentation, when luminance difference value it is little
In or be equal to default flex point threshold value, be judged as keep current fragment.
Preferably, the first processing units also include:
Regulatory factor judge module, for judging whether the regulatory factor that is stored with, when the regulatory factor that is stored with
When, notify that first processing units perform the brightness value that present frame is adjusted according to the regulatory factor of storage;
First output unit is additionally operable to be judged as no stored adjustment in regulatory factor judge module 311
During the factor, present frame is exported.
Preferably, the segmenting unit also includes:
Shining point judge module, for judging whether the luminance difference value is more than in flex point judge module 21
After default flex point threshold value, when the luminance difference value is more than default flex point threshold value, judge described
Whether luminance difference value is more than default shining point threshold value;
The second processing unit includes:
First processing module, for when the luminance difference value be more than default shining point threshold value when, according to
The default soft factor adjusts the brightness value of present frame, and records this corresponding regulatory factor of regulation;
Wherein, the shining point threshold value is more than the flex point threshold value.
Preferably, the first processing module adjusts the brightness value bag of present frame according to the default soft factor
Include:
Xnewi=Xi-1*R;
A=Xi-1*R*/Xi;
Wherein, XnewiFor the brightness value of the present frame after regulation, A is this corresponding regulatory factor of regulation,
R be the default soft factor, Xi-1For the brightness value of former frame, XiFor the brightness value of present frame.
Preferably, the second processing unit also includes:
Second processing module, for judging the luminance difference value less than default in shining point judge module
During shining point threshold value,
In the case where the brightness value of present frame is more than default first luminance threshold, by the brightness of present frame
Value is adjusted to the first luminance threshold, and records this corresponding regulatory factor of regulation;
In the case where the brightness value of present frame is less than default second luminance threshold, by the brightness of present frame
Value is adjusted to the second luminance threshold, and records this corresponding regulatory factor of regulation;
Wherein, first luminance threshold is more than second luminance threshold;
First output unit is additionally operable to, and the brightness value of picture frame is carried out accordingly in second processing unit
Process, and arrange or update Dynamic gene after, make the situation of regulation in the brightness value to present frame
Under, the present frame after output regulation;In the case where regulation is not made, present frame is exported.
In order to achieve the above object, the invention allows for a kind of terminal, the terminal includes any of the above-described
Image display device described in.
Compared with prior art, the technical scheme that the present invention is provided includes:Obtain the present frame that image shows
With the luminance difference value of former frame;Picture frame is segmented according to the luminance difference value;Keeping working as
In the case of front segmentation, the brightness value of present frame is adjusted according to the regulatory factor of storage;After output is adjusted
Present frame.By the solution of the present invention, when the luminance difference of two adjacent picture frames is too big, to working as
The brightness of previous frame is adjusted, for a user, when the picture material of display screen is watched, without the need for hand
It is dynamic to adjust brightness, when brightness raising degree is excessive, the high brightness of picture frame is reduced automatically, in brightness
When reduction degree is excessive, the low-light level to automatic lifting picture frame, especially in dark surrounds, to image
Frame automatically adjusts, it is to avoid the stimulation to eyes, substantially increases comfort level, reduces the tired of user
Lao Du, improves experience of the user using the electronic equipment that image output is carried out by display screen.
Description of the drawings
Below the accompanying drawing in the embodiment of the present invention is illustrated, the accompanying drawing in embodiment is for this
Bright further understands, and is used for explaining the present invention together with specification, does not constitute to present invention protection model
The restriction enclosed.
Fig. 1 is a kind of flow chart of method for displaying image provided in an embodiment of the present invention;
Fig. 2 is the flow chart of another kind of method for displaying image provided in an embodiment of the present invention;
Fig. 3 is the flow chart of another method for displaying image provided in an embodiment of the present invention;
Fig. 4 is a kind of structure composition schematic diagram of image display device provided in an embodiment of the present invention;
Fig. 5 is the structure composition schematic diagram of another kind of image display device provided in an embodiment of the present invention.
Specific embodiment
For the ease of the understanding of those skilled in the art, below in conjunction with the accompanying drawings the present invention is further retouched
State, can not be used for limiting the scope of the invention.It should be noted that in the case where not conflicting,
The various modes in embodiment and embodiment in the application can be mutually combined.
Referring to Fig. 1, the present invention proposes a kind of method for displaying image, and methods described includes:
Step 110, present frame and the luminance difference value of former frame that acquisition image shows.
Wherein, image can be the two field picture in video file, and image can also refer to that user uses electronics
When equipment or electric equipment, export to the piece image of display screen.Present frame refers to current standard in video file
Standby to export to the picture frame of display screen, former frame refers to the previous picture frame of present frame.Present frame can also
It is the current piece image frame for preparing output to display screen.
In the embodiment of the present invention, in step 110, luminance difference value is brightness contrast value or luminance difference.
In the embodiment of the present invention, luminance difference value is illustrated by taking brightness contrast value as an example.
Present frame and the brightness contrast value of former frame be used to weighing in adjacent two field pictures the frame of high brightness with it is low
The ratio of the frame of brightness, so as to weigh the amplitude of luminance video change, the amplitude changed by luminance video
May determine that the video image whether switching of occurrence scene.
Equation below can be adopted to calculate the present frame of video and the brightness contrast value of former frame:
D=max { Xi, Xi-1}/min{Xi, Xi-1};
Wherein, brightness contrast values of the D for the present frame and former frame of video, XiFor the brightness value of present frame,
Xi-1For the brightness value of the former frame of present frame.
Wherein, each frame of video is consisted of pixel, and the brightness value of frame refers to each pixel in frame
The mean value of corresponding brightness value.
For example, the brightness value of one of them in present frame and former frame is 50, the brightness value of another frame
For 100, then present frame and the brightness contrast value of former frame are 2.
Step 120, is segmented to picture frame according to the luminance difference value.
Wherein, it is described segmentation is carried out to picture frame according to the luminance difference value to include:
Judge the luminance difference value whether more than default flex point threshold value;When luminance difference value is more than default
Flex point threshold value, be judged as next segmentation, when luminance difference value be less than or equal to default flex point threshold value,
It is judged as keeping current fragment.
For each picture frame in same segmentation, using the brightness value of same adjustment factor pair picture frame
It is adjusted.
In step 120, when preset value of the adjacent two frames brightness contrast more than this flex point threshold value, it is judged as
Luminance video flex point.For example:It is 2 to be set to flex point threshold value, when former frame luminance video value is 50, after
When one frame luminance video value is 100, or a later frame luminance video value is 25, it is believed that is one and regards
Frequency brightness flex point, illustrates to be likely to occur the switching of scene.
In general, different scenes corresponds to different segmentations, and the image under same scene more connects
Pass through, and luminance difference is less, therefore be adjusted using identical regulatory factor, prevent picture from occurring
The situation of flicker.
Step 130, in the case where current fragment is kept, adjusts present frame according to the regulatory factor of storage
Brightness value.
Wherein, the regulatory factor is configured when luminance difference value is more than default flex point threshold value
And store.
The brightness value that the regulatory factor according to storage adjusts present frame is specially:By the brightness of present frame
Value is multiplied by regulatory factor, it is adjusted after present frame brightness value.
Step 140, the present frame after output regulation.
In the embodiment of the present invention, after step 130, methods described also includes:Entering next point
In the case of section, the brightness value of picture frame is processed accordingly, and arrange or update Dynamic gene.
The above-mentioned corresponding default regulation rule processed for basis, is carried out accordingly to the brightness value of picture frame
Process, when process include adjust present frame brightness value when, Dynamic gene is reset according to conciliation
Size, when not being adjusted to the brightness value of present frame in process, remove Dynamic gene, so under
It is secondary judge whether to be stored with Dynamic gene when, will be deemed as not storing.
Default regulation rule is illustrated with reference to specifically example.For example, according to flex point threshold value
When being segmented to picture frame with shining point threshold value, when luminance difference value is located at it is different interval when, execution
Different adjustment, the adjustment are used to reduce the luminance difference value between present frame and former frame.
With reference to one specifically example illustrate.
Referring to Fig. 2, on the basis of the method for displaying image shown in Fig. 1, the invention allows for a kind of
Method for displaying image, including:
Step 210, obtains the present frame of video and the brightness contrast value of former frame;
Whether step 220, judge the brightness contrast value more than default flex point threshold value;
Step 230, when the brightness contrast value is less than default flex point threshold value, judges whether to be stored with
Regulatory factor,
Step 231, when be stored with regulatory factor when, according to storage regulatory factor adjust present frame it is bright
Angle value.Wherein, the regulatory factor is set when brightness contrast value is more than default flex point threshold value
Put and store;
Step 270, the present frame after output regulation.Present frame after will adjusting is exported to display screen.
After step 230, in no stored adjustment factor, present frame is directly exported.
In the embodiment of the present invention, in step 231, the regulatory factor according to storage adjusts present frame
Brightness value includes:
Xnewi=Xi*A;
Wherein, XnewiFor the brightness value of the present frame after regulation, A is the regulatory factor of storage, Xi
For the brightness value of present frame.
Also include after step 220, when the brightness contrast value is more than default flex point threshold value,
Whether step 250, judge the brightness value of present frame more than default first luminance threshold;
Step 251, when the brightness value of present frame is more than default first luminance threshold, by present frame
Brightness value is adjusted to the first luminance threshold, and records this corresponding regulatory factor of regulation, and jumps to step
Rapid 270, the present frame after output is adjusted;
Wherein, A=Xnewi/Xi;
Wherein, A is this corresponding regulatory factor of regulation of record, XiFor the bright of the present frame before regulation
Angle value, XnewiFor the brightness value of the present frame after regulation, in this regulation, the first luminance threshold is specially.
Step 260, when the brightness value of present frame is less than default first luminance threshold, judges the bright of present frame
Whether angle value is less than default second luminance threshold;
Step 261, when the brightness value of present frame is less than default second luminance threshold, by present frame
Brightness value is adjusted to the second luminance threshold, and records this corresponding regulatory factor of regulation, and jumps to step
Rapid 270, the present frame after output is adjusted;
Wherein, A=Xnewi/Xi;
Wherein, A is this corresponding regulatory factor of regulation of record, XiFor the bright of the present frame before regulation
Angle value, XnewiFor the brightness value of the present frame after regulation, in this regulation, the second luminance threshold is specially.
Step 262, when the brightness value of present frame is more than default second luminance threshold, directly output is worked as
Previous frame.Wherein, first luminance threshold is more than second luminance threshold.
In said process, first judge whether more than default first luminance threshold, then judge whether less than pre-
If the second luminance threshold, in addition it is also possible to first judge whether less than default second luminance threshold, then
Judge whether more than default first luminance threshold.
Referring to Fig. 3, on the basis of the method for displaying image shown in Fig. 2, the invention allows for a kind of
Method for displaying image, methods described include:
Step 310, obtains the present frame of video and the brightness contrast value of former frame;
Whether step 320, judge the brightness contrast value more than default flex point threshold value;
Step 330, when the brightness contrast value is less than default flex point threshold value, judges whether to be stored with
Regulatory factor,
Step 331, when be stored with regulatory factor when, according to storage regulatory factor adjust present frame it is bright
Angle value;
Step 370, the present frame after output regulation.
After step 330, in no stored adjustment factor, directly export present frame.
Also include after step 320:
Step 340, when the brightness contrast value is more than default flex point threshold value, judges the brightness pair
Whether ratio is more than default shining point threshold value.
Wherein, described segmentation to picture frame according to the luminance difference value also includes:
Judge the luminance difference value whether more than default shining point threshold value;When luminance difference value is more than pre-
If flex point threshold value, be judged as next segmentation.That is, except leading more than default flex point threshold value
Cause to enter next segmentation, luminance difference value is also resulted in more than default shining point threshold value and enters next
Segmentation.
In the embodiment of the present invention, when adjacent two frames brightness contrast is more than this shining point threshold value, it is judged as regarding
Frequency brightness shining point, usually, luminance video shining point contrast is more than luminance video flex point contrast,
Video flashlight point also luminance video flex point.When there is luminance video shining point, also explanation is occurred in that
The switching of scene.
For example, it is 3 to arrange shining point threshold value, when former frame luminance video is 50, a later frame luminance video
For 150 when, it is believed that be a video flashlight point, such as such as the very big (explosive field of difference before and after brightness
Scape etc.).
Step 341, when the brightness contrast value is more than default shining point threshold value, according to default soft
The brightness value of present frame is adjusted with the factor, and records this corresponding regulatory factor of regulation;
Wherein, the shining point threshold value is more than the flex point threshold value.
In step 341, the brightness value for adjusting present frame according to the default soft factor includes:
Work as Xi-1<XiWhen, Xnewi=Xi-1*R;Work as Xi-1>XiWhen, Xnewi=Xi-1/R;
A=Xnewi/Xi=Xi-1*R*/Xi;
Wherein, XnewiFor the brightness value of the present frame after regulation, A for this corresponding regulation of regulation because
Son, R be the default soft factor, Xi-1For the brightness value of former frame, XiFor the brightness value of present frame.
By the regulation of the soft factor so that the present frame after regulation is less than with the luminance difference value of former frame
The luminance difference value of present frame and former frame before regulation.
When there is video flashlight point, adjust the brightness contrast value of present frame and former frame for it is soft because
Son, to avoid causing before and after's frame of video difference in brightness larger, the stimulation caused by eyes.Such as, for front
One frame video is 20, and a later frame is 200 situation, if the video high-high brightness for setting is as 150, this
, not using a later frame luminance video is reduced to 150, if being reduced to 150, now frame of video is bright for algorithm
Degree contrast is 150/20=7.5, and reduced value is still larger, can still cause dazzling effect, therefore introduce
The soft factor, maximum contrast value before and after limiting, if it is 3 to arrange the soft factor, it is now latter
Frame luminance video be adjusted to 150*20*3/150=60 (present frame brightness * shining point former frame brightness * it is soft because
Son/shining point frame of video brightness), there is extreme case and cause the stimulation to user so as to reach.
In the embodiment of the present invention, video segment refers to the first video of the brightness flex point or shining point from video
Video segment of the frame to the frame of video composition between next video flex point or shining point frame of video.Therefore one
Individual complete video be exactly one by one video segment composition.
In a video segment, the value of regulatory factor is fixed, that is to say, that adjusted using identical
The brightness value of section factor pair frame of video is adjusted.
After step 340, when the brightness contrast value is more than default shining point threshold value, execution step
350。
Whether step 350, judge the brightness value of present frame more than default first luminance threshold;
Step 351, when the brightness value of present frame is more than default first luminance threshold, by present frame
Brightness value is adjusted to the first luminance threshold, and records this corresponding regulatory factor of regulation, and jumps to step
Rapid 370, the present frame after output is adjusted;
Step 360, when the brightness value of present frame is less than default first luminance threshold, judges present frame
Brightness value whether be less than default second luminance threshold;
Step 361, when the brightness value of present frame is less than default second luminance threshold, by present frame
Brightness value is adjusted to the second luminance threshold, and records this corresponding regulatory factor of regulation, and jumps to step
Rapid 370, the present frame after output is adjusted;
Step 362, when the brightness value of present frame is more than default second luminance threshold, directly output is worked as
Previous frame.Wherein, first luminance threshold is more than second luminance threshold.
Illustrate with reference to specific implement scene.
It is 2 to arrange flex point threshold value, and it is 3 to arrange shining point threshold value, and it is 4 to arrange shining point threshold value, arranges the
One luminance threshold is 100, and it is 10 to arrange the second luminance threshold;When video is played:
For the 1st frame, the brightness value for being calculated present frame is 50;Present frame is exported directly;
For the 2nd frame, the brightness value for being calculated present frame is 60;Brightness contrast value=60/50=1.2,
Less than default flex point threshold value, and no stored adjustment factor, directly export present frame;
For the 3rd frame, the brightness value for being calculated present frame is 40;Brightness contrast value
=40/60=0.66666667, less than default flex point threshold value, and no stored adjustment factor, directly
Output present frame;
For the 4th frame, the brightness value for being calculated present frame is 90;Brightness contrast value=90/40=2.25,
More than default flex point threshold value, continue to judge, the brightness value of present frame is less than the first luminance threshold 100, and
And it is more than the second luminance threshold 10, therefore or directly export present frame;
For the 5th frame, the brightness value for being calculated present frame is 190;Brightness contrast value
=190/90=2.11111, more than default flex point threshold value, continues to judge, brightness contrast value is less than default
Shining point threshold value, continue to judge, the brightness value of present frame is more than the first luminance threshold 100, therefore will
The brightness value of present frame is adjusted to 100;And calculate this corresponding regulator of regulation
A=190/100=1.9.
For the 6th frame, the brightness value for being calculated present frame is 180;Brightness contrast value
=190/180=1.055556, less than default flex point threshold value, and the regulatory factor A=1.9 that is stored with, root
The brightness value of present frame is adjusted according to the regulatory factor of storage;By the brightness value X of present frameiIt is adjusted to
180/1.9=94.73684;
For the 7th frame, the brightness value for being calculated present frame is 280;Brightness contrast value
=280/180=1.55556, less than default flex point threshold value, and the regulatory factor A=1.9 that is stored with, root
The brightness value of present frame is adjusted according to the regulatory factor of storage;By the brightness value X of present frameiIt is adjusted to
280/1.9=147.3684;
For the 8th frame, the brightness value for being calculated present frame is 60;Brightness contrast value
=280/60=4.66667, more than default flex point threshold value, continues to judge, more than shining point threshold value 3, root
According to the brightness value of default soft sub- regulation present frame, and record this corresponding regulatory factor of regulation;Will
The brightness value X of present framei2803=93.333 is adjusted to, and calculates this corresponding regulatory factor of regulation
A=93.3333/60=1.5555.
For the 9th frame, the brightness value for being calculated present frame is 90;Brightness contrast value=90/60=1.5,
Less than default flex point threshold value, and the regulatory factor A=1.5555 that is stored with, according to the regulatory factor of storage
Adjust the brightness value of present frame;By the brightness value X of present frameiIt is adjusted to 90/1.55555=57.857.
For the 10th frame, the brightness value for being calculated present frame is 40;Brightness contrast value=90/40=2.25,
More than default flex point threshold value, and shining point threshold value 3, and the regulatory factor A=1.5555 that is stored with are less than,
The brightness value of present frame is less than the first luminance threshold 100, and is more than the second luminance threshold 10;Therefore to working as
The brightness value of previous frame is not adjusted, and regulatory factor is removed.
Based on design same as the previously described embodiments or similar, the embodiment of the present invention also provides a kind of video and broadcasts
Device is put, the video play device can be arranged in terminal, for example, a kind of multimedia terminal has
The terminal of Video Output.
Referring to Fig. 4, a kind of image display device proposed by the present invention includes:
Luminance difference value acquiring unit 10, for obtaining the luminance difference of present frame that image shows and former frame
Different value;
Segmenting unit 20, for being segmented to picture frame according to the luminance difference value;
First processing units 31, in the case where current fragment is kept, according to the regulatory factor of storage
Adjust the brightness value of present frame;
First output unit 50, for exporting the present frame after adjusting.
In the embodiment of the present invention, described image display device includes second processing unit 32, for entering
In the case of next segmentation, the brightness value of picture frame is processed accordingly, and arrange or update tune
Integral divisor.
In the embodiment of the present invention, the segmenting unit 20 includes:
Flex point judge module 21, for judging the luminance difference value whether more than default flex point threshold value;
When luminance difference value is more than default flex point threshold value, it is judged as into next segmentation, when luminance difference value
Less than or equal to default flex point threshold value, it is judged as keeping current fragment.
In the embodiment of the present invention, the first processing units 31 also include:
Regulatory factor judge module 311, for judging whether the regulatory factor that is stored with, when the regulation that is stored with
During the factor, notify that first processing units 31 perform the brightness that present frame is adjusted according to the regulatory factor of storage
Value;
First output unit 50 is additionally operable to be judged as not storing tune in regulatory factor judge module 311
During the section factor, present frame is exported.
In the embodiment of the present invention, the second processing unit 32 includes:
Second processing module 322, is used for
In the case where the brightness value of present frame is more than default first luminance threshold, by the brightness of present frame
Value is adjusted to the first luminance threshold, and records this corresponding regulatory factor of regulation;
In the case where the brightness value of present frame is less than default second luminance threshold, by the brightness of present frame
Value is adjusted to the second luminance threshold, and records this corresponding regulatory factor of regulation;
Wherein, first luminance threshold is more than second luminance threshold;
First output unit 50 is additionally operable to, and the brightness value of picture frame is entered in second processing unit 32
Row is corresponding to be processed, and after arranging or updating Dynamic gene, makes regulation in the brightness value to present frame
In the case of, the present frame after output regulation;In the case where regulation is not made, present frame is exported.
Referring to Fig. 5, on the basis of the image display device shown in Fig. 4, the embodiment of the present invention is also proposed
Another kind of image display device, described image display device also include:
Luminance difference value acquiring unit 10, for obtaining the luminance difference of present frame that image shows and former frame
Different value;
Segmenting unit 20, for being segmented to picture frame according to the luminance difference value;
First processing units 31, in the case where current fragment is kept, according to the regulatory factor of storage
Adjust the brightness value of present frame;
First output unit 50, for exporting the present frame after adjusting.
In the embodiment of the present invention, described image display device includes second processing unit 32, for entering
In the case of next segmentation, the brightness value of picture frame is processed accordingly, and arrange or update tune
Integral divisor.
In the embodiment of the present invention, the segmenting unit 20 includes:
Flex point judge module 21, for judging the luminance difference value whether more than default flex point threshold value;
When luminance difference value is more than default flex point threshold value, it is judged as into next segmentation, when luminance difference value
Less than or equal to default flex point threshold value, it is judged as keeping current fragment.
In the embodiment of the present invention, the first processing units 31 also include:
Regulatory factor judge module 311, for judging whether the regulatory factor that is stored with, when the regulation that is stored with
During the factor, notify that first processing units 31 perform the brightness that present frame is adjusted according to the regulatory factor of storage
Value;
First output unit 50 is additionally operable to be judged as not storing tune in regulatory factor judge module 311
During the section factor, present frame is exported.
In the embodiment of the present invention, the segmenting unit 20 also includes:
Shining point judge module 22, for whether judging the luminance difference value in flex point judge module 21
After more than default flex point threshold value, when the luminance difference value is more than default flex point threshold value, judge
Whether the luminance difference value is more than default shining point threshold value;
The second processing unit 32 includes:
First processing module 321, for when the luminance difference value be more than default shining point threshold value when,
The brightness value of present frame is adjusted according to the default soft factor, and records this corresponding regulatory factor of regulation;
Wherein, the shining point threshold value is more than the flex point threshold value.
In the embodiment of the present invention, the first processing module 321 adjusts current according to the default soft factor
The brightness value of frame includes:
Xnewi=Xi-1*R;
A=Xi-1*R*/Xi;
Wherein, XnewiFor the brightness value of the present frame after regulation, A for this corresponding regulation of regulation because
Son, R be the default soft factor, Xi-1For the brightness value of former frame, XiFor the brightness value of present frame.
In the embodiment of the present invention, the second processing unit 32 also includes:
Second processing module 322, for judging that the luminance difference value is less than in shining point judge module 22
During default shining point threshold value,
In the case where the brightness value of present frame is more than default first luminance threshold, by the brightness of present frame
Value is adjusted to the first luminance threshold, and records this corresponding regulatory factor of regulation;
In the case where the brightness value of present frame is less than default second luminance threshold, by the brightness of present frame
Value is adjusted to the second luminance threshold, and records this corresponding regulatory factor of regulation;
Wherein, first luminance threshold is more than second luminance threshold;
First output unit 50 is additionally operable to, and the brightness value of picture frame is entered in second processing unit 32
Row is corresponding to be processed, and after arranging or updating Dynamic gene, makes regulation in the brightness value to present frame
In the case of, the present frame after output regulation;In the case where regulation is not made, present frame is exported.
The embodiment of the present invention also proposed a kind of terminal, and the terminal includes provided in an embodiment of the present invention
A kind of image display device.Above-mentioned terminal includes display screen, being capable of output image frame.
It should be noted that embodiment described above is for only for ease of those skilled in the art's understanding
, protection scope of the present invention is not limited to, in the premise of the inventive concept without departing from the present invention
Under, those skilled in the art are to any obvious replacement made of the invention and improvement etc. at this
Within the protection domain of invention.
Claims (16)
1. a kind of method for displaying image, it is characterised in that methods described includes:
Present frame and the luminance difference value of former frame that acquisition image shows;
Picture frame is segmented according to the luminance difference value;
In the case where current fragment is kept, the brightness value of present frame is adjusted according to the regulatory factor of storage;
Present frame after output regulation.
2. method for displaying image according to claim 1, it is characterised in that described in the basis
After luminance difference value is segmented to picture frame, methods described also includes:
In the case where next segmentation is entered, the brightness value of picture frame is processed accordingly, and is set
Put or update Dynamic gene.
3. method for displaying image according to claim 1, it is characterised in that
The luminance difference value is brightness contrast value or luminance difference.
4. method for displaying image according to claim 2, it is characterised in that
It is described segmentation is carried out to picture frame according to the luminance difference value to include:
Judge the luminance difference value whether more than default flex point threshold value;When luminance difference value is more than default
Flex point threshold value, be judged as into next segmentation, when luminance difference value is less than or equal to default flex point
Threshold value, is judged as keeping current fragment.
5. method for displaying image according to claim 1, it is characterised in that
Before the regulatory factor according to storage adjusts the brightness value of present frame, also include:
Judge whether the regulatory factor that is stored with, when be stored with regulatory factor when, perform it is described according to storage
The step of regulatory factor adjusts the brightness value of present frame;
Also include after the regulatory factor that judges whether to be stored with:
In no stored adjustment factor, present frame is exported.
6. method for displaying image according to claim 4, it is characterised in that
It is described judge the luminance difference value whether more than default flex point threshold value after, also include:
When the luminance difference value is more than default flex point threshold value, judge whether the luminance difference value is big
In default shining point threshold value;
The brightness value to picture frame is processed accordingly, and setting or renewal Dynamic gene include:
When the luminance difference value is more than default shining point threshold value, adjusted according to the default soft factor
The brightness value of present frame, and record this corresponding regulatory factor of regulation;
Wherein, the shining point threshold value is more than the flex point threshold value.
7. method for displaying image according to claim 6, it is characterised in that described according to default
The soft factor adjusts the brightness value of present frame to be included:
Xnewi=Xi-1*R;
A=Xi-1*R*/Xi;
Wherein, XnewiFor the brightness value of the present frame after regulation, A is this corresponding regulatory factor of regulation,
R be the default soft factor, Xi-1For the brightness value of former frame, XiFor the brightness value of present frame.
8. method for displaying image according to claim 6, it is characterised in that described in the judgement
After whether luminance difference value is more than default shining point threshold value,
The brightness value to picture frame is processed accordingly, and setting or renewal Dynamic gene also include:
When the luminance difference value is less than default shining point threshold value,
In the case where the brightness value of present frame is more than default first luminance threshold, by the brightness of present frame
Value is adjusted to the first luminance threshold, and records this corresponding regulatory factor of regulation;
In the case where the brightness value of present frame is less than default second luminance threshold, by the brightness of present frame
Value is adjusted to the second luminance threshold, and records this corresponding regulatory factor of regulation;
Wherein, first luminance threshold is more than second luminance threshold;
Processed in the brightness value to picture frame accordingly, and after arranging or updating Dynamic gene,
Described image display methods also includes:
Present frame in the case where the brightness value to present frame makes regulation, after output regulation;Do not having
In the case of making regulation, present frame is exported.
9. a kind of image display device, it is characterised in that described device includes:
Brightness contrast value acquiring unit, for obtaining the luminance difference of present frame that image shows and former frame
Value;
Segmenting unit, for being segmented to picture frame according to the luminance difference value;
First processing units, in the case where current fragment is kept, being adjusted according to the regulatory factor of storage
The brightness value of section present frame;
First output unit, for exporting the present frame after adjusting.
10. image display device according to claim 9, it is characterised in that described according to institute
State after luminance difference value is segmented to picture frame, methods described also includes:
Second processing unit, in the case where next segmentation is entered, entering to the brightness value of picture frame
Row is corresponding to be processed, and arranges or update Dynamic gene.
11. image display devices according to claim 9, it is characterised in that
The segmenting unit includes:
Flex point judge module, for judging the luminance difference value whether more than default flex point threshold value;When
Luminance difference value is more than default flex point threshold value, is judged as into next segmentation, when luminance difference value it is little
In or be equal to default flex point threshold value, be judged as keep current fragment.
12. image display devices according to claim 9, it is characterised in that
The first processing units also include:
Regulatory factor judge module, for judging whether the regulatory factor that is stored with, when the regulatory factor that is stored with
When, notify that first processing units perform the brightness value that present frame is adjusted according to the regulatory factor of storage;
First output unit is additionally operable to be judged as no stored adjustment in regulatory factor judge module 311
During the factor, present frame is exported.
13. image display devices according to claim 11, it is characterised in that the segmenting unit
Also include:
Shining point judge module, for judging whether the luminance difference value is more than in flex point judge module 21
After default flex point threshold value, when the luminance difference value is more than default flex point threshold value, judge described
Whether luminance difference value is more than default shining point threshold value;
The second processing unit includes:
First processing module, for when the luminance difference value be more than default shining point threshold value when, according to
The default soft factor adjusts the brightness value of present frame, and records this corresponding regulatory factor of regulation;
Wherein, the shining point threshold value is more than the flex point threshold value.
14. image display devices according to claim 13, it is characterised in that described first is processed
Module includes according to the brightness value that the default soft factor adjusts present frame:
Xnewi=Xi-1*R;
A=Xi-1*R*/Xi;
Wherein, XnewiFor the brightness value of the present frame after regulation, A is this corresponding regulatory factor of regulation,
R be the default soft factor, Xi-1For the brightness value of former frame, XiFor the brightness value of present frame.
15. image display devices according to claim 13, it is characterised in that the second processing
Unit also includes:
Second processing module, for judging the luminance difference value less than default in shining point judge module
During shining point threshold value,
In the case where the brightness value of present frame is more than default first luminance threshold, by the brightness of present frame
Value is adjusted to the first luminance threshold, and records this corresponding regulatory factor of regulation;
In the case where the brightness value of present frame is less than default second luminance threshold, by the brightness of present frame
Value is adjusted to the second luminance threshold, and records this corresponding regulatory factor of regulation;
Wherein, first luminance threshold is more than second luminance threshold;
First output unit is additionally operable to, and the brightness value of picture frame is carried out accordingly in second processing unit
Process, and arrange or update Dynamic gene after, make the situation of regulation in the brightness value to present frame
Under, the present frame after output regulation;In the case where regulation is not made, present frame is exported.
16. a kind of terminals, it is characterised in that the terminal includes any one of claim 9~15 institute
The image display device stated.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510606878.4A CN106548763B (en) | 2015-09-22 | 2015-09-22 | Image display method and device and terminal |
PCT/CN2016/083346 WO2017049939A1 (en) | 2015-09-22 | 2016-05-25 | Picture display method, device, and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510606878.4A CN106548763B (en) | 2015-09-22 | 2015-09-22 | Image display method and device and terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106548763A true CN106548763A (en) | 2017-03-29 |
CN106548763B CN106548763B (en) | 2020-09-15 |
Family
ID=58365301
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510606878.4A Active CN106548763B (en) | 2015-09-22 | 2015-09-22 | Image display method and device and terminal |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106548763B (en) |
WO (1) | WO2017049939A1 (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108492769A (en) * | 2018-03-26 | 2018-09-04 | 京东方科技集团股份有限公司 | brightness adjusting method and device, display device |
CN109064998A (en) * | 2018-06-28 | 2018-12-21 | 努比亚技术有限公司 | A kind of screen luminance adjustment method, terminal and computer readable storage medium |
CN110267044A (en) * | 2019-07-16 | 2019-09-20 | 吉林工程技术师范学院 | A method and system for chrominance coding of movie scenes |
CN110277163A (en) * | 2019-06-12 | 2019-09-24 | 合肥中科奔巴科技有限公司 | State recognition and monitoring early-warning system on view-based access control model old man and patient bed |
CN111462166A (en) * | 2020-03-31 | 2020-07-28 | 武汉卓目科技有限公司 | Video image stabilization method and system based on histogram equalization optical flow method |
CN113395599A (en) * | 2020-12-03 | 2021-09-14 | 腾讯科技(深圳)有限公司 | Video processing method and device, electronic equipment and medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1801886A (en) * | 2005-01-07 | 2006-07-12 | 智辉研发股份有限公司 | Method for detection and elimination of flash scene in digital image |
CN101170708A (en) * | 2006-10-25 | 2008-04-30 | 三星电子株式会社 | Display device and method for improving image flicker |
US20090243986A1 (en) * | 2008-03-28 | 2009-10-01 | Chulgyu Jung | Driving method, compensation processor and driver device for liquid crystal display |
CN101710985A (en) * | 2009-12-11 | 2010-05-19 | 哈尔滨工业大学 | Image brightness compensation method for image coding |
CN102025919A (en) * | 2010-11-17 | 2011-04-20 | 无锡中星微电子有限公司 | Method and device for detecting image flicker and camera applying device |
US8941725B2 (en) * | 2010-12-29 | 2015-01-27 | Samsung Display Co., Ltd. | Method of processing three-dimensional stereoscopic image data and display apparatus for performing the same |
CN104702964A (en) * | 2015-03-30 | 2015-06-10 | 北京三好互动教育科技有限公司 | Image processing method and device |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB2438905B (en) * | 2006-06-07 | 2011-08-24 | Tandberg Television Asa | Temporal noise analysis of a video signal |
CN101340511B (en) * | 2008-08-07 | 2011-10-26 | 中兴通讯股份有限公司 | Adaptive video image enhancing method based on lightness detection |
CN103353982B (en) * | 2013-05-15 | 2016-03-09 | 中山大学 | A kind of tone mapping method based on histogram equalization |
-
2015
- 2015-09-22 CN CN201510606878.4A patent/CN106548763B/en active Active
-
2016
- 2016-05-25 WO PCT/CN2016/083346 patent/WO2017049939A1/en active Application Filing
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1801886A (en) * | 2005-01-07 | 2006-07-12 | 智辉研发股份有限公司 | Method for detection and elimination of flash scene in digital image |
CN101170708A (en) * | 2006-10-25 | 2008-04-30 | 三星电子株式会社 | Display device and method for improving image flicker |
US20090243986A1 (en) * | 2008-03-28 | 2009-10-01 | Chulgyu Jung | Driving method, compensation processor and driver device for liquid crystal display |
CN101710985A (en) * | 2009-12-11 | 2010-05-19 | 哈尔滨工业大学 | Image brightness compensation method for image coding |
CN102025919A (en) * | 2010-11-17 | 2011-04-20 | 无锡中星微电子有限公司 | Method and device for detecting image flicker and camera applying device |
US8941725B2 (en) * | 2010-12-29 | 2015-01-27 | Samsung Display Co., Ltd. | Method of processing three-dimensional stereoscopic image data and display apparatus for performing the same |
CN104702964A (en) * | 2015-03-30 | 2015-06-10 | 北京三好互动教育科技有限公司 | Image processing method and device |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108492769A (en) * | 2018-03-26 | 2018-09-04 | 京东方科技集团股份有限公司 | brightness adjusting method and device, display device |
US10529275B2 (en) | 2018-03-26 | 2020-01-07 | Boe Technology Group Co., Ltd. | Method and device for luminance adjustment, display device, and computer-readable storage medium |
CN109064998A (en) * | 2018-06-28 | 2018-12-21 | 努比亚技术有限公司 | A kind of screen luminance adjustment method, terminal and computer readable storage medium |
CN110277163A (en) * | 2019-06-12 | 2019-09-24 | 合肥中科奔巴科技有限公司 | State recognition and monitoring early-warning system on view-based access control model old man and patient bed |
CN110267044A (en) * | 2019-07-16 | 2019-09-20 | 吉林工程技术师范学院 | A method and system for chrominance coding of movie scenes |
CN111462166A (en) * | 2020-03-31 | 2020-07-28 | 武汉卓目科技有限公司 | Video image stabilization method and system based on histogram equalization optical flow method |
CN113395599A (en) * | 2020-12-03 | 2021-09-14 | 腾讯科技(深圳)有限公司 | Video processing method and device, electronic equipment and medium |
Also Published As
Publication number | Publication date |
---|---|
WO2017049939A1 (en) | 2017-03-30 |
CN106548763B (en) | 2020-09-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106548763A (en) | A kind of method for displaying image and device and terminal | |
CN105009195B (en) | Liquid crystal display device | |
CN105261326A (en) | Display device for adjusting display color gamut and method for adjusting display color gamut | |
EP1648155A2 (en) | Method of generating transfer curves for adaptive contrast enhancement | |
CN108156533B (en) | Smart television backlight adjusting method, smart television and storage medium | |
US10951852B1 (en) | Method and system for automatically adjusting display parameters of a display screen of a television device | |
CN104703048B (en) | A kind of method and device for adjusting screen intensity | |
CN108806616A (en) | Method for controlling backlight thereof, device and computer readable storage medium | |
EP4443286A1 (en) | Image processing method and electronic device | |
KR102276902B1 (en) | Pixel contrast control systems and methods | |
CN104658487A (en) | Method and device for adjusting image brightness and mobile terminal | |
CN112289278A (en) | Screen brightness adjusting method, screen brightness adjusting device and electronic equipment | |
CN105916056A (en) | Backlight adaptive regulation method and device | |
CN104469131A (en) | Method, device and terminal for displaying shooting control | |
CN105513566A (en) | Image adjusting method of executing optimal adjustment according to different environments and displayer | |
JP2017175219A (en) | Display control device, display device, television receiver, display control device control method, control program, and recording medium | |
GB2526478B (en) | High dynamic range imaging systems | |
CN106775527B (en) | Adjust the method, apparatus and display equipment of the display parameters of display panel | |
CN105635789B (en) | The method and apparatus for reducing OSD brightness in video image | |
CN105338418A (en) | Adjustment method and system for video night playing | |
TW201822533A (en) | Method and non-transitory computer readable storage medium for blue light adjustment | |
CN107578753B (en) | Mobile terminal, display screen brightness adjusting method and storage medium | |
CN109947230A (en) | Screen brightness adjusting method and device of terminal equipment and terminal equipment | |
CN111613168B (en) | Image display processing method and device and computer readable storage medium | |
TWI717697B (en) | Display control method and electronic device |
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 |