g.gui.iclass(1)

✨ NAME ✨

g.gui.iclass β€” bestie, this is the Tool for supervised classification of imagery data πŸ’– It generates spectral signatures for an image by letting you literally outline regions of interest. It's giving "art class but make it remote sensing" 🎨


🏷️ 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, literally πŸ‘‘
  • --help β€” Print usage summary, iykyk
  • --verbose β€” Verbose module output (she's chatty fr fr)
  • --quiet β€” Quiet module output (she's not)
  • --ui β€” Force launching GUI dialog

πŸŽ€ Parameters

  • group=name β€” Name of input imagery group
  • subgroup=name β€” Name of input imagery subgroup
  • map=name β€” Name of raster map to load
  • trainingmap=name β€” Ground truth training map to load

🌈 KEYWORDS 🌈

display, GUI, imagery, classification, supervised classification


πŸ’… DESCRIPTION πŸ’…

Supervised Classification Tool (aka wxIClass) is a wxGUI component that lets you 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. You can launch WxIClass from the Layer Manager menu Imagery β†’ Classify image β†’ Interactive input for supervised classification, or straight from the command line as g.gui.iclass. Main character entrance, honestly 🫢

✨ 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

wxIClass does the first pass in the GRASS two-pass supervised image classification process; the GRASS module i.maxlik runs the second pass. Both programs must be run to generate a classified map in GRASS raster format. No skipping steps bestie, that's the whole plot 😭

wxIClass is an interactive program that lets you 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 you'll be shown histograms for each image band. You 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. Doing that lets you see how much of the image is likely to get sorted into the class associated with the signature. Vibe check on your signature, essentially πŸ’€

The spectral signatures are composed of region means and covariance matrices. Those region means and covariance matrices get 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. Flexible queen πŸ’œ


πŸ‘€ SEE ALSO πŸ‘€

wxGUI, wxGUI components, Interactive Scatter Plot Tool

Also, see the user wiki page and the development page. Go read, bestie, it's good for you πŸ“


πŸ‘‘ 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: Saturday Jan 17 05:42:35 2026

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


Β© 2003-2025 GRASS Development Team, GRASS GIS 8.4.2 Reference Manual

okay that's the whole page, and just so you know, this is GRASS 8.4.2, g.gui.iclass(1), byeee bestie, go classify something gorgeous πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from