aboutsummaryrefslogtreecommitdiff
path: root/externals/gridflow/pd_help/@apply_colormap_channelwise.pd
blob: 7f4cbbbf3f5b085b788f73b59b1561d5d99a2e42 (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
#N canvas 119 122 762 396 10;
#X obj 19 118 @in;
#X obj 19 239 @apply_colormap_channelwise;
#X text 14 17 @apply_colormap_channelweb;
#X obj 203 190 @import ( 256 3 );
#X obj 203 168 random 255;
#X msg 203 128 768;
#X obj 203 148 until;
#X text 305 108 colormap is a grid dim (2) (intensity channels);
#X text 679 13 gridflow;
#X msg 52 86 open bluemarble.jpg;
#X obj 19 366 @out window;
#X text 304 54 this object is useful for color correction. for each
pixel it takes it apart \, looks up each part separately in the colormap
and constructs a new pixel from that.;
#X obj 19 40 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
#X obj 19 59 fork;
#X connect 0 0 1 0;
#X connect 1 0 10 0;
#X connect 3 0 1 1;
#X connect 4 0 3 0;
#X connect 5 0 6 0;
#X connect 6 0 4 0;
#X connect 9 0 0 0;
#X connect 12 0 13 0;
#X connect 13 0 0 0;
#X connect 13 0 5 0;
#X connect 13 1 9 0;