| 1 |
\ |
| 2 |
.\" This man page was generated by the Netpbm tool 'makeman' from HTML source. |
| 3 |
.\" Do not hand-hack it! If you have bug fixes or improvements, please find |
| 4 |
.\" the corresponding HTML page on the Netpbm website, generate a patch |
| 5 |
.\" against that, and send it to the Netpbm maintainer. |
| 6 |
.TH "Pamsharpness User Manual" 1 "07 February 2004" "netpbm documentation" |
| 7 |
|
| 8 |
.SH NAME |
| 9 |
pamsharpness - measure the sharpness of a PNM/PAM image |
| 10 |
|
| 11 |
.UN synopsis |
| 12 |
.SH SYNOPSIS |
| 13 |
\fBpamsharpness\fP [\fIimagefile\fP] |
| 14 |
|
| 15 |
.UN description |
| 16 |
.SH DESCRIPTION |
| 17 |
.PP |
| 18 |
This program is part of |
| 19 |
.BR "Netpbm" (1)\c |
| 20 |
\&. |
| 21 |
.PP |
| 22 |
\fBpamsharpness\fP reads a Netpbm image (PNM or PAM) and prints a |
| 23 |
message to Standard Output giving a number that tells how sharp it is. |
| 24 |
.PP |
| 25 |
Sharpness is a measure of how suddenly (in space) colors change in |
| 26 |
the image. \fBpamsharpness\fP computes the sharpness of the image as |
| 27 |
the average difference in intensity between each pixel and its 8 surrounding |
| 28 |
pixels, in each of the color components (R, G, B). |
| 29 |
.PP |
| 30 |
\fBpamsharpness\fP does not include the edges of the image, where |
| 31 |
there are not 8 pixels surrounding a pixel, in its computation. |
| 32 |
.PP |
| 33 |
\fBpamsharpness\fP assumes that the image is a PNM or PNM |
| 34 |
equivalent PAM. If it isn't, the results are not necessarily |
| 35 |
meaningful. |
| 36 |
|
| 37 |
.UN options |
| 38 |
.SH OPTIONS |
| 39 |
.PP |
| 40 |
There are no command line options defined specifically |
| 41 |
for \fBpamsharpness\fP, but it recognizes the options common to all |
| 42 |
programs based on libnetpbm (See |
| 43 |
.UR index.html#commonoptions |
| 44 |
Common Options |
| 45 |
.UE |
| 46 |
\&.) |
| 47 |
|
| 48 |
.UN seealso |
| 49 |
.SH SEE ALSO |
| 50 |
.BR "pamsharpmap" (1)\c |
| 51 |
\&, |
| 52 |
.BR "pammasksharpen" (1)\c |
| 53 |
\&, |
| 54 |
.BR "pam" (1)\c |
| 55 |
\&, |
| 56 |
.BR "pnm" (1)\c |
| 57 |
\& |
| 58 |
|
| 59 |
.UN history |
| 60 |
.SH HISTORY |
| 61 |
.PP |
| 62 |
\fBpamsharpness\fP was added to Netpbm in Release 10.21 (March |
| 63 |
2004). Bryan Henderson derived it from the program \fBpnmsharp\fP by |
| 64 |
B.W. van Schooten and distributed as part of the Photopnmtools |
| 65 |
package. |
| 66 |
.SH DOCUMENT SOURCE |
| 67 |
This manual page was generated by the Netpbm tool 'makeman' from HTML |
| 68 |
source. The master documentation is at |
| 69 |
.IP |
| 70 |
.B http://netpbm.sourceforge.net/doc/pamsharpness.html |
| 71 |
.PP |