dividing video into scenes
5 views (last 30 days)
Show older comments
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
0 Comments
Answers (4)
Image Analyst
on 7 Jul 2018
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 Comments
Majid Al-Sirafi
on 7 Jul 2018
1 Comment
Image Analyst
on 8 Jul 2018
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.
See Also
Categories
Find more on MATLAB Support Package for IP Cameras in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!