jit.object to make my video black and white?
I know that this is a question where the usual answer would be "read the reference"
but there are so many jitter objects.. so if you could be so kind
thanks
[jit.brcosa] saturation 0.
[jit.unpack 4] and only use green channel (carries most luma)
may also be able to do a similar trick using [jit.matrix] and planmap message
here's a few different ways to get you going... the first is the easiest, the other two may offer performance advantages at the expense of flexibility... YMMV
for grayscale you can also use jit.rgb2luma, or for pure black-and-white, try jit.op @op > @val 127 (or whatever threshold you want). the op will convert 0-255 char values to black or white, just as though they each went through a logical operator (which they did) and came out "off or on" for "false or true".