CN105721860A - Video lens boundary detection method based on hypergraph - Google Patents

Video lens boundary detection method based on hypergraph Download PDF

Info

Publication number
CN105721860A
CN105721860A CN201610037058.2A CN201610037058A CN105721860A CN 105721860 A CN105721860 A CN 105721860A CN 201610037058 A CN201610037058 A CN 201610037058A CN 105721860 A CN105721860 A CN 105721860A
Authority
CN
China
Prior art keywords
summit
video
shot
hypergraph
vector
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
CN201610037058.2A
Other languages
Chinese (zh)
Other versions
CN105721860B (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.)
Tianjin University
Original Assignee
Tianjin University
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 Tianjin University filed Critical Tianjin University
Priority to CN201610037058.2A priority Critical patent/CN105721860B/en
Publication of CN105721860A publication Critical patent/CN105721860A/en
Application granted granted Critical
Publication of CN105721860B publication Critical patent/CN105721860B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N17/00Diagnosis, testing or measuring for television systems or their details

Landscapes

  • Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • General Health & Medical Sciences (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Image Analysis (AREA)

Abstract

The invention discloses a video lens boundary detection method based on hypergraph. The video lens boundary detection method is characterized in that video characteristics can be extracted, and a k neighbor hypergraph model can be constructed; the video lens boundary can be searched; a minimum scoring threshold of a scoring vector can be set according to the k neighbor hypergraph; the label vector of the searching vertex is 1, and the label vectors of other vertexes are 0; the scoring vectors of the vertexes can be calculated, and the continuous vertex positions of the scoring vectors greater than the minimum scoring threshold can be recorded, and less than a half of vertexes can be selected randomly, and can be recorded as the set, and the label vector is 1; the scoring vectors of the vertexes can be recalculated according to the label vector; the process of setting the label vector of the searching vertex as 1, and setting the label vectors of other vertexes as 0 can be repeated; the video lens boundary and the type can be determined; the process of setting the label vector of the searching vertex as 1, and setting the label vectors of other vertexes as 0 can be repeated, till all of the video lens boundaries are completely determined. The retrieval of the video frames can be carried out by the hypergraph model, and the hypergraph model is used for the video lens boundary detection field.

Description

A kind of Methods for Shot Boundary Detection of Video Sequences based on hypergraph
Technical field
The present invention relates to a kind of Methods for Shot Boundary Detection of Video Sequences.Particularly relate to the characteristic of seriality that a kind of content in same video lens has and similarity, by hypergraph model to the analysis of picture frame in video lens, it is determined that the Methods for Shot Boundary Detection of Video Sequences based on hypergraph of each shot boundary of video.
Background technology
Video lens is often referred to the video segment of video camera one-time continuous shooting, and video shot boundary is often referred between video lens consecutive frame and occurs in that change in some sense.Video shot boundary detection is used to find a kind of technology on border between multiple cinestrip.When two video lens change, it will usually occur that some significantly change, for instance the change etc. of color characteristic.
Video shot boundary generally comprises two types.One is abrupt shot (abruptshot), refers to that frame of video jumps to suddenly another camera lens from a camera lens.Abrupt shot usually occurs between two frames, and front and back two frame is belonging respectively to former and later two camera lenses.Another kind is gradual shot (gradualshot), refers to that frame of video is transitioned into another camera lens gradually slowly from a camera lens, and camera lens has a kind of edit effect over time and space.Gradual shot generally includes and is fade-in gradually to go out (fadeinandfadeout), dissolve (dissolve) etc..Gradual shot usually occurs in a few frame between tens frames, is the transition of former and later two camera lenses.Wherein abrupt shot is easier to detect, and the more difficult detection of gradual shot, it is the emphasis of shot boundary detector.
Video shot boundary detection mainly includes the similarity measurement between the feature extraction of frame of video, video features, shot boundary determines three steps.Existing video shot boundary detection technique mainly has the method based on edge and the method based on movable information.The edge of image and gradient information can well show the visual information of image, therefore can use as the feature of video image.Shot detection method based on edge is generally more sensitive to the motion ratio of camera, object, is not therefore very accurate to the detection of gradual shot.Being based in camera lens frame of video based on the method for movable information is basic assumption smooth, that boundary is sudden change.Therefore based on the method for movable information, the detection of abrupt shot is comparatively accurate, the detection for gradual shot neither be very accurate.Method based on movable information also has the shortcoming that calculating time complexity is high.The maximum challenge of current video shot boundary detection technique is how to detect gradual shot and how to eliminate the impact on video shot boundary place of the high-speed motion of illumination or camera and object.
Summary of the invention
The technical problem to be solved is to provide a kind of Methods for Shot Boundary Detection of Video Sequences based on hypergraph that hypergraph model can be utilized to determine video shot boundary one by one.
The technical solution adopted in the present invention is: a kind of Methods for Shot Boundary Detection of Video Sequences based on hypergraph, comprises the steps:
1) video features is extracted;
2) k neighbour's hypergraph model is built:
H ( v , e ) = 1 , i f v ∈ e 0 , i f v ∉ e - - - ( 1 )
Wherein, v represents the summit of hypergraph, and e represents the super limit of hypergraph, and (v, e) for incidence matrix for H;
3) video shot boundary is found, including:
(1) first according to k neighbour's hypergraph model, when calculating a given inquiry summit, other summits are relative to the score vector on this summit:
F=(1-γ) (I-γ Θ)-1y(2)
Wherein, γ is constant factor;I is unit matrix;Y is the label vector on n summit of hypergraph, and dimension is n × 1 dimension, and f is the score vector relative to query point, and dimension is n × 1 dimension;Θ is the Laplacian Matrix of n × n, Θ=Dv -1/2HWDe -1HTDv -1/2, wherein, W is weight matrix, is the weight matrix being constituted super limit with the weight w (e) on limit for diagonal:
w ( e ) = Σ v i , v j ∈ e | | v i - v j | | 2 - - - ( 3 )
DvFor the degree matrix on summit, it is the degree matrix being constituted summit with degree d (v) on summit for diagonal:
D (v)=∑e∈Ew(e)·H(v,e)(4)
DeFor the degree matrix on super limit, it is the degree matrix being constituted super limit with degree d (e) on limit for diagonal:
D (e)=∑v∈eH(v,e)(5)
(2) the minimum score threshold δ of score vector f is set;
(3) label vector y (j)=1 on order inquiry summit, the label vector on other summits is set to 0;
(4) calculate each summit score vector f, and record the continuous vertex position of the f > δ comprising jth position, and from described continuous vertex position, randomly select the summit within half as feedback point, be designated as set F 'k, and make label vector y (F 'k)=1, k is the label of set;
(5) according to label vector y (F 'k)=1, calculates each summit score vector f again, and record comprises set F 'kThe continuous vertex position of f > δ, be designated as set Fk, now FkRepresent all frames in the same camera lens comprising jth position;
(6) j=F is madek(last)+1, k=k+1, label vector y (j)=1 is set, calculate each summit score vector f, and record the continuous vertex position of the f > δ comprising jth position, and from described continuous vertex position, randomly select the summit within half as feedback point, it is designated as set F 'k+1, and make label vector y (F 'k+1)=1, according to label vector y (F 'k+1)=1, calculates each summit score vector f again, and record comprises set F 'k+1The continuous vertex position of f > δ, obtain set Fk+1, wherein, Fk(last) for set FkLast summit;
(7) video shot boundary and type are determined;
(8) F is madek=Fk+1, return (6th) step, until all video shot boundaries are determined complete.
Step 3) in (3rd) step represent summit label vector y=[0 ..., 1 ... 0]T, wherein 1 in jth position.
Step 3) in determination video shot boundary described in (7th) step and type include:
Take set FkWith set Fk+1Common factor F, i.e. F=Fk∩Fk+1If,Then it is determined that at FkAnd F (last)k+1(first) some place is a shot boundary, and this shot boundary is abrupt shot, i.e. FkAnd F (last)k+1(first) up-and-down boundary of respectively abrupt shot is put;IfSo may determine that at FAnd F (first)(last) some place is a shot boundary, and this shot boundary is gradual shot, i.e. FAnd F (first)(last) up-and-down boundary of respectively gradual shot is put, wherein, Fk+1(first) for set Fk+1First summit, F(first) for set FFirst summit, F(last) for set FLast summit.
A kind of Methods for Shot Boundary Detection of Video Sequences based on hypergraph of the present invention, by the hypergraph model retrieval to frame of video, is used for hypergraph model the detection field of video shot boundary, has following distinguishing feature:
1, hypergraph model is applied to above shot boundary detector by the present invention first, it is by all frame of video in a camera lens are all retrieved thus determining video shot boundary, the different and conventional thinking being found shot boundary by the change of shot boundary place color or movable information.
2, experiments verify that, video shot boundary can be detected by the present invention fast and effectively, is therefore a kind of effective video lens boundary detection method.
3, the present invention is simple, excellent effect.It is usable in the pretreatment stage in the fields such as video analysis, video frequency abstract, video frequency searching.
Accompanying drawing explanation
Fig. 1 is the present invention flow chart based on the Methods for Shot Boundary Detection of Video Sequences of hypergraph;
Fig. 2 is an abrupt shot (frame of video is continuous videos), the wherein border of 5 frames and 6 frames respectively former and later two camera lenses;
Fig. 3 is a gradual shot (frame of video is continuous videos), and wherein 6 frames are the bounds of former and later two camera lenses to 9 frames.
Detailed description of the invention
Below in conjunction with embodiment and accompanying drawing, a kind of Methods for Shot Boundary Detection of Video Sequences based on hypergraph of the present invention is described in detail.
A kind of Methods for Shot Boundary Detection of Video Sequences based on hypergraph of the present invention, comprises the steps:
1) video features is extracted;
2) k neighbour's hypergraph model is built:
H ( v , e ) = 1 , i f v ∈ e 0 , i f v ∉ e - - - ( 1 )
Wherein, v represents the summit of hypergraph, and e represents the super limit of hypergraph, and (v, e) for incidence matrix for H;
3) video shot boundary is found, including:
(1) first according to k neighbour's hypergraph model, when calculating a given inquiry summit, other summits are relative to the score vector on this summit:
F=(1-γ) (I-γ Θ)-1y(2)
Wherein, γ is constant factor;I is unit matrix;Y is the label vector on n summit of hypergraph, and dimension is n × 1 dimension, and f is the score vector relative to query point, and dimension is n × 1 dimension;Θ is the Laplacian Matrix of n × n, Θ=Dv -1/2HWDe -1HTDv -1/2, wherein, W is weight matrix, is the weight matrix being constituted super limit with the weight w (e) on limit for diagonal:
w ( e ) = Σ v i , v j ∈ e | | v i - v j | | 2 - - - ( 3 )
DvFor the degree matrix on summit, it is the degree matrix being constituted summit with degree d (v) on summit for diagonal:
D (v)=∑e∈Ew(e)·H(v,e)(4)
DeFor the degree matrix on super limit, it is the degree matrix being constituted super limit with degree d (e) on limit for diagonal:
D (e)=∑v∈eH(v,e)(5)
(2) the minimum score threshold δ of score vector f is set;
(3) order inquiry summit label vector y (j)=1, the label vector on other summits is set to 0, represent summit label vector y=[0 ..., 1 ... 0]T, wherein 1 in jth position;
(4) calculate each summit score vector f, and record the continuous vertex position of the f > δ comprising jth position, and from described continuous vertex position, randomly select the summit within half as feedback point, be designated as set F 'k, and make label vector y (F 'k)=1, k is the label of set;
(5) according to label vector y (F 'k)=1, calculates each summit score vector f again, and record comprises set F 'kThe continuous vertex position of f > δ, be designated as set Fk, now FkRepresent all frames in the same camera lens comprising jth position;
(6) j=F is madek(last)+1, k=k+1, label vector y (j)=1 is set, calculate each summit score vector f, and record the continuous vertex position of the f > δ comprising jth position, and from described continuous vertex position, randomly select the summit within half as feedback point, it is designated as set F 'k+1, and make label vector y (F 'k+1)=1, according to label vector y (F 'k+1)=1, calculates each summit score vector f again, and record comprises set F 'k+1The continuous vertex position of f > δ, obtain set Fk+1, wherein, Fk(last) for set FkLast summit;
(7) video shot boundary and type are determined, including:
Take set FkWith set Fk+1Common factor F, i.e. F=Fk∩Fk+1If,Then it is determined that at FkAnd F (last)k+1(first) some place is a shot boundary, and this shot boundary is abrupt shot, i.e. FkAnd F (last)k+1(first) up-and-down boundary of respectively abrupt shot is put;IfSo may determine that at FAnd F (first)(last) some place is a shot boundary, and this shot boundary is gradual shot, i.e. FAnd F (first)(last) up-and-down boundary of respectively gradual shot is put, wherein, Fk+1(first) for set Fk+1First summit, F(first) for set FFirst summit, F(last) for set FLast summit;
(8) F is madek=Fk+1, return (6th) step, until all video shot boundaries are determined complete.
Fig. 2 and Fig. 3 is the judgement example of abrupt shot and gradual shot.Wherein Fig. 2 is abrupt shot, and the result of note query point 1 is set F1={ 1,2,3,4,5};So note query point F1(last) result of+1 (namely putting 6) is set F2={ 6,7,8,9,10};So can be determined that a F1(last)=5 and some F2(first)=6 is the bound of abrupt shot;Fig. 3 is gradual shot, and the result of note query point 1 is set F1={ 1,2,3,4,5,6,7,8,9};So note query point F1(last) result of+1 (namely putting 10) is set F2={ 6,7,8,9,10,11,12,13,14};F=F1∩F2={ 6,7,8,9};So can be determined that a F(first)=6 and some F(last)=9 is the bound of gradual shot.
A kind of Methods for Shot Boundary Detection of Video Sequences based on hypergraph of the present invention, in the specific implementation, it is possible to be divided into coarseness range detection and fine granularity range detection.First pass through coarseness range detection and determine the probable ranges of video boundaries, save and calculate the time in a large number;Then pass through fine granularity range detection and carry out precise video shot boundary scope.
Coarseness range detection step is as follows:
1) frame of video is sampled, for instance two frames of can sampling for 1 second;
2) feature of video is extracted;
3) k neighbour's hypergraph model is built;
4) perform according to lens boundary detection method step, and according to FJudge lens type and bounds.
The detection of above-mentioned coarseness has simply detected in sampling interframe, only determines a probable ranges, then also needs to carry out fine granularity range detection, and fine granularity range detection includes:
(1) all frame of video between sampling coarseness range detection result;
(2) repeat coarseness range detection step 2), 3), 4), thus obtaining accurate video shot boundary scope.

