%!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 (Pamsumm) 2256 1230 w (User) 2833 1230 w (Manual) 3102 1230 w 10 /Times-Bold f (pamsumm) 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 (pamsumm \255 Summarize the samples in a Netpbm image arithmetically) 720 2592 w 10 /Times-Bold f (SYNOPSIS) 720 2832 w (pamsumm) 720 2988 w 10 /Times-Roman f ({) 1195 2988 w 10 /Times-Bold f (\255sum) 1268 2988 w 10 /Times-Roman f 10 /S f (\357) 1504 2988 w 10 /Times-Bold f (\255mean) 1578 2988 w 10 /Times-Roman f 10 /S f (\357) 1869 2988 w 10 /Times-Bold f (\255min) 1943 2988 w 10 /Times-Roman f 10 /S f (\357) 2168 2988 w 10 /Times-Bold f (\255max) 2242 2988 w 10 /Times-Roman f (} [) 2483 2988 w 10 /Times-Bold f (\255normalize) 2589 2988 w 10 /Times-Roman f (] [) 3049 2988 w 10 /Times-Bold f (\255brief) 3140 2988 w 10 /Times-Roman f (] [) 3378 2988 w 10 /Times-Italic f (imagefile) 3469 2988 w 10 /Times-Roman f (]) 3841 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 (pamsumm) 720 3852 w 10 /Times-Roman f (reads) 1200 3852 w (a) 1440 3852 w (Netpbm) 1514 3852 w (image) 1867 3852 w (\(PNM) 2142 3852 w (or) 2423 3852 w (PAM\)) 2537 3852 w (and) 2818 3852 w (performs) 2993 3852 w (a) 3384 3852 w (summary) 3459 3852 w (function) 3862 3852 w (over) 4226 3852 w (all) 4434 3852 w (the) 4565 3852 w (samples) 4718 3852 w (in all the rows, columns, and planes and prints the result to Standard Output.) 720 3972 w 10 /Times-Bold f (pamsumm) 720 4128 w 10 /Times-Roman f (performs) 1202 4128 w (the) 1594 4128 w (operation) 1748 4128 w (on) 2157 4128 w (the) 2289 4128 w (actual) 2443 4128 w (sample) 2714 4128 w (values,) 3030 4128 w (not) 3343 4128 w (on) 3504 4128 w (the) 3637 4128 w (light) 3792 4128 w (intensities) 4009 4128 w (represented) 4448 4128 w (by) 4940 4128 w (them) 720 4248 w (in) 950 4248 w (the) 1058 4248 w (case) 1210 4248 w (that) 1411 4248 w (the) 1591 4248 w (image) 1743 4248 w (is) 2017 4248 w (a) 2114 4248 w (PGM) 2188 4248 w (or) 2434 4248 w (PPM) 2546 4248 w (image) 2776 4248 w (or) 3049 4248 w (PAM) 3161 4248 w (equivalent.) 3407 4248 w (If) 3902 4248 w (you) 3997 4248 w (want) 4176 4248 w (to) 4399 4248 w (do) 4506 4248 w (arithmetic) 4635 4248 w (on) 720 4368 w (light) 849 4368 w (intensities) 1062 4368 w (of) 1497 4368 w (such) 1609 4368 w (a) 1821 4368 w (visual) 1894 4368 w (image,) 2162 4368 w (you) 2460 4368 w (can) 2639 4368 w (use) 2806 4368 w 10 /Times-Bold f (pnmgamma) 2968 4368 w 10 /Times-Roman f (to) 3509 4368 w (convert) 3617 4368 w (it) 3946 4368 w (to) 4032 4368 w (one) 4140 4368 w (with) 4314 4368 w (samples) 4522 4368 w (pro\255) 4874 4368 w (portional to light intensity, and then use) 720 4488 w 10 /Times-Bold f (pamsumm) 2337 4488 w 10 /Times-Roman f (on the result.) 2812 4488 w (If) 720 4644 w (you) 814 4644 w (want) 992 4644 w (to) 1214 4644 w (summarize) 1320 4644 w (by) 1786 4644 w (column) 1914 4644 w (\(e.g.) 2242 4644 w (add) 2447 4644 w (up) 2620 4644 w (the) 2749 4644 w (columns) 2900 4644 w (separately\),) 3268 4644 w (use) 3759 4644 w 10 /Times-Bold f (pamsummcol) 3921 4644 w 10 /Times-Roman f (.) 4493 4644 w (If) 4572 4644 w (you) 4667 4644 w (want) 4846 4644 w (to) 720 4764 w (summarize) 824 4764 w (by) 1288 4764 w (row,) 1414 4764 w (use) 1620 4764 w (a) 1779 4764 w (combination) 1849 4764 w (of) 2375 4764 w 10 /Times-Bold f (pamsummcol) 2484 4764 w 10 /Times-Roman f (and) 3082 4764 w 10 /Times-Bold f (pamflip) 3251 4764 w 10 /Times-Roman f (.) 3585 4764 w (If you want to summarize a partic\255) 3660 4764 w (ular plane, use) 720 4884 w 10 /Times-Bold f (pamchannel) 1324 4884 w 10 /Times-Roman f (to extract it and then) 1872 4884 w 10 /Times-Bold f (pamsumm) 2718 4884 w 10 /Times-Roman f (.) 3168 4884 w 10 /Times-Bold f (OPTIONS) 720 5124 w 10 /Times-Roman f (You must specify exactly one of) 720 5316 w 10 /Times-Bold f (\255sum) 2040 5316 w 10 /Times-Roman f (,) 2251 5316 w 10 /Times-Bold f (\255mean) 2301 5316 w 10 /Times-Roman f (,) 2567 5316 w 10 /Times-Bold f (\255min) 2617 5316 w 10 /Times-Roman f (, or) 2817 5316 w 10 /Times-Bold f (\255max) 2975 5316 w 10 /Times-Roman f (.) 3191 5316 w 10 /Times-Bold f (\255sum) 970 5472 w 10 /Times-Roman f (This option makes the summary function addition.) 970 5628 w 10 /Times-Bold f (\255mean) 970 5784 w 10 /Times-Roman f (This option makes the summary function arithmetic mean.) 970 5940 w 10 /Times-Bold f (\255min) 970 6096 w 10 /Times-Roman f (This option makes the summary function arithmetic minimum.) 970 6252 w 10 /Times-Bold f (\255max) 970 6408 w 10 /Times-Roman f (This option makes the summary function arithmetic maximum.) 970 6564 w 10 /Times-Bold f (\255normalize) 970 6720 w 10 /Times-Roman f (This) 970 6876 w (option) 1175 6876 w (causes) 1458 6876 w (each) 1745 6876 w (sample) 1954 6876 w (to) 2264 6876 w (be) 2369 6876 w (normalized) 2490 6876 w (to) 2966 6876 w (a) 3071 6876 w (fraction) 3142 6876 w (\(in) 3479 6876 w (the) 3617 6876 w (range) 3766 6876 w (0..1\)) 4014 6876 w (so) 4224 6876 w (the) 4340 6876 w (result) 4490 6876 w (is) 4740 6876 w (inde\255) 4835 6876 w (pendent) 970 6996 w (of) 1315 6996 w (the) 1426 6996 w (image's) 1576 6996 w (maxval.) 1920 6996 w (E.g.) 2292 6996 w (if) 2481 6996 w (you) 2570 6996 w (request) 2748 6996 w (the) 3064 6996 w (mean) 3214 6996 w (of) 3458 6996 w (an) 3569 6996 w (image) 3691 6996 w (which) 3963 6996 w (has) 4235 6996 w (maxval) 4396 6996 w (200) 4718 6996 w (and) 4896 6996 w (all the samples have value 50,) 970 7116 w 10 /Times-Bold f (pamsumm) 2193 7116 w 10 /Times-Roman f (will give you 50 as) 2668 7116 w (an) 3455 7116 w (answer.) 3575 7116 w (But) 3933 7116 w 10 /Times-Bold f (pamsumm) 4104 7116 w (\255normalize) 4580 7116 w 10 /Times-Roman f (will give you .25.) 970 7236 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 (If) 970 840 w (you) 1068 840 w (want) 1250 840 w (a) 1476 840 w (result) 1552 840 w (that) 1806 840 w (is) 1989 840 w (independent) 2089 840 w (of) 2610 840 w (maxval) 2726 840 w (but) 3053 840 w (still) 3214 840 w (in) 3398 840 w (integers,) 3509 840 w (and) 3883 840 w (your) 4060 840 w (input) 4276 840 w (is) 4515 840 w (PNM,) 4615 840 w (you) 4890 840 w (can) 970 960 w (use) 1135 960 w 10 /Times-Bold f (pamdepth) 1295 960 w 10 /Times-Roman f (to) 1756 960 w (convert) 1861 960 w (to) 2187 960 w (some) 2292 960 w (standard) 2530 960 w (maxval.) 2895 960 w (For) 3266 960 w (example,) 3432 960 w (if) 3822 960 w (you) 3909 960 w (want) 4085 960 w (the) 4305 960 w (mean) 4453 960 w (intensity) 4695 960 w (of a PPM image, on a scale of 0 to 99, do) 970 1080 w 10 /Courier f (pamdepth 99 myimage.ppm | pamsumm \255mean) 1210 1260 w 10 /Times-Roman f (This option was new in Netpbm 10.22 \(April 2004\)) 970 1476 w 10 /Times-Bold f (\255brief) 970 1632 w 10 /Times-Roman f (This) 970 1788 w (option) 1175 1788 w (causes) 1458 1788 w 10 /Times-Bold f (pamsumm) 1745 1788 w 10 /Times-Roman f (to) 2222 1788 w (display) 2327 1788 w (the) 2643 1788 w (answer) 2792 1788 w (as) 3102 1788 w (a) 3213 1788 w (bare) 3285 1788 w (number,) 3484 1788 w (rather) 3842 1788 w (than) 4102 1788 w (in) 4302 1788 w (a) 4408 1788 w (complete) 4480 1788 w (sen\255) 4874 1788 w (tence.) 970 1908 w (This option was new in Netpbm 10.22 \(April 2004\)) 970 2064 w 10 /Times-Bold f (SEE ALSO) 720 2304 w (pamsumm) 720 2460 w 10 /Times-Roman f (,) 1170 2460 w 10 /Times-Bold f (pam) 1220 2460 w 10 /Times-Roman f (,) 1409 2460 w 10 /Times-Bold f (HISTORY) 720 2700 w (pamsumm) 720 2892 w 10 /Times-Roman f (was added to Netpbm in Release 10.21 \(March 2004\).) 1195 2892 w 10 /S1 f (________________________________________________________________________) 720 3012 w 10 /Times-Bold f (Table Of Contents) 720 3252 w 10 /LucidaSansUnicode22 f (\031) 720 3444 w 10 /Times-Roman f (NAME) 970 3444 w 10 /LucidaSansUnicode22 f (\031) 720 3600 w 10 /Times-Roman f (SYNOPSIS) 970 3600 w 10 /LucidaSansUnicode22 f (\031) 720 3756 w 10 /Times-Roman f (DESCRIPTION) 970 3756 w 10 /LucidaSansUnicode22 f (\031) 720 3912 w 10 /Times-Roman f (OPTIONS) 970 3912 w 10 /LucidaSansUnicode22 f (\031) 720 4068 w 10 /Times-Roman f (SEE ALSO) 970 4068 w 10 /LucidaSansUnicode22 f (\031) 720 4224 w 10 /Times-Roman f (HISTORY) 970 4224 w cleartomark showpage saveobj restore %%EndPage: 2 2 %%Trailer done %%DocumentFonts: Times-Roman LucidaSansUnicode22 Times-Italic Times-Bold Courier S1 S %%Pages: 2