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 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 (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 value
  • class: a string with the class name
  • color: 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 πŸ‘€

  • wxGUI
  • wxGUI components
  • Interactive 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