Unsupervised classification (Tutorial)
From AWF-Wiki
(Difference between revisions)
(→Unsupervised K-Means classification) |
(→Unsupervised K-Means classification) |
||
Line 11: | Line 11: | ||
* Load the resulting image into QGIS. It is single band file with 20 grey levels labeled from 0 to 19. | * Load the resulting image into QGIS. It is single band file with 20 grey levels labeled from 0 to 19. | ||
− | * {{mitem|text=Layer Properties --> Symbology --> Render type}}. Switch to {{button|text=Singleband pseudocolor}} and select a '''Color ramp''' (e.g. Spectral). Select the Mode {{button|text=Equal interval}} and set the number of classes to {{typed|text=20}} | + | * {{mitem|text=Layer Properties --> Symbology --> Render type}}. Switch to {{button|text=Singleband pseudocolor}} and select a '''Color ramp''' (e.g. Spectral). Select the '''Mode''' {{button|text=Equal interval}} and set the number of classes to {{typed|text=20}} |
[[Category:QGIS Tutorial]] | [[Category:QGIS Tutorial]] |
Revision as of 16:49, 23 November 2018
Unsupervised K-Means classification
- Type into the search box of the Windows taskbar: mapla.bat. Click on mapla.bat to open the Monteverdi Application Launcher.
- In the search engine of the Processing Toolbox, type kmeans and double click KMeansClassification.
- Specify a multispectral image as Input Image.
- Specify directory and name for the Output image. Select the output data type uint 8 from the pull-down list.
- Set the Number of classes to 20
- Check the Training set size to 10000
- Click on Execute.
- Load the resulting image into QGIS. It is single band file with 20 grey levels labeled from 0 to 19.
- Layer Properties --> Symbology --> Render type. Switch to Singleband pseudocolor and select a Color ramp (e.g. Spectral). Select the Mode Equal interval and set the number of classes to 20