aboutsummaryrefslogtreecommitdiff
path: root/externals/gridflow/doc/locale/english.tcl
blob: 82686a5a8d46edca733839b85eda48b5c0d1eee5 (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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
# this file will not contain any aliases, just the canonical names

proc say2 {k v} {
	say [lindex $k 0] $v
	foreach kk [lrange $k 1 end] {say $k "old name of $k : $v"}
}

proc say3 {k v} {
	set kk [regsub ^# $k @]
	say2 [list k kk] $v
}

category "Stuff"
say #                "plain numeric operators on grids: + - * / etc"
say #border          "add padding on sides of a grid"
say #cast            "convert grid from one number type to another"
say #centroid        "find centroid (weighted average) of the coordinates of a grid"
say #convolve        "compute convolution product of a grid (blur and edge-detection)"
say #dim             "get the size (dimensions) of a grid"
say #downscale_by    "reduce the size of an image by a whole factor"
say #draw_image      "picture-in-picture"
say #draw_points     "(future use)"

category "Data Conversion"
say #to_literal       "convert grid to grid-literal (list with a # sign)"
say #to_float        "convert grid to sequence of floats"
say #to_list         "convert grid to list"
say #to_pix          "convert grid to pix (GEM)"
say #to_symbol       "convert grid of ASCII codes to symbol"

category "Stuff"
say #fft             "compute forward or inverse one-or-two-dimensional complex FFT of a grid"
say #finished        "bang when grid transmission has ended"
say #fold            "compute the sum of each row, product of each row, and other similar operations"
say #for             "make a grid from all numbers or coordinates in a certain range"
say #from_pix        "convert pix (GEM) to grid"
say #import_pix      "old name of #from_pix"
say #grade           "make an index of the sorting of a grid"
say #import          "convert float, list, or symbol ASCII codes, to a grid"
say #inner           "scalar (\"dot\") product, matrix product, tensor contraction, image channel remapping, etc."

category "Hardware and Files"
say #camera          "control panel for opening cameras"
say #io.aalib        "open an aalib window"
say #io.dc1394       "open a faiawaia \"DC\" camera (not DV) using a Linux-compatible OS"
say #io.grid         "read or write a .grid file (GridFlow storage format)"
say #io.jpeg         "read or write a .jpeg file"
say #io.mpeg         "read a .mpeg video file"
say #io.png          "read a .png image file"
say #io.ppm          "read or write a .pbm or .pgm or .ppm image file"
say #io.quicktime    "read a .mov video file (or perhaps .avi)"
say #io.sdl          "open a SDL window"
say #io.videodev     "open a V4L1 device (Linux interface for video cameras and video digitisers)"
say #io.x11          "open a X11 window"
say parallel_port    "send to and receive from a DB25 parallel port"
say plotter_control  "make HPGL commands"

category "Stuff"
say #labeling        "tag connected pixels with region numbers in a two-tone single-channel image"
say #layer           "layer two same-sized images"
say #moment          "find 1st or 2nd order moment (weighted average or variance) of the coordinates of a grid"
say #noise_gate_yuvs "replaces dark pixels by black pixels in signed YUV images"
say #outer           "apply numeric operator on all possible combinations of elements of one grid with elements of another"
say #pack            "combine floats on separate inlets to make a grid"
say #perspective     "divide each point by its depth"
say #polygonize      "(future use)"
say #print           "print to console"
say #redim           "change the size of a grid by restreaming contents into a new shape"
say #reverse         "mirror image of a grid along a dimension"
say #rotatificator   "make rotation matrix for any two dimensions chosen from manyou"
say #scale_by        "reduce the size of an image by a whole factor"
say #scan            "compute the cumulative sums of each row, and other similar operations"
say #store           "store image in RAM, in-place picture-in-picture, and make lookups in various ways"
say #transpose       "swap two dimensions out of any, in a grid"
say #type            "get a symbol representing the number type of a grid"
say #unpack          "split a grid into floats on separate outlets"
say @join            "join two grids together along any dimension"

category "Lists"
say foreach          "convert a list to a sequence of atom messages"
say listfind         "find index of an element in a list"
say listread         "find element at an index in a list"
say listflatten      "merge all nested lists together, depth-first"
say listreverse      "mirror image of a list"

category "Stuff"
say args             "pick up the arguments of an abstraction instance, including nested lists and init-messages"
say ascii            "write integer as decimal in ascii codes"
say class_exists     "figure out whether a class has been loaded by pd"
say display          "print message or grid inside of the patch"
say gf.error         "emit error message from the perspective of the current abstraction instance in its parent patch"
say gf.suffix_lookup "find the objectclass corresponding "
say range            "multiple moses in cascade"
say receives         "multiple receives with common outlet and other outlet telling the name of intended destination"
say route2           "route messages but keep them intact (does not remove selector)"
say send39           "backward-compatibility crutch for dynamic patching in pd 0.39"
say shunt            "demultiplexer: send input to separately specified outlet"
say systemtime       "time spent by process in kernel mode, as measured by the OS"
say tsctime          "high-resolution real time, as measured by the CPU"
say unix_time        "real time as measured by the OS, including date"
say usertime         "time spent by process in non-kernel mode, as measured by the OS"

category "Stuff"
say #apply_colormap_channelwise "apply color correction tables separately on each channel"
say #background_model "make mask from learning to distinguish background from foreground"
say #change           "send grid only if different from previous grid"
say #checkers         "make image of chequered background in two tones of grey"
say #clip             "min and max"
say #color            "GUI for selecting a colour"
say condition         "Castonguay rectangle bounds-checking"
say #contrast         "adjust contrast in two different ways"
say count             "Castonguay counter"
say #fade_lin         "fade in piecewise-linear fashion"
say #fade             "fade in exponential-decay fashion (linear recurrence)"
say #fastblur         "speedy shortcut for rectangular blur"
say for               "make sequence of float messages for each number in a range with specified stepping"
say fps               "measure frames per second and make statistics"
say #gamma            "apply gamma correction"
say gf.io_generate    "for internal use by #in and #out"
say #hueshift         "apply hue shift by rotating the color wheel"

say #in               "open file or device for reading or download"
say #out              "open file or device for writing or upload"

say inv*              "swapped /"
say inv+              "swapped -"

say #moment_polar     "convert covariance matrix to the longest and shortest radius of an ellipse and a rotation angle"
say #motion_detection "frame difference with some options"
say #mouse            "converts mouse events to reports of clicks, drags, unclicks, motions, and separate buttons and wheel"
say gf.oneshot        "spigot that shuts itself down after each message"
say pingpong          "turns value of a counter into a zigzag between 0 and a given value"

category "Polygons"
say #polygon_area       "find area of a polygon in square pixels"
say #polygon_comparator "find similarity between two polygons independently of rotation, by radial maps and FFT"
say #polygon_each_edge  "convert a polygon to a sequence of overlapping 2-sided polygons representing edges"
say #polygon_moment     "find average of all points inside of a polygon"
say #polygon_perimetre  "find perimetre of a polygon in pixels (euclidian)"
say #polygon_radial_map "find radius of a polygon from a given origin, sampled at equally spaced angles"
say #line_to_polygon  "convert line (as point pair) to polygon (rotated rectangle)"
say #draw_rect        "draw a rectangle in an image"
say #draw_slider      "draw a slider in an image"
say #edit_polygon     "draw a polygon in an image and react to mouse events"
say #make_cross       "make cross-shaped polygon"
say #draw_polygon    "draw polygon in an image"

category "Stuff"
say #posterize        "quantise pixel values"
say #ravel            "do #redim so that a grid keeps same number of elements but just one dimension"
say #record           "wrapper around \[#in quicktime\]"
say #remap_image      "apply object chain on pixel positions to make new image from chosen pixels of the input image"
say #rotate           "rotate points through two axes (or rotate pixels as points in a colorspace)"
say #saturation       "multiply chroma by some value"
say #scale_to         "scale an image from one size to any other size by deleting or duplicating rows and columns"
say #seq_fold         "cascade the use of an object on all elements of an incoming grid message sequence"
say seq_fold          "cascade the use of an object on all elements of an incoming message sequence"
say #slice            "crop an image using a start point (top left) and end point (bottom right)"
say #solarize         "like pingpong but on all pixel values of a grid"
say #sort             "sort each row of a grid"
say #spread           "add noise to each vector (point or pixel)"
say #swap             "like \[swap\] for grids"
say #text_to_image    "use a fixed-width font grid to make a tiling of characters as specified by a text string"
say #t                "like \[t a a\] for grids"
say var.#             "like \[f\] for grids"

category "Colorspace Conversion"
say #rgb_to_yuv       "convert RGB to unsigned YUV"
say #yuv_to_rgb       "convert unsigned YUV to RGB"
say #rgb_to_rgba      "convert RGB to RGBA (but setting alpha to 0)"
say #rgba_to_rgb      "convert RGBA to RGB"
say #greyscale_to_rgb "convert greyscale to RGB"
say #rgb_to_greyscale "convert RGB to greyscale"

category "OpenCV"
say cv.Add           "OpenCV addition"
say cv.Div           "OpenCV division"
say cv.HaarDetectObjects "OpenCV (future use)"
say cv.Kalman        "OpenCV (future use)"
say cv.Mul           "OpenCV multiplication"
say cv.Sub           "OpenCV subtraction"
say cv.Invert        "OpenCV invert matrix"
say cv.SVD           "OpenCV singular value decomposition (eigendecomposition)"

category "Stuff"
say ascii_to_f       "converts a list of ascii codes to a float"
say plotter_parser   "interprets ascii codes as HPGL commands and output them as messages"
say list.==          "test two lists of floats and/or symbols for equality"
say expect           "currently does like list.== (will do more than that in the future)"
say #hello           "make 7 colour bars"
say #window          "a \[#out window\] that can be toggled to appear and disappear"