{ "patcher" : { "fileversion" : 1, "rect" : [ 29.0, 69.0, 737.0, 671.0 ], "bglocked" : 0, "defrect" : [ 29.0, 69.0, 737.0, 671.0 ], "openrect" : [ 0.0, 0.0, 0.0, 0.0 ], "openinpresentation" : 0, "default_fontsize" : 12.0, "default_fontface" : 0, "default_fontname" : "Arial", "gridonopen" : 0, "gridsize" : [ 15.0, 15.0 ], "gridsnaponopen" : 0, "toolbarvisible" : 1, "boxanimatetime" : 200, "imprint" : 0, "metadata" : [ ], "boxes" : [ { "box" : { "maxclass" : "message", "text" : "$3", "numinlets" : 2, "numoutlets" : 1, "fontname" : "Arial", "patching_rect" : [ 513.0, 269.0, 32.5, 18.0 ], "outlettype" : [ "" ], "id" : "obj-22", "fontsize" : 12.0 } } , { "box" : { "maxclass" : "comment", "text" : "can substitute a number :\nhave a list of 4 numbers out of jit.3m - to get the 3rd number use $3; if have a list of multiple numbers can isolate one of those numbers into another message with $3: 1= alpha, 2 = red channel; 3 = green channel - so 3rd number references the green channel\n", "linecount" : 9, "numinlets" : 1, "numoutlets" : 0, "fontname" : "Arial", "patching_rect" : [ 565.0, 154.0, 208.0, 131.0 ], "id" : "obj-14", "fontsize" : 12.0 } } , { "box" : { "maxclass" : "comment", "text" : "premaid cv.jit - at iamas.ac.jp... - pre-made objects", "linecount" : 3, "numinlets" : 1, "numoutlets" : 0, "fontname" : "Arial", "patching_rect" : [ 408.0, 16.0, 150.0, 48.0 ], "id" : "obj-6", "fontsize" : 12.0 } } , { "box" : { "maxclass" : "comment", "text" : "then can indicate when the difference is a specific number/value - then triggers an event", "linecount" : 4, "numinlets" : 1, "numoutlets" : 0, "fontname" : "Arial", "patching_rect" : [ 597.0, 433.0, 150.0, 62.0 ], "id" : "obj-26", "fontsize" : 12.0 } } , { "box" : { "maxclass" : "message", "text" : "0. 0.979922 0.850937 0.876237", "linecount" : 7, "numinlets" : 2, "numoutlets" : 1, "fontname" : "Arial", "patching_rect" : [ 495.0, 297.0, 50.0, 101.0 ], "outlettype" : [ "" ], "id" : "obj-24", "fontsize" : 12.0 } } , { "box" : { "maxclass" : "comment", "text" : "jit.3m object reports minimum, maximum and mean value - average of change/average of value in the image: insert a message box and connect jit.3m to be able to display the numbers", "linecount" : 7, "numinlets" : 1, "numoutlets" : 0, "fontname" : "Arial", "patching_rect" : [ 553.0, 296.0, 166.0, 103.0 ], "id" : "obj-23", "fontsize" : 12.0 } } , { "box" : { "maxclass" : "newobj", "text" : "jit.3m", "numinlets" : 1, "numoutlets" : 4, "fontname" : "Arial", "patching_rect" : [ 491.0, 237.0, 59.5, 20.0 ], "outlettype" : [ "", "", "", "" ], "id" : "obj-21", "fontsize" : 12.0 } } , { "box" : { "maxclass" : "comment", "text" : "this triggers list list bang: whatver is in the matrix gets banged and goes out, and is then stored in the next object - then matrix goes on to the difference comparator", "linecount" : 7, "numinlets" : 1, "numoutlets" : 0, "fontname" : "Arial", "patching_rect" : [ 292.0, 215.0, 150.0, 103.0 ], "id" : "obj-20", "fontsize" : 12.0 } } , { "box" : { "maxclass" : "newobj", "text" : "trigger l l bang", "numinlets" : 1, "numoutlets" : 3, "fontname" : "Arial", "patching_rect" : [ 201.0, 257.0, 87.0, 20.0 ], "outlettype" : [ "", "", "bang" ], "id" : "obj-18", "fontsize" : 12.0 } } , { "box" : { "maxclass" : "newobj", "text" : "jit.matrix @thru 0", "numinlets" : 1, "numoutlets" : 2, "fontname" : "Arial", "patching_rect" : [ 272.0, 328.0, 101.0, 20.0 ], "outlettype" : [ "jit_matrix", "" ], "id" : "obj-17", "fontsize" : 12.0 } } , { "box" : { "maxclass" : "comment", "text" : "jit.op is all the minus plus objects in one and works with table of numbers - want the op attribute to be set to absdiff (absolute difference)", "linecount" : 6, "numinlets" : 1, "numoutlets" : 0, "fontname" : "Arial", "patching_rect" : [ 312.0, 360.0, 154.0, 89.0 ], "id" : "obj-15", "fontsize" : 12.0 } } , { "box" : { "maxclass" : "newobj", "text" : "jit.op @op absdiff", "numinlets" : 2, "numoutlets" : 2, "fontname" : "Arial", "patching_rect" : [ 206.0, 379.0, 103.0, 20.0 ], "outlettype" : [ "jit_matrix", "" ], "id" : "obj-13", "fontsize" : 12.0 } } , { "box" : { "maxclass" : "toggle", "numinlets" : 1, "numoutlets" : 1, "patching_rect" : [ 191.0, 13.0, 20.0, 20.0 ], "outlettype" : [ "int" ], "id" : "obj-12" } } , { "box" : { "maxclass" : "comment", "text" : "use difference comparator in jitter by outputting only unique frames (no repeated frames): to do this add @unique1 to end of object - means attribute unique one", "linecount" : 7, "numinlets" : 1, "numoutlets" : 0, "fontname" : "Arial", "patching_rect" : [ 44.0, 115.0, 154.0, 103.0 ], "id" : "obj-11", "fontsize" : 12.0 } } , { "box" : { "maxclass" : "comment", "text" : "inspector window allows to set traits of window - preferences can be size, etc.; changed size to 320 240...", "linecount" : 5, "numinlets" : 1, "numoutlets" : 0, "fontname" : "Arial", "patching_rect" : [ 40.0, 232.0, 150.0, 75.0 ], "id" : "obj-9", "fontsize" : 12.0 } } , { "box" : { "maxclass" : "jit.pwindow", "numinlets" : 1, "presentation_rect" : [ 0.0, 0.0, 320.0, 240.0 ], "numoutlets" : 2, "patching_rect" : [ 209.0, 459.0, 320.0, 240.0 ], "outlettype" : [ "", "" ], "id" : "obj-8" } } , { "box" : { "maxclass" : "comment", "text" : "(open message tells it to open a connection to the camera)", "linecount" : 3, "numinlets" : 1, "numoutlets" : 0, "fontname" : "Arial", "patching_rect" : [ 324.0, 91.0, 150.0, 48.0 ], "id" : "obj-7", "fontsize" : 12.0 } } , { "box" : { "maxclass" : "message", "text" : "open", "numinlets" : 2, "numoutlets" : 1, "fontname" : "Arial", "patching_rect" : [ 281.0, 92.0, 37.0, 18.0 ], "outlettype" : [ "" ], "id" : "obj-5", "fontsize" : 12.0 } } , { "box" : { "maxclass" : "comment", "text" : "(if windows, the live camera object is called jit.dx.grab)", "linecount" : 3, "numinlets" : 1, "numoutlets" : 0, "fontname" : "Arial", "patching_rect" : [ 359.0, 160.0, 150.0, 48.0 ], "id" : "obj-4", "fontsize" : 12.0 } } , { "box" : { "maxclass" : "newobj", "text" : "jit.qt.grab 320 240 @unique 1", "numinlets" : 1, "numoutlets" : 2, "fontname" : "Arial", "patching_rect" : [ 197.0, 141.0, 168.0, 20.0 ], "outlettype" : [ "jit_matrix", "" ], "id" : "obj-2", "fontsize" : 12.0 } } , { "box" : { "maxclass" : "newobj", "text" : "metro 30", "numinlets" : 2, "numoutlets" : 1, "fontname" : "Arial", "patching_rect" : [ 194.0, 57.0, 58.0, 20.0 ], "outlettype" : [ "bang" ], "id" : "obj-1", "fontsize" : 12.0 } } ], "lines" : [ { "patchline" : { "source" : [ "obj-22", 0 ], "destination" : [ "obj-24", 1 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-21", 1 ], "destination" : [ "obj-22", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-5", 0 ], "destination" : [ "obj-2", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-1", 0 ], "destination" : [ "obj-2", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-12", 0 ], "destination" : [ "obj-1", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-13", 0 ], "destination" : [ "obj-8", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-2", 0 ], "destination" : [ "obj-18", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-18", 0 ], "destination" : [ "obj-13", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-18", 1 ], "destination" : [ "obj-17", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-17", 0 ], "destination" : [ "obj-13", 1 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-13", 0 ], "destination" : [ "obj-21", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-18", 2 ], "destination" : [ "obj-17", 0 ], "hidden" : 0, "midpoints" : [ ] } } ] } }