Claims (3)

1. the Methods for Shot Boundary Detection of Video Sequences based on hypergraph, it is characterised in that comprise the steps:
1) video features is extracted;
2) k neighbour's hypergraph model is built:
H ( v , e ) = 1 , i f v ∈ e 0 , i f v ∉ e - - - ( 1 )
Wherein, v represents the summit of hypergraph, and e represents the super limit of hypergraph, and (v, e) for incidence matrix for H;
3) video shot boundary is found, including:
(1) first according to k neighbour's hypergraph model, when calculating a given inquiry summit, other summits are relative to the score vector on this summit:
F=(1-γ) (I-γ Θ)-1y(2)
Wherein, γ is constant factor;I is unit matrix;Y is the label vector on n summit of hypergraph, and dimension is n × 1 dimension, and f is the score vector relative to query point, and dimension is n × 1 dimension;Θ is the Laplacian Matrix of n × n, Θ=Dv -1/2HWDe -1HTDv -1/2, wherein, W is weight matrix, is the weight matrix being constituted super limit with the weight w (e) on limit for diagonal:
w ( e ) = Σ v i , v j ∈ e | | v i - v j | | 2 - - - ( 3 )
DvFor the degree matrix on summit, it is the degree matrix being constituted summit with degree d (v) on summit for diagonal:
D (v)=∑e∈Ew(e)·H(v,e)(4)
DeFor the degree matrix on super limit, it is the degree matrix being constituted super limit with degree d (e) on limit for diagonal:
D (e)=∑v∈eH(v,e)(5)
(2) the minimum score threshold δ of score vector f is set;
(3) label vector y (j)=1 on order inquiry summit, the label vector on other summits is set to 0;
(4) calculate each summit score vector f, and record the continuous vertex position of the f > δ comprising jth position, and from described continuous vertex position, randomly select the summit within half as feedback point, be designated as set F 'k, and make label vector y (F 'k)=1, k is the label of set;
(5) according to label vector y (F 'k)=1, calculates each summit score vector f again, and record comprises set F 'kThe continuous vertex position of f > δ, be designated as set Fk, now FkRepresent all frames in the same camera lens comprising jth position;
(6) j=F is madek(last)+1, k=k+1, label vector y (j)=1 is set, calculate each summit score vector f, and record the continuous vertex position of the f > δ comprising jth position, and from described continuous vertex position, randomly select the summit within half as feedback point, it is designated as set F 'k+1, and make label vector y (F 'k+1)=1, according to label vector y (F 'k+1)=1, calculates each summit score vector f again, and record comprises set F 'k+1The continuous vertex position of f > δ, obtain set Fk+1, wherein, Fk(last) for set FkLast summit;
(7) video shot boundary and type are determined;
(8) F is madek=Fk+1, return (6th) step, until all video shot boundaries are determined complete.
2. a kind of Methods for Shot Boundary Detection of Video Sequences based on hypergraph according to claim 1, it is characterised in that step 3) in (3rd) step represent summit label vector y=[0 ..., 1 ... 0]T, wherein 1 in jth position.
3. a kind of Methods for Shot Boundary Detection of Video Sequences based on hypergraph according to claim 1, it is characterised in that step 3) in determination video shot boundary described in (7th) step and type include:
Take set FkWith set Fk+1Common factor FΔ, i.e. FΔ=Fk∩Fk+1If,Then it is determined that at FkAnd F (last)k+1(first) some place is a shot boundary, and this shot boundary is abrupt shot, i.e. FkAnd F (last)k+1(first) up-and-down boundary of respectively abrupt shot is put;IfSo may determine that at FΔAnd F (first)Δ(last) some place is a shot boundary, and this shot boundary is gradual shot, i.e. FΔAnd F (first)Δ(last) up-and-down boundary of respectively gradual shot is put, wherein, Fk+1(first) for set Fk+1First summit, FΔ(first) for set FΔFirst summit, FΔ(last) for set FΔLast summit.
CN201610037058.2A 2016-01-20 2016-01-20 A kind of Methods for Shot Boundary Detection of Video Sequences based on hypergraph Active CN105721860B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610037058.2A CN105721860B (en) 2016-01-20 2016-01-20 A kind of Methods for Shot Boundary Detection of Video Sequences based on hypergraph

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610037058.2A CN105721860B (en) 2016-01-20 2016-01-20 A kind of Methods for Shot Boundary Detection of Video Sequences based on hypergraph

Publications (2)

Publication Number Publication Date
CN105721860A true CN105721860A (en) 2016-06-29
CN105721860B CN105721860B (en) 2017-12-08

Family

ID=56147431

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610037058.2A Active CN105721860B (en) 2016-01-20 2016-01-20 A kind of Methods for Shot Boundary Detection of Video Sequences based on hypergraph

Country Status (1)

Country Link
CN (1) CN105721860B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110874833A (en) * 2019-10-15 2020-03-10 合肥工业大学 SAR image change detection method based on hypergraph matching

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040090453A1 (en) * 2002-11-13 2004-05-13 Jasinschi Radu Serban Method of and system for detecting uniform color segments
CN101650830A (en) * 2009-08-06 2010-02-17 中国科学院声学研究所 Compressed domain video lens mutation and gradient union automatic segmentation method and system
CN104881681A (en) * 2015-05-22 2015-09-02 浙江大学 Image sequence category labeling method based on mixed graph model

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040090453A1 (en) * 2002-11-13 2004-05-13 Jasinschi Radu Serban Method of and system for detecting uniform color segments
EP1563456A2 (en) * 2002-11-13 2005-08-17 Koninklijke Philips Electronics N.V. A method of and system for detecting uniform color segments
CN101650830A (en) * 2009-08-06 2010-02-17 中国科学院声学研究所 Compressed domain video lens mutation and gradient union automatic segmentation method and system
CN104881681A (en) * 2015-05-22 2015-09-02 浙江大学 Image sequence category labeling method based on mixed graph model

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
樊昀,王润生: "《基于超图聚类的故事单元的抽取与分析》", 《软件学报》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110874833A (en) * 2019-10-15 2020-03-10 合肥工业大学 SAR image change detection method based on hypergraph matching
CN110874833B (en) * 2019-10-15 2022-03-22 合肥工业大学 SAR image change detection method based on hypergraph matching

