How to extract the keyframes from video?

2 views (last 30 days)
How to extract the keyframes from video? I need to write complete code,like entropy way for extrct keyframe or color and texture way for extrct keyframe object based way for extrct keyframe and so on.

Accepted Answer

Junaid
Junaid on 18 Dec 2011
Dear Pan,
There are so many easy and complex ways. The best and the simplest is based on Entropy.
You calculate the Entropy of each frame and then find the shots. Like whenever the difference between two consecutive frames is more then some Threshold then mark it as shot. So the median frame can be good representation or take the frames having maximum Entropy.
for key frame you can refer to many papers. The method I explained you can be read in detail in following paper.
Video segmentation into scenes using entropy and SURF
  1 Comment
Aravin
Aravin on 21 Dec 2011
This is most simplest way I ever seen. Yet I m not sure about the efficiency :)

Sign in to comment.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!