CN106210718A - A kind of video sequence Scene switching detection method and device - Google Patents

A kind of video sequence Scene switching detection method and device Download PDF

Info

Publication number
CN106210718A
CN106210718A CN201610650437.9A CN201610650437A CN106210718A CN 106210718 A CN106210718 A CN 106210718A CN 201610650437 A CN201610650437 A CN 201610650437A CN 106210718 A CN106210718 A CN 106210718A
Authority
CN
China
Prior art keywords
frame
complexity
video sequence
business
unit
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
CN201610650437.9A
Other languages
Chinese (zh)
Other versions
CN106210718B (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.)
Feihu Information Technology Tianjin Co Ltd
Original Assignee
Feihu Information Technology Tianjin Co Ltd
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 Feihu Information Technology Tianjin Co Ltd filed Critical Feihu Information Technology Tianjin Co Ltd
Priority to CN201610650437.9A priority Critical patent/CN106210718B/en
Publication of CN106210718A publication Critical patent/CN106210718A/en
Application granted granted Critical
Publication of CN106210718B publication Critical patent/CN106210718B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/142Detection of scene cut or scene change
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/17Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
    • H04N19/172Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a picture, frame or field

Landscapes

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

Abstract

The embodiment of the invention discloses a kind of video sequence Scene switching detection method, including: obtaining video sequence, described video sequence at least includes the frame that two resolution arranged in order is identical;Obtaining the inter-frame complexity between complexity and described first frame and the second frame in the frame of the first frame, described first frame is the frame in described video sequence, and described second frame is another frame in described video sequence;Obtain complexity and the difference of described inter-frame complexity in described frame, obtain complexity poor;According to the corresponding relation between described complexity difference and preset value, it is judged that whether described first frame is the frame of described video sequence Scene switching.The video sequence Scene switching detection method that the embodiment of the present invention provides, it is possible to be accurately judged to the frame of occurrence scene switching in video sequence, improve the efficiency of Video coding.

Description

