Blob Blame History Raw
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML><HEAD><TITLE>Pamsharpness User Manual</TITLE></HEAD>
<BODY>
<H1>pamsharpness</H1>
Updated: 07 February 2004
<BR>

<A HREF="#index">Table Of Contents</A>

<H2>NAME</H2>
pamsharpness - measure the sharpness of a PNM/PAM image

<H2 id="synopsis">SYNOPSIS</H2>
<B>pamsharpness</B> [<I>imagefile</I>]

<H2 id="description">DESCRIPTION</H2>

<p>This program is part of <a href="index.html">Netpbm</a>.

<p><b>pamsharpness</b> reads a Netpbm image (PNM or PAM) and prints a
message to Standard Output giving a number that tells how sharp it is.

<p>Sharpness is a measure of how suddenly (in space) colors change in
the image.  <b>pamsharpness</b> computes the sharpness of the image as
the average difference in intensity between each pixel and its 8 surrounding
pixels, in each of the color components (R, G, B).

<p><b>pamsharpness</b> does not include the edges of the image, where
there are not 8 pixels surrounding a pixel, in its computation.

<p><b>pamsharpness</b> assumes that the image is a PNM or PNM
equivalent PAM.  If it isn't, the results are not necessarily
meaningful.

<H2 id="seealso">SEE ALSO</H2>

<B><A HREF="pamsharpmap.html">pamsharpmap</A></B>,
<B><A HREF="pammasksharpen.html">pammasksharpen</A></B>,
<B><A HREF="pam.html">pam</A></B>,
<B><A HREF="pnm.html">pnm</A></B>

<h2 id="history">HISTORY</h2>

<p><b>pamsharpness</b> was added to Netpbm in Release 10.21 (March
2004).  Bryan Henderson derived it from the program <b>pnmsharp</b> by
B.W. van Schooten and distributed as part of the Photopnmtools
package.


<HR>
<H2 id="index">Table Of Contents</H2>
<UL>
<LI><A HREF="#synopsis">SYNOPSIS</A>
<LI><A HREF="#description">DESCRIPTION</A>
<LI><A HREF="#seealso">SEE ALSO</A>
<LI><A HREF="#history">HISTORY</A>
</UL>
</BODY>
</HTML>