MATLAB Answers

dividing video into scenes

3 ビュー (過去 30 日間)
Majid Al-Sirafi
Majid Al-Sirafi 2018 年 7 月 7 日
コメント済み: Majid Al-Sirafi 2018 年 7 月 9 日
hi everyone the attached file is matlab code for dividing AVI movie into scenes. unfortunately, the accuracy of this
program is low. So, is there any alternative matlab program?
Regards
Majid

回答 (4 件)

Image Analyst
Image Analyst 2018 年 7 月 7 日
It's hard to define what a scene is. If the camera smoothly turns around 180 degrees is that a new scene?
See my attached example where I take the mean of all frames. You could examine the means and try to find abrupt changes in the means which could indicate a change in scene. Though it could also be the same scene where someone just put their hand over the lens for a short time.
  7 件のコメント
Majid Al-Sirafi
Majid Al-Sirafi 2018 年 7 月 9 日
thank you very much dear Image analyst for this valuable information about scene detection..
Can I contact with you about scene subject later? Actually, currently I'm working on Project related to Watermarking in Video media depending on the scene detection. your example may help me.
regard,
Majid

サインインしてコメントする。


Majid Al-Sirafi
Majid Al-Sirafi 2018 年 7 月 7 日
dear image analyst do you know the value of threshold by which the changed scene is detected
  1 件のコメント
Image Analyst
Image Analyst 2018 年 7 月 8 日
No. I think you should plot the difference from frame to frame as a function of frame and look at the frames where you know for a fact that the scene has changed. Those differences should be about right, and all the other differences will probably be a lot less. So set the threshold about half way between the known scene change difference, and a typical non-changing scene difference.

サインインしてコメントする。


Majid Al-Sirafi
Majid Al-Sirafi 2018 年 7 月 8 日
so, dear mage Analyst look at the your attached example, which I modified it (line 167,168). I stored the threshold values in array. So, can we detect the scenes through these values
Note:
(ali.avi) movie file cannot be attached since it not be supported.How can I attached it to run the example
  1 件のコメント
Image Analyst
Image Analyst 2018 年 7 月 8 日
zip files can be attached if they are less than about 5 MB

サインインしてコメントする。


Majid Al-Sirafi
Majid Al-Sirafi 2018 年 7 月 8 日
dear image analyst, find the attached file

製品


リリース

R2014a

Community Treasure Hunt

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

Start Hunting!

Translated by