/usr/lib/pd/extra/pdp_contrast.pd is in pd-pdp 1:0.12.5-1.1ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 | #N canvas 700 349 450 324 10;
#X obj 42 159 pdp_sthresh;
#X obj 42 261 pdp_gain;
#X msg 100 211 -1;
#X obj 100 235 /;
#X obj 189 196 - 1;
#X obj 189 168 * 2;
#X text 10 -1 contrast enhancement (works on YCrCb and greyscale);
#X obj 170 117 moses 0.49;
#X msg 235 141 0.49;
#X obj 170 94 / 2;
#X msg 87 101 chanmask 1;
#X obj 170 46 loadbang;
#X obj 170 69 f \$1;
#X obj 42 47 inlet;
#X obj 238 47 inlet;
#X obj 42 285 outlet;
#X text 11 13 i.e. to process the output of pdp_agc;
#X obj 170 142 f;
#X obj 42 185 pdp_t p b;
#X connect 0 0 18 0;
#X connect 1 0 15 0;
#X connect 2 0 3 0;
#X connect 3 0 1 1;
#X connect 4 0 3 1;
#X connect 5 0 4 0;
#X connect 7 0 17 0;
#X connect 7 1 8 0;
#X connect 8 0 17 0;
#X connect 9 0 7 0;
#X connect 10 0 1 0;
#X connect 10 0 0 0;
#X connect 11 0 10 0;
#X connect 11 0 12 0;
#X connect 12 0 9 0;
#X connect 13 0 0 0;
#X connect 14 0 9 0;
#X connect 17 0 0 1;
#X connect 17 0 5 0;
#X connect 18 0 1 0;
#X connect 18 1 2 0;
|