%!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 (Pnmnorm) 2270 1230 w (User) 2820 1230 w (Manual) 3089 1230 w 10 /Times-Bold f (pnmnorm) 720 1920 w 10 /Times-Roman f (Updated: 6 January 2006) 720 2076 w (Table Of Contents) 720 2196 w 10 /Times-Bold f (NAME) 720 2436 w 10 /Times-Roman f (pnmnorm \255 normalize the contrast in a Netbpm image) 720 2592 w 10 /Times-Bold f (SYNOPSIS) 720 2832 w (pnmnorm) 720 2988 w 10 /Times-Roman f ([) 1210 2988 w 10 /Times-Bold f (\255bpercent=) 1243 2988 w 10 /Times-Italic f (N) 1710 2988 w 10 /S f (\357) 1839 2988 w 10 /Times-Bold f (\255bvalue=) 1950 2988 w 10 /Times-Italic f (N) 2324 2988 w 10 /Times-Roman f (]) 2391 2988 w ([) 2486 2988 w 10 /Times-Bold f (\255wpercent=) 2519 2988 w 10 /Times-Italic f (N) 3002 2988 w 10 /S f (\357) 3131 2988 w 10 /Times-Bold f (\255wvalue=) 3242 2988 w 10 /Times-Italic f (N) 3632 2988 w 10 /Times-Roman f (]) 3699 2988 w ([) 3794 2988 w 10 /Times-Bold f (\255maxexpand) 3827 2988 w 10 /Times-Roman f ([) 4417 2988 w 10 /Times-Bold f (\255keephues) 4450 2988 w 10 /Times-Roman f (]) 4878 2988 w ([) 4974 2988 w 10 /Times-Bold f (\255) 5007 2988 w (luminosity) 720 3108 w 10 /Times-Roman f 10 /S f (\357) 1196 3108 w 10 /Times-Bold f (\255colorvalue) 1270 3108 w 10 /Times-Roman f 10 /S f (\357) 1772 3108 w 10 /Times-Bold f (\255saturation) 1846 3108 w 10 /Times-Roman f (] [) 2318 3108 w 10 /Times-Italic f (ppmfile) 2409 3108 w 10 /Times-Roman f (]) 2709 3108 w (All) 720 3264 w (options) 876 3264 w (can) 1199 3264 w (be) 1366 3264 w (abbreviated) 1489 3264 w (to) 1983 3264 w (their) 2090 3264 w (shortest) 2302 3264 w (unique) 2642 3264 w (prefix.) 2943 3264 w (You) 3260 3264 w (may) 3461 3264 w (use) 3662 3264 w (two) 3824 3264 w (hyphens) 4003 3264 w (instead) 4365 3264 w (of) 4677 3264 w (one) 4789 3264 w (to) 4962 3264 w (designate) 720 3384 w (an) 1134 3384 w (option.) 1265 3384 w (You) 1608 3384 w (may) 1817 3384 w (use) 2026 3384 w (either) 2196 3384 w (white) 2460 3384 w (space) 2719 3384 w (or) 2977 3384 w (an) 3097 3384 w (equals) 3228 3384 w (sign) 3520 3384 w (between) 3723 3384 w (an) 4091 3384 w (option) 4221 3384 w (name) 4513 3384 w (and) 4765 3384 w (its) 4945 3384 w (value.) 720 3504 w 10 /Times-Bold f (DESCRIPTION) 720 3744 w 10 /Times-Roman f (This program is part of Netpbm.) 720 3936 w 10 /Times-Bold f (pnmnorm) 720 4092 w 10 /Times-Roman f (reads) 1179 4092 w (a) 1420 4092 w (PNM) 1495 4092 w (image) 1743 4092 w (\(PBM,) 2018 4092 w (PGM,) 2319 4092 w (or) 2592 4092 w (PPM\).) 2706 4092 w (It) 3021 4092 w (normalizes) 3113 4092 w (the) 3582 4092 w (contrast) 3736 4092 w (by) 4084 4092 w (forcing) 4216 4092 w (the) 4536 4092 w (brightest) 4690 4092 w (pixels) 720 4212 w (to) 995 4212 w (white,) 1109 4212 w (the) 1392 4212 w (darkest) 1550 4212 w (pixels) 1874 4212 w (to) 2149 4212 w (black,) 2263 4212 w (and) 2540 4212 w (linearly) 2720 4212 w (rescaling) 3061 4212 w (the) 3457 4212 w (ones) 3615 4212 w (in) 3834 4212 w (between;) 3948 4212 w (and) 4344 4212 w (produces) 4523 4212 w (the) 4918 4212 w (same kind of file as output.) 720 4332 w (This is pretty useless for a PBM image.) 1858 4332 w (The) 720 4488 w (program) 904 4488 w (first) 1271 4488 w (determines) 1461 4488 w (a) 1929 4488 w (mapping) 2003 4488 w (of) 2383 4488 w (old) 2496 4488 w (brightness) 2654 4488 w (to) 3095 4488 w (new) 3203 4488 w (brightness.) 3399 4488 w (For) 3890 4488 w (each) 4059 4488 w (possible) 4271 4488 w (brightness) 4629 4488 w (of a pixel, the program determines a corresponding brightness for the output image.) 720 4608 w (Then for each pixel in the image, the program computes a) 720 4764 w (color) 3055 4764 w (which) 3286 4764 w (has) 3556 4764 w (the) 3715 4764 w (desired) 3863 4764 w (output) 4177 4764 w (brightness) 4459 4764 w (and) 4896 4764 w (puts) 720 4884 w (that) 914 4884 w (in) 1091 4884 w (the) 1196 4884 w (output.) 1345 4884 w (With) 1678 4884 w (a) 1905 4884 w (color) 1976 4884 w (image,) 2208 4884 w (it) 2503 4884 w (is) 2585 4884 w (not) 2678 4884 w (always) 2832 4884 w (possible) 3135 4884 w (to) 3489 4884 w (compute) 3593 4884 w (such) 3963 4884 w (a) 4172 4884 w (color) 4242 4884 w (and) 4473 4884 w (retain) 4643 4884 w (any) 4896 4884 w (semblance) 720 5004 w (of) 1185 5004 w (the) 1312 5004 w (original) 1478 5004 w (hue,) 1833 5004 w (so) 2046 5004 w (the) 2179 5004 w (brightest) 2345 5004 w (and) 2739 5004 w (dimmest) 2927 5004 w (pixels) 3317 5004 w (may) 3601 5004 w (only) 3818 5004 w (approximate) 4041 5004 w (the) 4585 5004 w (desired) 4752 5004 w (brightness.) 720 5124 w (For a PPM image, you have a choice of three different ways to define brightness:) 720 5280 w (1) 720 5436 w (luminosity) 970 5436 w (2) 720 5592 w (color value) 970 5592 w (3) 720 5748 w (saturation) 970 5748 w (In) 720 5904 w (the) 829 5904 w (case) 977 5904 w (of) 1174 5904 w (saturation,) 1283 5904 w ("brightness") 1729 5904 w (is) 2249 5904 w (pretty) 2343 5904 w (much) 2603 5904 w (a) 2852 5904 w (misnomer,) 2923 5904 w (but) 3375 5904 w (you) 3530 5904 w (can) 3707 5904 w (use) 3872 5904 w (the) 4032 5904 w (brightness) 4181 5904 w (analogy) 4619 5904 w (to) 4962 5904 w (see what it does.) 720 6024 w (In the analogy, bright means saturated and dark means unsaturated.) 1430 6024 w (Note that all of these are different from separately normalizing the individual color components.) 720 6180 w (An) 720 6336 w (alternative) 883 6336 w (way) 1345 6336 w (to) 1552 6336 w (spread) 1671 6336 w (out) 1972 6336 w (the) 2141 6336 w (brightnesses) 2304 6336 w (in) 2840 6336 w (an) 2960 6336 w (image) 3096 6336 w (is) 3382 6336 w 10 /Times-Bold f (pnmhisteq) 3491 6336 w 10 /Times-Roman f (.) 3942 6336 w 10 /Times-Bold f (pnmhisteq) 4034 6336 w 10 /Times-Roman f (stretches) 4527 6336 w (the) 4918 6336 w (brightest) 720 6456 w (pixels) 1114 6456 w (to) 1396 6456 w (white) 1517 6456 w (and) 1782 6456 w (the) 1969 6456 w (darkest) 2134 6456 w (pixels) 2465 6456 w (to) 2747 6456 w (black,) 2868 6456 w (but) 3152 6456 w (rather) 3323 6456 w (than) 3598 6456 w (linearly) 3813 6456 w (adjusting) 4161 6456 w (the) 4571 6456 w (ones) 4736 6456 w (in) 4962 6456 w (between, it adjusts them so that there are an equal number of pixels of each brightness throughout the range.) 720 6576 w (This gives you more contrast than) 720 6696 w 10 /Times-Bold f (pnmnorm) 2102 6696 w 10 /Times-Roman f (does, but can considerably change the picture in exchange.) 2555 6696 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 (OPTIONS) 720 840 w 10 /Times-Roman f (By) 720 1032 w (default,) 867 1032 w (the) 1199 1032 w (darkest) 1351 1032 w (2) 1669 1032 w (percent) 1749 1032 w (of) 2072 1032 w (all) 2185 1032 w (pixels) 2315 1032 w (are) 2584 1032 w (mapped) 2735 1032 w (to) 3081 1032 w (black,) 3189 1032 w (and) 3460 1032 w (the) 3634 1032 w (brightest) 3786 1032 w (1) 4167 1032 w (percent) 4248 1032 w (are) 4572 1032 w (mapped) 4724 1032 w (to) 720 1152 w (white.) 832 1152 w (You) 1138 1152 w (can) 1344 1152 w (override) 1516 1152 w (these) 1882 1152 w (percentages) 2121 1152 w (by) 2625 1152 w (using) 2759 1152 w (the) 3010 1152 w 10 /Times-Bold f (\255bpercent) 3166 1152 w 10 /Times-Roman f (and) 3610 1152 w 10 /Times-Bold f (\255wpercent) 3788 1152 w 10 /Times-Roman f (options,) 4248 1152 w (or) 4602 1152 w (you) 4719 1152 w (can) 4902 1152 w (specify) 720 1272 w (the) 1035 1272 w (exact) 1184 1272 w (pixel) 1421 1272 w (values) 1648 1272 w (to) 1930 1272 w (be) 2035 1272 w (mapped) 2156 1272 w (by) 2499 1272 w (using) 2626 1272 w (the) 2870 1272 w 10 /Times-Bold f (\255bvalue) 3019 1272 w 10 /Times-Roman f (and) 3363 1272 w 10 /Times-Bold f (\255wvalue) 3534 1272 w 10 /Times-Roman f (options.) 3894 1272 w (You) 4266 1272 w (can) 4465 1272 w (get) 4630 1272 w (appro\255) 4780 1272 w (priate) 720 1392 w (numbers) 977 1392 w (for) 1351 1392 w (the) 1496 1392 w (options) 1647 1392 w (from) 1971 1392 w 10 /Times-Bold f (ppmhist) 2194 1392 w 10 /Times-Roman f (.) 2545 1392 w (If) 2624 1392 w (you) 2719 1392 w (just) 2898 1392 w (want) 3072 1392 w (to) 3295 1392 w (enhance) 3402 1392 w (the) 3757 1392 w (contrast,) 3908 1392 w (then) 4278 1392 w (choose) 4479 1392 w (values) 4785 1392 w (at) 720 1512 w (elbows) 818 1512 w (in) 1127 1512 w (the) 1231 1512 w (histogram;) 1379 1512 w (e.g.) 1833 1512 w (if) 2003 1512 w (value) 2090 1512 w (29) 2332 1512 w (represents) 2458 1512 w (3%) 2888 1512 w (of) 3047 1512 w (the) 3156 1512 w (image) 3304 1512 w (but) 3574 1512 w (value) 3728 1512 w (30) 3970 1512 w (represents) 4097 1512 w (20%,) 4528 1512 w (choose) 4763 1512 w (30) 720 1632 w (for) 846 1632 w 10 /Times-Italic f (bvalue) 988 1632 w 10 /Times-Roman f (.) 1254 1632 w (If) 1330 1632 w (you) 1422 1632 w (want) 1598 1632 w (to) 1818 1632 w (brighten the image, then set) 1922 1632 w 10 /Times-Italic f (bvalue) 3054 1632 w 10 /Times-Roman f (to 0 and just fiddle with) 3345 1632 w 10 /Times-Italic f (wvalue) 4323 1632 w 10 /Times-Roman f (; similarly,) 4606 1632 w (to darken the image, set) 720 1752 w 10 /Times-Italic f (wvalue) 1696 1752 w 10 /Times-Roman f (to maxval and play with) 2004 1752 w 10 /Times-Italic f (bvalue) 2995 1752 w 10 /Times-Roman f (.) 3261 1752 w (If) 720 1908 w (you) 821 1908 w (specify) 1006 1908 w (both) 1330 1908 w 10 /Times-Bold f (\255bvalue) 1544 1908 w 10 /Times-Roman f (and) 1897 1908 w 10 /Times-Bold f (\255bpercent) 2077 1908 w 10 /Times-Roman f (,) 2487 1908 w 10 /Times-Bold f (pnmnorm) 2548 1908 w 10 /Times-Roman f (uses) 3012 1908 w (the) 3220 1908 w (one) 3378 1908 w (that) 3558 1908 w (produces) 3744 1908 w (the) 4140 1908 w (least) 4298 1908 w (change.) 4517 1908 w (The) 4885 1908 w (same goes for) 720 2028 w 10 /Times-Bold f (\255wvalue) 1299 2028 w 10 /Times-Roman f (and) 1657 2028 w 10 /Times-Bold f (\255wpercent) 1826 2028 w 10 /Times-Roman f (.) 2252 2028 w (If) 720 2184 w (you) 814 2184 w (want) 993 2184 w (to) 1216 2184 w (maximize) 1323 2184 w (the) 1746 2184 w (change) 1897 2184 w (instead) 2208 2184 w (of) 2520 2184 w (minimizing) 2632 2184 w (it,) 3123 2184 w (just) 3233 2184 w (cascade) 3407 2184 w (two) 3745 2184 w (runs) 3924 2184 w (of) 4125 2184 w 10 /Times-Bold f (pnmnorm) 4237 2184 w 10 /Times-Roman f (,) 4665 2184 w (specify\255) 4719 2184 w (ing values for the first and percentages for the second.) 720 2304 w (This) 720 2460 w (is) 933 2460 w (further) 1036 2460 w (constrained) 1343 2460 w (by) 1839 2460 w (the) 1975 2460 w 10 /Times-Bold f (\255maxexpand) 2133 2460 w 10 /Times-Roman f (option.) 2697 2460 w (Sometimes,) 3039 2460 w (too) 3545 2460 w (much) 3709 2460 w (contrast) 3967 2460 w (is) 4319 2460 w (a) 4422 2460 w (bad) 4502 2460 w (thing.) 4682 2460 w (If) 4974 2460 w (your) 720 2580 w (intensities) 929 2580 w (are all concentrated in the middle,) 1361 2580 w 10 /Times-Bold f (\255bpercent=2) 2744 2580 w 10 /Times-Roman f (and) 3286 2580 w 10 /Times-Bold f (\255wpercent=1) 3455 2580 w 10 /Times-Roman f (might mean that an inten\255) 4013 2580 w (sity) 720 2700 w (of) 896 2700 w (60) 1010 2700 w (gets) 1141 2700 w (stretched) 1333 2700 w (up) 1724 2700 w (to) 1855 2700 w (100) 1964 2700 w (and) 2145 2700 w (and) 2320 2700 w (intensity) 2495 2700 w (of) 2871 2700 w (40) 2985 2700 w (gets) 3116 2700 w (stretched) 3308 2700 w (down) 3700 2700 w (to) 3954 2700 w (zero,) 4064 2700 w (for) 4292 2700 w (a) 4440 2700 w (range) 4516 2700 w (expan\255) 4769 2700 w (sion) 720 2820 w (of) 916 2820 w (150%) 1028 2820 w (\(from) 1290 2820 w (a) 1546 2820 w (range) 1619 2820 w (of) 1869 2820 w (40) 1981 2820 w (to) 2110 2820 w (a) 2217 2820 w (range) 2290 2820 w (of) 2540 2820 w (100\).) 2652 2820 w (That) 2914 2820 w (much) 3126 2820 w (stretching) 3377 2820 w (means) 3800 2820 w (two) 4084 2820 w (adjacent) 4263 2820 w (pixels) 4623 2820 w (that) 4890 2820 w (used to differ in intensity by 4 units now differ by 10, and that might be unsightly.) 720 2940 w (So) 720 3096 w (that) 855 3096 w (you) 1034 3096 w (can) 1213 3096 w (put) 1380 3096 w (a) 1537 3096 w (limit) 1610 3096 w (on) 1829 3096 w (the) 1958 3096 w (amount) 2110 3096 w (of) 2440 3096 w (expansion) 2553 3096 w (without) 2988 3096 w (having) 3324 3096 w (to) 3626 3096 w (examine) 3734 3096 w (the) 4102 3096 w (image) 4254 3096 w (first,) 4528 3096 w (there) 4744 3096 w (is) 4973 3096 w (the) 720 3216 w 10 /Times-Bold f (\255maxexpand) 875 3216 w 10 /Times-Roman f (option.) 1436 3216 w (It) 1775 3216 w (specifies) 1869 3216 w (the) 2251 3216 w (maximum) 2406 3216 w (expansion) 2845 3216 w (you) 3283 3216 w (will) 3465 3216 w (tolerate,) 3653 3216 w (as) 4009 3216 w (an) 4124 3216 w (additional) 4250 3216 w (per) 4682 3216 w (cent\255) 4841 3216 w (age.) 720 3336 w (In) 934 3336 w (the) 1043 3336 w (example) 1191 3336 w (above,) 1555 3336 w (you) 1844 3336 w (could) 2020 3336 w (say) 2268 3336 w 10 /Times-Bold f (\255maxexpand=50) 2427 3336 w 10 /Times-Roman f (to) 3139 3336 w (say) 3244 3336 w (you) 3404 3336 w (want) 3581 3336 w (the) 3802 3336 w (range) 3951 3336 w (to) 4199 3336 w (expand) 4304 3336 w (by) 4619 3336 w (at) 4746 3336 w (most) 4845 3336 w (50%,) 720 3456 w (regardless) 958 3456 w (of) 1392 3456 w (your) 1505 3456 w (other) 1718 3456 w (options.) 1953 3456 w 10 /Times-Bold f (pnmnorm) 2328 3456 w 10 /Times-Roman f (figures) 2785 3456 w (out) 3091 3456 w (what) 3248 3456 w (intensity) 3471 3456 w (to) 3845 3456 w (stretch) 3952 3456 w (to) 4247 3456 w (full) 4354 3456 w (intensity) 4522 3456 w (and) 4896 3456 w (what) 720 3576 w (intensity) 942 3576 w (to) 1315 3576 w (stretch) 1421 3576 w (to) 1715 3576 w (zero) 1821 3576 w (intensity) 2020 3576 w (as) 2393 3576 w (described) 2504 3576 w (above,) 2915 3576 w (and) 3207 3576 w (then) 3380 3576 w (raises) 3581 3576 w (the) 3837 3576 w (former) 3988 3576 w (and) 4288 3576 w (lowers) 4461 3576 w (the) 4756 3576 w (lat\255) 4907 3576 w (ter as needed to limit the expansion to the amount you specified.) 720 3696 w (When) 720 3852 w 10 /Times-Bold f (pnmnorm) 983 3852 w 10 /Times-Roman f (limits the expansion due to) 1436 3852 w 10 /Times-Bold f (\255maxexpand) 2539 3852 w 10 /Times-Roman f (, it tells you about it with a message like this:) 3067 3852 w 10 /Courier f (limiting expansion of 150% to 50%) 960 4032 w 10 /Times-Roman f (In any case,) 720 4248 w 10 /Times-Bold f (pnmnorm) 1218 4248 w 10 /Times-Roman f (tells you exactly what expansion it's doing, like this:) 1671 4248 w 10 /Courier f (remapping 25..75 to 0..100) 960 4428 w 10 /Times-Roman f (Before) 720 4644 w (Netpbm) 1018 4644 w (10.26) 1367 4644 w (\(December) 1619 4644 w (2004\),) 2088 4644 w (it) 2373 4644 w (was) 2456 4644 w (not) 2638 4644 w (valid) 2793 4644 w (to) 3020 4644 w (specify) 3125 4644 w (both) 3440 4644 w 10 /Times-Bold f (\255bvalue) 3645 4644 w 10 /Times-Roman f (and) 3989 4644 w 10 /Times-Bold f (\255bpercent) 4160 4644 w 10 /Times-Roman f (or) 4597 4644 w 10 /Times-Bold f (\255wvalue) 4707 4644 w 10 /Times-Roman f (and) 720 4764 w 10 /Times-Bold f (\255wpercent) 889 4764 w 10 /Times-Roman f (.) 1315 4764 w 10 /Times-Bold f (\255maxexpand) 720 4920 w 10 /Times-Roman f (was new in Netpbm 10.32 \(February 2006\).) 1273 4920 w (The) 720 5076 w 10 /Times-Bold f (\255keephues) 906 5076 w 10 /Times-Roman f (option) 1365 5076 w (says) 1652 5076 w (to) 1855 5076 w (keep) 1964 5076 w (each) 2184 5076 w (pixel) 2398 5076 w (the) 2630 5076 w (same) 2784 5076 w (hue) 3021 5076 w (as) 3197 5076 w (it) 3312 5076 w (is) 3400 5076 w (in) 3499 5076 w (the) 3609 5076 w (input;) 3763 5076 w (just) 4029 5076 w (adjust) 4206 5076 w (its) 4477 5076 w (brightness.) 4604 5076 w (You) 720 5196 w (normally) 931 5196 w (want) 1331 5196 w (this;) 1564 5196 w (the) 1776 5196 w (only) 1937 5196 w (reason) 2153 5196 w (it) 2451 5196 w (is) 2545 5196 w (not) 2650 5196 w (the) 2816 5196 w (default) 2976 5196 w (behavior) 3291 5196 w (is) 3678 5196 w (backward) 3783 5196 w (compatibility) 4208 5196 w (with) 4780 5196 w (a) 4996 5196 w (design mistake.) 720 5316 w (By) 720 5472 w (default,) 872 5472 w 10 /Times-Bold f (pnmnorm) 1209 5472 w 10 /Times-Roman f (normalizes) 1672 5472 w (contrast) 2145 5472 w (in) 2496 5472 w (each) 2609 5472 w (component) 2826 5472 w (independently) 3305 5472 w (\(except) 3906 5472 w (that) 4234 5472 w (the) 4419 5472 w (meaning) 4577 5472 w (of) 4957 5472 w (the) 720 5592 w 10 /Times-Bold f (\255wpercent) 873 5592 w 10 /Times-Roman f (and) 1330 5592 w 10 /Times-Bold f (\255bpercent) 1505 5592 w 10 /Times-Roman f (options) 1946 5592 w (are) 2272 5592 w (based) 2424 5592 w (on) 2682 5592 w (the) 2813 5592 w (overall) 2966 5592 w (brightnesses) 3274 5592 w (of) 3799 5592 w (the) 3913 5592 w (colors,) 4066 5592 w (not) 4365 5592 w (each) 4523 5592 w (compo\255) 4735 5592 w (nent) 720 5712 w (taken) 927 5712 w (separately\).) 1178 5712 w (So) 1700 5712 w (if) 1841 5712 w (you) 1937 5712 w (have) 2122 5712 w (a) 2346 5712 w (color) 2426 5712 w (which) 2667 5712 w (is) 2947 5712 w (intensely) 3050 5712 w (red) 3447 5712 w (but) 3610 5712 w (dimly) 3774 5712 w (green,) 4044 5712 w 10 /Times-Bold f (pnmnorm) 4326 5712 w 10 /Times-Roman f (would) 4790 5712 w (make) 720 5832 w (the) 969 5832 w (red) 1124 5832 w (more) 1283 5832 w (intense) 1520 5832 w (and) 1835 5832 w (the) 2011 5832 w (green) 2165 5832 w (less) 2418 5832 w (intense,) 2600 5832 w (so) 2940 5832 w (you) 3061 5832 w (end) 3243 5832 w (up) 3419 5832 w (with) 3551 5832 w (a) 3761 5832 w (different) 3837 5832 w (hue) 4212 5832 w (than) 4388 5832 w (you) 4592 5832 w (started) 4774 5832 w (with.) 720 5952 w (If) 720 6108 w (you) 826 6108 w (specify) 1016 6108 w 10 /Times-Bold f (\255keephues) 1344 6108 w 10 /Times-Roman f (,) 1772 6108 w 10 /Times-Bold f (pnmnorm) 1837 6108 w 10 /Times-Roman f (would) 2305 6108 w (likely) 2595 6108 w (leave) 2863 6108 w (this) 3113 6108 w (pixel) 3298 6108 w (alone,) 3539 6108 w (since) 3821 6108 w (its) 4067 6108 w (overall) 4203 6108 w (brightness) 4521 6108 w (is) 4973 6108 w (medium.) 720 6228 w 10 /Times-Bold f (\255keephues) 720 6384 w 10 /Times-Roman f (can) 1174 6384 w (cause) 1338 6384 w (clipping,) 1585 6384 w (because) 1964 6384 w (a) 2305 6384 w (certain) 2375 6384 w (color) 2672 6384 w (may) 2903 6384 w (be) 3101 6384 w (below) 3221 6384 w (a) 3491 6384 w (target) 3561 6384 w (intensity) 3814 6384 w (while) 4185 6384 w (one) 4433 6384 w (of) 4603 6384 w (its) 4713 6384 w (com\255) 4835 6384 w (ponents) 720 6504 w (is) 1066 6504 w (saturated.) 1168 6504 w (Where) 1613 6504 w (that's) 1913 6504 w (the) 2170 6504 w (case,) 2327 6504 w 10 /Times-Bold f (pnmnorm) 2558 6504 w 10 /Times-Roman f (uses) 3021 6504 w (the) 3228 6504 w (maximum) 3384 6504 w (representable) 3824 6504 w (intensity) 4389 6504 w (for) 4768 6504 w (the) 4918 6504 w (saturated) 720 6624 w (component) 1114 6624 w (and) 1592 6624 w (the) 1770 6624 w (pixel) 1926 6624 w (ends) 2160 6624 w (up) 2378 6624 w (with) 2513 6624 w (less) 2726 6624 w (overall) 2911 6624 w (intensity,) 3223 6624 w (and) 3628 6624 w (a) 3807 6624 w (different) 3886 6624 w (hue,) 4264 6624 w (than) 4468 6624 w (it) 4675 6624 w (is) 4766 6624 w (sup\255) 4868 6624 w (posed to have.) 720 6744 w (This option is meaningless on grayscale images.) 720 6900 w (When) 720 7056 w (you) 985 7056 w (don't) 1162 7056 w (specify) 1400 7056 w 10 /Times-Bold f (\255keephues) 1716 7056 w 10 /Times-Roman f (,) 2144 7056 w (the) 2197 7056 w 10 /Times-Bold f (\255luminosity) 2347 7056 w 10 /Times-Roman f (,) 2831 7056 w 10 /Times-Bold f (\255colorvalue) 2884 7056 w 10 /Times-Roman f (,) 3361 7056 w (and) 3414 7056 w 10 /Times-Bold f (\255saturation) 3586 7056 w 10 /Times-Roman f (options) 4086 7056 w (affect) 4409 7056 w (the) 4663 7056 w (trans\255) 4813 7056 w (fer) 720 7176 w (function) 871 7176 w (\(which) 1245 7176 w (is) 1563 7176 w (the) 1671 7176 w (same) 1834 7176 w (for) 2080 7176 w (all) 2237 7176 w (three) 2378 7176 w (RGB) 2618 7176 w (components\),) 2865 7176 w (but) 3447 7176 w (are) 3616 7176 w (meaningless) 3778 7176 w (when) 4313 7176 w (it) 4570 7176 w (comes) 4667 7176 w (to) 4962 7176 w (applying the transfer function \(since it is applied to each individual RGB component\).) 720 7296 w cleartomark showpage saveobj restore %%EndPage: 2 2 %%Page: 3 3 /saveobj save def mark 3 pagesetup 10 /Times-Roman f (\255 3 \255) 2797 480 w (Before Netpbm 9.25 \(March 2002\), there was no) 720 840 w 10 /Times-Bold f (\255keephues) 2693 840 w 10 /Times-Roman f (option.) 3146 840 w 10 /Times-Bold f (\255luminosity) 720 996 w 10 /Times-Roman f (,) 1204 996 w 10 /Times-Bold f (\255colorvalue) 1267 996 w 10 /Times-Roman f (,) 1744 996 w (and) 1807 996 w 10 /Times-Bold f (\255saturation) 1990 996 w 10 /Times-Roman f (determine) 2501 996 w (what) 2939 996 w (property) 3172 996 w (of) 3549 996 w (the) 3671 996 w (pixels) 3832 996 w 10 /Times-Bold f (pnmnorm) 4110 996 w 10 /Times-Roman f (normalizes.) 4577 996 w (I.e., what kind of brightness.) 720 1116 w (You cannot specify more than one of these.) 1913 1116 w (The) 720 1272 w 10 /Times-Bold f (\255luminosity) 907 1272 w 10 /Times-Roman f (option) 1423 1272 w (says) 1711 1272 w (to) 1915 1272 w (use) 2025 1272 w (the) 2190 1272 w (luminosity) 2344 1272 w (\(i.e.) 2805 1272 w (the) 2992 1272 w ("Y") 3146 1272 w (in) 3332 1272 w (the) 3442 1272 w (YUV) 3596 1272 w (or) 3844 1272 w (YCbCr) 3959 1272 w (color) 4280 1272 w (space\)) 4517 1272 w (as) 4803 1272 w (the) 4918 1272 w (pixel's) 720 1392 w (brightness.) 1028 1392 w (The) 1525 1392 w (luminosity) 1716 1392 w (is) 2181 1392 w (a) 2283 1392 w (measure) 2362 1392 w (of) 2729 1392 w (how) 2847 1392 w (bright) 3054 1392 w (a) 3328 1392 w (human) 3407 1392 w (eye) 3714 1392 w (would) 3887 1392 w (find) 4172 1392 w (the) 4368 1392 w (color,) 4525 1392 w (taking) 4790 1392 w (into account the fact that the human eye is more sensitive to some RGB components than others.) 720 1512 w (This option is default.) 720 1668 w (This option is meaningless on grayscale images.) 720 1824 w (Before Netpbm 10.28 \(August 2005\), there was no) 720 1980 w 10 /Times-Bold f (\255luminosity) 2772 1980 w 10 /Times-Roman f (option, but its meaning was still the default.) 3281 1980 w (Before Netpbm 10.28 \(August 2005\), there was no) 720 2136 w 10 /Times-Bold f (\255colorvalue) 2772 2136 w 10 /Times-Roman f (option.) 3274 2136 w (The) 720 2292 w 10 /Times-Bold f (\255colorvalue) 913 2292 w 10 /Times-Roman f (option) 1428 2292 w (says) 1723 2292 w (to) 1934 2292 w (use) 2051 2292 w (the) 2223 2292 w (color) 2384 2292 w (value) 2628 2292 w (\(i.e.) 2883 2292 w (the) 3077 2292 w ("V") 3238 2292 w (in) 3431 2292 w (the) 3548 2292 w (HSV) 3709 2292 w (color) 3948 2292 w (space\)) 4192 2292 w (as) 4485 2292 w (the) 4607 2292 w (pixel's) 4768 2292 w (brightness.) 720 2412 w (The color value is the gamma\255adjusted intensity of the most intense RGB component.) 1206 2412 w (This option is meaningless on grayscale images.) 720 2568 w (Before Netpbm 10.28 \(August 2005\), there was no) 720 2724 w 10 /Times-Bold f (\255colorvalue) 2772 2724 w 10 /Times-Roman f (option.) 3274 2724 w (The) 720 2880 w 10 /Times-Bold f (\255saturation) 902 2880 w 10 /Times-Roman f (option) 1401 2880 w (says) 1684 2880 w (to) 1883 2880 w (use) 1988 2880 w (the) 2148 2880 w (saturation) 2297 2880 w (\(i.e.) 2718 2880 w (the) 2900 2880 w ("S") 3049 2880 w (in) 3214 2880 w (the) 3319 2880 w (HSV) 3468 2880 w (color) 3695 2880 w (space\)) 3927 2880 w (as) 4208 2880 w (the) 4318 2880 w (pixel's) 4468 2880 w (bright\255) 4768 2880 w (ness.) 720 3000 w (The) 983 3000 w (saturation) 1179 3000 w (is) 1614 3000 w (the) 1722 3000 w (ratio) 1885 3000 w (of) 2109 3000 w (the) 2233 3000 w (intensity) 2396 3000 w (of) 2782 3000 w (the) 2906 3000 w (most) 3069 3000 w (intense) 3304 3000 w (RGB) 3627 3000 w (component) 3873 3000 w (to) 4357 3000 w (the) 4475 3000 w (difference) 4637 3000 w (between the intensities of the most and least intense RGB component \(all intensities gamma\255adjusted\).) 720 3120 w (In) 720 3276 w (this) 831 3276 w (case,) 1004 3276 w ("brightness") 1228 3276 w (is) 1750 3276 w (more) 1846 3276 w (of) 2080 3276 w (a) 2192 3276 w (metaphor) 2265 3276 w (than) 2671 3276 w (anything.) 2872 3276 w ("bright") 3301 3276 w (means) 3651 3276 w (saturated) 3935 3276 w (and) 4324 3276 w ("dark") 4497 3276 w (means) 4785 3276 w (unsaturated.) 720 3396 w (This option is meaningless on grayscale images.) 720 3552 w (Before Netpbm 10.28 \(August 2005\), there was no) 720 3708 w 10 /Times-Bold f (\255colorvalue) 2772 3708 w 10 /Times-Roman f (option.) 3274 3708 w 10 /Times-Bold f (SEE ALSO) 720 3948 w (pnmhisteq) 720 4104 w 10 /Times-Roman f (,) 1171 4104 w 10 /Times-Bold f (ppmhist) 1221 4104 w 10 /Times-Roman f (,) 1572 4104 w 10 /Times-Bold f (pgmhist) 1622 4104 w 10 /Times-Roman f (,) 1967 4104 w 10 /Times-Bold f (pnmgamma) 2017 4104 w 10 /Times-Roman f (,) 2528 4104 w 10 /Times-Bold f (ppmbrighten) 2578 4104 w 10 /Times-Roman f (,) 3140 4104 w 10 /Times-Bold f (ppmdim) 3190 4104 w 10 /Times-Roman f (,) 3552 4104 w 10 /Times-Bold f (pnm) 3602 4104 w 10 /S1 f (________________________________________________________________________) 720 4224 w 10 /Times-Bold f (Table Of Contents) 720 4464 w 10 /LucidaSansUnicode22 f (\031) 720 4656 w 10 /Times-Roman f (SYNOPSIS) 970 4656 w 10 /LucidaSansUnicode22 f (\031) 720 4812 w 10 /Times-Roman f (DESCRIPTION) 970 4812 w 10 /LucidaSansUnicode22 f (\031) 720 4968 w 10 /Times-Roman f (OPTIONS) 970 4968 w 10 /LucidaSansUnicode22 f (\031) 720 5124 w 10 /Times-Roman f (SEE ALSO) 970 5124 w cleartomark showpage saveobj restore %%EndPage: 3 3 %%Trailer done %%DocumentFonts: Times-Roman LucidaSansUnicode22 Times-Italic Times-Bold Courier S1 S %%Pages: 3