Never mind, it looks like pix_diff does the subtraction and the absolute value.
On Mon, Jul 14, 2008 at 5:08 PM, Spencer Russell spencer.f.russell@gmail.com wrote:
I'm trying to implement a background subtractor using pix_buffer to store the reference frame, and then subtracting it from the live video input, then using that subtraction as an alpha mask for the live video. The problem is that pix_subtract clamps the output at 0, but I need it to not clamp, and then I can take the absolute value. Is there a way to do unclamped subtraction of pix objects in GEM?
thanks, spencer