| 1 |
<!-- meta page description: wxGUI Supervised Classification Tool --> |
| 2 |
<!-- meta page index: topic_GUI|GUI --> |
| 3 |
|
| 4 |
<h2>KEYWORDS</h2> |
| 5 |
|
| 6 |
<a href="display.html">display</a>, <a href="topic_GUI.html">GUI</a>, <a href="keywords.html#imagery">imagery</a>, <a href="keywords.html#classification">classification</a>, <a href="keywords.html#supervised classification">supervised classification</a> |
| 7 |
|
| 8 |
<h2>DESCRIPTION</h2> |
| 9 |
|
| 10 |
<p> |
| 11 |
<b>Supervised Classification Tool</b> (wxIClass) is |
| 12 |
a <em><a href="wxGUI.html">wxGUI</a></em> component which allows the |
| 13 |
user to create training areas and generate spectral signatures. The |
| 14 |
resulting signature file can be used as input for |
| 15 |
<em><a href="i.maxlik.html">i.maxlik</a></em> |
| 16 |
or as a seed signature file for |
| 17 |
<em><a href="i.cluster.html">i.cluster</a></em>. |
| 18 |
<em>WxIClass</em> can be launched from the Layer Manager |
| 19 |
menu <i>Imagery → Classify image → Interactive input for |
| 20 |
supervised classification</i> or via command line |
| 21 |
as <em>g.gui.iclass</em>. |
| 22 |
|
| 23 |
<p> |
| 24 |
<em>wxIClass</em> currently allows you to: |
| 25 |
|
| 26 |
<ul> |
| 27 |
<li>create training areas |
| 28 |
(using customized <em><a href="wxGUI.vdigit.html">vector |
| 29 |
digitizer</a></em>)</li> |
| 30 |
<li>show histograms for each band and class (category)</li> |
| 31 |
<li>show coincidence plots for each band</li> |
| 32 |
<li>show raster cells that match training areas |
| 33 |
(within the number of standard deviations specified)</li> |
| 34 |
<li>specify color of class</li> |
| 35 |
<li>write signature file</li> |
| 36 |
<li>import vector map</li> |
| 37 |
<li>export vector map with attribute table</li> |
| 38 |
</ul> |
| 39 |
|
| 40 |
<center> |
| 41 |
<br> |
| 42 |
<img src="iclass_frame.jpg" border="1" alt="Supervised Classification Tool"> |
| 43 |
<br><br> |
| 44 |
</center> |
| 45 |
|
| 46 |
<p> |
| 47 |
<em>wxIClass</em> performs the first pass in the GRASS two-pass supervised image |
| 48 |
classification process; the GRASS module |
| 49 |
<em><a href="i.maxlik.html">i.maxlik</a></em> executes the second pass. |
| 50 |
Both programs must be run to generate a classified map in GRASS |
| 51 |
raster format. |
| 52 |
|
| 53 |
<p> |
| 54 |
<em>wxIClass</em> is an interactive program that allows the user to create |
| 55 |
multiple training areas for multiple classes and calculate the spectral |
| 56 |
signatures based on the cells that are within the training areas. |
| 57 |
During this process the user will be |
| 58 |
shown histograms for each image band. |
| 59 |
The user can also display the cells of the image bands which fall within |
| 60 |
a user-specified number of standard deviations from the means in the spectral signature. |
| 61 |
By doing this, the user can see how much of the image |
| 62 |
is likely to be put into the class associated with the signature. |
| 63 |
|
| 64 |
<p><em>wxIClass</em> 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: |
| 65 |
<ul> |
| 66 |
<li>cat: category value</li> |
| 67 |
<li>class: a string with the class name</li> |
| 68 |
<li>color: a color defined using format "RRR:GGG:BBB"</li> |
| 69 |
</ul> |
| 70 |
|
| 71 |
<p> |
| 72 |
The spectral signatures are composed of region means and covariance matrices. |
| 73 |
These region means and covariance matrices are used in |
| 74 |
the second pass (<em><a href="i.maxlik.html">i.maxlik</a></em>) |
| 75 |
to classify the image. |
| 76 |
|
| 77 |
<p> |
| 78 |
Alternatively, the spectral signatures generated by <em>wxIClass</em> can be |
| 79 |
used for seed means for the clusters in |
| 80 |
<em><a href="i.cluster.html">i.cluster</a></em>. |
| 81 |
|
| 82 |
<h2>SEE ALSO</h2> |
| 83 |
|
| 84 |
<em> |
| 85 |
<a href="wxGUI.html">wxGUI</a>, |
| 86 |
<a href="wxGUI.components.html">wxGUI components</a>, |
| 87 |
<a href="wxGUI.iscatt.html">Interactive Scatter Plot Tool</a> |
| 88 |
</em> |
| 89 |
|
| 90 |
<p> |
| 91 |
See also |
| 92 |
user <a href="https://grasswiki.osgeo.org/wiki/WxIClass">wiki</a> page |
| 93 |
and <a href="https://trac.osgeo.org/grass/wiki/wxGUIDevelopment/wxIClass">development</a> page. |
| 94 |
|
| 95 |
<h2>AUTHORS</h2> |
| 96 |
|
| 97 |
Anna Kratochvilova, |
| 98 |
<a href="https://www.cvut.cz">Czech Technical University in Prague</a>, Czech Republic<br> |
| 99 |
|
| 100 |
Vaclav Petras, |
| 101 |
<a href="https://www.cvut.cz">Czech Technical University in Prague</a>, Czech Republic |