Forums > MaxMSP

filtering out the background

April 2, 2012 | 2:33 pm

Hello, I;ve been trying to filter out the background by first generating an empty background frame in a matrix and then comparing this to another matrix which uses a live camera. But it isn’t working since I probably using the wrong techniques for this. Can somebody check out my patch whether Im heading in the right direction. and give me some pointers.
thanks in advance,
Rik

– Pasted Max Patch, click to expand. –

April 2, 2012 | 7:39 pm

here’s one way to do it using jit.op @op absdiff

you can also use jit.slide to smooth the background matrix, which may or may not give better results.

– Pasted Max Patch, click to expand. –

Viewing 2 posts - 1 through 2 (of 2 total)