%!PS-Adobe-2.0 %%Version: 0.1 %%DocumentFonts: (atend) %%Pages: (atend) %%EndComments % % Version 3.3.2 prologue for troff files. % /#copies 1 store /aspectratio 1 def /formsperpage 1 def /landscape false def /linewidth .3 def /magnification 1 def /margin 0 def /orientation 0 def /resolution 720 def /rotation 1 def /xoffset 0 def /yoffset 0 def /roundpage true def /useclippath true def /pagebbox [0 0 612 792] def /R /Times-Roman def /I /Times-Italic def /B /Times-Bold def /BI /Times-BoldItalic def /H /Helvetica def /HI /Helvetica-Oblique def /HB /Helvetica-Bold def /HX /Helvetica-BoldOblique def /CW /Courier def /CO /Courier def /CI /Courier-Oblique def /CB /Courier-Bold def /CX /Courier-BoldOblique def /PA /Palatino-Roman def /PI /Palatino-Italic def /PB /Palatino-Bold def /PX /Palatino-BoldItalic def /Hr /Helvetica-Narrow def /Hi /Helvetica-Narrow-Oblique def /Hb /Helvetica-Narrow-Bold def /Hx /Helvetica-Narrow-BoldOblique def /KR /Bookman-Light def /KI /Bookman-LightItalic def /KB /Bookman-Demi def /KX /Bookman-DemiItalic def /AR /AvantGarde-Book def /AI /AvantGarde-BookOblique def /AB /AvantGarde-Demi def /AX /AvantGarde-DemiOblique def /NR /NewCenturySchlbk-Roman def /NI /NewCenturySchlbk-Italic def /NB /NewCenturySchlbk-Bold def /NX /NewCenturySchlbk-BoldItalic def /ZD /ZapfDingbats def /ZI /ZapfChancery-MediumItalic def /S /S def /S1 /S1 def /GR /Symbol def /inch {72 mul} bind def /min {2 copy gt {exch} if pop} bind def /setup { counttomark 2 idiv {def} repeat pop landscape {/orientation 90 orientation add def} if /scaling 72 resolution div def linewidth setlinewidth 1 setlinecap pagedimensions xcenter ycenter translate orientation rotation mul rotate width 2 div neg height 2 div translate xoffset inch yoffset inch neg translate margin 2 div dup neg translate magnification dup aspectratio mul scale scaling scaling scale addmetrics 0 0 moveto } def /pagedimensions { useclippath userdict /gotpagebbox known not and { /pagebbox [clippath pathbbox newpath] def roundpage currentdict /roundpagebbox known and {roundpagebbox} if } if pagebbox aload pop 4 -1 roll exch 4 1 roll 4 copy landscape {4 2 roll} if sub /width exch def sub /height exch def add 2 div /xcenter exch def add 2 div /ycenter exch def userdict /gotpagebbox true put } def /addmetrics { /Symbol /S null Sdefs cf /Times-Roman /S1 StandardEncoding dup length array copy S1defs cf } def /pagesetup { /page exch def currentdict /pagedict known currentdict page known and { page load pagedict exch get cvx exec } if } def /decodingdefs [ {counttomark 2 idiv {y moveto show} repeat} {neg /y exch def counttomark 2 idiv {y moveto show} repeat} {neg moveto {2 index stringwidth pop sub exch div 0 32 4 -1 roll widthshow} repeat} {neg moveto {spacewidth sub 0.0 32 4 -1 roll widthshow} repeat} {counttomark 2 idiv {y moveto show} repeat} {neg setfunnytext} ] def /setdecoding {/t decodingdefs 3 -1 roll get bind def} bind def /w {neg moveto show} bind def /m {neg dup /y exch def moveto} bind def /done {/lastpage where {pop lastpage} if} def /f { dup /font exch def findfont exch dup /ptsize exch def scaling div dup /size exch def scalefont setfont linewidth ptsize mul scaling 10 mul div setlinewidth /spacewidth ( ) stringwidth pop def } bind def /changefont { /fontheight exch def /fontslant exch def currentfont [ 1 0 fontheight ptsize div fontslant sin mul fontslant cos div fontheight ptsize div 0 0 ] makefont setfont } bind def /sf {f} bind def /cf { dup length 2 idiv /entries exch def /chtab exch def /newencoding exch def /newfont exch def findfont dup length 1 add dict /newdict exch def {1 index /FID ne {newdict 3 1 roll put}{pop pop} ifelse} forall newencoding type /arraytype eq {newdict /Encoding newencoding put} if newdict /Metrics entries dict put newdict /Metrics get begin chtab aload pop 1 1 entries {pop def} for newfont newdict definefont pop end } bind def % % A few arrays used to adjust reference points and character widths in some % of the printer resident fonts. If square roots are too high try changing % the lines describing /radical and /radicalex to, % % /radical [0 -75 550 0] % /radicalex [-50 -75 500 0] % % Move braceleftbt a bit - default PostScript character is off a bit. % /Sdefs [ /bracketlefttp [201 500] /bracketleftbt [201 500] /bracketrighttp [-81 380] /bracketrightbt [-83 380] /braceleftbt [203 490] /bracketrightex [220 -125 500 0] /radical [0 0 550 0] /radicalex [-50 0 500 0] /parenleftex [-20 -170 0 0] /integral [100 -50 500 0] /infinity [10 -75 730 0] ] def /S1defs [ /underscore [0 80 500 0] /endash [7 90 650 0] ] def % % Tries to round clipping path dimensions, as stored in array pagebbox, so they % match one of the known sizes in the papersizes array. Lower left coordinates % are always set to 0. % /roundpagebbox { 7 dict begin /papersizes [8.5 inch 11 inch 14 inch 17 inch] def /mappapersize { /val exch def /slop .5 inch def /diff slop def /j 0 def 0 1 papersizes length 1 sub { /i exch def papersizes i get val sub abs dup diff le {/diff exch def /j i def} {pop} ifelse } for diff slop lt {papersizes j get} {val} ifelse } def pagebbox 0 0 put pagebbox 1 0 put pagebbox dup 2 get mappapersize 2 exch put pagebbox dup 3 get mappapersize 3 exch put end } bind def %%EndProlog %%BeginSetup mark % % Encoding vector and redefinition of findfont for the ISO Latin1 standard. % The 18 characters missing from ROM based fonts on older printers are noted % below. % /ISOLatin1Encoding [ /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /space /exclam /quotedbl /numbersign /dollar /percent /ampersand /quoteright /parenleft /parenright /asterisk /plus /comma /minus /period /slash /zero /one /two /three /four /five /six /seven /eight /nine /colon /semicolon /less /equal /greater /question /at /A /B /C /D /E /F /G /H /I /J /K /L /M /N /O /P /Q /R /S /T /U /V /W /X /Y /Z /bracketleft /backslash /bracketright /asciicircum /underscore /quoteleft /a /b /c /d /e /f /g /h /i /j /k /l /m /n /o /p /q /r /s /t /u /v /w /x /y /z /braceleft /bar /braceright /asciitilde /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /dotlessi /grave /acute /circumflex /tilde /macron /breve /dotaccent /dieresis /.notdef /ring /cedilla /.notdef /hungarumlaut /ogonek /caron /space /exclamdown /cent /sterling /currency /yen /brokenbar % missing /section /dieresis /copyright /ordfeminine /guillemotleft /logicalnot /hyphen /registered /macron /degree % missing /plusminus % missing /twosuperior % missing /threesuperior % missing /acute /mu % missing /paragraph /periodcentered /cedilla /onesuperior % missing /ordmasculine /guillemotright /onequarter % missing /onehalf % missing /threequarters % missing /questiondown /Agrave /Aacute /Acircumflex /Atilde /Adieresis /Aring /AE /Ccedilla /Egrave /Eacute /Ecircumflex /Edieresis /Igrave /Iacute /Icircumflex /Idieresis /Eth % missing /Ntilde /Ograve /Oacute /Ocircumflex /Otilde /Odieresis /multiply % missing /Oslash /Ugrave /Uacute /Ucircumflex /Udieresis /Yacute % missing /Thorn % missing /germandbls /agrave /aacute /acircumflex /atilde /adieresis /aring /ae /ccedilla /egrave /eacute /ecircumflex /edieresis /igrave /iacute /icircumflex /idieresis /eth % missing /ntilde /ograve /oacute /ocircumflex /otilde /odieresis /divide % missing /oslash /ugrave /uacute /ucircumflex /udieresis /yacute % missing /thorn % missing /ydieresis ] def /NewFontDirectory FontDirectory maxlength dict def % % Apparently no guarantee findfont is defined in systemdict so the obvious % % systemdict /findfont get exec % % can generate an error. So far the only exception is a VT600 (version 48.0). % userdict /@RealFindfont known not { userdict begin /@RealFindfont systemdict begin /findfont load end def end } if /findfont { dup NewFontDirectory exch known not { dup %dup systemdict /findfont get exec % not always in systemdict dup userdict /@RealFindfont get exec dup /Encoding get StandardEncoding eq { dup length dict begin {1 index /FID ne {def}{pop pop} ifelse} forall /Encoding ISOLatin1Encoding def currentdict end /DummyFontName exch definefont } if NewFontDirectory 3 1 roll put } if NewFontDirectory exch get } bind def setup %%EndSetup %%Page: 1 1 /saveobj save def mark 1 pagesetup 12 /Times-Bold f (Pamsummcol) 2183 1230 w (User) 2907 1230 w (Manual) 3176 1230 w 10 /Times-Bold f (pamsummcol) 720 1920 w 10 /Times-Roman f (Updated: 07 February 2004) 720 2076 w (Table Of Contents) 720 2196 w 10 /Times-Bold f (NAME) 720 2436 w 10 /Times-Roman f (pamsummcol \255 summarize \(sum, average, etc\) a Netpbm image by column) 720 2592 w 10 /Times-Bold f (SYNOPSIS) 720 2832 w (pamsummcol) 720 2988 w 10 /Times-Roman f ({) 1317 2988 w 10 /Times-Bold f (\255sum) 1390 2988 w 10 /Times-Roman f 10 /S f (\357) 1626 2988 w 10 /Times-Bold f (\255mean) 1700 2988 w 10 /Times-Roman f 10 /S f (\357) 1991 2988 w 10 /Times-Bold f (\255min) 2065 2988 w 10 /Times-Roman f 10 /S f (\357) 2290 2988 w 10 /Times-Bold f (\255max) 2364 2988 w 10 /Times-Roman f (} [) 2605 2988 w 10 /Times-Italic f (imagefile) 2711 2988 w 10 /Times-Roman f (]) 3083 2988 w (All) 720 3144 w (options) 881 3144 w (can) 1209 3144 w (be) 1380 3144 w (abbreviated) 1507 3144 w (to) 2005 3144 w (their) 2117 3144 w (shortest) 2334 3144 w (unique) 2679 3144 w (prefix.) 2985 3144 w (You) 3307 3144 w (may) 3513 3144 w (use) 3719 3144 w (two) 3886 3144 w (hyphens) 4070 3144 w (instead) 4437 3144 w (of) 4754 3144 w (one.) 4871 3144 w (You may separate an option name and its value with white space instead of an equals sign.) 720 3264 w 10 /Times-Bold f (DESCRIPTION) 720 3504 w 10 /Times-Roman f (This program is part of Netpbm.) 720 3696 w 10 /Times-Bold f (pamsummcol) 720 3852 w 10 /Times-Roman f (reads) 1323 3852 w (a) 1564 3852 w (Netpbm) 1639 3852 w (image) 1992 3852 w (\(PNM) 2267 3852 w (or) 2548 3852 w (PAM\)) 2662 3852 w (and) 2943 3852 w (performs) 3118 3852 w (a) 3509 3852 w (summary) 3584 3852 w (function) 3987 3852 w (over) 4351 3852 w (all) 4560 3852 w (the) 4692 3852 w (rows) 4846 3852 w (in) 720 3972 w (each) 827 3972 w (column) 1038 3972 w (\(sum,) 1367 3972 w (mean,) 1621 3972 w (etc.\).) 1891 3972 w (It) 2144 3972 w (produces) 2234 3972 w (an) 2623 3972 w (image) 2746 3972 w (of) 3018 3972 w (the) 3129 3972 w (same) 3279 3972 w (kind) 3512 3972 w (that) 3718 3972 w (the) 3896 3972 w (same) 4046 3972 w (width) 4279 3972 w (and) 4535 3972 w (depth) 4707 3972 w (as) 4957 3972 w (the input, and one row high.) 720 4092 w (Its sample values are the result of the summary.) 1894 4092 w 10 /Times-Bold f (pamsummcol) 720 4248 w 10 /Times-Roman f (performs the summary operation on each plane independently.) 1317 4248 w 10 /Times-Bold f (pamsummcol) 720 4404 w 10 /Times-Roman f (performs) 1325 4404 w (the) 1718 4404 w (operation) 1873 4404 w (on) 2283 4404 w (the) 2416 4404 w (actual) 2571 4404 w (sample) 2842 4404 w (values,) 3158 4404 w (not) 3471 4404 w (on) 3633 4404 w (the) 3767 4404 w (light) 3923 4404 w (intensities) 4141 4404 w (represented) 4581 4404 w (by them in the case that the image is a PGM or PPM image.) 720 4524 w (If) 720 4680 w (you) 822 4680 w (want) 1008 4680 w (to) 1238 4680 w (summarize) 1352 4680 w (by) 1826 4680 w (row) 1962 4680 w (instead) 2153 4680 w (of) 2472 4680 w (by) 2591 4680 w (column,) 2727 4680 w (run) 3089 4680 w (the) 3259 4680 w (input) 3418 4680 w (through) 3661 4680 w 10 /Times-Bold f (pamflip) 4009 4680 w 10 /Times-Roman f (first) 4380 4680 w (\(and) 4578 4680 w (if) 4792 4680 w (you) 4890 4680 w (want the output to be a single column instead of a single row, use) 720 4800 w 10 /Times-Bold f (pamflip) 3359 4800 w 10 /Times-Roman f (again\).) 3718 4800 w (If you want to summarize over the entire image instead of over columns separately, use) 720 4956 w 10 /Times-Bold f (pamsumm) 4235 4956 w 10 /Times-Roman f (.) 4685 4956 w 10 /Times-Bold f (pamsummcol) 720 5112 w 10 /Times-Roman f (performs) 1325 5112 w (the) 1718 5112 w (operation) 1873 5112 w (on) 2283 5112 w (the) 2416 5112 w (actual) 2571 5112 w (sample) 2842 5112 w (values,) 3158 5112 w (not) 3471 5112 w (on) 3633 5112 w (the) 3767 5112 w (light) 3923 5112 w (intensities) 4141 5112 w (represented) 4581 5112 w (by) 720 5232 w (them) 848 5232 w (in) 1076 5232 w (the) 1182 5232 w (case) 1332 5232 w (that) 1531 5232 w (the) 1709 5232 w (image) 1859 5232 w (is) 2131 5232 w (a) 2226 5232 w (PGM) 2298 5232 w (or) 2543 5232 w (PPM) 2654 5232 w (image) 2883 5232 w (or) 3155 5232 w (PAM) 3266 5232 w (equivalent.) 3511 5232 w (You) 4005 5232 w (can) 4204 5232 w (use) 4369 5232 w 10 /Times-Bold f (pnmgamma) 4529 5232 w 10 /Times-Roman f (to) 720 5352 w (convert) 824 5352 w (such) 1149 5352 w (an) 1358 5352 w (image) 1478 5352 w (to) 1748 5352 w (one) 1852 5352 w (with) 2023 5352 w (samples) 2228 5352 w (proportional) 2577 5352 w (to) 3098 5352 w (light) 3203 5352 w (intensity,) 3414 5352 w (and) 3811 5352 w (then) 3982 5352 w (use) 4181 5352 w 10 /Times-Bold f (pamsummcol) 4341 5352 w 10 /Times-Roman f (on) 4940 5352 w (the result.) 720 5472 w (You) 720 5628 w (can) 925 5628 w (achieve) 1096 5628 w (the) 1433 5628 w (same) 1588 5628 w (thing) 1826 5628 w (as) 2065 5628 w 10 /Times-Bold f (pamsummcol) 2181 5628 w (\255mean) 2787 5628 w 10 /Times-Roman f (with) 3087 5628 w 10 /Times-Bold f (pamscale) 3299 5628 w 10 /Times-Roman f (.) 3693 5628 w (Just) 3777 5628 w (scale) 3967 5628 w (vertically) 4200 5628 w (to) 4611 5628 w (a) 4723 5628 w (single) 4801 5628 w (row, without scaling horizontally at all.) 720 5748 w (Use the pixel mixing method.) 2344 5748 w 10 /Times-Bold f (OPTIONS) 720 5988 w 10 /Times-Roman f (You must specify exactly one of) 720 6180 w 10 /Times-Bold f (\255sum) 2040 6180 w 10 /Times-Roman f (,) 2251 6180 w 10 /Times-Bold f (\255mean) 2301 6180 w 10 /Times-Roman f (,) 2567 6180 w 10 /Times-Bold f (\255min) 2617 6180 w 10 /Times-Roman f (, or) 2817 6180 w 10 /Times-Bold f (\255max) 2975 6180 w 10 /Times-Roman f (.) 3191 6180 w 10 /Times-Bold f (\255sum) 970 6336 w 10 /Times-Roman f (This) 970 6492 w (option) 1178 6492 w (makes) 1464 6492 w (the) 1749 6492 w (summary) 1901 6492 w (function) 2303 6492 w (addition.) 2666 6492 w (In) 3074 6492 w (each) 3187 6492 w (column) 3400 6492 w (and) 3731 6492 w (plane) 3906 6492 w (of) 4153 6492 w (the) 4267 6492 w (output) 4420 6492 w (row,) 4707 6492 w (the) 4918 6492 w (sample) 970 6612 w (value) 1288 6612 w (is) 1539 6612 w (the) 1641 6612 w (sum) 1798 6612 w (of) 2000 6612 w (all) 2118 6612 w (the) 2253 6612 w (samples) 2410 6612 w (values) 2767 6612 w (in) 3057 6612 w (the) 3170 6612 w (same) 3327 6612 w (column) 3567 6612 w (and) 3902 6612 w (plane) 4081 6612 w (of) 4332 6612 w (the) 4450 6612 w (input.) 4606 6612 w (If) 4896 6612 w (a) 4996 6612 w (result is greater than the image maxval, it is clipped to the maxval.) 970 6732 w 10 /Times-Bold f (\255mean) 970 6888 w 10 /Times-Roman f (This) 970 7044 w (option) 1181 7044 w (makes) 1470 7044 w (the) 1758 7044 w (summary) 1913 7044 w (function) 2318 7044 w (arithmetic) 2684 7044 w (mean.) 3122 7044 w (In) 3421 7044 w (each) 3537 7044 w (column) 3752 7044 w (and) 4085 7044 w (plane) 4262 7044 w (of) 4511 7044 w (the) 4628 7044 w (output) 4784 7044 w (row,) 970 7164 w (the) 1188 7164 w (sample) 1348 7164 w (value) 1669 7164 w (is) 1923 7164 w (the) 2028 7164 w (mean) 2188 7164 w (of) 2442 7164 w (all) 2563 7164 w (the) 2701 7164 w (samples) 2860 7164 w (values) 3219 7164 w (in) 3511 7164 w (the) 3626 7164 w (same) 3785 7164 w (column) 4027 7164 w (and) 4364 7164 w (plane) 4545 7164 w (of) 4798 7164 w (the) 4918 7164 w (input.) 970 7284 w cleartomark showpage saveobj restore %%EndPage: 1 1 %%Page: 2 2 /saveobj save def mark 2 pagesetup 10 /Times-Roman f (\255 2 \255) 2797 480 w 10 /Times-Bold f (\255min) 970 840 w 10 /Times-Roman f (This) 970 996 w (option) 1175 996 w (makes) 1458 996 w (the) 1741 996 w (summary) 1891 996 w (function) 2291 996 w (arithmetic) 2652 996 w (minimum.) 3085 996 w (In) 3553 996 w (each) 3664 996 w (column) 3874 996 w (and) 4202 996 w (plane) 4374 996 w (of) 4618 996 w (the) 4729 996 w (out\255) 4879 996 w (put) 970 1116 w (row,) 1126 1116 w (the) 1334 1116 w (sample) 1484 1116 w (value) 1795 1116 w (is) 2039 1116 w (the) 2134 1116 w (minimum) 2284 1116 w (of) 2702 1116 w (all) 2813 1116 w (the) 2941 1116 w (samples) 3091 1116 w (values) 3441 1116 w (in) 3724 1116 w (the) 3830 1116 w (same) 3980 1116 w (column) 4213 1116 w (and) 4541 1116 w (plane) 4713 1116 w (of) 4957 1116 w (the input.) 970 1236 w 10 /Times-Bold f (\255max) 970 1392 w 10 /Times-Roman f (This) 970 1548 w (option) 1174 1548 w (makes) 1456 1548 w (the) 1737 1548 w (summary) 1886 1548 w (function) 2285 1548 w (arithmetic) 2645 1548 w (maximum.) 3077 1548 w (In) 3560 1548 w (each) 3670 1548 w (column) 3879 1548 w (and) 4206 1548 w (plane) 4377 1548 w (of) 4620 1548 w (the) 4730 1548 w (out\255) 4879 1548 w (put) 970 1668 w (row,) 1126 1668 w (the) 1334 1668 w (sample) 1484 1668 w (value) 1794 1668 w (is) 2037 1668 w (the) 2131 1668 w (maximum) 2280 1668 w (of) 2713 1668 w (all) 2823 1668 w (the) 2950 1668 w (samples) 3099 1668 w (values) 3448 1668 w (in) 3730 1668 w (the) 3835 1668 w (same) 3984 1668 w (column) 4216 1668 w (and) 4543 1668 w (plane) 4714 1668 w (of) 4957 1668 w (the input.) 970 1788 w 10 /Times-Bold f (SEE ALSO) 720 2028 w (pamsumm) 720 2184 w 10 /Times-Roman f (,) 1170 2184 w 10 /Times-Bold f (pamscale) 1220 2184 w 10 /Times-Roman f (,) 1614 2184 w 10 /Times-Bold f (pamfunc) 1664 2184 w 10 /Times-Roman f (,) 2042 2184 w 10 /Times-Bold f (pamarith) 2092 2184 w 10 /Times-Roman f (,) 2492 2184 w 10 /Times-Bold f (pamscale) 2542 2184 w 10 /Times-Roman f (,) 2936 2184 w 10 /Times-Bold f (pam) 2986 2184 w 10 /Times-Roman f (,) 3175 2184 w 10 /Times-Bold f (HISTORY) 720 2424 w (pamsummcol) 720 2616 w 10 /Times-Roman f (was added to Netpbm in Release 10.21 \(March 2004\).) 1317 2616 w 10 /S1 f (________________________________________________________________________) 720 2736 w 10 /Times-Bold f (Table Of Contents) 720 2976 w 10 /LucidaSansUnicode22 f (\031) 720 3168 w 10 /Times-Roman f (NAME) 970 3168 w 10 /LucidaSansUnicode22 f (\031) 720 3324 w 10 /Times-Roman f (SYNOPSIS) 970 3324 w 10 /LucidaSansUnicode22 f (\031) 720 3480 w 10 /Times-Roman f (DESCRIPTION) 970 3480 w 10 /LucidaSansUnicode22 f (\031) 720 3636 w 10 /Times-Roman f (OPTIONS) 970 3636 w 10 /LucidaSansUnicode22 f (\031) 720 3792 w 10 /Times-Roman f (SEE ALSO) 970 3792 w 10 /LucidaSansUnicode22 f (\031) 720 3948 w 10 /Times-Roman f (HISTORY) 970 3948 w cleartomark showpage saveobj restore %%EndPage: 2 2 %%Trailer done %%DocumentFonts: Times-Roman LucidaSansUnicode22 Times-Italic Times-Bold S1 S %%Pages: 2