[PD] unclamped pix_subtract?

chris clepper cgclepper at gmail.com
Mon Jul 14 23:20:02 CEST 2008

pix_diff gives the absolute value of the right image subtracted from the

On Mon, Jul 14, 2008 at 4:08 PM, Spencer Russell <
spencer.f.russell at 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
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20080714/76cd46f2/attachment.htm>

More information about the Pd-list mailing list