.\" This man page was generated by the Netpbm tool 'makeman' from HTML source. Pamsumm User Manual - Online Linux Manual PageSection : 0
Updated : 26 October 2012
Source : netpbm documentation

NAMEpamsumm - Summarize the samples in a Netpbm image arithmetically .UN synopsis

SYNOPSISpamsumm { -sum | -mean | -min | -max } [-normalize] [-brief] [imagefile] All options can be abbreviated to their shortest unique prefix. You may use two hyphens instead of one. You may separate an option name and its value with white space instead of an equals sign. .UN description

DESCRIPTIONThis program is part of Netpbm(1)​. pamsumm reads a Netpbm image (PNM or PAM) and performs a summary function over all the samples in all the rows, columns, and planes and prints the result to Standard Output. pamsumm performs the operation on the actual sample values. In the case of a PGM or PPM or PAM equivalent (i.e. a visual image), this is not the same as the light intensities represented by those samples. See the format specifications of PGM(1)​, PPM(1)​, and "PAM(1)​, for the precise meanings of samples in these formats. If you want to do arithmetic on light intensities of such a visual image, you can use pnmgamma to convert it to one with samples proportional to light intensity, and then use pamsumm on the result. If you want to summarize by column (e.g. add up the columns separately), use pamsummcol. If you want to summarize by row, use a combination of pamsummcol and pamflip. If you want to summarize a particular plane, use pamchannel to extract it and then pamsumm. .UN options

OPTIONSIn addition to the options common to all programs based on libnetpbm (most notably -quiet, see
 Common Options
),
pamsumm recognizes the following command line options:
You must specify exactly one of -sum, -mean, -min, or -max. -sum  This option makes the summary function addition. -mean  This option makes the summary function arithmetic mean. -min  This option makes the summary function arithmetic minimum. -max  This option makes the summary function arithmetic maximum. -normalize  This option causes each sample to be normalized to a fraction
     (in the range 0..1) so the result is independent of the image's
     maxval. E.g. if you request the mean of an image which has maxval
     200 and all the samples have value 50, pamsumm will give you
     50 as an answer. But
pamsumm -normalize will give you .25. If instead you want a result that is independent of maxval but still
     in integers, you can use
pamdepth to convert the input to some
     standard maxval and not use
-normalize. For example, if you want
     the mean brightness of a PPM image, on a scale of 0 to 99, do
pamdepth 99 myimage.ppm | pamsumm -mean This option was new in Netpbm 10.22 (April 2004)
-brief  This option causes pamsumm to display the answer as a bare
     number, rather than in a complete sentence. This option was new in Netpbm 10.22 (April 2004) .UN seealso

SEE ALSO"pamsummcol(1)​, "pam(1)​, .UN history

HISTORYpamsumm was added to Netpbm in Release 10.21 (March 2004).

DOCUMENT SOURCEThis manual page was generated by the Netpbm tool 'makeman' from HTML source. The master documentation is at http://netpbm.sourceforge.net/doc/pamsumm.html
0
Johanes Gumabo
Data Size   :   13,252 byte
man-pamsumm.1Build   :   2024-12-29, 07:25   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   5 / 258,373
Visitor ID   :     :  
Visitor IP   :   18.119.158.142   :  
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.29
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|pamsumm.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_|252|pamsumm.1|1/2|\"|.\" This man page was generated by the Netpbm tool 'makeman' from HTML source. )         (parse_manual_page_|252|pamsumm.1|11|UN|.UN synopsis )         (parse_manual_page_|252|pamsumm.1|28|UN|.UN description )         (parse_manual_page_|252|pamsumm.1|61|UN|.UN options )         (parse_manual_page_|252|pamsumm.1|129|UN|.UN seealso )         (parse_manual_page_|252|pamsumm.1|136|UN|.UN history )