Skip to content

caginozkaya/Video-Keyframe-Extraction-Using-RGB-Features-in-Matlab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Video-Keyframe-Extractor-Using-RGB-Features-in-Matlab

In this script, I use a sample video called planes.mp4 which has 4 scene changes. If you watch the video you can see that there are scene changes at approximately:

1)00:03:xx

1

2)00:06:xx

2

3)00:10:xx

3

4)00:14:xx

4

-It takes the i th and i+1 th frames' RGB features and calculates the histogam difference of those features. In the figure the maximum points of the graph are the maximum changes of RGB features which extracted from the frames.

extract

-As you can see in the figure, you can take the maximum points of the graph as keyframes. It finds all 4 keyframes successfully in this example.

-x-axis indicates the duration of the video, by taking the durations of the maximum points you can extract that frame at that duration as keyframe.

-Automatically saves frames matrice as planes.mat in the current folder for later usage.

About

Color Histogram Based Keyframe Extration

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages