%!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 (Pambayer) 2267 1230 w (User) 2823 1230 w (Manual) 3092 1230 w 10 /Times-Bold f (pambayer) 720 1920 w 10 /Times-Roman f (Updated: 18 August 2005) 720 2076 w (Table Of Contents) 720 2196 w 10 /Times-Bold f (NAME) 720 2436 w 10 /Times-Roman f (pambayer \255 interpret Bayer patterns) 720 2592 w 10 /Times-Bold f (SYNOPSIS) 720 2832 w (pambayer \255type=) 720 2988 w 10 /Times-Roman f ({) 1451 2988 w 10 /Times-Bold f (1) 1499 2988 w 10 /Times-Roman f (,) 1549 2988 w 10 /Times-Bold f (2) 1599 2988 w 10 /Times-Roman f (,) 1649 2988 w 10 /Times-Bold f (3) 1699 2988 w 10 /Times-Roman f (,) 1749 2988 w 10 /Times-Bold f (4) 1799 2988 w 10 /Times-Roman f (} [) 1849 2988 w 10 /Times-Italic f (pamfile) 1955 2988 w 10 /Times-Roman f (]) 2255 2988 w (Minimum) 720 3144 w (unique) 1162 3144 w (abbreviation) 1475 3144 w (of) 2015 3144 w (option) 2140 3144 w (is) 2438 3144 w (acceptable.) 2547 3144 w (You) 3059 3144 w (may) 3273 3144 w (use) 3487 3144 w (double) 3662 3144 w (hyphens) 3976 3144 w (instead) 4351 3144 w (of) 4676 3144 w (single) 4801 3144 w (hyphen) 720 3264 w (to) 1042 3264 w (denote) 1148 3264 w (options.) 1442 3264 w (You) 1815 3264 w (may) 2015 3264 w (use) 2215 3264 w (white) 2376 3264 w (space) 2626 3264 w (in) 2875 3264 w (place) 2981 3264 w (of) 3219 3264 w (the) 3330 3264 w (equals) 3480 3264 w (sign) 3763 3264 w (to) 3958 3264 w (separate) 4064 3264 w (an) 4418 3264 w (option) 4540 3264 w (name) 4824 3264 w (from its value.) 720 3384 w 10 /Times-Bold f (DESCRIPTION) 720 3624 w 10 /Times-Roman f (This program is part of Netpbm.) 720 3816 w 10 /Times-Bold f (pambayer) 720 3972 w 10 /Times-Roman f (reads) 1181 3972 w (a) 1419 3972 w (Bayer) 1491 3972 w (pattern) 1757 3972 w (in) 2062 3972 w (a) 2168 3972 w (1\255deep) 2240 3972 w (Netpbm) 2539 3972 w (image) 2889 3972 w (and) 3161 3972 w (produces) 3334 3972 w (a) 3723 3972 w (color) 3796 3972 w (image) 4030 3972 w (in) 4303 3972 w (PAM) 4410 3972 w (RGB) 4656 3972 w (for\255) 4891 3972 w (mat as output.) 720 4092 w (A) 720 4248 w (Bayer) 825 4248 w (pattern) 1097 4248 w (is) 1408 4248 w (what) 1509 4248 w (you) 1737 4248 w (get) 1921 4248 w (from) 2077 4248 w (the) 2305 4248 w (optical) 2461 4248 w (sensor) 2767 4248 w (in) 3056 4248 w (some) 3168 4248 w (digital) 3413 4248 w (cameras.) 3703 4248 w (Such) 4113 4248 w (a) 4347 4248 w (camera) 4425 4248 w (doesn't) 4746 4248 w (have) 720 4368 w (a) 935 4368 w (red,) 1006 4368 w (green,) 1185 4368 w (and) 1458 4368 w (blue) 1629 4368 w (sensor) 1828 4368 w (in) 2110 4368 w (the) 2215 4368 w (exact) 2363 4368 w (same) 2599 4368 w (place) 2830 4368 w (for) 3066 4368 w (an) 3208 4368 w (individual) 3328 4368 w (pixel.) 3760 4368 w (Instead,) 4036 4368 w (it) 4375 4368 w (has) 4457 4368 w (red,) 4616 4368 w (green,) 4794 4368 w (and) 720 4488 w (blue) 897 4488 w (sensors) 1102 4488 w (laid) 1429 4488 w (out) 1612 4488 w (in) 1773 4488 w (a) 1884 4488 w (two) 1961 4488 w (dimensional) 2144 4488 w (array.) 2666 4488 w (The) 2953 4488 w (pattern) 3141 4488 w (in) 3451 4488 w (which) 3562 4488 w (they) 3839 4488 w (are) 4044 4488 w (laid) 4199 4488 w (out) 4383 4488 w (is) 4545 4488 w (the) 4646 4488 w (Bayer) 4802 4488 w (pattern.) 720 4608 w (The) 1081 4608 w (input) 1270 4608 w (to) 1510 4608 w 10 /Times-Bold f (pambayer) 1622 4608 w 10 /Times-Roman f (is) 2089 4608 w (one) 2190 4608 w (sample) 2368 4608 w (value) 2685 4608 w (for) 2935 4608 w (each) 3085 4608 w (of) 3301 4608 w (those) 3417 4608 w (sensors,) 3661 4608 w (so) 4013 4608 w (some) 4135 4608 w (samples) 4379 4608 w (are) 4734 4608 w (red,) 4888 4608 w (some are green, and some are blue.) 720 4728 w (The) 720 4884 w (input) 904 4884 w (image) 1139 4884 w (is) 1413 4884 w (a) 1510 4884 w (PNM) 1584 4884 w (image) 1831 4884 w (or) 2105 4884 w (PAM) 2218 4884 w (image) 2465 4884 w (of) 2739 4884 w (arbitrary) 2852 4884 w (tuple) 3225 4884 w (type.) 3455 4884 w 10 /Times-Bold f (pambayer) 3707 4884 w 10 /Times-Roman f (looks) 4170 4884 w (at) 4417 4884 w (only) 4519 4884 w (the) 4727 4884 w (first) 4879 4884 w (plane of the input.) 720 5004 w (The) 720 5160 w (output) 903 5160 w (image) 1187 5160 w (is) 1459 5160 w (a) 1554 5160 w (PAM) 1626 5160 w (image) 1871 5160 w (of) 2143 5160 w (tuple) 2254 5160 w (type) 2483 5160 w ("RGB",) 2684 5160 w (i.e.) 3026 5160 w (a) 3202 5160 w (standard) 3275 5160 w (color) 3642 5160 w (image.) 3876 5160 w (You) 4199 5160 w (can) 4400 5160 w (convert) 4567 5160 w (this) 4895 5160 w (to PPM with) 720 5280 w 10 /Times-Bold f (pamtopnm) 1252 5280 w 10 /Times-Roman f (.) 1719 5280 w (If you're interested in just one of the primary colors, use) 720 5436 w 10 /Times-Bold f (pamchannel) 2999 5436 w 10 /Times-Roman f (on the output of) 3547 5436 w 10 /Times-Bold f (pambayer) 4208 5436 w 10 /Times-Roman f (to extract) 4666 5436 w (it.) 720 5556 w 10 /Times-Bold f (OPTIONS) 720 5796 w (type=) 970 5988 w 10 /Times-Italic f (n) 1210 5988 w 10 /Times-Roman f (This tells which Bayer pattern the input is:) 1260 5988 w (1) 1220 6144 w (GBG/RGR/GBG matrix) 1470 6144 w (2) 1220 6300 w (RGR/GBG/RGR matrix) 1470 6300 w (3) 1220 6456 w (BGB/GRG/BGB matrix) 1470 6456 w (4) 1220 6612 w (GRG/BGB/GRG matrix) 1470 6612 w (This option is mandatory.) 970 6732 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 (SEE ALSO) 720 840 w (cameratopam pam) 720 996 w (HISTORY) 720 1236 w (pambayer) 720 1428 w 10 /Times-Roman f (was new in Netpbm 10.30 \(October 2005\).) 1178 1428 w 10 /S1 f (________________________________________________________________________) 720 1548 w 10 /Times-Bold f (Table Of Contents) 720 1788 w 10 /LucidaSansUnicode22 f (\031) 720 1980 w 10 /Times-Roman f (NAME) 970 1980 w 10 /LucidaSansUnicode22 f (\031) 720 2136 w 10 /Times-Roman f (SYNOPSIS) 970 2136 w 10 /LucidaSansUnicode22 f (\031) 720 2292 w 10 /Times-Roman f (OPTIONS) 970 2292 w 10 /LucidaSansUnicode22 f (\031) 720 2448 w 10 /Times-Roman f (DESCRIPTION) 970 2448 w 10 /LucidaSansUnicode22 f (\031) 720 2604 w 10 /Times-Roman f (SEE ALSO) 970 2604 w 10 /LucidaSansUnicode22 f (\031) 720 2760 w 10 /Times-Roman f (HISTORY) 970 2760 w cleartomark showpage saveobj restore %%EndPage: 2 2 %%Trailer done %%DocumentFonts: Times-Roman LucidaSansUnicode22 Times-Italic Times-Bold S1 %%Pages: 2