Supervised classification (Tutorial)

From AWF-Wiki
(Difference between revisions)
Jump to: navigation, search
Line 17: Line 17:
 
## Also add the vector layer ''Training_manual_poly.shp''.
 
## Also add the vector layer ''Training_manual_poly.shp''.
 
## In the {{button|text=Semi Automatic Class Plugin}}, go to the {{button|text=Semi Automatic ROI Creation}} tab.
 
## In the {{button|text=Semi Automatic Class Plugin}}, go to the {{button|text=Semi Automatic ROI Creation}} tab.
## For {{button|text=ROI Definition}} select {{button|text=ID: 1}} and for {{button|text=Information}} select {{button|text=Urban area}} and click {{button|text=+}}. {{red|text=Not sure about this...}} [[User:Lburgr|- Levent]] ([[User talk:Lburgr|talk]])
+
## In the {{button|text=ROI Definition}} section select {{button|text=ID: 1}} and for {{button|text=Information}} enter {{typed|text=Urban area}} and click {{button|text=+}} to adda n ROI (figure '''B'''). {{red|text=Not sure about this...}} [[User:Lburgr|- Levent]] ([[User talk:Lburgr|talk]])
 +
## In the {{button|text=Classification algorithm}} section, choose {{button|text=Minimum distance}}. Click {{button|text=+}} in the {{button|text=Classification preview}} section.
 +
## For {{button|text=Classification style}} click {{button|text=Select qml}} and browse for the file ''classification.qml'' from the [[course data]]. Click {{button|text=+}} to confirm and select any part of the image. A message will appear that the algorithm is executing. Wait until it has finished.

Revision as of 17:11, 17 February 2014

Construction.png sorry: 

This section is still under construction! This article was last modified on 02/17/2014. If you have comments please use the Discussion page or contribute to the article!

This article is part of the QGIS tutorial 2013/14.
In this article, you will learn how to conduct a supervised image classification in QGIS 2.0
  1. First, you need to install the Semi Automatic Class Plugin
    1. Click Manage and install plugins.
    2. In the appearing menu, select Add more.
    3. Browse for the plugin (it's most comfortable to use the search-field).
    4. Click Install
  2. Testing the plugin
    1. For the plugin to work, you need to make sure that your GRASS GIS installation is working properly:
    2. With the plugin installed, select Raster --> Semi Automatic Class Plugin.
    3. In the appearing menu, select the Settings tab (figure A). Click Test Grass GIS and wait until the message Test OK appears.
    4. Click the Test QGIS Algorithm button and wait again until the Test OK message appears.
    5. Do the same for the Orfeo Toolbox and Saga algorithms.
  3. Classification
    1. Add the raster map 188_pca_indices.tif from the course data (see previous exercises).
    2. Also add the vector layer Training_manual_poly.shp.
    3. In the Semi Automatic Class Plugin, go to the Semi Automatic ROI Creation tab.
    4. In the ROI Definition section select ID: 1 and for Information enter Urban area and click + to adda n ROI (figure B). Not sure about this... - Levent (talk)
    5. In the Classification algorithm section, choose Minimum distance. Click + in the Classification preview section.
    6. For Classification style click Select qml and browse for the file classification.qml from the course data. Click + to confirm and select any part of the image. A message will appear that the algorithm is executing. Wait until it has finished.
Personal tools
Namespaces

Variants
Actions
Navigation
Development
Toolbox
Print/export