.TL Pamsharpmap User Manual .SH 1 pamsharpmap .LP Updated: 07 February 2004 .br Table Of Contents .SH 2 NAME .LP pamsharpmap - create map of sharpness in a PNM/PAM image .SH 2 SYNOPSIS .LP \fBpamsharpmap\fR [\fIimagefile\fR] .SH 2 DESCRIPTION .LP .LP This program is part of Netpbm. .LP \fBpamsharpmap\fR reads a Netpbm image (PNM or PAM) and produces an image that shows how sharp it is at each location. .LP Sharpness is a measure of how suddenly (in space) colors change in the image. \fBpamsharpmap\fR computes the sharpness of each component color (R, G, B) separately and produces a pixel whose intensity of each component color is directly proportional to the sharpness of that component color at the same location in the input image. Thus, at a point where the image is very sharp in its red and green components, but dull in its blue component, you will see a yellow pixel in the output. .LP \fBpamsharpmap\fR computes sharpness at a point simply as the average difference in intensity between the pixel at that point and the 8 pixels surrounding it. .LP At the edges of the image, where there are not 8 pixels surrounding a pixel, \fBpamsharpmap\fR assumes the image is extended with a black border. .LP \fBpamsharpmap\fR assumes that the image is a PNM or PNM equivalent PAM. If it isn't, the results are not necessarily meaningful. .LP The output image is the same dimensions, depth, and tuple type as the input, and has maxval 255. .SH 2 SEE ALSO .LP \fBpamsharpness\fR, \fBpammasksharpen\fR, \fBpamedge\fR, \fBpam\fR, \fBpnm\fR .SH 2 HISTORY .LP .LP \fBpamsharpmap\fR was added to Netpbm in Release 10.21 (March 2004). Bryan Henderson derived it from the program \fBpnmsharp\fR by B.W. van Schooten and distributed as part of the Photopnmtools package. .br \l'5i' .SH 2 Table Of Contents .LP .IP \(bu NAME .IP \(bu SYNOPSIS .IP \(bu DESCRIPTION .IP \(bu SEE ALSO .IP \(bu HISTORY .LP