change color from white to black in video

kaboo's icon

Hello,
I use a kinect to capture the silhouette of a person.
The silhouette is white and the background is black, but I need a black silhouette and a white background.
any ideas?
Thanks!

Christopher Dobrian's icon

Try [jit.op @op < @val 0.5].

For a general instruction on the task, see Jitter Tutorial 3: Math Operations on a Matrix.