Filter repetition of numbers from a matrix
Hi folks,
I am trying to figure out how I can filter a repetition of numbers coming out of a matrix.
For a small matrix I know I can use jit.spill and I filter the resulting list with zl.thin.
But what about a larger matrix of 640x480 pixels (307200 pixels in total)? I know zl.thin has a limit (is it 32768?). Can I overstep any limits? Are there any other solutions I can use to filter repetitions of numbers in a matrix?
Thank you all for looking into this!
ygr
jit.iter and some javascript should get you there.
Hey, Jesse!
I don't know anything about javascript. Do you know if I can find a patch somewhere?
Javascript is a programming language, so a patch will not suffice. I'd recommend you look at the Max tutorials which cover it.
"Javascript is a programming language" That much I know :)
I was asking for a patch with a script inside.
You can filter the output itself using comparison to a list of the output history list. like with this: (just remember to change the "#1" to what you need (i/f)
... I can't really grok what you need from the patch, but would jit.change help in any way?
if it's just about 1 plane char data (which has not more than 256 different numbers), you could use coll: