lost patch – live motion filtering

May 26, 2007 at 9:39pm

lost patch – live motion filtering

I have lost a patch that I found on the forum. It was amazing.
It allowed me to take a still image from a live video grab and then subtract that from the feed to enable motion tracking.
The patch was in two vertical sections each with 3 video screens in.

If anyone can help me with a link to this post I would be really grateful since I have forgotten what topic it was under.
Many Thanks, Freya

#32123
May 27, 2007 at 11:15am

This may help too,
the patch took a live video input, and converted it to greyscale, it was amazing in that it was capable of only showing motion infront of the lens, it filtering out stationary information.
It had many video windows open at the same time.

I was in the process of studying this to create my own patch from which it was using, however my harddrive has corrupted and I have lost over a months work, this was a key part of the patch I built and at the moment I don’t have the skill to do this bit myself.

It was taken from this very forum under a search of somehting like motion tracking, however I have been loking for two days now and can’t find it.
Does any one know this patch????

#105175
May 27, 2007 at 11:36am

I think this was posted within the last couple of months as I remember seeing something like this and I have only been reading the board myself recently.
I didn’t use it as it was black and white only although the inverse stuff was cool.
good luck finding it
foge

#105176
May 27, 2007 at 4:52pm

Did you check out the cv.jit library, especially it’s example patches? your description sounds very much like the cv help and example patches, for that matter, most motion tracking / background subtraction solutions cut the color info as it’s not needed in looking for motion. There’s a nice background subtraction patch in the cv package if I remember right.

-nadav

#105177
Jan 15, 2008 at 8:35pm

And finally did u find the patch?
A’m also interesting in such a motion tracking things and it’s very interesting to see how to realize this.
Greetings from Russia!

#105178
Jan 15, 2008 at 9:13pm

greetings from russia –> to russia )))
try this link
http://www.iamas.ac.jp/~jovan02/cv/
computer vision is all u need!

#105179
Jan 16, 2008 at 2:39am

Look at the example patch jit.op-framedifference. It doesn’t look like what you are describing but it does the same thing. Max/MSP, examples, jitter-examples,video, op, jit.op-framedifference.

#105180
Jan 19, 2008 at 5:48pm

This might help you on your way.

#P window setfont “Sans Serif” 9.;
#P window linecount 1;
#P hidden newex 23 411 172 196617 jit.slide @slide_up 3 @slide_down 2;
#N vpatcher 200 368 800 768;
#P window setfont “Sans Serif” 9.;
#P newex 378 251 51 196617 s downer;
#P newex 378 207 43 196617 s upper;
#P outlet 156 217 15 0;
#P newex 300 51 56 196617 r asciiKey;
#P newex 299 69 44 196617 sel 113;
#P newex 236 50 56 196617 r asciiKey;
#P newex 236 70 44 196617 sel 119;
#P newex 174 50 56 196617 r asciiKey;
#P newex 174 70 38 196617 sel 49;
#P newex 113 49 56 196617 r asciiKey;
#P newex 113 69 38 196617 sel 50;
#P message 237 104 24 196617 dec;
#P message 212 104 22 196617 inc;
#P user incdec 215 127 15 15 0 0;
#P number 231 127 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 175 109 24 196617 dec;
#P message 150 109 22 196617 inc;
#P user incdec 153 132 15 15 0 0;
#P number 169 132 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 216 173 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 216 195 73 196617 slide_down $1;
#P flonum 153 173 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 153 195 60 196617 slide_up $1;
#P connect 13 0 12 0;
#P connect 12 0 6 0;
#P hidden connect 4 0 5 0;
#P connect 7 0 5 0;
#P connect 6 0 5 0;
#P connect 4 0 1 0;
#P connect 1 0 0 0;
#P connect 2 0 20 0;
#P connect 0 0 20 0;
#P hidden connect 5 0 4 0;
#P connect 15 0 14 0;
#P connect 14 0 7 0;
#P connect 16 0 10 0;
#P hidden connect 8 0 9 0;
#P connect 10 0 9 0;
#P connect 11 0 9 0;
#P connect 8 0 3 0;
#P connect 3 0 2 0;
#P hidden connect 9 0 8 0;
#P connect 17 0 16 0;
#P connect 18 0 11 0;
#P connect 19 0 18 0;
#P connect 1 0 21 0;
#P connect 3 0 22 0;
#P pop;
#P hidden newobj 23 385 44 196617 p slider;
#P hidden newex 145 304 56 196617 r asciiKey;
#P hidden newex 145 327 44 196617 sel 122;
#P hidden button 145 353 15 0;
#P hidden user gswitch 145 371 41 32 0 0;
#P user jit.pwindow 220 596 162 122 0 0 0 0 1 0;
#P hidden newex 333 371 60 196617 jit.op @op |;
#P hidden button 516 239 15 0;
#P hidden newex 527 328 55 196617 jit.matrix;
#P hidden toggle 370 132 15 0;
#P hidden newex 369 112 50 196617 r metros;
#P hidden newex 463 217 47 196617 r gaters;
#P hidden newex 937 674 47 196617 s gaters;
#P hidden newex 287 164 43 196617 r grabs;
#P hidden newex 617 745 43 196617 s grabs;
#P hidden newex 550 746 50 196617 s metros;
#P comment 726 687 155 196617 < << camera functions;
#B color 15;
#P comment 725 615 119 196617 threshold (arrow keys);
#B color 15;
#P comment 725 569 119 196617 slide down (q , w keys);
#B color 15;
#P flonum 673 615 44 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P hidden newex 936 597 47 196617 r thresh;
#P hidden newex 410 317 47 196617 s thresh;
#P flonum 673 569 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P hidden newex 936 545 51 196617 r downer;
#P hidden newex 936 570 43 196617 r upper;
#P flonum 673 591 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P comment 432 578 100 196617 Image Output;
#B color 15;
#P hidden flonum 410 298 63 9 0. 0 1 3 0 0 0 221 221 221 222 222 222 0 0 0;
#N vpatcher 10 59 610 459;
#P outlet 188 277 15 0;
#P button 92 179 15 0;
#P window setfont “Sans Serif” 9.;
#P newex 141 175 27 196617 + 0.;
#P flonum 149 200 52 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 74 117 39 196617 set $1;
#P message 251 120 39 196617 set $1;
#P newex 271 60 56 196617 r asciiKey;
#P newex 271 83 38 196617 sel 31;
#P newex 207 60 56 196617 r asciiKey;
#P newex 207 83 38 196617 sel 30;
#P newex 145 60 56 196617 r asciiKey;
#P newex 145 83 38 196617 sel 28;
#P newex 84 60 56 196617 r asciiKey;
#P newex 84 83 38 196617 sel 29;
#P newex 187 152 47 196617 * 0.001;
#P message 212 109 24 196617 dec;
#P message 187 109 22 196617 inc;
#P user incdec 187 132 15 15 0 0;
#P number 203 132 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 125 152 41 196617 * 0.01;
#P message 146 109 24 196617 dec;
#P message 121 109 22 196617 inc;
#P user incdec 124 132 15 15 0 0;
#P number 140 132 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P connect 11 0 10 0;
#P connect 9 0 22 0;
#P connect 10 0 2 0;
#P connect 18 0 1 0;
#P connect 2 0 1 0;
#P connect 3 0 1 0;
#P hidden connect 0 0 1 0;
#P connect 0 0 4 0;
#P hidden connect 1 0 0 0;
#P connect 22 0 21 0;
#P connect 4 0 21 0;
#P connect 13 0 12 0;
#P connect 12 0 3 0;
#P connect 21 0 20 0;
#P connect 9 0 21 1;
#P connect 14 0 7 0;
#P connect 19 0 6 0;
#P connect 8 0 6 0;
#P connect 7 0 6 0;
#P hidden connect 5 0 6 0;
#P connect 5 0 9 0;
#P connect 20 0 23 0;
#P hidden connect 6 0 5 0;
#P connect 15 0 14 0;
#P connect 16 0 8 0;
#P connect 17 0 16 0;
#P pop;
#P hidden newobj 411 277 60 196617 p threshold;
#P hidden number 1016 512 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P hidden newex 936 622 56 196617 r asciiKey;
#P hidden newex 23 434 56 196617 r asciiKey;
#P hidden newex 937 519 56 196617 s asciiKey;
#P hidden button 3 477 15 0;
#P hidden newex 937 645 38 196617 sel 32;
#P hidden message 23 497 66 196617 fsmenubar 0;
#P hidden message 40 479 68 196617 fullscreen $1;
#P hidden toggle 23 478 15 0;
#P hidden newex 24 455 35 196617 sel 27;
#P hidden newex 937 494 40 196617 key;
#P user jit.pwindow 431 447 162 122 0 0 0 0 1 0;
#P hidden newex 428 391 66 196617 jit.op @op !-;
#P hidden newex 429 369 66 196617 jit.op @op &;
#P hidden newex 23 520 58 196617 jit.window;
#P hidden newex 296 299 66 196617 jit.rgb2luma;
#P message 670 686 45 196617 settings;
#P message 628 686 32 196617 close;
#P user jit.pwindow 222 448 162 122 0 0 0 0 1 0;
#P hidden newex 296 319 111 196617 jit.op @op > @val 0.15;
#P toggle 674 640 15 0;
#P hidden newex 463 240 27 196617 gate;
#P hidden newex 297 278 88 196617 jit.op @op absdiff;
#P message 585 686 29 196617 open;
#P hidden flonum 441 124 35 9 0.5 0 1 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P toggle 555 686 15 0;
#P hidden newex 371 152 44 196617 metro 2;
#P hidden newex 328 191 98 196617 jit.qt.grab 640 480;
#P window linecount 8;
#P comment 616 447 262 196617 To set the background press the space bar 2 times. The first time you press the space bar it opens the video channel , the second time you press the space bar it takes a picture of the background that will be displayed as white. All other movement will be displayed. You also need to set the threshold (the up down left right arrows will do this). press the esc. button for full screen. the z button toggles between a black and white figure.;
#B color 15;
#P window linecount 1;
#P comment 223 578 100 196617 Masked Image;
#B color 15;
#P comment 725 591 100 196617 slide up (1 , 2 keys);
#B color 15;
#P comment 725 641 149 196617 set background (spacebar);
#B color 15;
#P comment 725 668 155 196617 press esc. for fullscreen toggle;
#B color 15;
#P comment 697 727 167 196617 Oliver Grudem says happy day!;
#P user panel 189 434 712 288;
#X brgb 63 83 103;
#X frgb 0 0 0;
#X border 1;
#X rounded 0;
#X shadow 0;
#X done;
#P background;
#P hidden connect 26 0 30 0;
#P hidden fasten 26 0 27 0 39 493 39 478;
#P hidden connect 55 0 57 0;
#P hidden connect 55 0 21 0;
#P hidden connect 55 0 22 1;
#P hidden connect 15 0 16 0;
#P hidden connect 15 0 57 1;
#P hidden connect 15 0 21 1;
#P hidden connect 57 0 59 1;
#P hidden connect 57 0 58 0;
#P hidden connect 22 0 59 2;
#P hidden connect 22 0 23 0;
#P hidden connect 36 0 15 1;
#P hidden connect 36 0 42 0;
#P hidden connect 13 0 12 1;
#P hidden connect 13 0 55 0;
#P hidden connect 8 0 7 0;
#P hidden connect 8 0 56 0;
#P hidden connect 7 0 12 0;
#P hidden connect 7 0 13 1;
#P hidden connect 30 0 28 0;
#P hidden connect 32 0 25 0;
#P hidden connect 27 0 20 0;
#P hidden connect 28 0 20 0;
#P hidden connect 64 0 20 0;
#P hidden fasten 25 0 26 0 29 475 28 475;
#P hidden connect 63 0 64 0;
#P hidden connect 59 0 64 0;
#P hidden connect 24 0 31 0;
#P hidden connect 24 0 34 0;
#P hidden connect 14 0 51 0;
#P hidden connect 33 0 29 0;
#P hidden connect 29 0 14 0;
#P hidden connect 43 0 44 0;
#P hidden connect 39 0 38 0;
#P hidden connect 40 0 41 0;
#P hidden connect 18 0 49 0;
#P hidden connect 17 0 49 0;
#P hidden connect 11 0 49 0;
#P hidden connect 62 0 61 0;
#P hidden connect 61 0 60 0;
#P hidden connect 9 0 48 0;
#P hidden connect 60 0 59 0;
#P hidden connect 35 0 36 0;
#P hidden connect 56 0 55 0;
#P hidden connect 21 0 22 0;
#P hidden connect 52 0 13 0;
#P hidden connect 53 0 54 0;
#P hidden connect 10 0 8 1;
#P hidden connect 54 0 8 0;
#P hidden connect 19 0 15 0;
#P hidden connect 12 0 19 0;
#P hidden connect 50 0 7 0;
#P window clipboard copycount 65;

#105181
Jan 23, 2008 at 12:06am

Thank you very very much! I appreciate your help!

#105182

You must be logged in to reply to this topic.