invert the colours

Nov 24, 2009 at 8:59am

invert the colours

hello, I did this already but I forgot how: invert the colours of live video.
thanks for any tip,
bd

#46696
Nov 25, 2009 at 4:00pm

jit.op @op !- @val 1.

#167968
Nov 25, 2009 at 6:38pm

or jit.op @op ~
or jit.scalebias @scale -1. @bias 1.
or jit.brcosa @contrast -1.
or…
The one you choose will depend on the rest of your patch and how you want to control it.

AB

#167969
Nov 25, 2009 at 11:42pm

hurray! jit.op was missing.

great forum° thanks,
bd

#167970

You must be logged in to reply to this topic.