Also Published As

Publication number Publication date
CN105721860B (en) 2017-12-08

Similar Documents

Publication Publication Date Title
Hannane et al. An efficient method for video shot boundary detection and keyframe extraction using SIFT-point distribution histogram
Meng et al. From keyframes to key objects: Video summarization by representative object proposal selection
Ci et al. Video object segmentation by learning location-sensitive embeddings
KR101165359B1 (en) Apparatus and method for analyzing relation with image and image or video
US8467611B2 (en) Video key-frame extraction using bi-level sparsity
CN106687990B (en) For the method based on gradual improvement from video sequence selection frame
US20120148149A1 (en) Video key frame extraction using sparse representation
US20140226861A1 (en) Person-based Video Summarization by Tracking and Clustering Temporal Face Sequences
Bhalla et al. A multimodal approach for automatic cricket video summarization
Wan et al. A new technique for summarizing video sequences through histogram evolution
Shao et al. Motion histogram analysis based key frame extraction for human action/activity representation
Luo et al. Salient object detection in videos by optimal spatio-temporal path discovery
Zhang et al. Tracking-assisted weakly supervised online visual object segmentation in unconstrained videos
CN105721860A (en) Video lens boundary detection method based on hypergraph
Piramanayagam et al. Shot boundary detection and label propagation for spatio-temporal video segmentation
Shang et al. Object trajectory proposal
Li Video shot segmentation and key frame extraction based on SIFT feature
KR102151748B1 (en) Method, apparatus and computer-readable recording medium for seperating the human and the background from the video
CN113052311A (en) Feature extraction network with layer jump structure and method for generating features and descriptors
Khare et al. Multi-oriented moving text detection
KR20140076506A (en) Method and Apparatus for object tracking using object detection via background label propagation and region growing method
CN110830734A (en) Abrupt change and gradual change lens switching identification method
Jiang et al. Shot Boundary Detection Method for News Video.
Gushchin et al. Shot boundary detection method based on a new extensive dataset and mixed features
Pégeot et al. Scene text detection and tracking for a camera-equipped wearable reading assistant for the blind

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