Forums > MaxMSP

Invert matrix jitter

January 28, 2011 | 11:13 am

Probably a real easy solution for this one:

How do I invert a 1-plane black and white char matrix? I want to make the black white and the other way around.


January 28, 2011 | 11:50 am

Try this: [jit.rgb2luma @ascale 3 @rscale -1 @gscale -1 @bscale -1]

Works for me!


January 28, 2011 | 11:52 am

Oops, jit.brcosa of course, never mind….


January 28, 2011 | 5:11 pm

jit.op @op == @val 0

– Pasted Max Patch, click to expand. –

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