Re: [PD] unclamped pix_subtract?

2008-07-14 Thread chris clepper
pix_diff gives the absolute value of the right image subtracted from the
left.

On Mon, Jul 14, 2008 at 4:08 PM, Spencer Russell <
[EMAIL PROTECTED]> 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@iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] unclamped pix_subtract?

2008-07-14 Thread Spencer Russell
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
<[EMAIL PROTECTED]> 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@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


[PD] unclamped pix_subtract?

2008-07-14 Thread Spencer Russell
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@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list