Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Image Subtraction using frame history

Hello Everyone,

I am trying to use image subtraction for extracting contours from the video. I just need to subtract the average of the first 20 frames for this particular problem. However, I figured out that current algos substract on a rolling image basis.

My current approach is: 1. Adding first 20 frames and then dividing by 20 to get average of the background 2. Substracting the averaged image from frames >20.

Is there any other way ?

Any help would be greatily appreciated ?