Professional Documents
Culture Documents
Resource Center
To create training samples, use the training sample drawing tools on the Image
Classification toolbar.
Steps:
The steps below show how to create training samples with the Image
Classification toolbar:
1. On the Image Classification toolbar, choose an appropriate image layer in
the Layer list.
2. Click one of the drawing tools on the Image Classification toolbar. Notice
that there are three drawing tools available, for drawing polygons, circles,
and rectangles.
4. Once you finish drawing the training sample, a new class is created
in Training Sample Manager with a default name, value, and color.
Open Training Sample Manager and change the class name, value, and color
if desired.
5. Repeat steps 2 to 4 to create a few more training samples to represent the
rest of the classes on the image. The following is what Training Sample
Manager looks like after five classes are created:
During the process of creating and evaluating training samples, you will need to use the
tools on the Training Sample Manager to maintain the list of classes. For example, you
may need to change the class name, value, and color. Also, classes may need to be
merged, deleted, reorganized, and so on. See the following on how to perform some
common training sample management tasks.
. A file browser
2. In the file browser dialog box, select a training sample feature class and
click Add.
Note:
When you load training samples from a feature class, the loaded training
samples are appended to the existing list of training samples. If you do
not need the existing training samples, you can click the Clear Training
Samples button to remove them before you load the feature class.
. A file browser
2. In the file browser dialog box, navigate to the desired location and specify a
name for the feature class or shapefile, then click Save.
Managing classes
Other tools on the toolbar are used for managing the classes.
Merging classes
1. In the Training Sample Manager, select two or more classes that you want
to merge.
2. Click the Merge button
Note:
The Split button
does the opposite of the Merge button. It splits a class
into multiple classes so that each class has one training sample.
Deleting classes
1. In the manager, select the classes you want to delete.
2. Click the Delete button
or Down button
Rename a class
1. In the manager, click in the Class Name cell of a row. The cell becomes
editable.
2. Type a new name and press ENTER.
To compare the distributions of two or more training samples, select their classes
in Training Sample Manager and click the Histograms button
.
The color of the histogram matches the color of the class in Training Sample
Manager.
The Histograms window contains the same number of graphs as the number of
bands in the image layer.
This window displays four graphs in one screen. If you have more than four
bands in the image layer (which means there are more than four graphs), a
vertical scrollbar will be available.
This tool works for integer images only. If the image data is stored as floating
point, the Histograms button
will be unavailable on Training Sample Manager.
The Change Order button (located at the bottom of the window) allows you to
change the overlapping order of the histogram series. If a class is hidden in the
background in one or more histograms, you can bring it to the foreground by
clicking on this button.
To compare the distributions of two or more training samples, select the classes
represented by the training samples in Training Sample Manager and click
the Scatterplots button
.
The color of the scatterplot matches the color of the class in Training Sample
Manager.
There is one scatterplot for each unique band combination of the image layer. For
an n-band image, there are 1 + 2 + + (n 1) scatterplots. For example, there
are six scatterplots for a four-band image.
This window displays four graphs in one screen. If you have more than four
bands in the image layer (which means there are more than four scatterplot
graphs), a vertical scrollbar will be available.
To view the statistics of one or more training samples, select the classes
in Training Sample Manager and click the Statistics button
.
The text in the Statistics window can be copied to the Windows clipboard by
pressing CTRL+C.
Description
Class Probability
Creates a multiband raster of probability bands, with one band being created for each class
Create Signatures
Creates an ASCII signature file of classes defined by input sample data and a set of raster b
Dendrogram
Edit Signatures
Edits and updates a signature file by merging, renumbering, and deleting class signatures.
Iso Cluster
Uses an isodata clustering algorithm to determine the characteristics of the natural grouping
signature file.
Performs unsupervised classification on a series of input raster bands using the Iso Cluster
Performs a maximum likelihood classification on a set of raster bands and creates a classifi
Principal Components
Performs Principal Component Analysis (PCA) on a set of raster bands and generates a sing