CN104702964A - Image processing method and device - Google Patents

Image processing method and device Download PDF

Info

Publication number
CN104702964A
CN104702964A CN201510144740.7A CN201510144740A CN104702964A CN 104702964 A CN104702964 A CN 104702964A CN 201510144740 A CN201510144740 A CN 201510144740A CN 104702964 A CN104702964 A CN 104702964A
Authority
CN
China
Prior art keywords
bit rate
frame image
encoder
brightness
preset
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510144740.7A
Other languages
Chinese (zh)
Other versions
CN104702964B (en
Inventor
张玺辉
何强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Bukavu Interactive Technology Co ltd
Original Assignee
Interactive Science And Technology Ltd Of Beijing Cloth Card
Good Mutual Education Science And Technology Ltd In Beijing Three
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Interactive Science And Technology Ltd Of Beijing Cloth Card, Good Mutual Education Science And Technology Ltd In Beijing Three filed Critical Interactive Science And Technology Ltd Of Beijing Cloth Card
Priority to CN201510144740.7A priority Critical patent/CN104702964B/en
Publication of CN104702964A publication Critical patent/CN104702964A/en
Priority to PCT/CN2015/081798 priority patent/WO2016155125A1/en
Application granted granted Critical
Publication of CN104702964B publication Critical patent/CN104702964B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

The invention discloses an image processing method and device. The executing process of images sent to an encoder comprises the steps of calculating the brightness mean value difference of a current-frame image and a previous-frame image and the proportion of pixel points producing brightness change in the current-frame image, accounting for all pixel points in the current-frame image, and improving the calculated encoding bit rate in a first preset adjusting mode when determining that the brightness mean value difference is greater than a first shake threshold value and the proportion is greater than a second shake threshold value. After a camera shakes when shooting the current-frame image, the encoding bit rate calculated by the encoder is improved, accordingly the mosaic effect of videos is avoided, and the quality of output videos is ensured.

Description

A kind of image processing method and device
Technical field
The application relates to technical field of image processing, more particularly, relates to a kind of image processing method and device.
Background technology
Along with popularizing of network, Internet video call etc. have also been obtained applies widely.When carrying out Internet video call, first needing camera collection image information, and after encoder is encoded, issuing the other side's client and play.
But, if camera occurs suddenly significantly to rock when gathering image information, then, during the encoded rear broadcasting of the image gathered, there will be serious mosaic effect, greatly reduce video quality, affect the experience of user.
Summary of the invention
In view of this, this application provides a kind of image processing method and device, for solving because camera rocks caused video mosaic effect, affecting the problem of Consumer's Experience.
To achieve these goals, the existing scheme proposed is as follows:
A kind of image processing method, for the image sending to encoder, performs following process:
Calculate the equal value difference of brightness of current frame image and previous frame image, and compared to previous frame image, the pixel producing brightness change in current frame image accounts for the ratio of all pixels in current frame image;
Judge whether the equal value difference of described brightness is greater than first and rocks threshold value; And,
Judge whether described ratio is greater than second and rocks threshold value;
If the equal value difference of described brightness is greater than first rock threshold value, and described ratio is greater than second rocks threshold value, then according to the first preset adjustment mode, the coding bit rate calculated by encoder raises.
Preferably, also comprise:
Judge whether the equal value difference of described brightness is less than the first static threshold; And,
Judge whether described ratio is less than the second static threshold;
If the equal value difference of described brightness is less than the first static threshold, and described ratio is less than the second static threshold, then according to the second preset adjustment mode, the coding bit rate calculated by encoder is lowered.
Preferably, described according to the first preset adjustment mode, the coding bit rate calculated by encoder raises, and comprising:
The coding bit rate calculated by encoder raises the first preset value;
Or,
Determine the preset numerical intervals belonging to the equal value difference of described brightness;
According to the preset adjusted value corresponding with this numerical intervals, the coding bit rate that encoder calculates is raised.
Preferably, described according to the second preset adjustment mode, the coding bit rate calculated by encoder is lowered, and comprising:
The coding bit rate calculated by encoder lowers the second preset value;
Or,
Determine the preset numerical intervals belonging to the equal value difference of described brightness;
According to the preset adjusted value corresponding with this numerical intervals, the coding bit rate that encoder calculates is lowered.
A kind of image processing apparatus, for sending to the image of encoder to process, this device comprises:
Computing unit, the equal value difference of the brightness for calculating current frame image and previous frame image, and compared to previous frame image, the pixel producing brightness change in current frame image accounts for the ratio of all pixels in current frame image;
First judging unit, for judging whether the equal value difference of described brightness is greater than first and rocks threshold value;
Second judging unit, for judging whether described ratio is greater than second and rocks threshold value;
Bit rate raises unit, and for determining that the equal value difference of described brightness is greater than first and rocks threshold value, and described ratio is greater than second when rocking threshold value, and according to the first preset adjustment mode, the coding bit rate calculated by encoder raises.
Preferably, also comprise:
3rd judging unit, for judging whether the equal value difference of described brightness is less than the first static threshold;
4th judging unit, for judging whether described ratio is less than the second static threshold;
Bit rate lowers unit, and for determining that the equal value difference of described brightness is less than the first static threshold, and when described ratio is less than the second static threshold, according to the second preset adjustment mode, the coding bit rate calculated by encoder is lowered.
Preferably, described bit rate rise unit comprises:
First bit rate raises subelement, and the coding bit rate for being calculated by encoder raises the first preset value;
Second bit rate raises subelement, for determining the preset numerical intervals belonging to the equal value difference of described brightness; According to the preset adjusted value corresponding with this numerical intervals, the coding bit rate that encoder calculates is raised.
Preferably, described bit rate downward unit comprises:
First bit rate lowers subelement, and the coding bit rate for being calculated by encoder lowers the second preset value;
Second bit rate lowers subelement, for determining the preset numerical intervals belonging to the equal value difference of described brightness; According to the preset adjusted value corresponding with this numerical intervals, the coding bit rate that encoder calculates is lowered.
As can be seen from above-mentioned technical scheme, the image processing method that the embodiment of the present application provides, following process is performed: the equal value difference of brightness calculating current frame image and previous frame image for sending to the image of encoder, and compared to previous frame image, the pixel producing brightness change in current frame image accounts for the ratio of all pixels in current frame image, judge whether the equal value difference of described brightness is greater than first and rocks threshold value, and, judge whether described ratio is greater than second and rocks threshold value, if the equal value difference of described brightness is greater than first rock threshold value, and described ratio is greater than second rocks threshold value, then according to the first preset adjustment mode, the coding bit rate calculated by encoder raises.The application is by the equal value difference of brightness of two two field pictures before and after contrast, when finding that the equal value difference of brightness is excessive, whether the ratio that the pixel determining to occur in current frame image brightness change further accounts for all pixels in image is excessive, if, then determine that camera there occurs and rocks when taking current frame image, thus in order to avoid mosaic effect appears in video, the coding bit rate calculated by encoder raises, to ensure the quality of output video, improve the Experience Degree of user.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present application or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only the embodiment of the application, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to the accompanying drawing provided.
Fig. 1 is a kind of image processing method flow chart disclosed in the embodiment of the present application;
Fig. 2 is another kind of image processing method flow chart disclosed in the embodiment of the present application;
The structural representation of Fig. 3 a kind of image processing apparatus disclosed in the embodiment of the present application;
Fig. 4 a kind of bit rate disclosed in the embodiment of the present application raises the structural representation of unit;
The structural representation of Fig. 5 another kind of image processing apparatus disclosed in the embodiment of the present application;
Fig. 6 a kind of bit rate disclosed in the embodiment of the present application lowers the structural representation of unit.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present application, be clearly and completely described the technical scheme in the embodiment of the present application, obviously, described embodiment is only some embodiments of the present application, instead of whole embodiments.Based on the embodiment in the application, those of ordinary skill in the art are not making the every other embodiment obtained under creative work prerequisite, all belong to the scope of the application's protection.
The embodiment of the present application provides a kind of image processing method, and the method processes for sending in the image of encoder, and concrete processing procedure is see Fig. 1.
As shown in Figure 1, the method comprises:
The equal value difference of brightness of step S100, calculating current frame image and previous frame image, and compared to previous frame image, the pixel producing brightness change in current frame image accounts for the ratio of all pixels in current frame image;
Particularly, for current frame image, first calculate its brightness average, and then calculate the difference of brightness average of itself and previous frame image, obtain the equal difference of brightness.When calculating the brightness average of current frame image, be specially the average of the brightness value calculating each pixel in current frame image.
In addition, also need to calculate compared to previous frame image, the pixel producing brightness change in current frame image accounts for the ratio value of all pixels in current frame image.
Step S110, judge whether the equal value difference of described brightness is greater than first and rocks threshold value;
Step S120, judge whether described ratio is greater than second and rocks threshold value;
If the equal value difference of described brightness is greater than first rock threshold value, and described ratio is greater than second rocks threshold value, then perform step S130;
Particularly, above-mentioned first rock threshold value and second and rock threshold value and be the value preset.If determine that the equal value difference of the brightness of current frame image and previous frame image rocks threshold value more than first, then mean that front and back two two field picture there occurs very large variation.In further judgement current frame image, whether the ratio shared by pixel producing brightness change rocks threshold value more than second, if so, then determines that camera really there occurs and significantly rocks when gathering current frame image.
Step S130, according to the first preset adjustment mode, the coding bit rate that encoder is calculated raise.
Particularly, the first preset adjustment mode comprises various ways, and the coding bit rate calculated by encoder according to the first preset adjustment mode raises, and the quality of output video is got a promotion, avoids mosaic effect.
The image processing method that the embodiment of the present application provides, following process is performed: the equal value difference of brightness calculating current frame image and previous frame image for sending to the image of encoder, and compared to previous frame image, the pixel producing brightness change in current frame image accounts for the ratio of all pixels in current frame image, judge whether the equal value difference of described brightness is greater than first and rocks threshold value, and, judge whether described ratio is greater than second and rocks threshold value, if the equal value difference of described brightness is greater than first rock threshold value, and described ratio is greater than second rocks threshold value, then according to the first preset adjustment mode, the coding bit rate calculated by encoder raises.The application is by the equal value difference of brightness of two two field pictures before and after contrast, when finding that the equal value difference of brightness is excessive, whether the ratio that the pixel determining to occur in current frame image brightness change further accounts for all pixels in image is excessive, if, then determine that camera there occurs and rocks when taking current frame image, thus in order to avoid mosaic effect appears in video, the coding bit rate calculated by encoder raises, to ensure the quality of output video, improve the Experience Degree of user.
For the ease of understanding the scheme of the application, we make an explanation with a concrete scene.
Under the scene that the present embodiment provides, camera aims at the teacher given lessons, and to teach video to gather teacher.If a certain moment, classmate has touched time camera because of carelessness, has caused camera significantly to rock, has been understandable that, for this two field picture that current time gathers, if do not carry out any process, there will be mosaic effect after encoded display.And the processing mode of the application is:
For current frame image, calculate the brightness equal value difference Δ AVG of itself and previous frame image, and compared to previous frame image, the pixel producing brightness change in current frame image accounts for the ratio Δ RATIO of all pixels in current frame image.Judge whether to meet: and, wherein, with be respectively first to rock threshold value and second and rock threshold value.When determining to meet above-mentioned condition, determine that camera there occurs and rocks when gathering current frame image.Thus, the coding bit rate calculated for encoder raises, to ensure the quality of output video.
In another embodiment of the application, we introduce several first preset adjustment mode, also namely after determining that current frame image there will be mosaic effect, how to adjust the coding bit rate that encoder calculates.
The first regulative mode:
Preset the first preset value, judging that the equal value difference of described brightness is greater than first and rocks threshold value, and when described ratio is greater than the second rolling large threshold value, the coding bit rate calculated by encoder raises the first preset value.
Obviously, the first regulative mode is a kind of fairly simple, regulative mode easily, but its Adjusting accuracy is not very accurate.Under some is not too high scene to output video quality requirement, can directly use this regulative mode.
The second regulative mode:
Preset the numerical intervals of the equal value difference of brightness and the corresponding relation of adjusted value.Judging that the equal value difference of described brightness is greater than first and rocks threshold value, and described ratio is when being greater than the second large threshold value of rolling, determine the numerical intervals belonging to the equal value difference of the brightness of current frame image and previous frame image, according to the adjusted value that this numerical intervals is corresponding, the coding bit rate that encoder calculates is raised.
Citing as: preset following corresponding relation:
Table 1
When determining that the equal value difference of brightness is 7, then determine that adjusted value is 30.The coding bit rate that thus can calculate encoder raises 30QP.
Obviously, the second regulative mode is more accurate compared to the first regulative mode, can be applicable in the higher scene of output video quality.
In addition, can also preset compared to previous frame image, the pixel producing brightness change in current frame image accounts for the ratio of all pixels in current frame image and the corresponding relation between adjusted value.And the adjustment of coding bit rate is carried out with reference to above-mentioned the second regulative mode, this is no longer described in detail.
In addition, in the process of camera collection video, prior art also faces so a kind of problem: when cam lens content geo-stationary, user generally can reduce the content detail quality requirement in camera lens, and more bias toward audio content, therefore spending most of bandwidth in insignificant background detail, is a kind of waste of resource.Based on this, this application provides another kind of image processing method.Composition graphs 1 and Fig. 2 known, image processing method can further include:
Step S140, judge whether the equal value difference of described brightness is less than the first static threshold;
Step S150, judge whether described ratio is less than the second static threshold;
If the equal value difference of described brightness is less than the first static threshold, and described ratio is less than the second static threshold, then perform step S160;
Particularly, above-mentioned first static threshold and the second static threshold are the value preset.If determine that the equal value difference of the brightness of current frame image and previous frame image is less than the first static threshold, then mean that the variation that front and back two two field picture occurs is little.In further judgement current frame image, whether the ratio shared by pixel producing brightness change is less than the second static threshold, if so, then determines current frame image and previous frame picture material geo-stationary.
Step S160, then according to the second preset adjustment mode, the coding bit rate that encoder is calculated lower.
Particularly, the second preset adjustment mode comprises various ways, and the coding bit rate that calculated by encoder according to the second preset adjustment mode is lowered, and output video content quality is reduced a little, is not affecting the use of situation decline low bandwidth resource of viewing.
It should be noted that, the execution sequence of above-mentioned steps S140-S160 can perform side by side with step S110-S130, or successively performs, and does not limit this application.
For the ease of understanding the scheme of the application, we make an explanation with a concrete scene.
Under the scene that the present embodiment provides, camera aims at the blackboard on dais, to teach video to gather teacher.If a certain moment teacher goes somewhere temporarily, the blackboard that thus camera is aimed at never changes.To this, the processing mode of the application is:
For current frame image, calculate the brightness equal value difference Δ AVG of itself and previous frame image, and compared to previous frame image, the pixel producing brightness change in current frame image accounts for the ratio Δ RATIO of all pixels in current frame image.Judge whether to meet: and, wherein, with be respectively the first static threshold and the second static threshold.When determining to meet above-mentioned condition, determine that the current frame image gathered is compared to previous frame image, content is almost constant.Thus, in order to reduce the use of bandwidth resources, the coding bit rate calculated for encoder is lowered.
In another embodiment of the application, we introduce several second preset adjustment mode, also namely when determining current frame image and previous frame picture material geo-stationary, how to adjust the coding bit rate that encoder calculates.
The first regulative mode:
Preset the second preset value, judging that the equal value difference of described brightness is less than the first static threshold, and when described ratio is less than the second static threshold, the coding bit rate calculated by encoder lowers the second preset value.
Obviously, the first regulative mode is a kind of fairly simple, regulative mode easily, but its Adjusting accuracy is not very accurate.Under some requires not too high scene to bandwidth resources, can directly use this regulative mode.
The second regulative mode:
Preset the numerical intervals of the equal value difference of brightness and the corresponding relation of adjusted value, judging that the equal value difference of described brightness is less than the first static threshold, and described ratio is when being less than the second static threshold, determine the numerical intervals belonging to the equal value difference of the brightness of current frame image and previous frame image, according to the adjusted value that this numerical intervals is corresponding, the coding bit rate that encoder calculates is lowered.
Citing as: preset following corresponding relation:
Table 2
When determining that the equal value difference of brightness is 7, then determine that adjusted value is 35.The coding bit rate that thus can calculate encoder lowers 35QP.
Obviously, the second regulative mode is more accurate compared to the first regulative mode, can be applicable in the higher scene of bandwidth requirement.
In addition, can also preset compared to previous frame image, the pixel producing brightness change in current frame image accounts for the ratio of all pixels in current frame image and the corresponding relation between adjusted value.And the adjustment of coding bit rate is carried out with reference to above-mentioned the second regulative mode, this is no longer described in detail.
Be described the image processing apparatus that the embodiment of the present application provides below, image processing apparatus described below can mutual corresponding reference with above-described image processing apparatus.
See the structural representation of Fig. 3, Fig. 3 a kind of image processing apparatus disclosed in the embodiment of the present application.
This device processes for sending to the image of encoder.As shown in Figure 3, this device comprises:
Computing unit 31, the equal value difference of the brightness for calculating current frame image and previous frame image, and compared to previous frame image, the pixel producing brightness change in current frame image accounts for the ratio of all pixels in current frame image;
Particularly, for current frame image, first calculate its brightness average, and then calculate the difference of brightness average of itself and previous frame image, obtain the equal difference of brightness.When calculating the brightness average of current frame image, be specially the average of the brightness value calculating each pixel in current frame image.
In addition, also need to calculate compared to previous frame image, the pixel producing brightness change in current frame image accounts for the ratio value of all pixels in current frame image.
First judging unit 32, for judging whether the equal value difference of described brightness is greater than first and rocks threshold value;
Second judging unit 33, for judging whether described ratio is greater than second and rocks threshold value;
Particularly, above-mentioned first rock threshold value and second and rock threshold value and be the value preset.If determine that the equal value difference of the brightness of current frame image and previous frame image rocks threshold value more than first, then mean that front and back two two field picture there occurs very large variation.In further judgement current frame image, whether the ratio shared by pixel producing brightness change rocks threshold value more than second, if so, then determines that camera really there occurs and significantly rocks when gathering current frame image.
Bit rate raises unit 34, and for determining that the equal value difference of described brightness is greater than first and rocks threshold value, and described ratio is greater than second when rocking threshold value, and according to the first preset adjustment mode, the coding bit rate calculated by encoder raises.
Particularly, the first preset adjustment mode comprises various ways, and the coding bit rate calculated by encoder according to the first preset adjustment mode raises, and the quality of output video is got a promotion, avoids mosaic effect.
The image processing apparatus that the embodiment of the present application provides, following process is performed: the equal value difference of brightness calculating current frame image and previous frame image for sending to the image of encoder, and compared to previous frame image, the pixel producing brightness change in current frame image accounts for the ratio of all pixels in current frame image, judge whether the equal value difference of described brightness is greater than first and rocks threshold value, and, judge whether described ratio is greater than second and rocks threshold value, if the equal value difference of described brightness is greater than first rock threshold value, and described ratio is greater than second rocks threshold value, then according to the first preset adjustment mode, the coding bit rate calculated by encoder raises.The application is by the equal value difference of brightness of two two field pictures before and after contrast, when finding that the equal value difference of brightness is excessive, whether the ratio that the pixel determining to occur in current frame image brightness change further accounts for all pixels in image is excessive, if, then determine that camera there occurs and rocks when taking current frame image, thus in order to avoid mosaic effect appears in video, the coding bit rate calculated by encoder raises, to ensure the quality of output video, improve the Experience Degree of user.
Optionally, the embodiment of the present application discloses the alternate configurations that a kind of bit rate raises unit, and as shown in Figure 4, bit rate raises unit 34 and can comprise:
First bit rate raises subelement 341, and the coding bit rate for being calculated by encoder raises the first preset value;
Second bit rate raises subelement 342, for determining the preset numerical intervals belonging to the equal value difference of described brightness; According to the preset adjusted value corresponding with this numerical intervals, the coding bit rate that encoder calculates is raised.
Obviously, it is a kind of fairly simple, regulative mode easily that the first bit rate raises the regulative mode of subelement, but its Adjusting accuracy is not very accurate.Under some is not too high scene to output video quality requirement, can directly use this regulative mode.And the regulative mode that the second bit rate raises subelement is more accurate compared to the first regulative mode, can be applicable in the higher scene of output video quality.
In addition, in the process of camera collection video, prior art also faces so a kind of problem: when cam lens content geo-stationary, user generally can reduce the content detail quality requirement in camera lens, and more bias toward audio content, therefore spending most of bandwidth in insignificant background detail, is a kind of waste of resource.Based on this, the embodiment of the present application additionally provides another image processing apparatus, composition graphs 3 and Fig. 5 known, this device can also comprise:
3rd judging unit 35, for judging whether the equal value difference of described brightness is less than the first static threshold;
4th judging unit 36, for judging whether described ratio is less than the second static threshold;
Particularly, above-mentioned first static threshold and the second static threshold are the value preset.If determine that the equal value difference of the brightness of current frame image and previous frame image is less than the first static threshold, then mean that the variation that front and back two two field picture occurs is little.In further judgement current frame image, whether the ratio shared by pixel producing brightness change is less than the second static threshold, if so, then determines current frame image and previous frame picture material geo-stationary.
Bit rate lowers unit 37, and for determining that the equal value difference of described brightness is less than the first static threshold, and when described ratio is less than the second static threshold, according to the second preset adjustment mode, the coding bit rate calculated by encoder is lowered.
Particularly, the second preset adjustment mode comprises various ways, and the coding bit rate that calculated by encoder according to the second preset adjustment mode is lowered, and output video content quality is reduced a little, is not affecting the use of situation decline low bandwidth resource of viewing.
Optionally, the embodiment of the present application discloses a kind of alternate configurations that bit rate raises unit, and as shown in Figure 6, bit rate raises unit 37 and can comprise:
First bit rate lowers subelement 371, and the coding bit rate for being calculated by encoder lowers the second preset value;
Second bit rate lowers subelement 372, for determining the preset numerical intervals belonging to the equal value difference of described brightness; According to the preset adjusted value corresponding with this numerical intervals, the coding bit rate that encoder calculates is lowered.
Obviously, it is a kind of fairly simple, regulative mode easily that the first bit rate lowers the regulative mode of subelement, but its Adjusting accuracy is not very accurate.Under some requires not too high scene to bandwidth resources, can directly use this regulative mode.And the regulative mode that the second bit rate lowers subelement is more accurate compared to the first regulative mode, can be applicable in the higher scene of bandwidth requirement.
Finally, also it should be noted that, in this article, the such as relational terms of first and second grades and so on is only used for an entity or operation to separate with another entity or operating space, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or equipment and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or equipment.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment comprising described key element and also there is other identical element.
In this specification, each embodiment adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar portion mutually see.
To the above-mentioned explanation of the disclosed embodiments, professional and technical personnel in the field are realized or uses the application.To be apparent for those skilled in the art to the multiple amendment of these embodiments, General Principle as defined herein when not departing from the spirit or scope of the application, can realize in other embodiments.Therefore, the application can not be restricted to these embodiments shown in this article, but will meet the widest scope consistent with principle disclosed herein and features of novelty.

Claims (8)

1. an image processing method, is characterized in that, for the image sending to encoder, performs following process:
Calculate the equal value difference of brightness of current frame image and previous frame image, and compared to previous frame image, the pixel producing brightness change in current frame image accounts for the ratio of all pixels in current frame image;
Judge whether the equal value difference of described brightness is greater than first and rocks threshold value; And,
Judge whether described ratio is greater than second and rocks threshold value;
If the equal value difference of described brightness is greater than first rock threshold value, and described ratio is greater than second rocks threshold value, then according to the first preset adjustment mode, the coding bit rate calculated by encoder raises.
2. method according to claim 1, is characterized in that, also comprises:
Judge whether the equal value difference of described brightness is less than the first static threshold; And,
Judge whether described ratio is less than the second static threshold;
If the equal value difference of described brightness is less than the first static threshold, and described ratio is less than the second static threshold, then according to the second preset adjustment mode, the coding bit rate calculated by encoder is lowered.
3. method according to claim 1, is characterized in that, described according to the first preset adjustment mode, and the coding bit rate calculated by encoder raises, and comprising:
The coding bit rate calculated by encoder raises the first preset value;
Or,
Determine the preset numerical intervals belonging to the equal value difference of described brightness;
According to the preset adjusted value corresponding with this numerical intervals, the coding bit rate that encoder calculates is raised.
4. method according to claim 2, is characterized in that, described according to the second preset adjustment mode, and the coding bit rate calculated by encoder is lowered, and comprising:
The coding bit rate calculated by encoder lowers the second preset value;
Or,
Determine the preset numerical intervals belonging to the equal value difference of described brightness;
According to the preset adjusted value corresponding with this numerical intervals, the coding bit rate that encoder calculates is lowered.
5. an image processing apparatus, is characterized in that, for sending to the image of encoder to process, this device comprises:
Computing unit, the equal value difference of the brightness for calculating current frame image and previous frame image, and compared to previous frame image, the pixel producing brightness change in current frame image accounts for the ratio of all pixels in current frame image;
First judging unit, for judging whether the equal value difference of described brightness is greater than first and rocks threshold value;
Second judging unit, for judging whether described ratio is greater than second and rocks threshold value;
Bit rate raises unit, and for determining that the equal value difference of described brightness is greater than first and rocks threshold value, and described ratio is greater than second when rocking threshold value, and according to the first preset adjustment mode, the coding bit rate calculated by encoder raises.
6. device according to claim 5, is characterized in that, also comprises:
3rd judging unit, for judging whether the equal value difference of described brightness is less than the first static threshold;
4th judging unit, for judging whether described ratio is less than the second static threshold;
Bit rate lowers unit, and for determining that the equal value difference of described brightness is less than the first static threshold, and when described ratio is less than the second static threshold, according to the second preset adjustment mode, the coding bit rate calculated by encoder is lowered.
7. device according to claim 5, is characterized in that, described bit rate raises unit and comprises:
First bit rate raises subelement, and the coding bit rate for being calculated by encoder raises the first preset value;
Second bit rate raises subelement, for determining the preset numerical intervals belonging to the equal value difference of described brightness; According to the preset adjusted value corresponding with this numerical intervals, the coding bit rate that encoder calculates is raised.
8. device according to claim 6, is characterized in that, described bit rate is lowered unit and comprised:
First bit rate lowers subelement, and the coding bit rate for being calculated by encoder lowers the second preset value;
Second bit rate lowers subelement, for determining the preset numerical intervals belonging to the equal value difference of described brightness; According to the preset adjusted value corresponding with this numerical intervals, the coding bit rate that encoder calculates is lowered.
CN201510144740.7A 2015-03-30 2015-03-30 A kind of image processing method and device Expired - Fee Related CN104702964B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201510144740.7A CN104702964B (en) 2015-03-30 2015-03-30 A kind of image processing method and device
PCT/CN2015/081798 WO2016155125A1 (en) 2015-03-30 2015-06-18 Image processing method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510144740.7A CN104702964B (en) 2015-03-30 2015-03-30 A kind of image processing method and device

Publications (2)

Publication Number Publication Date
CN104702964A true CN104702964A (en) 2015-06-10
CN104702964B CN104702964B (en) 2018-05-15

Family

ID=53349675

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510144740.7A Expired - Fee Related CN104702964B (en) 2015-03-30 2015-03-30 A kind of image processing method and device

Country Status (2)

Country Link
CN (1) CN104702964B (en)
WO (1) WO2016155125A1 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016155125A1 (en) * 2015-03-30 2016-10-06 北京三好互动教育科技有限公司 Image processing method and apparatus
CN106548763A (en) * 2015-09-22 2017-03-29 中兴通讯股份有限公司 A kind of method for displaying image and device and terminal
CN107767712A (en) * 2017-11-07 2018-03-06 广东欧珀移动通信有限公司 Adjust method, apparatus, storage medium and the electronic equipment of matching degree
CN114245048A (en) * 2021-12-27 2022-03-25 上海集成电路装备材料产业创新中心有限公司 Signal transmission circuit and image sensor
CN114339431A (en) * 2021-12-16 2022-04-12 杭州当虹科技股份有限公司 Time-lapse coding compression method
CN114786012A (en) * 2022-06-16 2022-07-22 深圳比特微电子科技有限公司 Code rate control method, device and readable storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017066736A1 (en) * 2015-10-16 2017-04-20 Tribune Broadcasting Company, Llc Media-production system with social media content interface feature

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1180276A (en) * 1996-09-27 1998-04-29 次级***有限公司 Scene change detector for digital video
US20050175091A1 (en) * 2004-02-06 2005-08-11 Atul Puri Rate and quality controller for H.264/AVC video coder and scene analyzer therefor
CN101389029A (en) * 2008-10-21 2009-03-18 北京中星微电子有限公司 Method and apparatus for video image encoding and retrieval
CN101511014A (en) * 2009-04-10 2009-08-19 杭州华三通信技术有限公司 Method and apparatus for encoding video
CN102572381A (en) * 2010-12-29 2012-07-11 ***通信集团公司 Video monitoring scene judging method and monitoring image coding method and device thereof
CN103905708A (en) * 2012-12-24 2014-07-02 联想(北京)有限公司 Shooting frame rate adjusting method and electronic device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102946505B (en) * 2012-11-22 2015-02-18 四川虹微技术有限公司 Self-adaptive motion detection method based on image block statistics
CN103945214B (en) * 2013-01-23 2016-03-30 中兴通讯股份有限公司 End side time-domain method for evaluating video quality and device
CN104702964B (en) * 2015-03-30 2018-05-15 北京布卡互动科技有限公司 A kind of image processing method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1180276A (en) * 1996-09-27 1998-04-29 次级***有限公司 Scene change detector for digital video
US20050175091A1 (en) * 2004-02-06 2005-08-11 Atul Puri Rate and quality controller for H.264/AVC video coder and scene analyzer therefor
CN101389029A (en) * 2008-10-21 2009-03-18 北京中星微电子有限公司 Method and apparatus for video image encoding and retrieval
CN101511014A (en) * 2009-04-10 2009-08-19 杭州华三通信技术有限公司 Method and apparatus for encoding video
CN102572381A (en) * 2010-12-29 2012-07-11 ***通信集团公司 Video monitoring scene judging method and monitoring image coding method and device thereof
CN103905708A (en) * 2012-12-24 2014-07-02 联想(北京)有限公司 Shooting frame rate adjusting method and electronic device

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016155125A1 (en) * 2015-03-30 2016-10-06 北京三好互动教育科技有限公司 Image processing method and apparatus
CN106548763A (en) * 2015-09-22 2017-03-29 中兴通讯股份有限公司 A kind of method for displaying image and device and terminal
CN107767712A (en) * 2017-11-07 2018-03-06 广东欧珀移动通信有限公司 Adjust method, apparatus, storage medium and the electronic equipment of matching degree
CN114339431A (en) * 2021-12-16 2022-04-12 杭州当虹科技股份有限公司 Time-lapse coding compression method
CN114339431B (en) * 2021-12-16 2023-09-01 杭州当虹科技股份有限公司 Time-lapse coding compression method
CN114245048A (en) * 2021-12-27 2022-03-25 上海集成电路装备材料产业创新中心有限公司 Signal transmission circuit and image sensor
CN114245048B (en) * 2021-12-27 2023-07-25 上海集成电路装备材料产业创新中心有限公司 Signal transmission circuit and image sensor
CN114786012A (en) * 2022-06-16 2022-07-22 深圳比特微电子科技有限公司 Code rate control method, device and readable storage medium

Also Published As

Publication number Publication date
WO2016155125A1 (en) 2016-10-06
CN104702964B (en) 2018-05-15

Similar Documents

Publication Publication Date Title
CN104702964A (en) Image processing method and device
WO2016065913A1 (en) Video image processing method, device and system
WO2017114233A1 (en) Display drive apparatus and display drive method
US10003765B2 (en) System and method for brightening video image regions to compensate for backlighting
WO2014129007A1 (en) Liquid crystal display device
EP2460140B1 (en) Distributed image retargeting
US20160329027A1 (en) Image processing device with image compensation function and image processing method thereof
US10204596B2 (en) Display control for transparent display
CN104717509B (en) A kind of video encoding/decoding method and device
CN108923853B (en) Display method and device, and visible light communication transmission method and device
JP2012513719A (en) Generating image scaling curves
US20160247465A1 (en) Image display method and system
CN105141943A (en) Adjusting method and device for video frame rate
WO2018045789A1 (en) Method and device for adjusting grayscale values of image
CN108810530A (en) A kind of AVC bit rate control methods based on human visual system
CN106293417A (en) Screen-picture display packing and device
CN105654424A (en) Image adjusting proportion display method, display system and display device, and terminal
CN111539948B (en) Video quality evaluation method, device, electronic equipment and storage medium
CN105282398B (en) A kind of adaptive time domain spatial domain 3D dithering process methods
CN105635789A (en) Video image OSD brightness reducing method and device
CN110933493A (en) Video rendering system, method and computer-readable storage medium
CN100454969C (en) Method for transient enhancing video image brightness
CN105227863A (en) A kind of method of video image processing gathered based on portrait characteristic information
TWI740326B (en) Computer system and image compensation method thereof
CN104735456B (en) A kind of video encoding/decoding method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20180329

Address after: Wanquanhe road 100086 Beijing city Haidian District No. 68 Zijin building room 919

Applicant after: BEIJING BUKAVU INTERACTIVE TECHNOLOGY Co.,Ltd.

Address before: Wanquanhe road 100086 Beijing city Haidian District No. 68 Zijin building 918

Applicant before: BEIJING MIYOSHI INTERACTIVE EDUCATIONAL TECHNOLOGY Co.,Ltd.

Applicant before: BEIJING BUKAVU INTERACTIVE TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20180515