GRASS logo

Note: This document is for an older version of GRASS GIS that will be discontinued soon. You should upgrade, and read the current manual page.


g.gui.iclass - Tool for supervised classification of imagery data.
Generates spectral signatures for an image by allowing the user to outline regions of interest.


general, GUI, classification, supervised classification, signatures


g.gui.iclass --help
g.gui.iclass [-m] [group=name] [subgroup=name] [map=name] [trainingmap=name] [--help] [--verbose] [--quiet] [--ui]


Maximize window
Print usage summary
Verbose module output
Quiet module output
Force launching GUI dialog


Name of input imagery group
Name of input imagery subgroup
Name of raster map to load
Ground truth training map to load

Table of contents


display, GUI, imagery, classification, supervised classification


Supervised Classification Tool (wxIClass) is a wxGUI compoment which allows the user to create training areas and generate spectral signatures. The resulting signature file can be used as input for i.maxlik or as a seed signature file for i.cluster. WxIClass can be launched from the Layer Manager menu Imagery → Classify image → Interactive input for supervised classification or via command line as g.gui.iclass.

wxIClass currently allows you to:

Supervised Classification Tool

wxIClass performs the first pass in the GRASS two-pass supervised image classification process; the GRASS module i.maxlik executes the second pass. Both programs must be run to generate a classified map in GRASS raster format.

wxIClass is an interactive program that allows the user to create multiple training areas for multiple classes and calculate the spectral signatures based on the cells that are within the training areas. During this process the user will be shown histograms for each image band. The user can also display the cells of the image bands which fall within a user-specified number of standard deviations from the means in the spectral signature. By doing this, the user can see how much of the image is likely to be put into the class associated with the signature.

The spectral signatures are composed of region means and covariance matrices. These region means and covariance matrices are used in the second pass (i.maxlik) to classify the image.

Alternatively, the spectral signatures generated by wxIClass can be used for seed means for the clusters in i.cluster.


wxGUI components, Interactive Scatter Plot Tool

See also user wiki page and development page.


Anna Kratochvilova, Czech Technical University in Prague, Czech Republic
Vaclav Petras, Czech Technical University in Prague, Czech Republic


Available at: wxGUI Supervised Classification Tool source code (history)

Latest change: Saturday Jul 16 18:18:43 2022 in commit: effc544b795cef89a0c38628eee513eca82c266e

Note: This document is for an older version of GRASS GIS that will be discontinued soon. You should upgrade, and read the current manual page.

Main index | GUI index | Topics index | Keywords index | Graphical index | Full index

© 2003-2023 GRASS Development Team, GRASS GIS 7.8.9dev Reference Manual