.\" This man page was generated by the Netpbm tool 'makeman' from HTML source. Pambayer User Manual - Online Linux Manual PageSection : 0
Updated : 18 August 2005
Source : netpbm documentation

NAMEpambayer - interpret Bayer patterns .UN synopsis

SYNOPSISpambayer -type={1|2|3|4} [-nointerpolate] [pamfile] Minimum unique abbreviation of option is acceptable. You may use double hyphens instead of single hyphen to denote options. You may use white space in place of the equals sign to separate an option name from its value. .UN description

DESCRIPTIONThis program is part of Netpbm(1)​. pambayer reads a Bayer pattern in a 1-deep Netpbm image and produces a color image in PAM RGB format as output. A Bayer pattern is what you get from the optical sensor in some digital cameras. Such a camera doesn't have a red, green, and blue sensor in the exact same place for an individual pixel. Instead, it has red, green, and blue sensors laid out in a two dimensional array. The pattern in which they are laid out is the Bayer pattern. The input to pambayer is one sample value for each of those sensors, so some samples are red, some are green, and some are blue. pambayer turns that into a regular visual image with one pixel per sensor. For the two components of each pixel that are missing in the corresponding Bayer input, pambayer averages the sample values from the adjacent pixels that do have that component. But you can have pambayer fill in black instead (see the -noninterpolate option), which gives you a simpler representation of what the camera saw, on which you might do further processing. Such an image still looks right, though considerably dimmer, if you stand far enough away and let your eyes do the interpolation. The input image is a pseudo-PNM image (pseudo- because while the structure is the same, the sample values have different meanings) or PAM image of arbitrary tuple type. pambayer looks at only the first plane of the input. The output image is a PAM image of tuple type "RGB", i.e. a standard color image. You can convert this to PPM with pamtopnm(1)​. If you're interested in just one of the primary colors, use pamchannel on the output of pambayer to extract it. .UN options

OPTIONSIn addition to the options common to all programs based on libnetpbm (most notably -quiet, see
 Common Options
),
pambayer recognizes the following command line options:
-type=n  This tells which Bayer pattern the input is: 1  GBG/RGR/GBG matrix 2  RGR/GBG/RGR matrix 3  BGB/GRG/BGB matrix 4  GRG/BGB/GRG matrix This option is mandatory. -nointerpolate  Each output pixel position corresponds to one position in the input Bayer pattern, which means only one of the three color components is supplied by the input. For the other two, this option says to user zero. Without it, pambayer instead interpolates from the adjacent pixels that do have that color component. This option was new in Netpbm 10.49 (December 2009). .UN seealso

SEE ALSO"cameratopam(1)"pam(1).UN history

HISTORYpambayer was new in Netpbm 10.30 (October 2005).

DOCUMENT SOURCEThis manual page was generated by the Netpbm tool 'makeman' from HTML source. The master documentation is at http://netpbm.sourceforge.net/doc/pambayer.html
0
Johanes Gumabo
Data Size   :   11,648 byte
man-pambayer.1Build   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   2 / 182,461
Visitor ID   :     :  
Visitor IP   :   3.128.201.71   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.

ERROR : Need New Coding :         (rof_escape_sequence|91|pambayer.1|1/2|\" This man page was generated by the Netpbm tool 'makeman' from HTML source. |.\" This man page was generated by the Netpbm tool 'makeman' from HTML source. )         (parse_manual_page_|249|pambayer.1|1/2|\"|.\" This man page was generated by the Netpbm tool 'makeman' from HTML source. )         (parse_manual_page_|249|pambayer.1|11|UN|.UN synopsis )         (parse_manual_page_|249|pambayer.1|24|UN|.UN description )         (parse_manual_page_|249|pambayer.1|67|UN|.UN options )         (parse_manual_page_|249|pambayer.1|115|UN|.UN seealso )         (parse_manual_page_|249|pambayer.1|122|UN|.UN history )