Forums > MaxMSP

New to MAX and I don't know what I'm doing!

November 8, 2012 | 2:54 am

I’m not sure how to go about trying to explain this so please bear with me. I would like to use this program to make an image appear over time by way of movement captured by a camera or by a kinect. Ideally I want to use this in a performance piece. The background would either have to be white to match the walls or I would need to use the alpha channel. I think. The image would reveal in whatever colors I used when creating the image. Like I said in my title, I do not have any idea about how to go about doing this or where to start. Any help would be great.


November 8, 2012 | 3:28 am

You’re going to have to use the alpha channel no matter what… also I would start by doing a basic background subtraction using [jit.qt.grab] (with a camera, I don’t know what you use with a kinect), [jit.op @op absdiff], and [gate]. the brackets are there to signify what you type into the object boxes. hook the jit.qt.grab into the left inlet of the jit.op and also to the message inlet of the gate, and the gate outlet into the right inlet of the jit.op, also put a toggle on the gate to open and close it. also connect a [jit.pwindow] to the outlet of the jit.op so you can see what yer doing. once you’ve got yer camera up and running point it at whatever yer gonna use for a background, wall, green screen, yer sofa, whatever just click the toggle twice, everything in the jit.pwindow should disappear, now try walking in front of the camera and the only thing you see should be you. there’s a lot more you can do with background subtraction to fine tune it like adjusting the contrast using jit.brcosa and the threshold using
[jit.op @op >] but this should get you started

also check out the help file for jit.unpack


November 8, 2012 | 3:29 am

It’s a programming environment


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