ARGB

Scoorn's icon

Hey People

I happen to be using jitter to create a video/interactive theremin the problem is im not sure what values the min and max values to insert into jit.findbounds to isolate the GREEN from the live feed to track. I have read through tutorials 5 and 6 which explain ARGB but infact it made it more confusing for me. So what would be the min & max values for green?

Cheers
Scoorn

spectro's icon
Max Patch
Copy patch and select New From Clipboard in Max.

A pure green would be 0. 1. 0. 1. in rgba, but it is very unlikely thats that will be what you're actually going to get in practice. I've attached a patch you can use/modify to sample colours from an image/movie as a point of departure for finding rgba values for findbounds. As far as the min and max settings go, it depends how variable your Green is going to be but you may need to experiment. The more it is likely to vary in intensity or saturation the more range you will be looking at between min and max values - using noticeably higher overall values for the green range than r(ed) and blue. Also see tutorial 25 if you haven't already done so...

Scoorn's icon

Cheers for that! was a big help ill definatly keep your patch around it'll be handy.

uvray's icon

I am using this as well. thanks for this simple patch.
Sometimes I think the tutorials actually make things too complicated...
cheers.

finfinwabbit's icon

I'm new to Jitter/Max so how would I use this patch? I mean, I copy the code above and then how do I actually add it to a project?
thanks!

spectro's icon

You can literally paste the code fragment into an existing patch (command or ctrl v). the pasted bit can be dragged to an unsed area of the patch to avoid overlapping objects. Alternately: New from clipboard, Select All, Copy and then Paste into existing patch. In all honesty however, a question like that one suggests you probably need to be studying the basics (tutorials and docs) a little more...