|
@@ -4,12 +4,11 @@
|
|
|
performs the first pass in the GRASS two-pass supervised image
|
|
|
classification process;
|
|
|
the GRASS program
|
|
|
-<em><a href="i.maxlik.html">i.maxlik</A></em> executes the second pass.
|
|
|
+<em><a href="i.maxlik.html">i.maxlik</a></em> executes the second pass.
|
|
|
Both programs must be run to generate a classified map in GRASS
|
|
|
raster format.
|
|
|
|
|
|
<p>
|
|
|
-
|
|
|
<em>i.class</em> is an interactive program that allows the user to outline
|
|
|
a region on the screen and calculate the spectral signature based on the
|
|
|
cells that are within that region. During this process the user will be
|
|
@@ -21,18 +20,16 @@ is likely to be put into the class associated with the current signature.
|
|
|
|
|
|
|
|
|
<p>
|
|
|
-
|
|
|
The spectral signatures that result are composed of region means and
|
|
|
covariance matrices. These region means and covariance matrices are used in
|
|
|
-the second pass (<em><a href="i.maxlik.html">i.maxlik</A></em>) to classify
|
|
|
+the second pass (<em><a href="i.maxlik.html">i.maxlik</a></em>) to classify
|
|
|
the image.
|
|
|
|
|
|
|
|
|
<p>
|
|
|
-
|
|
|
Alternatively, the spectral signatures generated by <em>i.class</em> can be
|
|
|
used for seed means for the clusters in the
|
|
|
-<em><a href="i.cluster.html">i.cluster</A></em> program.
|
|
|
+<em><a href="i.cluster.html">i.cluster</a></em> program.
|
|
|
|
|
|
|
|
|
<h2>USER INPUTS</h2>
|
|
@@ -41,7 +38,7 @@ At the command line the user is asked to enter the name of the raster map
|
|
|
to be displayed during the process of outlining regions.
|
|
|
Typically, the user will want to enter the name of a color
|
|
|
composite previously created by
|
|
|
-<em><a href="r.composite.html">r.composite</A></em>.
|
|
|
+<em><a href="r.composite.html">r.composite</a></em>.
|
|
|
|
|
|
However, the user can enter the name of any existing raster
|
|
|
map. This leaves the potential for using a raster map not
|
|
@@ -49,9 +46,8 @@ directly derived from the image as a backdrop on which the
|
|
|
user can outline the classes of interest.
|
|
|
|
|
|
<p>
|
|
|
-
|
|
|
The first screen in the program <em>i.class</em> asks the user for the
|
|
|
-<a href="i.group.html">imagery</A> <em>group</em> and <em>subgroup</em>
|
|
|
+<a href="i.group.html">imagery</a> <em>group</em> and <em>subgroup</em>
|
|
|
to be analyzed:
|
|
|
|
|
|
|
|
@@ -69,30 +65,27 @@ SUBGROUP: 123________ (list will show available subgroups)
|
|
|
</pre></div>
|
|
|
|
|
|
<p>
|
|
|
-
|
|
|
The <em>group</em> should contain the
|
|
|
imagery bands that the user wishes
|
|
|
to classify. The <em>subgroup</em> is a subset of this group.
|
|
|
The user must create a group and a subgroup by running the GRASS program
|
|
|
|
|
|
-<em><a href="i.group.html">i.group</A></em>
|
|
|
+<em><a href="i.group.html">i.group</a></em>
|
|
|
before running <em>i.class</em>. The subgroup should contain
|
|
|
only the image bands that the user wishes to classify.
|
|
|
Note that this subgroup must contain more than one band.
|
|
|
|
|
|
<p>
|
|
|
-
|
|
|
After the first screen, the program asks the user for the name of the
|
|
|
resulting signature file. The signature file is both the output file for
|
|
|
<em>i.class</em> and the required input file for the GRASS
|
|
|
-<em><a href="i.maxlik.html">i.maxlik</A></em> module.
|
|
|
+<em><a href="i.maxlik.html">i.maxlik</a></em> module.
|
|
|
It contains the region means and covariance matrices that are used to
|
|
|
-classify an image in <em><a href="i.maxlik.html">i.maxlik</A></em>.
|
|
|
+classify an image in <em><a href="i.maxlik.html">i.maxlik</a></em>.
|
|
|
The signature file will be saved in the
|
|
|
<tt>$MAPSET/group/$GROUP/subgroup/$SUBGROUP/sig/</tt> directory.
|
|
|
|
|
|
<p>
|
|
|
-
|
|
|
After entering the resulting signature file name, the user
|
|
|
is asked to enter the name of a seed signature file. This
|
|
|
is optional. A "seed" signature file is a previously
|
|
@@ -105,7 +98,6 @@ from several sessions with <em>i.class</em> into one
|
|
|
signature file.
|
|
|
|
|
|
<p>
|
|
|
-
|
|
|
At this point the <em>i.class</em> graphics screen will be
|
|
|
drawn on the graphics monitor and the user will be directed
|
|
|
to use the mouse. From this point on the user will
|
|
@@ -156,7 +148,7 @@ following paragraphs.
|
|
|
|
|
|
|
|
|
<A NAME="commandmenu"></a>
|
|
|
-<H3>The Command Menu</H3>
|
|
|
+<h3>The Command Menu</h3>
|
|
|
|
|
|
The Command Menu includes the following selections:
|
|
|
|
|
@@ -171,7 +163,6 @@ Frame. A red rectangle is drawn in the Map Display Frame,
|
|
|
indicating what area the Zoom Display Frame shows.
|
|
|
|
|
|
<p>
|
|
|
-
|
|
|
To outline the rectangular region simply use any mouse button to anchor
|
|
|
the first corner of the border and then use any button to choose the
|
|
|
other corner.
|
|
@@ -181,7 +172,7 @@ other corner.
|
|
|
<dt><em>Define region</em>
|
|
|
|
|
|
<dd>This selection takes the user to the
|
|
|
-<a href="#regionmenu">Region Menu</A>.
|
|
|
+<a href="#regionmenu">Region Menu</a>.
|
|
|
This menu includes the
|
|
|
options that allow the user to outline a region of interest
|
|
|
on the displayed raster map.
|
|
@@ -191,7 +182,7 @@ on the displayed raster map.
|
|
|
|
|
|
<dd>This selection takes the user to the Redisplay Menu.
|
|
|
The
|
|
|
-<a href="#redisplaymenu">Redisplay Menu</A>
|
|
|
+<a href="#redisplaymenu">Redisplay Menu</a>
|
|
|
allows the user to redraw map display
|
|
|
frames.
|
|
|
|
|
@@ -208,7 +199,7 @@ data will not fit. In this case, as much of the data as
|
|
|
possible, centered around the mean, will be displayed.
|
|
|
After the histograms are displayed, the user will be given
|
|
|
the
|
|
|
-<a href="#signaturemenu">Signature Menu</A>.
|
|
|
+<a href="#signaturemenu">Signature Menu</a>.
|
|
|
|
|
|
<dt><em>Quit</em>
|
|
|
<dd>The user should make this selection
|
|
@@ -217,7 +208,7 @@ to end the session with <em>i.class</em>.
|
|
|
</dl>
|
|
|
|
|
|
<A NAME="regionmenu"></a>
|
|
|
-<H3>The Region Menu</H3>
|
|
|
+<h3>The Region Menu</h3>
|
|
|
|
|
|
The Region Menu contains the following selections:
|
|
|
|
|
@@ -246,16 +237,16 @@ restored later. Only one previous region is saved.
|
|
|
currently being drawn. As noted above, it saves the complete
|
|
|
region to be restored later, if needed. Once the user has made a
|
|
|
complete region, it can be analyzed with the Analyze Region
|
|
|
-selection on the <a href="#commandmenu">Command Menu</A>.
|
|
|
+selection on the <a href="#commandmenu">Command Menu</a>.
|
|
|
|
|
|
<dt><em>Done</em>
|
|
|
<dd>Use this selection to return to the
|
|
|
-<a href="#commandmenu">Command Menu</A>.
|
|
|
+<a href="#commandmenu">Command Menu</a>.
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
<A NAME="redisplaymenu"></a>
|
|
|
-<H3>The Redisplay Map Menu</H3>
|
|
|
+<h3>The Redisplay Map Menu</h3>
|
|
|
|
|
|
The Redisplay Map Menu has the following selections, which are useful
|
|
|
to redraw the raster maps displayed in the Map and Zoom Display Frames.
|
|
@@ -278,12 +269,12 @@ Frames to be redrawn.
|
|
|
<dt><em>Cancel</em>
|
|
|
<dd>Use this selection if you do not want to redisplay
|
|
|
either of the above regions. The user will be returned to the
|
|
|
-<a href="#commandmenu">Command Menu</A>.
|
|
|
+<a href="#commandmenu">Command Menu</a>.
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
<A NAME="signaturemenu"></a>
|
|
|
-<H3>The Analyze Region Menu</H3>
|
|
|
+<h3>The Analyze Region Menu</h3>
|
|
|
|
|
|
The Analyze Region Menu contains the Signature Menu, which
|
|
|
allows the user to set the number of standard deviations
|
|
@@ -313,7 +304,6 @@ and minimum range marked.
|
|
|
|
|
|
|
|
|
<p>
|
|
|
-
|
|
|
Note that the number in parentheses on this
|
|
|
selection is the current number of standard deviations.
|
|
|
|
|
@@ -327,7 +317,6 @@ selected will be used when the Display Matches Menu
|
|
|
selection is made.
|
|
|
|
|
|
<p>
|
|
|
-
|
|
|
Note that the color in parentheses on this selection is the current
|
|
|
color for display.
|
|
|
|
|
@@ -348,7 +337,7 @@ signature. If the user answers with the "Yes" selection,
|
|
|
he/she will be asked to enter a description for the
|
|
|
resultant signature file on the text terminal keyboard.
|
|
|
The saved signature file description will be used by <em>
|
|
|
-<a href="i.maxlik.html">i.maxlik</A></em> to name the
|
|
|
+<a href="i.maxlik.html">i.maxlik</a></em> to name the
|
|
|
category that is created from the current signature. After
|
|
|
either a "No" answer or the signature description is
|
|
|
entered, the user is returned to the Command Menu.
|
|
@@ -363,46 +352,41 @@ overlay for cells that match a signature. As a result, if
|
|
|
a MASK already exists it will be removed during the
|
|
|
execution of this program.
|
|
|
|
|
|
-<p>
|
|
|
-The cell values in the image bands cannot fall outside of
|
|
|
+<p>The cell values in the image bands cannot fall outside of
|
|
|
the range of 0 to 255. <em>i.class</em> will report an
|
|
|
error if they do.
|
|
|
|
|
|
-<p>
|
|
|
-<em>i.class</em>, like some of the other
|
|
|
-<a href="imagery.html">imagery</A> programs, does not use the
|
|
|
+<p><em>i.class</em>, like some of the other
|
|
|
+<a href="imagery.html">imagery</a> programs, does not use the
|
|
|
|
|
|
standard GRASS display frames. After running
|
|
|
<em>i.class</em>, you will need to create a display frame
|
|
|
(e.g., using
|
|
|
|
|
|
-<em><a href="d.frame.html">d.frame</A></em> or
|
|
|
+<em><a href="d.frame.html">d.frame</a></em> or
|
|
|
|
|
|
-<em><a href="d.erase.html">d.erase</A></em>)
|
|
|
+<em><a href="d.erase.html">d.erase</a></em>)
|
|
|
before you can use most of the GRASS display (d.) commands.
|
|
|
|
|
|
-<p>
|
|
|
-<em><a href="i.group.html">i.group</A></em>
|
|
|
+<p><em><a href="i.group.html">i.group</a></em>
|
|
|
must be run before <em>i.class</em> to create an
|
|
|
-<a href="i.group.html">imagery</A> group and a subgroup
|
|
|
+<a href="i.group.html">imagery</a> group and a subgroup
|
|
|
containing the image bands to be classified.
|
|
|
|
|
|
-<p>
|
|
|
-The user can perform a supervised image classification by
|
|
|
+<p>The user can perform a supervised image classification by
|
|
|
running <em>i.class</em> followed by
|
|
|
|
|
|
-<em><a href="i.maxlik.html">i.maxlik</A></em>.
|
|
|
+<em><a href="i.maxlik.html">i.maxlik</a></em>.
|
|
|
|
|
|
The user can perform an unsupervised classification
|
|
|
by running
|
|
|
|
|
|
-<em><a href="i.cluster.html">i.cluster</A></em> followed by
|
|
|
+<em><a href="i.cluster.html">i.cluster</a></em> followed by
|
|
|
|
|
|
-<em><a href="i.maxlik.html">i.maxlik</A></em>.
|
|
|
+<em><a href="i.maxlik.html">i.maxlik</a></em>.
|
|
|
|
|
|
-<p>
|
|
|
-<em>i.class</em> is interactive and requires the user to be running
|
|
|
-a graphics display monitor (see <em><a href="d.mon.html">d.mon</A></em>)
|
|
|
+<p><em>i.class</em> is interactive and requires the user to be running
|
|
|
+a graphics display monitor (see <em><a href="d.mon.html">d.mon</a></em>)
|
|
|
to run this program.
|
|
|
|
|
|
|
|
@@ -410,23 +394,21 @@ to run this program.
|
|
|
|
|
|
The GRASS 4 <em>
|
|
|
<a href="http://grass.itc.it/gdp/imagery/grass4_image_processing.pdf">Image
|
|
|
-Processing manual</A></em>
|
|
|
-
|
|
|
-<p>
|
|
|
-<em><a href="d.frame.html">d.frame</A>,
|
|
|
-<a href="d.mon.html">d.mon</A>,
|
|
|
-<a href="g.region.html">g.region</A>,
|
|
|
-<a href="i.cca.html">i.cca</A>,
|
|
|
-<a href="i.cluster.html">i.cluster</A>,
|
|
|
-<a href="r.composite.html">r.composite</A>,
|
|
|
-<a href="i.group.html">i.group</A>,
|
|
|
-<a href="i.maxlik.html">i.maxlik</A>,
|
|
|
-<a href="r.mapcalc.html">r.mapcalc</A></em>
|
|
|
+Processing manual</a></em>
|
|
|
+
|
|
|
+<p><em><a href="d.frame.html">d.frame</a>,
|
|
|
+<a href="d.mon.html">d.mon</a>,
|
|
|
+<a href="g.region.html">g.region</a>,
|
|
|
+<a href="i.cca.html">i.cca</a>,
|
|
|
+<a href="i.cluster.html">i.cluster</a>,
|
|
|
+<a href="r.composite.html">r.composite</a>,
|
|
|
+<a href="i.group.html">i.group</a>,
|
|
|
+<a href="i.maxlik.html">i.maxlik</a>,
|
|
|
+<a href="r.mapcalc.html">r.mapcalc</a></em>
|
|
|
|
|
|
<h2>AUTHOR</h2>
|
|
|
|
|
|
David Satnik,
|
|
|
Central Washington University
|
|
|
|
|
|
-<p>
|
|
|
-<i>Last changed: $Date$</i>
|
|
|
+<p><i>Last changed: $Date$</i>
|