Research Article

Key-Frame Extraction Based on HSV Histogram and Adaptive Clustering

Algorithm 3

DPCA clustering algorithm for key-frame extraction.
(1)Initialization: convert each video frame into a one-dimensional vector by HSV histogram
(2)Optimal cluster number: calculate the maximum SC index for the value of k
(3)Calculate the distance between any two points and sort them in ascending order
(4)Take the value at tā€‰=ā€‰2% of the incremental sequence as the cutoff distance dc
(5)Calculate the and for each frame and generate the decision graph
(6)Combining the decision graph to select the k cluster centers in descending order of