g.gui.iclass(1grass)
π g.gui.iclass π
okay bestie, welcome to g.gui.iclass from the GRASS User's Manual β it's the supervised classification tool and it's lowkey iconic.
β¨ NAME β¨
g.gui.iclass β a whole tool for supervised classification of imagery data, no cap. It generates spectral signatures for an image by letting you outline regions of interest. It's giving "I draw circles on pictures and then science happens."
π·οΈ KEYWORDS π·οΈ
general, GUI, classification, supervised classification, signatures
π SYNOPSIS π
g.gui.iclass
g.gui.iclass --help
g.gui.iclass [-m] [group=name] [subgroup=name] [map=name]
[trainingmap=name] [--help] [--verbose] [--quiet] [--ui]
π Flags
-mβ Maximize window. big window energy β¨--helpβ Print usage summary. when u need a lil recap π--verboseβ Verbose module output. it literally will not stop talking (affectionate)--quietβ Quiet module output. the opposite vibe π€«--uiβ Force launching GUI dialog. yes queen, launch it π
π¦ Parameters
group=nameβ Name of input imagery groupsubgroup=nameβ Name of input imagery subgroupmap=nameβ Name of raster map to loadtrainingmap=nameβ Ground truth training map to load
π·οΈ KEYWORDS (again, she's thorough) π·οΈ
display, GUI, imagery, classification, supervised classification
πΈ DESCRIPTION πΈ
Supervised Classification Tool (wxIClass) is a wxGUI component, and what it does is let the user 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. choose ur adventure bestie π«Ά
wxIClass currently allows you to:
- create training areas (using customized vector digitizer)
- show histograms for each band and class (category)
- show coincidence plots for each band
- show raster cells that match training areas (within the number of standard deviations specified)
- specify color of class
- write signature file
- import vector map
- export vector map with attribute table
i.maxlik said "I'll finish this" and honestly? teamwork makes the dream work. 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. no skipping steps babe, it takes two π
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. it's basically a vibe check for ur pixels π
wxIClass can also import training areas defined in a vector layer. In that case the program expects the vector layer to have the following columns defined:
cat: category valueclass: a string with the class namecolor: a color defined using format"RRR:GGG:BBB"
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. math girlies rise up π₯
Alternatively, the spectral signatures generated by wxIClass can be used for seed means for the clusters in i.cluster. options upon options, we love to see it.
π SEE ALSO π
wxGUIwxGUI componentsInteractive Scatter Plot Tool
See also user wiki page and development page. go read, iykyk π
π AUTHORS π
- Anna Kratochvilova, Czech Technical University in Prague, Czech Republic
- Vaclav Petras, Czech Technical University in Prague, Czech Republic
π» SOURCE CODE π»
Available at: wxGUI Supervised Classification Tool source code (history)
Accessed: Tuesday Sep 08 11:56:22 2026
Main index | GUI index | Topics index | Keywords index | Graphical index | Full index
Β© 2003-2026 GRASS Development Team, GRASS 8.5.0 Reference Manual
and that's the whole page bestie, we ate and left absolutely no crumbs πβ¨ this was g.gui.iclass(1grass) from GRASS 8.5.0 β ily, go classify something cute ππ
π¦ where this page comes from
- ubuntu stonking: grass-doc 8.5.0-1ubuntu1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms