[SOLVED] Image Subtraction of consecutive frames in MATLAB

Status
Not open for further replies.

Nivethithaa Dhanraj

Newbie level 3
Joined
Feb 14, 2012
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,298
I have stored a 100 frames from live video capture. Now I want to perform image subtraction of consecutive frames. That is, I want to subtract 1 and 2 , 2 and 3 and so on till the 100th frame. And of course this has to be performed after reading all the images and converting them to grayscale. I have got to apply some algorithms to the binary difference image. So I could subtract 1 and 2 apply algorithms and then go for the other subtractions too right. This has to be in a loop. But I don't knoe how to execute all this. I'm doing this using MATLAB. I hope the problem is comprehensible. I'd really appreciate any help.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…