ARGB

Apr 10, 2011 at 3:24pm

ARGB

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

#56212
Apr 10, 2011 at 4:02pm

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…

– Pasted Max Patch, click to expand. –
#201735
Apr 11, 2011 at 12:02pm

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

#201736
Apr 25, 2011 at 1:33pm

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

#201737
Apr 25, 2011 at 4:02pm

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!

#201738
Apr 26, 2011 at 3:05pm

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…

#201739

You must be logged in to reply to this topic.