摘要 |
Disclosed is a method for detecting change of a video scene. The method comprises the steps of: converting image frames of a video file from RGB space to HSV space; splitting the video file into a plurality of video sequences, and acquiring through calculation an averaging hue histogram of each video sequence; performing normalization processing on each averaging hue histogram; performing matching calculation on the averaging hue histograms of every two adjacent video sequences to obtain a matching coefficient; and if the matching coefficient between the averaging hue histograms of the corresponding two adjacent video sequences is greater than a preset matching threshold, regarding the two adjacent video sequences as video sequences of different scenes; otherwise, regarding the two adjacent video sequences as video sequences of the same scene. Therefore, quick video scene detection is realized on the basis of video sequences according to main hue differences between adjacent video sequences. The present invention can be further applied to other image detection fields, and has high application value. |