wiki:wxGUIDevelopment/wxIClass

Version 4 (modified by wenzeslaus, 12 years ago) ( diff )

--

wxIClass

wxIClass is a wxGUI extension. Generates spectral signatures for an image by allowing the user to outline regions of interest. The resulting signature file can be used as input for i.maxlik or as a seed signature file for i.cluster. (cited from i.class manual)

wxIClass should have similar functionality as i.class. Don't be confused with older wxGUI i.class implementation wx.class (addons, wiki). wxIClass should replace wx.class.

It will be available in GRASS 7. Now it is in the first development phase and it is developed in private repository. It will be moved to trunk when it's basic functionality is available.

Module name

User friendly name should be found. In the implementation wxIClass is used (and IClass or iclass in C implementation).

User wiki

See also GRASS User Wiki page (TODO).

Implemented features

  • Main window (MapFrame) with two maps and area for plots (similar to i.class window) and with statusbar and toolbar similar to GCP
  • C functions for wxIClass in lib/imagery
    • computing statistics (mean, ...)
    • creating raster map
    • simple API for Python

Planned features

  • something like layer manager for both mapwindows (Traning and Preview)
  • changing layer opacity
  • missing layer manager can be (temporary) substituted by combo box (moves map layer to top)
  • save and load training areas as vector layer
  • managing more than one category
    • one would be active (determines preview, plots, new digitized area category)
    • category manager would be needed
  • importing/exporting vector map (also exporting raster could be useful)
  • importing existing signature file (see i.class manual)
  • dialog to show generated signature file
  • removing subgroup from user interface

Roadmap

  • Refactoring of MapFrames a MapWindows (mapdisp*.py, gcpmapdisp*.py)
    • reason: creating common MapFrame base class and allow specializing in modules like GCP (georectifier) or wxIClass
    • separating statusbar functionality: r48703
    • GCP: r48713, r48764
    • moving code to MapFrameBase: r48763, r48769
    • toolbar access methods: r48765, r48766
  • Create/edit imagery group dialog

List of tickets

No results

Note: See TracWiki for help on using the wiki.