1Pgmminkowski User Manual(0) Pgmminkowski User Manual(0)
2
3
4
6 pgmminkowski - compute Minkowski integral
7
8
10 pgmminkowski pgmfile
11
12
14 This program is part of Netpbm(1).
15
16 pgmminkowski computes the 3 Minkowski integrals of a PGM image.
17
18 The Minkowski integrals mathematically characterize the shapes in the
19 image and hence are the basis of "morphological image analysis."
20
21 Hadwiger's theorem has it that these integrals are the only motion-in‐
22 variant, additive and conditionally continuous functions of a two-di‐
23 mensional image, which means that they are preserved under certain
24 kinds of deformations of the image. On top of that, they are very easy
25 and quickly calculated. This makes them of interest for certain kinds
26 of pattern recognition.
27
28 Basically, the Minkowski integrals are the area, total perimeter
29 length, and the Euler characteristic of the image, where these metrics
30 apply to the foreground image, not the rectangular PGM image itself.
31 The foreground image consists of all the pixels in the image that are
32 white. For a grayscale image, there is some threshold of intensity ap‐
33 plied to categorize pixels into black and white, and the Minkowski in‐
34 tegrals are calculated as a function of this threshold value. The total
35 surface area refers to the number of white pixels in the PGM and the
36 perimeter is the sum of perimeters of each closed white region in the
37 PGM.
38
39 For a grayscale image, these numbers are a function of the threshold of
40 what you want to call black or white. pgmminkowski reports these num‐
41 bers as a function of the threshold for all possible threshold values.
42 Since the total surface area can increase only as a function of the
43 threshold, it is a reparameterization of the threshold. It turns out
44 that if you consider the other two functions, the boundary length and
45 the Euler characteristic, as a function of the first one, the surface,
46 you get two functions that are a fingerprint of the picture. This fin‐
47 gerprint is e.g. sufficient to recognize the difference between pic‐
48 tures of different crystal lattices under a scanning tunnelling elec‐
49 tron microscope.
50
51 For more information about Minkowski integrals, see e.g.
52
53
54 •
55
56 J.S. Kole, K. Michielsen, and H. De Raedt, "Morphological Image
57 Analysis of Quantum Motion in Billiards", Phys. Rev. E 63,
58 016201-1 - 016201-7 (2001)
59 ⟨http://rugth30.phys.rug.nl/pdf/prechaos.pdf⟩
60
61
62 • K. Michielsen and H. De Raedt, "Integral-Geometry Morphological
63 Image Analysis", Phys. Rep. 347, 461-538 (2001).
64
65
66
67 The output is suitable for direct use as a datafile in gnuplot.
68
69 In addition to the three Minkowski integrals, pgmminkowski also lists
70 the horizontal and vertical edge counts.
71
72
73
74
76 There are no command line options defined specifically for pgm‐
77 minkowski, but it recognizes the options common to all programs based
78 on libnetpbm (See
79 Common Options ⟨index.html#commonoptions⟩ .)
80
81
83 pgmmorphconv(1) pbmminkowski(1) pgm(1)
84
85
87 Luuk van Dijk, 2001.
88
89 Based on work which is Copyright (C) 1989, 1991 by Jef Poskanzer.
90
92 This manual page was generated by the Netpbm tool 'makeman' from HTML
93 source. The master documentation is at
94
95 http://netpbm.sourceforge.net/doc/pgmminkowski.html
96
97netpbm documentation 29 October 2002 Pgmminkowski User Manual(0)