A kind of video sequence Scene switching detection method and device
Technical field
The present invention relates to technical field of video processing, particularly relate to a kind of video sequence Scene switching detection method and dress Put.
Background technology
Frame is the ultimate unit of composition video image.When Video coding, frame type can be set as I frame, P frame or B Frame.Intracoded frame (I frame), is the coded frame of a full frame data compression.Only use the data of I frame with regard to restructural complete graph during decoding Picture, it is not necessary to generate with reference to other pictures.Present frame and I frame or the picture difference of former frame are only preserved in prediction frame (P frame) Data;What bi-directional predicted frames (B frame) recorded is the difference of present frame and frame front and back.Generally in the video sequence can be two kinds of feelings I frame is set under condition: the generation of the needs of random access, scene switching.From the foregoing, detect that scene is cut in the video sequence The frame changed, sets it to I frame, most important for improving code efficiency.
Therefore, those skilled in the art need to provide a kind of video sequence Scene switching detection method and device, it is possible to Accurately judge the frame of occurrence scene switching in video sequence.
Summary of the invention
In order to solve prior art problem, the invention provides a kind of video sequence Scene switching detection method and dress Put, it is possible to accurately judge the frame of occurrence scene switching in video sequence.
A kind of video sequence Scene switching detection method that the embodiment of the present invention provides, including:
Obtaining video sequence, described video sequence at least includes the frame that two resolution arranged in order is identical;
Obtain the inter-frame complexity between complexity and described first frame and the second frame in the frame of the first frame, described first Frame is the frame in described video sequence, and described second frame is another frame in described video sequence;
Obtain complexity and the difference of described inter-frame complexity in described frame, obtain complexity poor;
According to the corresponding relation between described complexity difference and preset value, it is judged that whether described first frame is described video sequence The frame of row Scene switching.
Preferably, described according to the corresponding relation between described complexity difference and preset value, it is judged that whether described first frame For the frame of described video sequence Scene switching, specifically include:
Complexity in described frame is poor divided by described complexity, obtain the first complexity business;
When described first complexity business is more than the first predetermined threshold value, described first frame is that described video sequence Scene is cut The frame changed.
Preferably, described according to the corresponding relation between described complexity difference and preset value, it is judged that whether described first frame For the frame of described video sequence Scene switching, specifically include:
Described inter-frame complexity is poor divided by described complexity, obtain the second complexity business;
When described second complexity business is more than the second predetermined threshold value, described first frame is that described video sequence Scene is cut The frame changed.
Preferably, described according to the corresponding relation between described complexity difference and preset value, it is judged that whether described first frame For the frame of described video sequence Scene switching, specifically include:
By the X power of complexity in described frame divided by the first value, obtaining the 3rd complexity business, described first value is equal to described The Y power of complexity difference, Y is more than 0;
When described 3rd complexity business is more than three predetermined threshold value, described first frame is that described video sequence Scene is cut The frame changed.
Preferably, described according to the corresponding relation between described complexity difference and preset value, it is judged that whether described first frame For the frame of described video sequence Scene switching, specifically include:
By the M power of described inter-frame complexity divided by the second value, obtaining the 4th complexity business, described second value is equal to described The Nth power of complexity difference, N is more than 0;
When described 4th complexity business is more than four predetermined threshold value, described first frame is that described video sequence Scene is cut The frame changed.
The embodiment of the present invention additionally provides a kind of video sequence Scene change detection device, including: the first acquiring unit, Second acquisition unit and detector unit;
Described first acquiring unit, is used for obtaining video sequence, and described video sequence at least includes that two arrange in order The identical frame of resolution;
Described second acquisition unit, in the frame obtaining the first frame between complexity and described first frame and the second frame Inter-frame complexity, described first frame is the frame in described video sequence, and described second frame is another in described video sequence One frame;
Described second acquisition unit, is additionally operable to obtain complexity and the difference of described inter-frame complexity in described frame, obtains Complexity is poor;
Described detector unit, for according to the corresponding relation between described complexity difference and preset value, it is judged that described first Whether frame is the frame of described video sequence Scene switching.
Preferably, described detector unit, including: the first computation subunit, the first judgment sub-unit and first determine that son is single Unit;
Described first computation subunit, for complexity in described frame is poor divided by described complexity, obtains first multiple Miscellaneous degree business;
Described first judgment sub-unit, is used for judging that whether described first complexity business is more than the first predetermined threshold value;
Described first determines subelement, for judging that described first complexity business is more than institute when described first judgment sub-unit When stating the first predetermined threshold value, determine that described first frame is the frame of described video sequence Scene switching.
Preferably, described detector unit, including: the second computation subunit, the second judgment sub-unit and second determine that son is single Unit;
Described second computation subunit, for described inter-frame complexity is poor divided by described complexity, obtains second complicated Degree business;
Described second judgment sub-unit, is used for judging that whether described second complexity business is more than the second predetermined threshold value;
Described second determines subelement, for judging that described second complexity business is more than institute when described second judgment sub-unit When stating the second predetermined threshold value, determine that described first frame is the frame of described video sequence Scene switching.
Preferably, described detector unit, including: the 3rd computation subunit, the 3rd judgment sub-unit and the 3rd determine that son is single Unit;
Described 3rd computation subunit, for being worth divided by first by the X power of complexity in described frame, obtains the 3rd complicated Degree business, described first value is equal to the Y power of described complexity difference, and Y is more than 0;
Described 3rd judgment sub-unit, is used for judging that whether described 3rd complexity business is more than the 3rd predetermined threshold value;
Described 3rd determines subelement, for judging that described 3rd complexity business is more than institute when described 3rd judgment sub-unit When stating three predetermined threshold value, determine that described first frame is the frame of described video sequence Scene switching.
Preferably, described detector unit, including: the 4th computation subunit, the 4th judgment sub-unit and the 4th determine that son is single Unit;
Described 4th computation subunit, for being worth divided by second by the M power of described inter-frame complexity, obtains the 4th complicated Degree business, described second value is equal to the Nth power of described complexity difference, and N is more than 0;
Described 4th judgment sub-unit, is used for judging that whether described 4th complexity business is more than the 4th predetermined threshold value;
Described 4th determines subelement, for judging that described 4th complexity business is more than institute when described 4th judgment sub-unit When stating four predetermined threshold value, determine that described first frame is the frame of described video sequence Scene switching.
Compared with prior art, the present invention at least has the advantage that
The video sequence Scene switching detection method that the embodiment of the present invention provides, after getting video sequence, respectively In the frame of each frame that calculating resolution is identical, the interframe between complexity and the reference frame different from position on time shaft thereof is multiple Miscellaneous degree.Due to when a certain frame occurrence scene in video is changed, relative to the frame not having occurrence scene to switch, the interframe of this frame In complexity and frame, the proportionate relationship of complexity can change.Now, can be multiple according to complexity in the frame of each frame and interframe Corresponding relation between difference and the preset value of miscellaneous degree, it is judged that whether this frame is the frame of video sequence Scene switching.The present invention is real Execute the video sequence Scene switching detection method that example provides, it is possible to be accurately judged to occurrence scene switching in video sequence Frame, improves the efficiency of Video coding.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present application or technical scheme of the prior art, below will be to embodiment or existing In having technology to describe, the required accompanying drawing used is briefly described, it should be apparent that, the accompanying drawing in describing below is only this Some embodiments described in application, for those of ordinary skill in the art, on the premise of not paying creative work, Other accompanying drawing can also be obtained according to these accompanying drawings.
The schematic flow sheet of the video sequence Scene switching detection method embodiment one that Fig. 1 provides for the present invention;
The schematic flow sheet of the video sequence Scene switching detection method embodiment two that Fig. 2 provides for the present invention;
The schematic flow sheet of the video sequence Scene switching detection method embodiment three that Fig. 3 provides for the present invention;
The structural representation of the video sequence Scene change detection device embodiment one that Fig. 4 provides for the present invention;
The structural representation of the video sequence Scene change detection device embodiment two that Fig. 5 provides for the present invention;
The structural representation of the video sequence Scene change detection device embodiment three that Fig. 6 provides for the present invention.
Detailed description of the invention
In order to make those skilled in the art be more fully understood that the present invention program, below in conjunction with in the embodiment of the present invention Accompanying drawing, is clearly and completely described the technical scheme in the embodiment of the present invention, it is clear that described embodiment is only this Invent a part of embodiment rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art exist Do not make the every other embodiment obtained under creative work premise, broadly fall into the scope of protection of the invention.
Firstly the need of explanation, in an encoding process be required for calculate present frame autocorrelation, and present frame and Cross correlation between reference frame (other frames different from present frame position on time shaft).In the auto-correlation calculating present frame Property when, it is possible to use the video image of original resolution or reduce the down-sampling video image of resolution, to carry out frame Interior prediction.Then quadratic sum or the absolute value sum of intra prediction are calculated, complicated describe the frame of present frame with this in Degree.Interframe cross correlation between present frame and reference frame then can use the inter prediction between present frame and reference frame to be obtained The quadratic sum of Inter prediction residue or absolute value sum describe.Then, the quadratic sum of the Inter prediction residue obtained Or absolute value sum, the quadratic sum of intra prediction obtained when needing further with infra-frame prediction or absolute value it With compare, value less in both is called inter-frame complexity.Also, it should be noted those skilled in the art also can adopt Inter-frame complexity between complexity and present frame and reference frame in the frame of present frame is calculated, at this most one by one with additive method Enumerate.
Embodiment of the method one:
Seeing Fig. 1, this figure is that the flow process of the video sequence Scene switching detection method embodiment one that the present invention provides is shown It is intended to.
The video sequence Scene switching detection method that the present embodiment provides, including:
S101: obtaining video sequence, described video sequence at least includes the frame that two resolution arranged in order is identical;
It is understood that what the still frame that video is arranged by multiple countershafts on time formed, each still frame is One frame.
S102: obtain the inter-frame complexity between complexity and described first frame and the second frame, institute in the frame of the first frame Stating the first frame is the frame in described video sequence, and described second frame is another frame in described video sequence;
It should be noted that the frame that the forward direction that the second frame can be the first frame is adjacent, it is also possible to before the first frame To frame non-conterminous with it.
S103: obtain complexity and the difference of described inter-frame complexity in described frame, obtain complexity poor;
It is understood that when calculating inter-frame complexity, by the quadratic sum of Inter prediction residue obtained or absolutely Quadratic sum or the absolute value sum of the intra prediction obtained during to value sum further with infra-frame prediction compare, will Value less in Liang Zhe is called inter-frame complexity.Therefore, in the frame of the first frame complexity always greater than the first frame and reference frame Between inter-frame complexity, the complexity difference of the i.e. first frame be more than zero.
S104: according to the corresponding relation between described complexity difference and preset value, it is judged that whether described first frame is described The frame of video sequence Scene switching.
Those skilled in the art can specifically set preset value according to practical situation.Such as, preset value can be detection frame Complexity or inter-frame complexity etc. in frame.
It should be noted that when in video, a certain frame occurs actual scene switching when, an outstanding feature is The cross correlation of the reference interframe that present frame is different with a certain position on time shaft is the least, i.e. between present frame and reference frame Inter-frame complexity is bigger.The when of switching without occurrence scene, owing to reference frame is relatively big with the cross correlation of present frame, when Front frame is less with the inter-frame complexity with reference to interframe.So, for the first frame, during occurrence scene switching and between the second frame Inter-frame complexity is greater than inter-frame complexity when switching and between the second frame without scene.And for same frame, this frame Being more than this frame for complexity difference during scene switch frame is not that complexity during scene conversion frame is poor.That is, occurrence scene switches The complexity difference of frame is less than does not has the complexity of occurrence scene switch frame poor.
Therefore, it can preset value is standard, the corresponding relation (line such as such as size between more complicated degree difference and preset value Other functional relationships such as sexual relationship or proportionate relationship) judge that whether the first frame is the frame of video Scene switching.Due at certain In the case of Xie, in the frame of scene switch frame, the difference between complexity and inter-frame complexity is less, multiple compared in only comparing frame Magnitude relationship between miscellaneous degree and inter-frame complexity judges that whether the first frame is the frame of video sequence Scene switching, the most pre- If the corresponding relation between value and complexity difference can improve the accuracy rate of scene change detection.
Also, it should be noted due in frame the calculating of complexity and inter-frame complexity affected by video resolution, this The video sequence Scene switching detection method that embodiment provides can launch, also under the original resolution of video sequence image Can carry out in the down-sampled images reduce resolution.But, two frames that scene change detection relates to, the i.e. first frame and The resolution of the second frame is identical.
The video sequence Scene switching detection method that the present embodiment provides, after getting video sequence, calculates respectively Inter-frame complexity between complexity and the reference frame different from position on time shaft thereof in the frame of each frame that resolution is identical. Owing to when a certain frame occurrence scene in video is changed, relative to the frame not having occurrence scene to switch, the interframe of this frame is complicated In degree and frame, the proportionate relationship of complexity can change.Now, can be according to complexity and inter-frame complexity in the frame of each frame Difference and preset value between corresponding relation, it is judged that whether this frame is the frame of video sequence Scene switching.The present embodiment provides Video sequence Scene switching detection method, it is possible to being accurately judged to the frame of the switching of occurrence scene in video sequence, raising regards The efficiency of frequency coding.
Embodiment of the method two:
Seeing Fig. 2, this figure is that the flow process of the video sequence Scene switching detection method embodiment two that the present invention provides is shown It is intended to.Compared to Fig. 1, present embodiments provide a kind of more specific and that degree of accuracy is high video sequence Scene change detection side How method, illustrate according to the corresponding relation between described complexity difference and preset value, it is judged that whether described first frame is institute State the frame of video sequence Scene switching.
Step S201-S203 of the video sequence Scene switching detection method that the present embodiment provides is implemented respectively at method The S101-S103 of example one is identical, does not repeats them here.
The video sequence Scene switching detection method that the present embodiment provides, also includes:
S204: complexity in described frame is poor divided by described complexity, obtains the first complexity business;
At this moment, preset value be the first frame frame in complexity.
S205: when described first complexity business is more than the first predetermined threshold value, described first frame is in described video sequence The frame of scene switching.
With complexity difference as divisor, in frame, complexity is as dividend, after obtaining complexity business, is field owing to working as the first frame During scape switch frame, complexity business is bigger;And when the first frame is not scene switch frame, complexity business is less.So, by complexity Business compares with predetermined threshold value, so that it may judge whether the first frame is scene switch frame.
Need exist for explanation, when in inter-frame complexity and frame complexity relatively in the case of, only use interframe Complexity is relatively low with the accuracy of the result obtained by the magnitude relationship of complexity carries out scene change detection in frame.Therefore, adopt Judge that whether the first frame is the frame of video sequence Scene switching by above-mentioned steps, with complexity difference as divisor, with multiple in frame Miscellaneous degree is dividend, the first complexity business can be made to have a bigger excursion in different situations, sentence more accurately Whether disconnected first frame is the frame of video sequence Scene switching.
It addition, the present embodiment provide video sequence Scene switching detection method, after step S203 also by Following steps judge that whether the first frame is the frame of video sequence Scene switching:
S206: by the X power of complexity in described frame divided by the first value, obtain the 3rd complexity business, described first value etc. In the Y power of described complexity difference, Y is more than 0;
S207: when described 3rd complexity business is more than three predetermined threshold value, described first frame is in described video sequence The frame of scene switching.
It should be noted that such as, when the numerical value that Y is more than or equal to 0.1, use the Y power of complexity difference for removing After number, when the first frame is scene switch frame, the 3rd complexity business obtained obtains when not being scene switch frame with the first frame Two kinds of different situations (the most whether being scene switch frame) can be made a distinction by the gap expanding of the 3rd complexity business more accurately.
It should be noted that complexity is all relevant to the resolution of frame with inter-frame complexity in frame.Therefore, when the first frame and When the resolution of the second frame is identical, the first complexity business and the second complexity business are unrelated with resolution.Now, people in the art Member can set the first predetermined threshold value and the 3rd predetermined threshold value according to practical situation, need not necessarily be with the resolution of video for according to coming Set.
There is also the need to explanation, those skilled in the art also can use additive method to test according to practical situation Card, will not enumerate at this.
Embodiment of the method three:
Seeing Fig. 3, this figure is that the flow process of the video sequence Scene switching detection method embodiment three that the present invention provides is shown It is intended to.Compared to Fig. 1, present embodiments provide a kind of more specific and that degree of accuracy is high video sequence Scene change detection side Method, illustrates how according to the corresponding relation between complexity difference and preset value, it is judged that described first frame be whether described in regard The frame of frequency sequence Scene switching.
Step S301-S303 of the video sequence Scene switching detection method that the present embodiment provides is implemented respectively at method The S101-S103 of example one is identical, does not repeats them here.
The video sequence Scene switching detection method that the present embodiment provides, also includes:
S304: described inter-frame complexity is poor divided by described complexity, obtains the second complexity business;
Now, preset value is the inter-frame complexity of the first frame.
S305: when described second complexity business is more than the second predetermined threshold value, described first frame is in described video sequence The frame of scene switching.
It is understood that with inter-frame complexity as dividend, the concrete principle with complexity difference as divisor with in frame Complexity is dividend, and the principle with complexity difference as divisor is similar, does not repeats them here.
It addition, the present embodiment provide video sequence Scene switching detection method, after step S303 also by Following steps judge that whether the first frame is the frame of video sequence Scene switching:
S306: by the M power of complexity in described frame divided by the second value, obtain the 4th complexity business, described second value etc. In the Nth power of described complexity difference, N is more than 0;
S307: when described 4th complexity business is more than four predetermined threshold value, described first frame is in described video sequence The frame of scene switching.
It is understood that such as, when the numerical value that N is more than or equal to 0.1, use the Nth power of complexity difference for removing After number, when the first frame is scene switch frame, the 4th complexity business obtained obtains when not being scene switch frame with the first frame Two kinds of different situations (the most whether being scene switch frame) can be made a distinction by the gap expanding of the 4th complexity business more accurately.
It should be noted that complexity is all relevant to the resolution of frame with inter-frame complexity in frame.Therefore, when the first frame and When the resolution of the second frame is identical, the second complexity business and the 4th complexity business are unrelated with resolution.Now, people in the art Member can set the second predetermined threshold value and the 4th predetermined threshold value according to practical situation, need not necessarily be with the resolution of video for according to coming Set.
There is also the need to explanation, those skilled in the art also can use additive method to test according to practical situation Card, will not enumerate at this.
The video sequence Scene switching detection method provided based on above-described embodiment, the embodiment of the present invention additionally provides one Plant video sequence Scene change detection device.
Device embodiment one:
Seeing Fig. 4, this figure is the schematic diagram of the video sequence Scene change detection device embodiment one that the present invention provides.
The video sequence Scene change detection device that the present embodiment provides, including: the first acquiring unit 100, second obtains Take unit 200 and detector unit 300;
Described first acquiring unit 100, is used for obtaining video sequence, and described video sequence at least includes that two are arranged in order The identical frame of resolution of row;
Described second acquisition unit 200, complexity and described first frame and the second frame in the frame obtaining the first frame Between inter-frame complexity, described first frame is the frame in described video sequence, and described second frame is in described video sequence Another frame;
Described second acquisition unit 200, is additionally operable to obtain complexity and the difference of described inter-frame complexity in described frame, obtains Poor to complexity;
Described detector unit 300, for according to the corresponding relation between described complexity difference and preset value, it is judged that described the Whether one frame is the frame of described video sequence Scene switching.
The video sequence Scene change detection device that the present embodiment provides, after acquiring unit gets video sequence, Complexity and the reference frame different from position on time shaft thereof in the frame of computing unit each frame that calculating resolution is identical respectively Between inter-frame complexity.Owing to when a certain frame occurrence scene in video is changed, switching relative to there is no occurrence scene Frame, in the inter-frame complexity of this frame and frame, the proportionate relationship of complexity can change.Now, detector unit is according to each frame Corresponding relation between complexity and the difference of inter-frame complexity and preset value in frame, it is judged that whether this frame is video sequence Scene The frame of switching.The video sequence Scene change detection device that the present embodiment provides, it is possible to be accurately judged in video sequence send out The frame of raw scene switching, improves the efficiency of Video coding.
Device embodiment two:
Seeing Fig. 5, this figure is the schematic diagram of the video sequence Scene change detection device embodiment two that the present invention provides. Compared to Fig. 4, present embodiments provide a kind of more specific and that accuracy rate is high video sequence Scene change detection device.
In the scene change detection device that the present embodiment provides, described detector unit 300, including: the first computation subunit 301a, the first judgment sub-unit 302a and first determine subelement 303a;
Described first computation subunit 301a, for complexity in described frame is poor divided by described complexity, obtains first Complexity business;
Described first judgment sub-unit 302a, is used for judging that whether described first complexity business is more than the first predetermined threshold value;
Described first determines subelement 303a, for judging described first complexity when described first judgment sub-unit 302a When business is more than the first predetermined threshold value, determine that described first frame is the frame of described video sequence Scene switching.
It addition, for the accuracy improving detection further, in the scene change detection device that the present embodiment provides, described Detector unit 300, it is also possible to including: the 3rd computation subunit 301c, the 3rd judgment sub-unit 302c and the 3rd determine subelement 303c;
Described 3rd computation subunit 301c, for being worth divided by first by the X power of complexity in described frame, obtains the 3rd Complexity business, described first value is equal to the Y power of described complexity difference, and Y is more than 0;
Described 3rd judgment sub-unit 302c, is used for judging that whether described 3rd complexity business is more than the 3rd predetermined threshold value;
Described 3rd determines subelement 303c, for judging described 3rd complexity when described 3rd judgment sub-unit 302c When business is more than described three predetermined threshold value, determine that described first frame is the frame of described video sequence Scene switching.
Device embodiment three:
Seeing Fig. 6, this figure is the schematic diagram of the video sequence Scene change detection device embodiment three that the present invention provides. Compared to Fig. 4, present embodiments provide a kind of more specific and that accuracy rate is high video sequence Scene change detection device.
In the scene change detection device that the present embodiment provides, described detector unit, including: the second computation subunit 301b, the second judgment sub-unit 302b and second determine subelement 303b;
Described second computation subunit 301b, for described inter-frame complexity is poor divided by described complexity, obtains second Complexity business;
Described second judgment sub-unit 302b, is used for judging that whether described second complexity business is more than the second predetermined threshold value;
Described second determines subelement 303b, for judging described second complexity when described second judgment sub-unit 302b When business is more than the second predetermined threshold value, determine that described first frame is the frame of described video sequence Scene switching.
It should be noted that complexity is all relevant to the resolution of frame with inter-frame complexity in frame.Therefore, when the first frame and When the resolution of the second frame is identical, complexity business is unrelated with resolution.Now, those skilled in the art can set according to practical situation Fixed first predetermined threshold value and the second predetermined threshold value, need not necessarily be with the resolution of video for according to setting.
Additionally, for the accuracy improving detection further, in the scene change detection device that the present embodiment provides, described Detector unit, it is also possible to including: the 4th computation subunit 301d, the 4th judgment sub-unit 302d and the 4th determine subelement 302d;
Described 4th computation subunit 301d, for being worth divided by second by the M power of complexity in described frame, obtains the 4th Complexity business, described second value is equal to the Nth power of described complexity difference, and N is more than 0;
Described 4th judgment sub-unit 302d, is used for judging that whether described 4th complexity business is more than the 4th predetermined threshold value;
Described 4th determines subelement 302d, for judging described 4th complexity when described 4th judgment sub-unit 302d When business is more than described four predetermined threshold value, determine that described first frame is the frame of described video sequence Scene switching.
There is also the need to explanation, those skilled in the art also can use additive method to test according to practical situation Card, will not enumerate at this.
It should be noted that each embodiment uses the mode gone forward one by one to describe in this specification, each embodiment emphasis is said Bright is all the difference with other embodiments, and between each embodiment, identical similar portion sees mutually.For implementing For system disclosed in example or device, owing to it corresponds to the method disclosed in Example, so describe is fairly simple, relevant Part sees method part and illustrates.
Also, it should be noted in this article, the relational terms of such as first and second or the like is used merely to one Entity or operation separate with another entity or operation, and deposit between not necessarily requiring or imply these entities or operating Relation or order in any this reality.And, term " includes ", " comprising " or its any other variant are intended to Comprising of nonexcludability, so that include that the process of a series of key element, method, article or equipment not only include that those are wanted Element, but also include other key elements being not expressly set out, or also include for this process, method, article or equipment Intrinsic key element.In the case of there is no more restriction, statement " including ... " key element limited, it is not excluded that Including process, method, article or the equipment of described key element there is also other identical element.
The method described in conjunction with the embodiments described herein or the step of algorithm can direct hardware, processor be held The software module of row, or the combination of the two implements.Software module can be placed in random access memory (RAM), internal memory, read-only deposit Reservoir (ROM), electrically programmable ROM, electrically erasable ROM, depositor, hard disk, moveable magnetic disc, CD-ROM or technology In any other form of storage medium well known in field.
The above, be only presently preferred embodiments of the present invention, and the present invention not makees any pro forma restriction.Though So the present invention is disclosed above with preferred embodiment, but is not limited to the present invention.Any it is familiar with those skilled in the art Member, without departing under technical solution of the present invention ambit, may utilize the method for the disclosure above and technology contents to the present invention Technical scheme makes many possible variations and modification, or is revised as the Equivalent embodiments of equivalent variations.Therefore, every without departing from The content of technical solution of the present invention, the technical spirit of the foundation present invention is to any simple modification made for any of the above embodiments, equivalent Change and modification, all still fall within the range of technical solution of the present invention protection.

