#N canvas 509 42 863 826 10; #X obj 9 265 cnv 15 430 145 empty empty empty 20 12 0 14 -233017 -66577 0; #X text 40 267 Inlets:; #X text 39 352 Outlets:; #X obj 9 227 cnv 15 430 30 empty empty empty 20 12 0 14 -195568 -66577 0; #X text 18 226 Arguments:; #X obj 8 56 cnv 15 430 165 empty empty empty 20 12 0 14 -233017 -66577 0; #X obj 449 37 cnv 15 200 380 empty empty empty 20 12 0 14 -228992 -66577 0; #X obj 451 684 cnv 15 100 60 empty empty empty 20 12 0 14 -195568 -66577 0; #N canvas 0 0 450 300 gemwin 0; #X obj 132 136 gemwin; #X obj 64 202 outlet; #X obj 67 10 inlet; #X msg 64 183 set destroy; #X msg 132 112 create \, 1; #X msg 216 117 destroy; #X msg 190 58 set create; #X obj 67 41 route create; #X obj 219 6 inlet; #X connect 2 0 7 0; #X connect 3 0 1 0; #X connect 4 0 0 0; #X connect 5 0 0 0; #X connect 6 0 1 0; #X connect 7 0 3 0; #X connect 7 0 4 0; #X connect 7 1 6 0; #X connect 7 1 5 0; #X connect 8 0 0 0; #X restore 456 723 pd gemwin; #X msg 456 704 destroy; #X text 452 683 Create window:; #X obj 451 133 cnv 15 185 120 empty empty empty 20 12 0 14 -24198 -66577 0; #X obj 451 43 gemhead; #X text 17 366 Outlet 1: gemlist; #X text 24 281 Inlet 1: gemlist; #X obj 453 605 pix_texture; #X floatatom 491 235 3 0 100 2 threshold - -; #X obj 491 252 / 100; #X text 71 31 Class: pix object (analysis); #X msg 491 273 treshold \$1; #X floatatom 581 235 3 0 100 2 blobsize - -; #X obj 581 252 / 100; #X msg 581 273 blobSize \$1; #X text 24 296 Inlet 1: treshold : minimum luminance of a pixel to be considered part of a blob. (default=0.04); #X text 24 325 Inlet 1: blobSize : minimum relative size of a blob. (default=0.1); #X text 50 12 Synopsis: [pix_multiblob]; #X text 29 57 Description: blob detector (for multiple blobs); #X text 17 73 [pix_multiblob] is able to detect multiple blobs within an image.; #X text 17 103 a "blob" is a number of adjacent(!) pixels with a luminance that is bigger than the value defined by "treshold". you can set the minimum size of a blob that is needed to be detected.; #X text 17 156 the output is a matrix following the conventions of the mtx-objects from zexy/iemmatrix. each row describes one detected blob as follows: centerX(weighted) \, centerY(weighted) \, size(weighted) \, minX \, minY \, maxX \, maxY \, size; #X text 64 237 int: max number N of blobs to detect; #X text 17 381 Outlet 2: (k \, 8) matrix: describing k detected blobs (with 0<=k