blob: 1165ca56b9d30a5a9aa194afe6ca452159cb52bf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
|
#N canvas 477 282 648 436 10;
#X declare -lib Gem;
#X text 452 8 GEM object;
#X obj 9 326 cnv 15 430 100 empty empty empty 20 12 0 14 -233017 -66577
0;
#X text 39 328 Inlets:;
#X obj 8 286 cnv 15 430 30 empty empty empty 20 12 0 14 -195568 -66577
0;
#X text 17 285 Arguments:;
#X obj 7 56 cnv 15 430 220 empty empty empty 20 12 0 14 -233017 -66577
0;
#X obj 459 77 cnv 15 170 250 empty empty empty 20 12 0 14 -228992 -66577
0;
#X text 463 60 Example:;
#X obj 524 254 cnv 15 100 60 empty empty empty 20 12 0 14 -195568 -66577
0;
#N canvas 1 98 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 198 112 destroy \, reset;
#X msg 132 94 create \, 1 \, color 0.5 0.5 0.5;
#X connect 2 0 3 0;
#X connect 3 0 4 0;
#X connect 3 0 7 0;
#X connect 3 1 5 0;
#X connect 3 1 6 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 293 pd gemwin;
#X msg 529 274 destroy;
#X obj 460 114 cnv 15 170 100 empty empty empty 20 12 0 14 -24198 -66577
0;
#X text 71 31 Class: pix object;
#X text 53 342 Inlet 1: gemlist;
#X text 50 12 Synopsis: [pix_roi];
#X text 63 296 <x1> <y1> <x2> <y2>;
#X text 53 355 Inlet 1: roi <x1> <y1> <x2> <y2> : set roi;
#X text 38 372 Outlets:;
#X text 46 385 Outlet 1: gemlist;
#X text 525 253 Create window:;
#X msg 461 86 gem_list;
#X msg 461 238 gemlist;
#X obj 461 186 pix_roi 0.25 0.25 0.75 0.75;
#X msg 476 151 roi 0 0 0.5 0.5;
#X text 29 56 Description: set the region-of-interest of an image;
#X text 22 109 The arguments set the lower left and upper right corners
of the roi.Coordinates must be normalized.;
#X text 21 79 [pix_roi] will allow you to set the region of interest
of the current image-data.;
#X text 22 139 other pix-objects should then apply whatever they are
doing on the so-specified sub-image.;
#X text 22 170 (currently only [pix_set] supports ROI \, more will
hopefully follow);
#X obj 528 8 declare -lib Gem;
#X text 442 358 see example/04.pix/27.bitmap_font.pd, f 32;
#X connect 9 0 10 0;
#X connect 10 0 9 0;
#X connect 20 0 22 0;
#X connect 22 0 21 0;
#X connect 23 0 22 0;
|