Claims (10)

1. a video sequence Scene switching detection method, it is characterised in that including:
Obtaining video sequence, described video sequence at least includes the frame that two resolution arranged in order is identical;
Obtaining the inter-frame complexity between complexity and described first frame and the second frame in the frame of the first frame, described first frame is A frame in described video sequence, described second frame is another frame in described video sequence;
Obtain complexity and the difference of described inter-frame complexity in described frame, obtain complexity poor;
According to the corresponding relation between described complexity difference and preset value, it is judged that whether described first frame is in described video sequence The frame of scene switching.
Video sequence Scene switching detection method the most according to claim 1, it is characterised in that described according to described multiple Corresponding relation between miscellaneous degree difference and preset value, it is judged that whether described first frame is the frame of described video sequence Scene switching, Specifically include:
Complexity in described frame is poor divided by described complexity, obtain the first complexity business;
When described first complexity business is more than the first predetermined threshold value, described first frame is the switching of described video sequence Scene Frame.
Video sequence Scene switching detection method the most according to claim 1, it is characterised in that described according to described multiple Corresponding relation between miscellaneous degree difference and preset value, it is judged that whether described first frame is the frame of described video sequence Scene switching, Specifically include:
Described inter-frame complexity is poor divided by described complexity, obtain the second complexity business;
When described second complexity business is more than the second predetermined threshold value, described first frame is the switching of described video sequence Scene Frame.
Video sequence Scene switching detection method the most according to claim 1, it is characterised in that described according to described multiple Corresponding relation between miscellaneous degree difference and preset value, it is judged that whether described first frame is the frame of described video sequence Scene switching, Specifically include:
By the X power of complexity in described frame divided by the first value, obtaining the 3rd complexity business, described first value is equal to described complexity The Y power of degree difference, Y is more than 0;
When described 3rd complexity business is more than three predetermined threshold value, described first frame is the switching of described video sequence Scene Frame.
Video sequence Scene switching detection method the most according to claim 1, it is characterised in that described according to described multiple Corresponding relation between miscellaneous degree difference and preset value, it is judged that whether described first frame is the frame of described video sequence Scene switching, Specifically include:
By the M power of described inter-frame complexity divided by the second value, obtaining the 4th complexity business, described second value is equal to described complexity The Nth power of degree difference, N is more than 0;
When described 4th complexity business is more than four predetermined threshold value, described first frame is the switching of described video sequence Scene Frame.
6. a video sequence Scene change detection device, it is characterised in that including: the first acquiring unit, the second acquisition list Unit and detector unit;
Described first acquiring unit, is used for obtaining video sequence, described video sequence at least include two arrange in order point The frame that resolution is identical;
Described second acquisition unit, frame between complexity and described first frame and the second frame in the frame obtaining the first frame Between complexity, described first frame is the frame in described video sequence, and described second frame is another frame in described video sequence;
Described second acquisition unit, is additionally operable to obtain complexity and the difference of described inter-frame complexity in described frame, obtains complexity It is poor to spend;
Described detector unit, for according to the corresponding relation between described complexity difference and preset value, it is judged that described first frame is The no frame for the switching of described video sequence Scene.
Video sequence Scene change detection device the most according to claim 6, it is characterised in that described detector unit, Including: the first computation subunit, the first judgment sub-unit and first determine subelement;
Described first computation subunit, for complexity in described frame is poor divided by described complexity, obtains the first complexity Business;
Described first judgment sub-unit, is used for judging that whether described first complexity business is more than the first predetermined threshold value;
Described first determines subelement, for judging that described first complexity business is more than described the when described first judgment sub-unit During one predetermined threshold value, determine that described first frame is the frame of described video sequence Scene switching.
Video sequence Scene change detection device the most according to claim 6, it is characterised in that described detector unit, Including: the second computation subunit, the second judgment sub-unit and second determine subelement;
Described second computation subunit, for described inter-frame complexity is poor divided by described complexity, obtains the second complexity business;
Described second judgment sub-unit, is used for judging that whether described second complexity business is more than the second predetermined threshold value;
Described second determines subelement, for judging that described second complexity business is more than described the when described second judgment sub-unit During two predetermined threshold value, determine that described first frame is the frame of described video sequence Scene switching.
Video sequence Scene change detection device the most according to claim 6, it is characterised in that described detector unit, Including: the 3rd computation subunit, the 3rd judgment sub-unit and the 3rd determine subelement;
Described 3rd computation subunit, for being worth divided by first by the X power of complexity in described frame, obtains the 3rd complexity Business, described first value is equal to the Y power of described complexity difference, and Y is more than 0;
Described 3rd judgment sub-unit, is used for judging that whether described 3rd complexity business is more than the 3rd predetermined threshold value;
Described 3rd determines subelement, for judging that described 3rd complexity business is more than described the when described 3rd judgment sub-unit During three predetermined threshold value, determine that described first frame is the frame of described video sequence Scene switching.
Video sequence Scene change detection device the most according to claim 6, it is characterised in that described detector unit, Including: the 4th computation subunit, the 4th judgment sub-unit and the 4th determine subelement;
Described 4th computation subunit, for being worth divided by second by the M power of described inter-frame complexity, obtains the 4th complexity Business, described second value is equal to the Nth power of described complexity difference, and N is more than 0;
Described 4th judgment sub-unit, is used for judging that whether described 4th complexity business is more than the 4th predetermined threshold value;
Described 4th determines subelement, for judging that described 4th complexity business is more than described the when described 4th judgment sub-unit During four predetermined threshold value, determine that described first frame is the frame of described video sequence Scene switching.
CN201610650437.9A 2016-08-08 2016-08-08 Scene switching detection method and device in a kind of video sequence Active CN106210718B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610650437.9A CN106210718B (en) 2016-08-08 2016-08-08 Scene switching detection method and device in a kind of video sequence

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610650437.9A CN106210718B (en) 2016-08-08 2016-08-08 Scene switching detection method and device in a kind of video sequence

