logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

pgmdeshadow - Deshadow a PGM image

Description

       This program is part of Netpbm(1).

       pgmdeshadow  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.
       pgmdeshadow 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.

       The algorithm is the "fast  hybrid  grayscale  reruction"  algorithm  from  Luc  Vincent,  "Morphological
       Grayscale Reruction in Image Analysis: Applications and Efficient Algorithms.

Document Source

       This manual page was generated by the Netpbm tool 'makeman' from HTML source.  The  master  documentation
       is at

              http://netpbm.sourceforge.net/doc/pgmdeshadow.html

netpbm documentation                              06 July 2006                        PgmdeshadowUserManual(1)

History

pgmdeshadow was added to Netpbm in Version 10.35 (August 2006).

Name

       pgmdeshadow - Deshadow a PGM image

Options

       There  are  no  command  line options defined specifically for pgmdeshadow, but it recognizes the options
       common to all programs based on libnetpbm (See  Common Options .)

References

       •      Luc Vincent, "Morphological Grayscale Reconstruction in Image Analysis: Applications and Efficient
              Algorithms," IEEE Transactions on Image Processing, vol. 2, no. 2, April 1993, pp. 176-201.

See Also

ppmshadow(1), pgm(1)

Synopsis

pgmdeshadow

       [pnmfile]

See Also