1i.gensig(1) Grass User's Manual i.gensig(1)
2
3
4
6 i.gensig - Generates statistics for i.maxlik from raster map layer.
7
9 imagery
10
12 i.gensig
13 i.gensig help
14 i.gensig trainingmap=string group=string subgroup=string signature‐
15 file=string [--verbose] [--quiet]
16
17 Parameters:
18 trainingmap=string
19 Ground truth training map
20
21 group=string
22 Imagery group
23
24 subgroup=string
25 Subgroup containing image files
26
27 signaturefile=string
28 Resultant signature file
29
31 i.gensig is a non-interactive method for generating input into i.max‐
32 lik. It can be used as the first pass in the GRASS two-pass classifi‐
33 cation process (instead of i.cluster or i.class). It reads a raster
34 map layer, called the training map, which has some of the pixels or
35 regions already classified. i.gensig will then extract spectral signa‐
36 tures from an image based on the classification of the pixels in the
37 training map and make these signatures available to i.maxlik.
38
39 The user would then execute the GRASS program i.maxlik to actually cre‐
40 ate the final classified map.
41
43 Parameters
44 trainingmap=name
45 ground truth training map
46
47 This map must be prepared by the user in advance. Programs like v.digit
48 or r.digit can be used to define representative areas of the classes
49 the user defines to be in the image. Of course other methods could be
50 devised by the user for creating this training map - i.gensig makes no
51 assumption about the origin of this map layer. It simply creates signa‐
52 tures for the classes defined in the training map for the image to be
53 classified (the image is specified in other options - see below).
54
55 group=name
56 imagery group
57
58 This is the name of the group that contains the band files which com‐
59 prise the image to be analyzed. The i.group command is used to con‐
60 struct groups of raster layers which comprise an image.
61
62 subgroup=name
63 subgroup containing image files
64
65 This names the subgroup within the group that selects a subset of the
66 bands to be analyzed. The i.group command is also used to prepare this
67 subgroup. The subgroup mechanism allows the user to select a subset of
68 all the band files that form an image.
69
70 signaturefile=name
71 resultant signature file
72
73 This is the resultant signature file (containing the means and covari‐
74 ance matrices) for each class in the training map that is associated
75 with the band files in the subgroup select (see above).
76
78 If none of the arguments are specified on the command line, i.gensig
79 will interactively prompt for the names of these maps and files.
80
81 It should be noted that interactive mode here only means interactive
82 prompting for maps and files. It does not mean visualization of the
83 signatures that result from the process.
84
86 i.group for creating groups and subgroups.
87
88 v.digit and r.digit for interactively creating the training map.
89
90 i.cluster for unsupervised clustering as an alternative to i.gensig to
91 create signatures.
92
93 i.class for a graphic/interactive as an alternative to i.gensig to cre‐
94 ate signatures.
95
97 Michael Shapiro, U.S.Army Construction Engineering Research Laboratory
98
99 Last changed: $Date: 2003-04-17 16:51:33 +0200 (Thu, 17 Apr 2003) $
100
101 Full index
102
103 © 2003-2008 GRASS Development Team
104
105
106
107GRASS 6.3.0 i.gensig(1)