1Pamsharpness User Manual(0) Pamsharpness User Manual(0)
2
3
4
6 pamsharpness - measure the sharpness of a PNM/PAM image
7
8
10 pamsharpness [imagefile]
11
12
14 This program is part of Netpbm(1).
15
16 pamsharpness reads a Netpbm image (PNM or PAM) and prints a message to
17 Standard Output giving a number that tells how sharp it is.
18
19 Sharpness is a measure of how suddenly (in space) colors change in the
20 image. pamsharpness computes the sharpness of the image as the average
21 difference in intensity between each pixel and its 8 surrounding pix‐
22 els, in each of the color components (R, G, B).
23
24 pamsharpness does not include the edges of the image, where there are
25 not 8 pixels surrounding a pixel, in its computation.
26
27 pamsharpness assumes that the image is a PNM or PNM equivalent PAM. If
28 it isn't, the results are not necessarily meaningful.
29
30
32 pamsharpmap(1), pammasksharpen(1), pam(1), pnm(1)
33
34
36 pamsharpness was added to Netpbm in Release 10.21 (March 2004). Bryan
37 Henderson derived it from the program pnmsharp by B.W. van Schooten and
38 distributed as part of the Photopnmtools package.
39
41 This manual page was generated by the Netpbm tool 'makeman' from HTML
42 source. The master documentation is at
43
44 http://netpbm.sourceforge.net/doc/pamsharpness.html
45
46netpbm documentation 07 February 2004 Pamsharpness User Manual(0)