CN106548763B - Image display method and device and terminal - Google Patents
Image display method and device and terminal Download PDFInfo
- Publication number
- CN106548763B CN106548763B CN201510606878.4A CN201510606878A CN106548763B CN 106548763 B CN106548763 B CN 106548763B CN 201510606878 A CN201510606878 A CN 201510606878A CN 106548763 B CN106548763 B CN 106548763B
- Authority
- CN
- China
- Prior art keywords
- brightness
- value
- current frame
- preset
- factor
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
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)
- Controls And Circuits For Display Device (AREA)
- Control Of Indicators Other Than Cathode Ray Tubes (AREA)
- Transforming Electric Information Into Light Information (AREA)
- Television Receiver Circuits (AREA)
Abstract
The invention discloses an image display method, an image display device and a terminal, wherein the image display method comprises the following steps: acquiring a brightness difference value between a current frame and a previous frame displayed by an image; segmenting the image frame according to the brightness difference value; under the condition of keeping the current segmentation, adjusting the brightness value of the current frame according to the stored adjusting factor; and outputting the adjusted current frame. When the brightness difference of two adjacent image frames is too large, the brightness of the current frame is adjusted, for a user, when the user watches the image content of the display screen, the brightness does not need to be adjusted manually, especially in a dark environment, the stimulation to eyes is avoided by automatically adjusting the image frames, the comfort level is greatly improved, the fatigue of the user is reduced, and the use experience of the user on the electronic equipment for outputting images through the display screen is improved.
Description
Technical Field
The present invention relates to the field of image display technologies, and in particular, to an image display method and apparatus, and a terminal.
Background
With the development of the intelligent era, users can conveniently watch videos through various terminals (a PC, a notebook computer, a PAD, a mobile phone and the like) at any time and any place, when watching a video, some video segments may be dark, a user cannot see more details, some video segments are bright, the user looks dazzling, especially when the user plays the video in darkness at night, the situation that the brightness of the video segments is switched from low to very bright (such as scene switching, flashing, explosion scene and the like) is often encountered, frequent changes of the video brightness can cause that the eyes of the user are easy to fatigue, the experience of watching the video is very poor, and the user can achieve a good watching effect by manually adjusting the brightness, however, the operation is not convenient enough, and the user frequently adjusts the brightness of the video, which also brings a feeling of tedious operation to the user, and also causes poor experience of watching the video.
Disclosure of Invention
In order to solve the above problems, the present invention provides an image display method and apparatus, and a terminal, which can improve user experience when a user watches a video.
In order to achieve the above object, the present invention provides an image display method, comprising:
acquiring a brightness difference value between a current frame and a previous frame displayed by an image;
segmenting the image frame according to the brightness difference value;
under the condition of keeping the current segmentation, adjusting the brightness value of the current frame according to the stored adjusting factor;
and outputting the adjusted current frame.
Preferably, after the segmenting the image frame according to the brightness difference value, the method further comprises:
in case of entering the next segment, the brightness values of the image frame are processed accordingly and the adjustment factor is set or updated.
Preferably, the brightness difference value is a brightness contrast value or a brightness difference value.
Preferably, the segmenting the image frame according to the brightness difference value comprises:
judging whether the brightness difference value is larger than a preset inflection point threshold value or not; and when the brightness difference value is less than or equal to the preset inflection point threshold value, judging that the current subsection is kept.
Preferably, before the adjusting the brightness value of the current frame according to the stored adjustment factor, the method further includes:
judging whether an adjusting factor is stored or not, and executing the step of adjusting the brightness value of the current frame according to the stored adjusting factor when the adjusting factor is stored;
after the judging whether the adjustment factors are stored or not, the method further comprises the following steps:
when no adjustment factor is stored, the current frame is output.
Preferably, after the determining whether the brightness difference value is greater than a preset inflection point threshold, the method further includes:
when the brightness difference value is larger than a preset inflection point threshold value, judging whether the brightness difference value is larger than a preset flash point threshold value;
the correspondingly processing the brightness values of the image frames and setting or updating the adjustment factors comprises:
when the brightness difference value is larger than a preset flash point threshold value, adjusting the brightness value of the current frame according to a preset soft factor, and recording an adjusting factor corresponding to the current adjustment;
wherein the flash point threshold is greater than the inflection point threshold.
Preferably, the adjusting the brightness value of the current frame according to the preset soft factor includes:
when X is presenti-1<XiWhen, Xnewi=Xi-1*R,A=Xnewi/Xi=Xi-1*R/Xi;
When X is presenti-1>XiWhen, Xnewi=Xi-1/R,A=Xnewi/Xi=Xi-1/(R*Xi);
Wherein, XnewiFor the adjusted brightness value of the current frame, A is the corresponding adjustment factor of the current adjustment, R is the preset soft factor, and Xi-1Is the luminance value of the previous frame, XiIs the luminance value of the current frame.
Preferably, after the determining whether the brightness difference value is greater than a preset sparkle point threshold value,
the correspondingly processing the brightness values of the image frames and setting or updating the adjustment factors further comprises:
when the brightness difference value is smaller than a preset sparkling point threshold value,
under the condition that the brightness value of the current frame is larger than a preset first brightness threshold, regulating the brightness value of the current frame to be the first brightness threshold, and recording a regulating factor corresponding to the current regulation;
under the condition that the brightness value of the current frame is smaller than a preset second brightness threshold, the brightness value of the current frame is adjusted to be the second brightness threshold, and an adjusting factor corresponding to the current adjustment is recorded;
wherein the first brightness threshold is greater than the second brightness threshold;
after the processing the brightness values of the image frames correspondingly and setting or updating the adjustment factors, the image display method further comprises:
under the condition of adjusting the brightness value of the current frame, outputting the adjusted current frame; in the case where no adjustment is made, the current frame is output.
In order to achieve the above object, the present invention also provides an image display apparatus comprising:
the brightness contrast value acquisition unit is used for acquiring the brightness difference value between the current frame and the previous frame displayed by the image;
the segmentation unit is used for segmenting the image frame according to the brightness difference value;
a first processing unit for adjusting the brightness value of the current frame according to the stored adjustment factor while maintaining the current segmentation;
and the first output unit is used for outputting the adjusted current frame.
Preferably, after the segmenting the image frame according to the brightness difference value, the method further comprises:
and the second processing unit is used for carrying out corresponding processing on the brightness value of the image frame and setting or updating the adjustment factor when the next segmentation is carried out.
Preferably, the segmentation unit includes:
the inflection point judgment module is used for judging whether the brightness difference value is greater than a preset inflection point threshold value; and when the brightness difference value is less than or equal to the preset inflection point threshold value, judging that the current subsection is kept.
Preferably, the first processing unit further comprises:
the adjustment factor judging module is used for judging whether an adjustment factor is stored or not, and informing the first processing unit to adjust the brightness value of the current frame according to the stored adjustment factor when the adjustment factor is stored;
the first output unit is further configured to output the current frame when the adjustment factor determining module 311 determines that the adjustment factor is not stored.
Preferably, the segmentation unit further comprises:
a flash point judgment module, configured to, after the inflection point judgment module 21 judges whether the brightness difference value is greater than a preset inflection point threshold, judge whether the brightness difference value is greater than a preset flash point threshold when the brightness difference value is greater than the preset inflection point threshold;
the second processing unit includes:
the first processing module is used for adjusting the brightness value of the current frame according to a preset soft factor when the brightness difference value is larger than a preset flash point threshold value, and recording an adjusting factor corresponding to the current adjustment;
wherein the flash point threshold is greater than the inflection point threshold.
Preferably, the adjusting, by the first processing module, the brightness value of the current frame according to a preset soft factor includes:
when X is presenti-1<XiWhen, Xnewi=Xi-1*R,A=Xnewi/Xi=Xi-1*R/Xi;
When X is presenti-1>XiWhen, Xnewi=Xi-1/R,A=Xnewi/Xi=Xi-1/(R*Xi);
Wherein, XnewiFor the adjusted brightness value of the current frame, A is the corresponding adjustment factor of the current adjustment, R is the preset soft factor, and Xi-1Is the luminance value of the previous frame, XiIs the luminance value of the current frame.
Preferably, the second processing unit further comprises:
the second processing module is used for judging that the brightness difference value is smaller than a preset flash point threshold value when the flash point judging module judges that the brightness difference value is smaller than the preset flash point threshold value,
under the condition that the brightness value of the current frame is larger than a preset first brightness threshold, regulating the brightness value of the current frame to be the first brightness threshold, and recording a regulating factor corresponding to the current regulation;
under the condition that the brightness value of the current frame is smaller than a preset second brightness threshold, the brightness value of the current frame is adjusted to be the second brightness threshold, and an adjusting factor corresponding to the current adjustment is recorded;
wherein the first brightness threshold is greater than the second brightness threshold;
the first output unit is further used for outputting the adjusted current frame under the condition of adjusting the brightness value of the current frame after the second processing unit carries out corresponding processing on the brightness value of the image frame and sets or updates the adjusting factor; in the case where no adjustment is made, the current frame is output.
In order to achieve the above object, the present invention further provides a terminal including the image display device according to any one of the above aspects.
Compared with the prior art, the technical scheme provided by the invention comprises the following steps: acquiring a brightness difference value between a current frame and a previous frame displayed by an image; segmenting the image frame according to the brightness difference value; under the condition of keeping the current segmentation, adjusting the brightness value of the current frame according to the stored adjusting factor; and outputting the adjusted current frame. According to the scheme of the invention, when the brightness difference between two adjacent image frames is too large, the brightness of the current frame is adjusted, for a user, when the user watches the image content of the display screen, the brightness does not need to be adjusted manually, when the brightness improvement degree is too large, the high brightness of the image frame is automatically reduced, when the brightness reduction degree is too large, the low brightness of the image frame is automatically improved, particularly in a dark environment, the image frame is automatically adjusted, the stimulation to eyes is avoided, the comfort level is greatly improved, the fatigue of the user is reduced, and the use experience of the user for using the electronic equipment for outputting images through the display screen is improved.
Drawings
The accompanying drawings in the embodiments of the present invention are described below, and the drawings in the embodiments are provided for further understanding of the present invention, and together with the description serve to explain the present invention without limiting the scope of the present invention.
Fig. 1 is a flowchart of an image display method according to an embodiment of the present invention;
FIG. 2 is a flow chart of another image display method according to an embodiment of the present invention;
FIG. 3 is a flowchart of another image displaying method according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an image display device according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of another image display device according to an embodiment of the present invention.
Detailed Description
The following further description of the present invention, in order to facilitate understanding of those skilled in the art, is provided in conjunction with the accompanying drawings and is not intended to limit the scope of the present invention. In the present application, the embodiments and various aspects of the embodiments may be combined with each other without conflict.
Referring to fig. 1, the present invention proposes an image display method, the method including:
The image may be a frame of image in a video file, or an image output to a display screen when a user uses an electronic device or an electrical device. The current frame refers to an image frame which is currently ready to be output to a display screen in a video file, and the previous frame refers to a previous image frame of the current frame. The current frame may also be a frame of an image that is currently ready for output to the display screen.
In the embodiment of the present invention, in step 110, the brightness difference value is a brightness contrast value or a brightness difference value. In the embodiment of the present invention, the brightness difference value is illustrated by taking the brightness contrast value as an example.
The brightness contrast value of the current frame and the previous frame is used for measuring the ratio of a high-brightness frame to a low-brightness frame in two adjacent frames of images, so that the amplitude of video brightness change is measured, and whether the video images are switched in scenes or not can be judged according to the amplitude of the video brightness change.
The following formula can be used to calculate the brightness contrast value between the current frame and the previous frame of the video:
D=max{Xi,Xi-1}/min{Xi,Xi-1};
wherein D is the brightness contrast value of the current frame and the previous frame of the video, and XiIs the luminance value, X, of the current framei-1Is the luminance value of the previous frame of the current frame.
Each video frame is composed of pixels, and the brightness value of a frame refers to an average value of brightness values corresponding to the pixels in the frame.
For example, if the luminance value of one of the current frame and the previous frame is 50 and the luminance value of the other frame is 100, the luminance contrast value between the current frame and the previous frame is 2.
And 120, segmenting the image frame according to the brightness difference value.
Wherein the segmenting the image frame according to the brightness difference value comprises:
judging whether the brightness difference value is larger than a preset inflection point threshold value or not; and when the brightness difference value is less than or equal to the preset inflection point threshold value, judging that the current segment is maintained.
And for each image frame in the same segment, adjusting the brightness value of the image frame by using the same adjusting factor.
In step 120, when the brightness contrast of two adjacent frames is greater than the preset value of the inflection point threshold, it is determined as the video brightness inflection point. For example: when the inflection point threshold is set to be 2, the video brightness value of the previous frame is 50, and the video brightness value of the next frame is 100, or the video brightness value of the next frame is 25, we consider that there is a video brightness inflection point, which indicates that a scene switch may occur.
Generally, different scenes correspond to different segments, images in the same scene are coherent, and the brightness difference is small, so that the same adjusting factor is adopted for adjustment, and the situation that the picture flickers is prevented.
And step 130, under the condition of keeping the current segment, adjusting the brightness value of the current frame according to the stored adjusting factor.
And the adjusting factor is set and stored when the brightness difference value is greater than a preset inflection point threshold value.
The adjusting the brightness value of the current frame according to the stored adjusting factor specifically includes: and multiplying the brightness value of the current frame by the adjusting factor to obtain the brightness value of the current frame after adjustment.
In an embodiment of the present invention, after step 130, the method further includes: in case of entering the next segment, the brightness values of the image frame are processed accordingly and the adjustment factor is set or updated.
The corresponding processing is used for performing corresponding processing on the brightness value of the image frame according to the preset adjustment rule, when the processing comprises adjusting the brightness value of the current frame, the size of the adjustment factor is reset according to mediation, and when the brightness value of the current frame is not adjusted in the processing, the adjustment factor is removed, so that whether the adjustment factor is stored or not is judged next time, and the adjustment factor is judged not to be stored.
The preset adjustment rule is described below with reference to a specific example. For example, when the image frame is segmented according to the inflection point threshold and the sparkle point threshold, when the brightness difference value is located in different sections, different adjustments for reducing the brightness difference value between the current frame and the previous frame are performed.
The following description is made with reference to a specific example.
Referring to fig. 2, the present invention also proposes an image display method based on the image display method shown in fig. 1, comprising:
step 220, judging whether the brightness contrast value is larger than a preset inflection point threshold value;
and 231, when the adjusting factor is stored, adjusting the brightness value of the current frame according to the stored adjusting factor. Wherein the adjusting factor is set and stored when the brightness contrast value is greater than a preset inflection point threshold;
After step 230, the current frame is directly output when no adjustment factor is stored.
In this embodiment of the present invention, in step 231, the adjusting the brightness value of the current frame according to the stored adjustment factor includes:
Xnewi=Xi*A;
wherein, XnewiFor the adjusted luminance value of the current frame, A is the stored adjustment factor, XiIs the luminance value of the current frame.
Further included after step 220 is, when the brightness contrast value is greater than a preset knee threshold,
251, when the brightness value of the current frame is greater than a preset first brightness threshold, adjusting the brightness value of the current frame to the first brightness threshold, recording an adjustment factor corresponding to the current adjustment, and skipping to 270 to output the adjusted current frame;
wherein A ═ Xnewi/Xi;
Wherein, A is the corresponding regulating factor of the recorded current regulation, and XiFor adjusting the brightness value of the current frame before, XnewiThe adjusted current frame brightness value is specifically the first brightness threshold value in the current adjustment. Step 260, when the brightness value of the current frame is smaller than a preset first brightness threshold, judging whether the brightness value of the current frame is smaller than a preset second brightness threshold;
wherein A ═ Xnewi/Xi;
Wherein, A is the corresponding regulating factor of the recorded current regulation, and XiFor adjusting the brightness value of the current frame before, XnewiThe adjusted current frame brightness value is specifically the second brightness threshold value in the current adjustment.
In step 262, when the brightness value of the current frame is greater than the preset second brightness threshold, the current frame is directly output. Wherein the first brightness threshold is greater than the second brightness threshold.
In the above process, it is determined whether the first brightness threshold is greater than the preset first brightness threshold, and then it is determined whether the second brightness threshold is less than the preset second brightness threshold.
Referring to fig. 3, the present invention also proposes an image display method based on the image display method shown in fig. 2, the method comprising:
After step 330, the current frame is directly output when no adjustment factor is stored.
Also included after step 320 is:
Wherein the segmenting the image frame according to the brightness difference value further comprises:
judging whether the brightness difference value is larger than a preset flash point threshold value or not; and when the brightness difference value is larger than a preset inflection point threshold value, judging the next segment. That is, in addition to the value greater than the preset knee threshold causing entry into the next segment, the value of the brightness difference greater than the preset sparkle point threshold also causes entry into the next segment.
In the embodiment of the invention, when the brightness contrast of two adjacent frames is greater than the flicker threshold, the video brightness flicker is judged, generally, the video brightness flicker contrast is greater than the video brightness inflection point contrast, and the video flicker is also the video brightness inflection point. When a video brightness flash point occurs, the scene switching is also indicated.
For example, when the flash point threshold is set to 3, the brightness of the previous frame of video is 50, and the brightness of the next frame of video is 150, we consider it to be a video flash point, for example, the difference between the front and the back of the brightness is large (explosion scene, etc.).
wherein the flash point threshold is greater than the inflection point threshold.
In step 341, the adjusting the brightness value of the current frame according to the preset soft factor includes:
when X is presenti-1<XiWhen, Xnewi=Xi-1R; when X is presenti-1>XiWhen, Xnewi=Xi-1/R;
A=Xnewi/Xi;
Wherein, XnewiFor the adjusted brightness value of the current frame, A is the corresponding adjustment factor of the current adjustment, R is the preset soft factor, and Xi-1Is the luminance value of the previous frame, XiIs the luminance value of the current frame.
And adjusting the soft factor to ensure that the brightness difference value between the current frame and the previous frame after adjustment is smaller than that between the current frame and the previous frame before adjustment.
When a video flash point appears, the brightness contrast value of the current frame and the previous frame is adjusted to be a soft factor so as to avoid the stimulation to eyes caused by the larger brightness difference of the previous and next video frames. For example, for the case that the previous frame of video is 20 and the next frame is 200, if the maximum brightness of the set video is 150, the algorithm does not reduce the brightness of the next frame of video to 150, if the maximum brightness of the set video is 150, the contrast of the video frame brightness is 150/20 ═ 7.5, the contrast value is still large, and the glaring effect is still caused, so a soft factor is introduced to limit the value of the maximum contrast before and after, if the soft factor is set to 3, the brightness of the next frame of video is adjusted to 150 × 20 × 3/150 ═ 60 (brightness of the current frame before the flash point of light ×/brightness of the flash point of video frame), thereby achieving the stimulation to the user caused by the extreme situation.
In the embodiment of the present invention, a video segment refers to a video segment composed of video frames from a brightness inflection point or a flash point of a video to a next video inflection point or a flash point of a video frame. Thus, a complete video is composed of video segments.
In a video segment, the value of the adjustment factor is fixed, that is, the luminance value of the video frame is adjusted by the same adjustment factor.
After step 340, when the contrast ratio is greater than the predetermined flicker threshold, step 350 is performed.
step 351, when the brightness value of the current frame is greater than a preset first brightness threshold, adjusting the brightness value of the current frame to the first brightness threshold, recording an adjustment factor corresponding to the current adjustment, and skipping to step 370 to output the adjusted current frame;
361, when the brightness value of the current frame is smaller than a preset second brightness threshold, adjusting the brightness value of the current frame to the second brightness threshold, recording an adjusting factor corresponding to the current adjustment, and jumping to 370 to output the adjusted current frame;
in step 362, when the brightness value of the current frame is greater than the preset second brightness threshold, the current frame is directly output. Wherein the first brightness threshold is greater than the second brightness threshold.
The following description is made with reference to specific embodiments.
Setting a knee point threshold value to be 2, setting a flash point threshold value to be 3, setting a flash point threshold value to be 4, setting a first brightness threshold value to be 100, and setting a second brightness threshold value to be 10; when the video is played:
for the 1 st frame, calculating to obtain the brightness value of the current frame as 50; directly outputting the current frame;
for the 2 nd frame, calculating to obtain the brightness value of the current frame as 60; the brightness contrast value 60/50 is 1.2, is smaller than a preset inflection point threshold, and does not store an adjusting factor, and the current frame is directly output;
for the 3 rd frame, the brightness value of the current frame is calculated to be 40; the brightness contrast value 40/60 0.66666667 is smaller than a preset inflection point threshold, no adjustment factor is stored, and the current frame is directly output;
for the 4 th frame, the brightness value of the current frame is calculated to be 90; when the brightness contrast value is 90/40-2.25, which is greater than the preset inflection point threshold, the judgment is continued, and the brightness value of the current frame is less than the first brightness threshold 100 and greater than the second brightness threshold 10, so that the current frame is also directly output;
for the 5 th frame, the brightness value of the current frame is calculated to be 190; the brightness contrast value is 190/90-2.11111, which is greater than the preset inflection point threshold, the judgment is continued, the brightness contrast value is less than the preset sparkling point threshold, the judgment is continued, the brightness value of the current frame is greater than the first brightness threshold 100, and therefore the brightness value of the current frame is adjusted to 100; and the corresponding regulator a-190/100-1.9 of this regulation is calculated.
For the 6 th frame, calculating to obtain the brightness value of the current frame as 180; the brightness contrast value 190/180 1.055556 is smaller than a preset inflection point threshold, an adjustment factor A1.9 is stored, and the brightness value of the current frame is adjusted according to the stored adjustment factor; the brightness value X of the current frame is measurediAdjusted to 180/1.9 ═ 94.73684;
for the 7 th frame, the brightness value of the current frame is calculated to be 280; the brightness contrast value 280/180 1.55556 is smaller than a preset inflection point threshold, an adjustment factor A1.9 is stored, and the brightness value of the current frame is adjusted according to the stored adjustment factor; the brightness value X of the current frame is measurediAdjusted to 280/1.9 ═ 147.3684;
for the 8 th frame, calculating to obtain the brightness value of the current frame as 60; the brightness contrast value is 280/60 4.66667, which is larger than the preset inflection point threshold,continuously judging, adjusting the brightness value of the current frame according to a preset soft sub when the brightness value is larger than a flash point threshold value 3, and recording an adjusting factor corresponding to the current adjustment; the brightness value X of the current frame is measurediThe adjustment is 2803-93.333, and the adjustment factor a for this adjustment is calculated 93.3333/60-1.5555.
For the 9 th frame, the brightness value of the current frame is calculated to be 90; the brightness contrast value 90/60 is 1.5, is smaller than a preset inflection point threshold, and stores an adjusting factor A1.5555, and the brightness value of the current frame is adjusted according to the stored adjusting factor; the brightness value X of the current frame is measurediAdjusted to 90/1.55555 ═ 57.857.
For the 10 th frame, calculating to obtain the brightness value of the current frame as 40; the brightness contrast value 90/40 is 2.25, is greater than the preset inflection point threshold, and is less than the flash point threshold 3, and the adjustment factor a 1.5555 is stored, and the brightness value of the current frame is less than the first brightness threshold 100, and is greater than the second brightness threshold 10; therefore, no adjustment is made to the luminance value of the current frame and the adjustment factor is removed.
Based on the same or similar conception as the above embodiments, the embodiments of the present invention also provide a video playing apparatus, which can be disposed on a terminal, for example, a multimedia terminal, a terminal with a video output function.
Referring to fig. 4, an image display device according to the present invention includes:
a brightness difference value obtaining unit 10, configured to obtain a brightness difference value between a current frame and a previous frame of an image display;
a segmentation unit 20 for segmenting the image frame according to the brightness difference value;
a first processing unit 31 for adjusting the luminance value of the current frame according to the stored adjustment factor while maintaining the current segmentation;
and a first output unit 50 for outputting the adjusted current frame.
In an embodiment of the invention, the image display device comprises a second processing unit 32 for performing corresponding processing on the brightness values of the image frames and setting or updating the adjustment factor in case of entering the next segment.
In this embodiment of the present invention, the segmenting unit 20 includes:
an inflection point determining module 21, configured to determine whether the brightness difference value is greater than a preset inflection point threshold; and when the brightness difference value is less than or equal to the preset inflection point threshold value, judging that the current subsection is kept.
In this embodiment of the present invention, the first processing unit 31 further includes:
an adjustment factor determining module 311, configured to determine whether an adjustment factor is stored, and when the adjustment factor is stored, notify the first processing unit 31 to adjust the brightness value of the current frame according to the stored adjustment factor;
the first output unit 50 is further configured to output the current frame when the adjustment factor determining module 311 determines that the adjustment factor is not stored.
In this embodiment of the present invention, the second processing unit 32 includes:
a second processing module 322 for
Under the condition that the brightness value of the current frame is larger than a preset first brightness threshold, regulating the brightness value of the current frame to be the first brightness threshold, and recording a regulating factor corresponding to the current regulation;
under the condition that the brightness value of the current frame is smaller than a preset second brightness threshold, the brightness value of the current frame is adjusted to be the second brightness threshold, and an adjusting factor corresponding to the current adjustment is recorded;
wherein the first brightness threshold is greater than the second brightness threshold;
the first output unit 50 is further configured to, after the second processing unit 32 performs corresponding processing on the brightness value of the image frame and sets or updates the adjustment factor, output the adjusted current frame if the adjustment is made on the brightness value of the current frame; in the case where no adjustment is made, the current frame is output.
Referring to fig. 5, on the basis of the image display apparatus shown in fig. 4, another image display apparatus is further provided in an embodiment of the present invention, the image display apparatus further including:
a brightness difference value obtaining unit 10, configured to obtain a brightness difference value between a current frame and a previous frame of an image display;
a segmentation unit 20 for segmenting the image frame according to the brightness difference value;
a first processing unit 31 for adjusting the luminance value of the current frame according to the stored adjustment factor while maintaining the current segmentation;
and a first output unit 50 for outputting the adjusted current frame.
In an embodiment of the invention, the image display device comprises a second processing unit 32 for performing corresponding processing on the brightness values of the image frames and setting or updating the adjustment factor in case of entering the next segment.
In this embodiment of the present invention, the segmenting unit 20 includes:
an inflection point determining module 21, configured to determine whether the brightness difference value is greater than a preset inflection point threshold; and when the brightness difference value is less than or equal to the preset inflection point threshold value, judging that the current subsection is kept.
In this embodiment of the present invention, the first processing unit 31 further includes:
an adjustment factor determining module 311, configured to determine whether an adjustment factor is stored, and when the adjustment factor is stored, notify the first processing unit 31 to adjust the brightness value of the current frame according to the stored adjustment factor;
the first output unit 50 is further configured to output the current frame when the adjustment factor determining module 311 determines that the adjustment factor is not stored.
In this embodiment of the present invention, the segmenting unit 20 further includes:
a flash point judging module 22, configured to, after the inflection point judging module 21 judges whether the brightness difference value is greater than a preset inflection point threshold, judge whether the brightness difference value is greater than a preset flash point threshold when the brightness difference value is greater than the preset inflection point threshold;
the second processing unit 32 includes:
the first processing module 321 is configured to, when the brightness difference value is greater than a preset sparkling point threshold, adjust the brightness value of the current frame according to a preset soft factor, and record an adjustment factor corresponding to the current adjustment;
wherein the flash point threshold is greater than the inflection point threshold.
In this embodiment of the present invention, the adjusting, by the first processing module 321, the brightness value of the current frame according to a preset soft factor includes:
when X is presenti-1<XiWhen, Xnewi=Xi-1*R,A=Xnewi/Xi=Xi-1*R/Xi;
When X is presenti-1>XiWhen, Xnewi=Xi-1/R,A=Xnewi/Xi=Xi-1/(R*Xi);
Wherein, XnewiFor the adjusted brightness value of the current frame, A is the corresponding adjustment factor of the current adjustment, R is the preset soft factor, and Xi-1Is the luminance value of the previous frame, XiIs the luminance value of the current frame.
In this embodiment of the present invention, the second processing unit 32 further includes:
a second processing module 322, configured to, when the flash point determining module 22 determines that the brightness difference value is smaller than the preset flash point threshold,
under the condition that the brightness value of the current frame is larger than a preset first brightness threshold, regulating the brightness value of the current frame to be the first brightness threshold, and recording a regulating factor corresponding to the current regulation;
under the condition that the brightness value of the current frame is smaller than a preset second brightness threshold, the brightness value of the current frame is adjusted to be the second brightness threshold, and an adjusting factor corresponding to the current adjustment is recorded;
wherein the first brightness threshold is greater than the second brightness threshold;
the first output unit 50 is further configured to, after the second processing unit 32 performs corresponding processing on the brightness value of the image frame and sets or updates the adjustment factor, output the adjusted current frame if the adjustment is made on the brightness value of the current frame; in the case where no adjustment is made, the current frame is output.
The embodiment of the invention also provides a terminal, and the terminal comprises any image display device provided by the embodiment of the invention. The terminal comprises a display screen and can output image frames.
It should be noted that the above-mentioned embodiments are only for facilitating the understanding of those skilled in the art, and are not intended to limit the scope of the present invention, and any obvious substitutions, modifications, etc. made by those skilled in the art without departing from the inventive concept of the present invention are within the scope of the present invention.
Claims (12)
1. An image display method, characterized in that the method comprises:
acquiring a brightness difference value between a current frame and a previous frame displayed by an image;
judging whether the brightness difference value is larger than a preset inflection point threshold value or not;
if the brightness difference value is smaller than or equal to the preset inflection point threshold, the brightness value of the current frame is adjusted according to the stored adjusting factor;
if the brightness difference value is larger than a preset inflection point threshold value, correspondingly processing the brightness value of the current frame, and setting or updating an adjusting factor;
and outputting the adjusted current frame.
2. The image display method according to claim 1,
the brightness difference value is a brightness contrast value or a brightness difference value.
3. The image display method according to claim 1,
before the adjusting the brightness value of the current frame according to the stored adjustment factor, the method further includes:
judging whether an adjusting factor is stored or not, and executing the step of adjusting the brightness value of the current frame according to the stored adjusting factor when the adjusting factor is stored;
after the judging whether the adjustment factors are stored or not, the method further comprises the following steps:
when no adjustment factor is stored, the current frame is output.
4. The image display method according to claim 1,
after the determining whether the brightness difference value is greater than a preset inflection point threshold, the method further includes:
when the brightness difference value is larger than a preset inflection point threshold value, judging whether the brightness difference value is larger than a preset flash point threshold value;
the correspondingly processing the brightness value of the current frame and setting or updating the adjustment factor includes:
when the brightness difference value is larger than a preset flash point threshold value, adjusting the brightness value of the current frame according to a preset soft factor, and recording an adjusting factor corresponding to the current adjustment;
wherein the flash point threshold is greater than the inflection point threshold.
5. The image display method according to claim 4, wherein the adjusting the brightness value of the current frame according to the preset softness factor comprises:
when X is presenti-1<XiWhen, Xnewi=Xi-1*R,A=Xnewi/Xi=Xi-1*R/Xi;
When X is presenti-1>XiWhen, Xnewi=Xi-1/R,A=Xnewi/Xi=Xi-1/(R*Xi);
Wherein, XnewiFor the adjusted brightness value of the current frame, A is the corresponding adjustment factor of the current adjustment, R is the preset soft factor, and Xi-1Is the luminance value of the previous frame, XiIs the luminance value of the current frame.
6. The image display method according to claim 4, wherein after said determining whether the brightness difference value is greater than a predetermined sparkle point threshold,
the correspondingly processing the brightness value of the current frame and setting or updating the adjustment factor further includes:
when the brightness difference value is smaller than a preset sparkling point threshold value,
under the condition that the brightness value of the current frame is larger than a preset first brightness threshold, regulating the brightness value of the current frame to be the first brightness threshold, and recording a regulating factor corresponding to the current regulation;
under the condition that the brightness value of the current frame is smaller than a preset second brightness threshold, the brightness value of the current frame is adjusted to be the second brightness threshold, and an adjusting factor corresponding to the current adjustment is recorded;
wherein the first brightness threshold is greater than the second brightness threshold;
after the performing corresponding processing on the brightness value of the current frame and setting or updating the adjustment factor, the image display method further includes:
under the condition of adjusting the brightness value of the current frame, outputting the adjusted current frame; in the case where no adjustment is made, the current frame is output.
7. An image display apparatus, characterized in that the apparatus comprises:
the brightness contrast value acquisition unit is used for acquiring the brightness difference value between the current frame and the previous frame displayed by the image;
the inflection point judgment module is used for judging whether the brightness difference value is greater than a preset inflection point threshold value;
the first processing unit is used for adjusting the brightness value of the current frame according to the stored adjusting factor if the brightness difference value is smaller than or equal to a preset inflection point threshold value;
the second processing unit is used for carrying out corresponding processing on the brightness value of the current frame and setting or updating an adjusting factor if the brightness difference value is larger than a preset inflection point threshold value;
and the first output unit is used for outputting the adjusted current frame.
8. The image display device according to claim 7,
the first processing unit further comprises:
the adjustment factor judging module is used for judging whether an adjustment factor is stored or not, and informing the first processing unit to adjust the brightness value of the current frame according to the stored adjustment factor when the adjustment factor is stored;
the first output unit is further configured to output the current frame when the adjustment factor judgment module judges that the adjustment factor is not stored.
9. The image display device according to claim 7, characterized in that the device further comprises:
the flash point judging module is used for judging whether the brightness difference value is greater than a preset flash point threshold value or not when the brightness difference value is greater than the preset inflection point threshold value after the inflection point judging module judges whether the brightness difference value is greater than the preset inflection point threshold value or not;
the second processing unit includes:
the first processing module is used for adjusting the brightness value of the current frame according to a preset soft factor when the brightness difference value is larger than a preset flash point threshold value, and recording an adjusting factor corresponding to the current adjustment;
wherein the flash point threshold is greater than the inflection point threshold.
10. The image display device according to claim 9, wherein the first processing module adjusts the brightness value of the current frame according to a preset soft factor comprises:
when X is presenti-1<XiWhen, Xnewi=Xi-1*R,A=Xnewi/Xi=Xi-1*R/Xi;
When X is presenti-1>XiWhen, Xnewi=Xi-1/R,A=Xnewi/Xi=Xi-1/(R*Xi);
Wherein, XnewiFor the adjusted brightness value of the current frame, A is the corresponding adjustment factor of the current adjustment, R is the preset soft factor, and Xi-1Is the luminance value of the previous frame, XiIs the luminance value of the current frame.
11. The image display device according to claim 9, wherein the second processing unit further includes:
the second processing module is used for judging that the brightness difference value is smaller than a preset flash point threshold value when the flash point judging module judges that the brightness difference value is smaller than the preset flash point threshold value,
under the condition that the brightness value of the current frame is larger than a preset first brightness threshold, regulating the brightness value of the current frame to be the first brightness threshold, and recording a regulating factor corresponding to the current regulation;
under the condition that the brightness value of the current frame is smaller than a preset second brightness threshold, the brightness value of the current frame is adjusted to be the second brightness threshold, and an adjusting factor corresponding to the current adjustment is recorded;
wherein the first brightness threshold is greater than the second brightness threshold;
the first output unit is further used for outputting the adjusted current frame under the condition that the brightness value of the current frame is adjusted after the second processing unit carries out corresponding processing on the brightness value of the current frame and sets or updates the adjusting factor; in the case where no adjustment is made, the current frame is output.
12. A terminal characterized by comprising the image display device according to any one of claims 7 to 11.
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 CN106548763A (en) | 2017-03-29 |
CN106548763B true 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) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108492769B (en) * | 2018-03-26 | 2020-08-14 | 京东方科技集团股份有限公司 | Brightness adjusting method and device and display device |
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 kind of chroma coder method and system of film scene |
CN111462166A (en) * | 2020-03-31 | 2020-07-28 | 武汉卓目科技有限公司 | Video image stabilization method and system based on histogram equalization optical flow method |
CN113395599B (en) * | 2020-12-03 | 2024-07-23 | 腾讯科技(深圳)有限公司 | Video processing method, device, electronic equipment and medium |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
Family Cites Families (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100391232C (en) * | 2005-01-07 | 2008-05-28 | 智辉研发股份有限公司 | Digital image flashing scene detecting and eliminating method |
GB2438905B (en) * | 2006-06-07 | 2011-08-24 | Tandberg Television Asa | Temporal noise analysis of a video signal |
KR100843090B1 (en) * | 2006-10-25 | 2008-07-02 | 삼성전자주식회사 | Apparatus and method for improving a flicker for images |
CN101546537B (en) * | 2008-03-28 | 2011-02-16 | 北京京东方光电科技有限公司 | Drive method, compensation processor and drive device of liquid crystal display device |
CN101340511B (en) * | 2008-08-07 | 2011-10-26 | 中兴通讯股份有限公司 | Adaptive video image enhancing method based on lightness detection |
CN101710985B (en) * | 2009-12-11 | 2011-06-15 | 哈尔滨工业大学 | Image brightness compensation method for image coding |
CN102025919B (en) * | 2010-11-17 | 2012-12-19 | 无锡中星微电子有限公司 | Method and device for detecting image flicker and camera applying the device |
CN103353982B (en) * | 2013-05-15 | 2016-03-09 | 中山大学 | A kind of tone mapping method based on histogram equalization |
CN104702964B (en) * | 2015-03-30 | 2018-05-15 | 北京布卡互动科技有限公司 | A kind of image processing method and device |
-
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 (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
Also Published As
Publication number | Publication date |
---|---|
CN106548763A (en) | 2017-03-29 |
WO2017049939A1 (en) | 2017-03-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106548763B (en) | Image display method and device and terminal | |
US20240163447A1 (en) | Apparatuses and methods for improved encoding of images for better handling by displays | |
CN106878787B (en) | Method and device for realizing television cinema mode | |
US8957899B2 (en) | Image processing apparatus and method for controlling the same | |
JP6007600B2 (en) | Image processing apparatus, image processing method, and program | |
JP2013541895A5 (en) | ||
CN110619860A (en) | Screen refresh rate adjusting method and device, storage medium and electronic equipment | |
WO2007108475A1 (en) | Display device, image data supply device, display system, control method, control program, and computer-readable recording medium containing the program | |
JP2006146178A (en) | Generating method for transfer curve for adaptive contrast enhancement | |
CN109243383B (en) | Backlight brightness adjusting method of display screen and display screen device | |
US8537102B2 (en) | Backlight control apparatus and control method thereof | |
TW201606732A (en) | Image adjusting method and related display | |
CN104469131A (en) | Method, device and terminal for displaying shooting control | |
GB2526478B (en) | High dynamic range imaging systems | |
CN113674718A (en) | Display brightness adjusting method, device and storage medium | |
CN105635789B (en) | The method and apparatus for reducing OSD brightness in video image | |
CN107578753B (en) | Mobile terminal, display screen brightness adjusting method and storage medium | |
CN110264938B (en) | Image display method and device | |
JP6582994B2 (en) | Image processing apparatus, image processing method, and program | |
CN108399060B (en) | Video switching method for mobile intelligent terminal | |
CN107545555B (en) | Image processing method and device | |
CN112165580B (en) | Automatic exposure method and electronic device | |
JP2009271401A (en) | Image display apparatus | |
CN107564451B (en) | Display panel and display method | |
CN116980547A (en) | Projection picture adjusting and controlling method and device based on health |
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 |