Debian Codegraph @

upstream/debian-unstable/man1/pgmdeshadow.1

raw
1 \
2 .\" This man page was generated by the Netpbm tool 'makeman' from HTML source.
3 .\" Do not hand-hack it! If you have bug fixes or improvements, please find
4 .\" the corresponding HTML page on the Netpbm website, generate a patch
5 .\" against that, and send it to the Netpbm maintainer.
6 .TH "Pgmdeshadow User Manual" 1 "06 July 2006" "netpbm documentation"
7
8 .SH NAME
9
10 pgmdeshadow - Deshadow a PGM image
11
12 .UN synopsis
13 .SH SYNOPSIS
14
15 \fBpgmdeshadow\fP
16
17 [\fIpnmfile\fP]
18
19 .UN description
20 .SH DESCRIPTION
21 .PP
22 This program is part of
23 .BR "Netpbm" (1)\c
24 \&.
25 .PP
26 \fBpgmdeshadow\fP removes gray shadows from an image. This is
27 useful for an image containing text, such as a scanned book pages,
28 where a shadow typically appears near the book crease or near one side
29 of the image. \fBpgmdeshadow\fP recognizes a gray shadow as an area
30 of smoothly changing color, starting from the outer edges of the
31 image. The program uses a simple image reconstruction algorithm to
32 determine the local shadow gray level, then divides each pixel's gray
33 level by the local shadow gray level.
34 .PP
35 The algorithm is the "fast hybrid grayscale reruction"
36 algorithm from Luc Vincent, "Morphological Grayscale Reruction in
37 Image Analysis: Applications and Efficient Algorithms.
38
39
40 .UN options
41 .SH OPTIONS
42 .PP
43 There are no command line options defined specifically
44 for \fBpgmdeshadow\fP, but it recognizes the options common to all
45 programs based on libnetpbm (See
46 .UR index.html#commonoptions
47 Common Options
48 .UE
49 \&.)
50
51 .UN references
52 .SH REFERENCES
53
54
55
56 .IP \(bu
57 Luc Vincent, "Morphological Grayscale Reconstruction in Image
58 Analysis: Applications and Efficient Algorithms," IEEE
59 Transactions on Image Processing, vol. 2, no. 2, April 1993,
60 pp. 176-201.
61
62
63
64
65 .UN seealso
66 .SH SEE ALSO
67 .BR "ppmshadow" (1)\c
68 \&,
69 .BR "pgm" (1)\c
70 \&
71
72 .UN history
73 .SH HISTORY
74 .PP
75 \fBpgmdeshadow\fP was added to Netpbm in Version 10.35 (August 2006).
76 .SH DOCUMENT SOURCE
77 This manual page was generated by the Netpbm tool 'makeman' from HTML
78 source. The master documentation is at
79 .IP
80 .B http://netpbm.sourceforge.net/doc/pgmdeshadow.html
81 .PP