.TL Pgmdeshadow User Manual .SH 1 pgmdeshadow .LP Updated: 06 July 2006 .LP Table Of Contents .SH 2 NAME .LP pgmdeshadow - Deshadow a PGM image .SH 2 SYNOPSIS .LP \fBpgmdeshadow\fR [\fIpnmfile\fR] .SH 2 DESCRIPTION .LP .LP This program is part of Netpbm. .LP \fBpgmdeshadow\fR removes gray shadows from an image. This is useful for an image containing text, such as a scanned book pages, where a shadow typically appears near the book crease or near one side of the image. \fBpgmdeshadow\fR recognizes a gray shadow as an area of smoothly changing color, starting from the outer edges of the image. The program uses a simple image reconstruction algorithm to determine the local shadow gray level, then divides each pixel's gray level by the local shadow gray level. .LP The algorithm is the "fast hybrid grayscale reruction" algorithm from Luc Vincent, "Morphological Grayscale Reruction in Image Analysis: Applications and Efficient Algorithms. .SH 2 OPTIONS .LP .LP None. .SH 2 REFERENCES .LP .IP \(bu Luc Vincent, "Morphological Grayscale Reruction in Image Analysis: Applications and Efficient Algorithms," IEEE Transactions on Image Processing, vol. 2, no. 2, April 1993, pp. 176-201. .LP .SH 2 SEE ALSO .LP ppmshadow, pgm .SH 2 HISTORY .LP .LP \fBpgmdeshadow\fR was added to Netpbm in Version 10.35 (August 2006). .br \l'5i' .SH 2 Table Of Contents .LP .IP \(bu SYNOPSIS .IP \(bu DESCRIPTION .IP \(bu OPTIONS .IP \(bu REFERENCES .IP \(bu SEE ALSO .IP \(bu HISTORY .LP