#N canvas 1526 184 639 504 10;
#X text 462 18 GEM object;
#X obj 18 206 cnv 15 430 210 empty empty empty 20 12 0 14 -233017 -66577
0;
#X text 49 208 Inlets:;
#X text 49 301 Outlets:;
#X obj 18 168 cnv 15 430 30 empty empty empty 20 12 0 14 -195568 -66577
0;
#X text 27 167 Arguments:;
#X obj 18 86 cnv 15 430 75 empty empty empty 20 12 0 14 -233017 -66577
0;
#X obj 459 87 cnv 15 170 250 empty empty empty 20 12 0 14 -228992 -66577
0;
#X text 463 70 Example:;
#X obj 524 271 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 67 89 outlet;
#X obj 67 10 inlet;
#X obj 67 41 route create;
#X msg 67 70 set destroy;
#X msg 142 68 set create;
#X msg 132 112 create \, 1;
#X msg 198 112 destroy;
#X connect 2 0 3 0;
#X connect 3 0 4 0;
#X connect 3 0 6 0;
#X connect 3 1 5 0;
#X connect 3 1 7 0;
#X connect 4 0 1 0;
#X connect 5 0 1 0;
#X connect 6 0 0 0;
#X connect 7 0 0 0;
#X restore 529 310 pd gemwin;
#X msg 529 291 create;
#X text 525 270 Create window:;
#X obj 460 151 cnv 15 160 90 empty empty empty 20 12 0 14 -24198 -66577
0;
#X obj 461 94 gemhead;
#X text 81 41 Class: pix object;
#X obj 520 95 bng 15 250 50 0 empty empty pix_load 20 8 0 8 -262144
-1 -1;
#N canvas 4 49 587 366 image 0;
#X obj 77 48 inlet;
#X obj 77 344 outlet;
#X obj 77 205 pix_image examples/data/fractal.JPG;
#X obj 223 55 inlet;
#X msg 223 123 open \$1;
#X obj 223 100 openpanel;
#X connect 0 0 2 0;
#X connect 2 0 1 0;
#X connect 3 0 5 0;
#X connect 4 0 2 0;
#X connect 5 0 4 0;
#X restore 461 123 pd image;
#X obj 461 250 pix_texture;
#X text 73 178 <none>;
#X obj 461 272 square 3;
#X text 526 115 open an image;
#X text 519 128 (JPEG \, TIFF \, ..);
#X obj 18 424 cnv 15 430 30 empty empty empty 20 12 0 14 -195568 -66577
0;
#X text 26 425 See Also:;
#X text 83 424 examples/04.video/08.color_detection.pd;
#X text 66 229 Inlet 1: gemlist \, RGBA image;
#X text 26 459 Author: Ricardo Fabbri labmacambira.sf.net rfabbri at
gmail;
#X text 60 22 Synopsis: [pix_equal];
#X text 38 107 [pix_equal] outputs a binary image where 'white' marks
those pixels that are equal to a given value (within given closed bounds)
\, and 'black' marks the remaining ones.;
#X text 67 248 Inlet 2(resp.3): list of lower(resp.upper) bounds [R
G B A( \, with each value ranging from 0 to 1 \, and A being optional
and equal to 0(resp.1) by default.;
#X text 67 319 Outlet 1: gemlist \, a binary RGBA image with white
pixels marking only those pixels that are within the specified (closed)
RGBA ranges simultaneously on all four channels. This can be used \,
for instance \, in separating color blobs from [pix_colorclassify].
;
#X text 39 87 Description: marks the pixels nearly equal to a given
color;
#X obj 461 209 pix_equal;
#X msg 528 172 0.8 0.7 0 0;
#X text 524 156 lower bound;
#X text 526 204 upper bound;
#X msg 528 192 1 1 0.2 1;
#X text 456 373 and having any alpha;
#X text 457 342 e.g. marks whatever is within;
#X text 456 358 a certain bright yellow range;
#X connect 10 0 11 0;
#X connect 11 0 10 0;
#X connect 14 0 17 0;
#X connect 16 0 17 1;
#X connect 17 0 33 0;
#X connect 18 0 20 0;
#X connect 33 0 18 0;
#X connect 34 0 33 1;
#X connect 37 0 33 2;
