From 98f1d61e4f3c94f7810288f4a22b22d07b7d9539 Mon Sep 17 00:00:00 2001 From: giraffedata Date: Fri, 26 Oct 2012 02:46:45 +0000 Subject: miscellaneous update git-svn-id: http://svn.code.sf.net/p/netpbm/code/userguide@1757 9d0c8265-081b-0410-96cb-a4ca84ce46f8 --- pamsumm.html | 41 ++++++++++++++++++----------------------- 1 file changed, 18 insertions(+), 23 deletions(-) (limited to 'pamsumm.html') diff --git a/pamsumm.html b/pamsumm.html index e97d69bd..6eb76100 100644 --- a/pamsumm.html +++ b/pamsumm.html @@ -7,12 +7,10 @@ Updated: 07 February 2004 Table Of Contents - 

NAME

pamsumm - Summarize the samples in a Netpbm image arithmetically -  -

SYNOPSIS

+

SYNOPSIS

pamsumm { -sum | @@ -28,8 +26,7 @@ pamsumm - Summarize the samples in a Netpbm image arithmetically 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. -  -

DESCRIPTION

+

DESCRIPTION

This program is part of Netpbm. @@ -37,12 +34,15 @@ name and its value with white space instead of an equals sign. 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, -not on the light intensities represented by them in the case that the -image is a PGM or PPM image or PAM equivalent. 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. +

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, +PPM, and PAM, 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, @@ -51,8 +51,7 @@ want to summarize a particular plane, use pamchannel to extract it and then pamsumm. -  -

OPTIONS

+

OPTIONS

You must specify exactly one of -sum, -mean, -min, or -max. @@ -109,28 +108,24 @@ extract it and then pamsumm. -  -

SEE ALSO

+

SEE ALSO

pamsumm, pam, -  -

HISTORY

+

HISTORY

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


-  -

Table Of Contents

+

Table Of Contents

-- cgit 1.4.1