Detecting abrupt changes in sequence of images
2 次查看(过去 30 天)
显示 更早的评论
I have a folder named "Video" containing a number of sequenced files from a video. I want to select that particular image where there is an abrupt change in histogram and save them in another folder named "Change". Can some one please provide me the matlab source code?
0 个评论
回答(1 个)
Image Analyst
2014-4-20
See my attached demo where I go through and detect changes from one frame to prior frames. Just sum the difference image. Then determine the magnitude of the sum that will indicate to you that the change is great enough to save in a different folder. My code also writes the frames out to disk, so you 'd have to adapt it to change the folder name when the difference exceeds a predetermined amount.
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!