Detecting abrupt changes in sequence of images

2 visualizaciones (últimos 30 días)
Rishav
Rishav el 20 de Abr. de 2014
Respondida: Image Analyst el 20 de Abr. de 2014
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?

Respuestas (1)

Image Analyst
Image Analyst el 20 de Abr. de 2014
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.

Community Treasure Hunt

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

Start Hunting!

Translated by