Publications (2)

Publication Number Publication Date
CN106210718A true CN106210718A (en) 2016-12-07
CN106210718B CN106210718B (en) 2019-04-26

Family

ID=57514933

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610650437.9A Active CN106210718B (en) 2016-08-08 2016-08-08 Scene switching detection method and device in a kind of video sequence

Country Status (1)

Country Link
CN (1) CN106210718B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109194955A (en) * 2018-11-16 2019-01-11 深圳市梦网百科信息技术有限公司 A kind of scene change detection method and system
CN113627363A (en) * 2021-08-13 2021-11-09 百度在线网络技术(北京)有限公司 Video file processing method, device, equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020021756A1 (en) * 2000-07-11 2002-02-21 Mediaflow, Llc. Video compression using adaptive selection of groups of frames, adaptive bit allocation, and adaptive replenishment
US20040146108A1 (en) * 2003-01-23 2004-07-29 Shih-Chang Hsia MPEG-II video encoder chip design
CN102724554A (en) * 2012-07-02 2012-10-10 西南科技大学 Scene-segmentation-based semantic watermark embedding method for video resource
CN103888765A (en) * 2014-03-27 2014-06-25 天格科技(杭州)有限公司 H.265 rate control method for improved R-lambda model
CN104038762A (en) * 2013-03-06 2014-09-10 三星电子株式会社 Video Encoder, Method Of Detecting Scene Change And Method Of Controlling Video Encoder
CN105744270A (en) * 2014-12-10 2016-07-06 中国移动通信集团公司 Cloud-platform-based video coding method and apparatus

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020021756A1 (en) * 2000-07-11 2002-02-21 Mediaflow, Llc. Video compression using adaptive selection of groups of frames, adaptive bit allocation, and adaptive replenishment
US20040146108A1 (en) * 2003-01-23 2004-07-29 Shih-Chang Hsia MPEG-II video encoder chip design
CN102724554A (en) * 2012-07-02 2012-10-10 西南科技大学 Scene-segmentation-based semantic watermark embedding method for video resource
CN104038762A (en) * 2013-03-06 2014-09-10 三星电子株式会社 Video Encoder, Method Of Detecting Scene Change And Method Of Controlling Video Encoder
CN103888765A (en) * 2014-03-27 2014-06-25 天格科技(杭州)有限公司 H.265 rate control method for improved R-lambda model
CN105744270A (en) * 2014-12-10 2016-07-06 中国移动通信集团公司 Cloud-platform-based video coding method and apparatus

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李瑞刚: "实现xAVS编码器运动图像算法及整体性能优化", 《太原理工大学,2010》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109194955A (en) * 2018-11-16 2019-01-11 深圳市梦网百科信息技术有限公司 A kind of scene change detection method and system
CN109194955B (en) * 2018-11-16 2021-04-30 深圳市梦网视讯有限公司 Scene switching detection method and system
CN113627363A (en) * 2021-08-13 2021-11-09 百度在线网络技术(北京)有限公司 Video file processing method, device, equipment and storage medium
CN113627363B (en) * 2021-08-13 2023-08-15 百度在线网络技术(北京)有限公司 Video file processing method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN106210718B (en) 2019-04-26

