Image substraction in multiple frames

How to substract previous frame between next frame in multiple frames with in a loop? Provide codes.

 Accepted Answer

I1 = rand(50) ; % say a initial frame
for i = 1:N
I2 = rand(50) ; % say a present frame
I1 = I2-I1 ;
end

More Answers (0)

Asked:

on 18 Sep 2018

Answered:

on 18 Sep 2018

Community Treasure Hunt

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

Start Hunting!