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 There are no command line options defined specifically for pamsharp‐
33 ness, but it recognizes the options common to all programs based on
34 libnetpbm (See
35 Common Options ⟨index.html#commonoptions⟩ .)
36
37
39 pamsharpmap(1), pammasksharpen(1), pam(1), pnm(1)
40
41
43 pamsharpness was added to Netpbm in Release 10.21 (March 2004). Bryan
44 Henderson derived it from the program pnmsharp by B.W. van Schooten and
45 distributed as part of the Photopnmtools package.
46
48 This manual page was generated by the Netpbm tool 'makeman' from HTML
49 source. The master documentation is at
50
51 http://netpbm.sourceforge.net/doc/pamsharpness.html
52
53netpbm documentation 07 February 2004 Pamsharpness User Manual(0)