1Pgmdeshadow User Manual(0) Pgmdeshadow User Manual(0)
2
3
4
6 pgmdeshadow - Deshadow a PGM image
7
8
10 pgmdeshadow
11
12 [pnmfile]
13
14
15
17 This program is part of Netpbm(1).
18
19 pgmdeshadow removes gray shadows from an image. This is useful for an
20 image containing text, such as a scanned book pages, where a shadow
21 typically appears near the book crease or near one side of the image.
22 pgmdeshadow recognizes a gray shadow as an area of smoothly changing
23 color, starting from the outer edges of the image. The program uses a
24 simple image reconstruction algorithm to determine the local shadow
25 gray level, then divides each pixel's gray level by the local shadow
26 gray level.
27
28 The algorithm is the 'fast hybrid grayscale reruction' algorithm from
29 Luc Vincent, "Morphological Grayscale Reruction in Image Analysis:
30 Applications and Efficient Algorithms.
31
32
33
35 None.
36
37
39 · Luc Vincent, 'Morphological Grayscale Reruction in Image Analy‐
40 sis: Applications and Efficient Algorithms,' IEEE Transactions
41 on Image Processing, vol. 2, no. 2, April 1993, pp. 176-201.
42
43
44
45
46
48 ppmshadow(1), pgm(1)
49
50
52 pgmdeshadow was added to Netpbm in Version 10.35 (August 2006).
53
54
55
56netpbm documentation 06 July 2006 Pgmdeshadow User Manual(0)