Similar Documents

Publication Publication Date Title
CN102970528B (en) The video picture segmentation method accumulated based on change-detection and frame difference
KR101620933B1 (en) Method and apparatus for providing a mechanism for gesture recognition
CN103678299A (en) Method and device for monitoring video abstract
CN102710934B (en) Motion predicting or compensating method
EP4090036B1 (en) Privacy shielding processing method and apparatus, electronic device, and monitoring system
CN109377515A (en) A kind of moving target detecting method and system based on improvement ViBe algorithm
CN101483001A (en) Video-based intrusion detection method, detection apparatus and chip
JPWO2018061976A1 (en) Image processing device
EP1932117A2 (en) Method and apparatus for determining automatically the shot type of an image (close-up shot versus long shot)
CN102292727B (en) Video descriptor generator
CN104284057A (en) Video processing method and device
US20170201754A1 (en) Low power-consuming encoding method, and apparatus
CN106210718A (en) A kind of video sequence Scene switching detection method and device
CN101102504B (en) A mixing motion detection method combining with video encoder
Huang et al. Triple-complementary network for RGB-D salient object detection
CN111524086A (en) Moving object detection device, moving object detection method, and storage medium
CN114494943A (en) Novel video target detection and evaluation method, device, product and storage medium
CN104333758A (en) Depth map prediction method, pixel detection method and related devices
CN101453559B (en) Noise detection method and apparatus for video signal
CN109241977A (en) A kind of camera lens occlusion detection method
Oliveira et al. FPGA architecture for static background subtraction in real time
CN104754248A (en) Method and device for acquiring target snapshot
CN114219938A (en) Region-of-interest acquisition method
CN101854466A (en) Moving area detection method and device
CN106412580A (en) Method and device for setting intra-frame coding frame in video sequence

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant