Forums > Jitter

Seeking advice on image analysis process

February 25, 2008 | 7:22 pm

hello, i’m a complete newbie, however, i somehow got myself faced with an assignment which requires heavy involvement of the jitter software and i’m desperately asking for your help here. i’d appreciate if you will show generosity to provide me some hints. please understand the ironic situation and my lack of eloquence.
basically, the project i’ve been planning is a simple(?) light-triggered midi controller. jitter will be in charge of the input part which will then be associated with the MIDI controller part consisting of max objects.

i want to have jitter to analyse the light source (ex. laser pointer, flashlight, etc) projected onto a matte wall through a firewire connection to a sony camcoder (with a resolution of 680 x 480px approx).

following things need to be done

1 – detection of specific brightness values(above a certain threshold which will be the brightness value of the matte wall)

if pixel > threshold have it report back grid reference

i’d like to find out which object i should use to solely extract brightness value of an image in greyscale as it won’t be necessary to track colour information

with my limited knowledge, i can only assume jit.3m is appropriate for such task though i don’t know which outlet does the job i need.

2 – grid-fying the image for multiple analysis

if possible, i want to divide the whole image into grid to utilise each one of them as a shell, to have above process (1) take place in each one of them.

i’m again guessing that jit.findbounds might be able to do it. but would it be possible to apply this in plural manner?

i’d like to know which objects would be most suitable for above explained processes, some specific explanation would be a huge help for me.

i will upload more questions if i manage to simplify the idea..

truthfully,
mr. h


February 26, 2008 | 3:25 pm

Dunno if this is what you mean, but here you go:

#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P comment 339 163 104 196617 convert to grayscale;
#P comment 351 259 52 196617 hor blocks;
#P user jit.pwindow 269 421 202 152 0 1 0 0 1 0;
#P newex 313 354 64 196617 prepend dim;
#P newex 313 333 48 196617 pack 0 0;
#P number 313 259 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 351 313 27 196617 * 3;
#P newex 351 293 27 196617 / 4;
#P newex 270 386 117 196617 jit.matrix 4 char 64 48;
#P message 338 106 30 196617 read;
#P newex 270 105 57 196617 qmetro 40;
#P toggle 270 78 15 0;
#P flonum 366 193 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 270 219 106 196617 jit.op @op > @val 0.5;
#P newex 270 135 142 196617 jit.qt.movie 640 480 @vol 0.;
#P newex 270 163 66 196617 jit.rgb2luma;
#P comment 403 193 52 196617 threshold;
#P connect 12 0 13 0;
#P connect 13 0 8 0;
#P connect 11 0 12 0;
#P connect 11 0 9 0;
#P connect 10 0 12 1;
#P connect 3 0 8 0;
#P connect 8 0 14 0;
#P connect 9 0 10 0;
#P connect 7 0 2 0;
#P connect 5 0 6 0;
#P connect 6 0 2 0;
#P connect 2 0 1 0;
#P connect 1 0 3 0;
#P connect 4 0 3 1;
#P window clipboard copycount 17;


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