Efficient way to filter out a matrix?
Hi everyone,
I am trying to figure out a way to filter out repetitions inside a matrix more efficiently. I have to scale 10 times what I am doing and it slows down the CPU.
In the example below you have something similar to what I am trying to achieve. Minus the fact that the input will come from jit.openni while using a kinect. Practically I want to know when somebody is leaving the scene.
The patch in the example works without a kinect to demonstrate the problem.
PS: Can [jit.op @op == @val 1] be substituted for..
jit.gl.gen
Param thresh(1);
eq_1 = in1 == thresh;
out1 = eq_1;
Max Patch
Copy patch and select New From Clipboard in Max.
? (see also example in the patch)
Thank you for any input!!