Ask Your Question

Revision history [back]

Pixel Subraction + Gain - Realtime Video

Hello,

I need to write a program for real-time processing a laser interferometer video image. The processing is fairly simple, and similar to background detection.

I need the real-time display of one video frame subtracted from the previous frame (with no compression or other alterations of the pixel data from the camera), and with a variable gain (i.e. the result multiplied by perhaps 1 - 20).

I am using c++ (however, I am just learning the basics at this point).

If anyone can help point me in the right direction with regard to which opencv library algorithms to use I'd appreciate it.

Perhaps a part of a background detection code can be used with minor tweaks?

Thanks.