%!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 (Ppmcolormask User) 2143 1230 w (Manual) 3216 1230 w 10 /Times-Bold f (ppmcolormask) 720 1920 w 10 /Times-Roman f (Updated: 1 May 2006) 720 2076 w (Table Of Contents) 720 2196 w 10 /Times-Bold f (NAME) 720 2436 w 10 /Times-Roman f (ppmcolormask \255 produce mask of areas of a certain color in a PPM file) 720 2592 w 10 /Times-Bold f (SYNOPSIS) 720 2832 w (ppmcolormask \255color=) 720 2988 w 10 /Times-Italic f (color) 1690 2988 w 10 /S f (_) 1901 2988 w 10 /Times-Italic f (list) 1951 2988 w 10 /Times-Roman f ([) 2099 2988 w 10 /Times-Italic f (ppmfile) 2132 2988 w 10 /Times-Roman f (]) 2432 2988 w (Obsolete:) 720 3144 w 10 /Times-Bold f (ppmcolormask) 720 3300 w 10 /Times-Italic f (color) 1384 3300 w 10 /Times-Roman f ([) 1620 3300 w 10 /Times-Italic f (ppmfile) 1653 3300 w 10 /Times-Roman f (]) 1953 3300 w 10 /Times-Bold f (EXAMPLES) 720 3540 w 10 /Times-Roman f (ppmcolormask \255color red testimg.ppm >redmask.pbm) 820 3756 w (pamcomp background.ppm testimg.ppm \255alpha=redmask.pbm >test.ppm) 820 3876 w (ppmcolormask \255color=red,pink,salmon testimg.ppm >reddishmask.pbm) 820 3996 w (ppmcolormask \255color=bk:red,bk:orange,bk:yellow testimg.ppm >firemask.pbm) 820 4116 w 10 /Times-Bold f (DESCRIPTION) 720 4416 w 10 /Times-Roman f (This program is part of Netpbm.) 720 4608 w 10 /Times-Bold f (ppmcolormask) 720 4764 w 10 /Times-Roman f (reads) 1390 4764 w (a) 1631 4764 w (PPM) 1706 4764 w (file) 1938 4764 w (as) 2102 4764 w (input) 2216 4764 w (and) 2453 4764 w (produces) 2628 4764 w (a) 3019 4764 w (PBM) 3095 4764 w (\(bitmap\)) 3339 4764 w (file) 3715 4764 w (as) 3880 4764 w (output.) 3995 4764 w (The) 4333 4764 w (output) 4520 4764 w (file) 4808 4764 w (is) 4973 4764 w (the) 720 4884 w (same) 874 4884 w (dimensions) 1111 4884 w (as) 1598 4884 w (the) 1712 4884 w (input) 1865 4884 w (file) 2102 4884 w (and) 2266 4884 w (is) 2441 4884 w (black) 2539 4884 w (in) 2786 4884 w (all) 2895 4884 w (places) 3026 4884 w (where) 3306 4884 w (the) 3580 4884 w (input) 3733 4884 w (file) 3970 4884 w (is) 4134 4884 w (a) 4232 4884 w (color) 4307 4884 w (indicated) 4543 4884 w (by) 4940 4884 w (the) 720 5004 w 10 /Times-Bold f (\255color) 867 5004 w 10 /Times-Roman f (option, and white everywhere else.) 1141 5004 w (The) 720 5160 w (output) 907 5160 w (of) 1195 5160 w 10 /Times-Bold f (ppmcolormask) 1310 5160 w 10 /Times-Roman f (is) 1981 5160 w (useful) 2080 5160 w (as) 2356 5160 w (an) 2471 5160 w (alpha) 2597 5160 w (mask) 2845 5160 w (input) 3088 5160 w (to) 3326 5160 w 10 /Times-Bold f (pamcomp) 3436 5160 w 10 /Times-Roman f (.) 3858 5160 w (Note) 3940 5160 w (that) 4166 5160 w (you) 4349 5160 w (can) 4532 5160 w (generate) 4703 5160 w (such) 720 5280 w (an) 939 5280 w (alpha) 1069 5280 w (mask) 1321 5280 w (automatically) 1568 5280 w (as) 2148 5280 w (you) 2267 5280 w (convert) 2453 5280 w (to) 2788 5280 w (PNG) 2902 5280 w (format) 3138 5280 w (with) 3440 5280 w 10 /Times-Bold f (pnmtopng) 3654 5280 w 10 /Times-Roman f (.) 4094 5280 w (Use) 4180 5280 w (its) 4371 5280 w 10 /Times-Bold f (\255transparent) 4502 5280 w 10 /Times-Roman f (option.) 720 5400 w 10 /Times-Italic f (ppmfile) 720 5556 w 10 /Times-Roman f (is the input file.) 1045 5556 w (If you don't specify) 1723 5556 w 10 /Times-Italic f (ppmfile) 2538 5556 w 10 /Times-Roman f (, the input is from Standard Input.) 2838 5556 w (The output goes to Standard Output.) 720 5712 w (In the obsolete alternative syntax, specifying the) 720 5868 w 10 /Times-Italic f (color) 2678 5868 w 10 /Times-Roman f (names a single exact color to be masked.) 2914 5868 w 10 /Times-Bold f (ppmchange) 720 6024 w 10 /Times-Roman f (does) 1245 6024 w (a) 1458 6024 w (similar) 1532 6024 w (thing:) 1840 6024 w (it) 2104 6024 w (modifies) 2190 6024 w (an) 2570 6024 w (image) 2694 6024 w (by) 2968 6024 w (changing) 3098 6024 w (colors) 3495 6024 w (you) 3770 6024 w (specify) 3951 6024 w (to) 4270 6024 w (other) 4379 6024 w (colors) 4615 6024 w (you) 4890 6024 w (specify.) 720 6144 w (The two programs give you somewhat different means of specifying colors in the input image.) 1083 6144 w 10 /Times-Bold f (OPTIONS) 720 6384 w (\255color=) 970 6576 w 10 /Times-Italic f (color) 1276 6576 w 10 /S f (_) 1487 6576 w 10 /Times-Italic f (list) 1537 6576 w 10 /Times-Roman f (This) 1660 6576 w (mandatory) 1869 6576 w (option) 2327 6576 w (specifies) 2615 6576 w (the) 2996 6576 w (colors) 3150 6576 w (that) 3426 6576 w (are) 3608 6576 w (to) 3761 6576 w (be) 3871 6576 w (masked) 3997 6576 w (\(where) 4334 6576 w (the) 4642 6576 w (image) 4796 6576 w (is one of these colors, the output mask will be black\).) 1220 6696 w (Examples:) 970 6852 w 10 /LucidaSansUnicode22 f (\031) 970 7008 w 10 /Times-Bold f (\255color=red) 1220 7008 w 10 /LucidaSansUnicode22 f (\031) 970 7164 w 10 /Times-Bold f (\255color=red,pink,salmon) 1220 7164 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 /LucidaSansUnicode22 f (\031) 970 840 w 10 /Times-Bold f (\255color=rgb:80/80/ff) 1220 840 w 10 /LucidaSansUnicode22 f (\031) 970 996 w 10 /Times-Bold f (\255color=bk:red,bk:orange,bk:yellow) 1220 996 w 10 /Times-Italic f (color) 970 1188 w 10 /S f (_) 1181 1188 w 10 /Times-Italic f (list) 1231 1188 w 10 /Times-Roman f (is) 1398 1188 w (a) 1509 1188 w (list) 1597 1188 w (of) 1764 1188 w (colors) 1891 1188 w (separated) 2180 1188 w (by) 2601 1188 w (commas.) 2746 1188 w (Each) 3174 1188 w (color) 3418 1188 w (is) 3668 1188 w (either) 3780 1188 w (an) 4052 1188 w (exact) 4191 1188 w (color) 4446 1188 w (name) 4696 1188 w (as) 4957 1188 w (described) 970 1308 w (for) 1386 1308 w (the) 1536 1308 w (argument) 1692 1308 w (of) 2103 1308 w (the) 2220 1308 w 10 /Times-Bold f (ppm) 2376 1308 w 10 /S f (_) 2571 1308 w 10 /Times-Bold f (parsecolor\(\)) 2621 1308 w 10 /Times-Roman f (library) 3170 1308 w (routine) 3470 1308 w (or) 3787 1308 w (one) 3904 1308 w (of) 4082 1308 w (the) 4198 1308 w (Berlin\255Kay) 4353 1308 w (color) 4835 1308 w (names.) 970 1428 w (In) 1304 1428 w (the) 1416 1428 w (latter) 1567 1428 w (case,) 1801 1428 w (all) 2026 1428 w (colors) 2155 1428 w (that) 2428 1428 w (are) 2607 1428 w (better) 2757 1428 w (described) 3013 1428 w (by) 3424 1428 w (that) 3554 1428 w (Berlin\255Kay) 3734 1428 w (color) 4213 1428 w (name) 4448 1428 w (than) 4694 1428 w (any) 4896 1428 w (other are in the mask set.) 970 1548 w (The) 970 1704 w (algorithm) 1154 1704 w 10 /Times-Bold f (ppmcolormask) 1572 1704 w 10 /Times-Roman f (uses) 2240 1704 w (to) 2441 1704 w (determine) 2548 1704 w (to) 2976 1704 w (which) 3083 1704 w (colors) 3356 1704 w (a) 3629 1704 w (Berlin\255Kay) 3702 1704 w (color) 4180 1704 w (name) 4414 1704 w (applies) 4660 1704 w (is) 4973 1704 w (based) 970 1824 w (on) 1231 1824 w (a) 1365 1824 w (Sugeno\255type) 1443 1824 w (fuzzy) 1982 1824 w (inference) 2237 1824 w (system) 2641 1824 w (developed) 2953 1824 w (by) 3396 1824 w (Kenan) 3529 1824 w (Kalajdzic) 3822 1824 w (in) 4237 1824 w (2006.) 4348 1824 w (The) 4631 1824 w (fuzzy) 4819 1824 w (model) 970 1944 w (consists) 1253 1944 w (of) 1604 1944 w (partially) 1721 1944 w (linear) 2088 1944 w (membership) 2349 1944 w (functions) 2877 1944 w (defined) 3283 1944 w (in) 3616 1944 w (the) 3728 1944 w (HSV) 3884 1944 w (color) 4118 1944 w (space.) 4357 1944 w (Although) 4662 1944 w (more) 970 2064 w (complex) 1204 2064 w (algorithms) 1577 2064 w (for) 2034 2064 w (fuzzy) 2179 2064 w (color) 2429 2064 w (matching) 2663 2064 w (exist,) 3064 2064 w (this) 3307 2064 w (algorithm) 3481 2064 w (is) 3899 2064 w (intentionally) 3994 2064 w (simplified) 4528 2064 w (to) 4962 2064 w (achieve a satisfactory speed using relatively compact code.) 970 2184 w (This) 970 2340 w (option) 1182 2340 w (was) 1472 2340 w (new) 1661 2340 w (in) 1862 2340 w (Netpbm) 1975 2340 w (10.34) 2332 2340 w (\(June) 2592 2340 w (2006\).) 2843 2340 w (Before) 3161 2340 w (that,) 3467 2340 w (you) 3677 2340 w (must) 3862 2340 w (use) 4092 2340 w (the) 4260 2340 w 10 /Times-Italic f (color) 4417 2340 w 10 /Times-Roman f (argument) 4663 2340 w (and cannot specify a Berlin\255Kay color.) 970 2460 w 10 /Times-Bold f (SEE ALSO) 720 2700 w (ppmchange) 720 2856 w 10 /Times-Roman f (,) 1215 2856 w 10 /Times-Bold f (pgmtoppm) 1265 2856 w 10 /Times-Roman f (,) 1732 2856 w 10 /Times-Bold f (pamcomp) 1782 2856 w 10 /Times-Roman f (,) 2204 2856 w 10 /Times-Bold f (pbmmask) 2254 2856 w 10 /Times-Roman f (,) 2677 2856 w 10 /Times-Bold f (ppm) 2727 2856 w 10 /S1 f (________________________________________________________________________) 720 2976 w 10 /Times-Bold f (Table Of Contents) 720 3216 w 10 /LucidaSansUnicode22 f (\031) 720 3408 w 10 /Times-Roman f (SYNOPSIS) 970 3408 w 10 /LucidaSansUnicode22 f (\031) 720 3564 w 10 /Times-Roman f (EXAMPLES) 970 3564 w 10 /LucidaSansUnicode22 f (\031) 720 3720 w 10 /Times-Roman f (DESCRIPTION) 970 3720 w 10 /LucidaSansUnicode22 f (\031) 720 3876 w 10 /Times-Roman f (SEE ALSO) 970 3876 w 10 /LucidaSansUnicode22 f (\031) 720 4032 w 10 /Times-Roman f (AUTHOR) 970 4032 w cleartomark showpage saveobj restore %%EndPage: 2 2 %%Trailer done %%DocumentFonts: Times-Roman LucidaSansUnicode22 Times-Italic Times-Bold S1 S %%Pages: 2