Map validation

From AWF-Wiki
(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
=== Orfeo Toolbox === <!--ComputeConfusionMatrix-->
+
=== Orfeo Toolbox ===
The Orfeo Toolbox provides two opportunities for the data format of the reference data: '''raster''' and '''shape'''.
+
* Type into the search box of the Windows taskbar: {{typed|text=mapla.bat}}. Click on mapla.bat to open  Monteverdi Application Launcher.
# Open {{mitem|text=Toolbox --> Orfeo --> Learning --> ComputeConfusionMatrix (vector)}} or {{mitem|text=ComputeConfusionMatrix (raster)}} depending on your reference data.
+
* In the search engine of mapla, type {{typed|text=Confusion}} and double click '''ComputeConfusionMatrix'''.
 
# Set the classified map as {{button|text=Input image}}.
 
# Set the classified map as {{button|text=Input image}}.
# Set the training data as {{button|text=Input reference data}}.
+
# Select the output file name with the extension '''.csv''' under {{button|text=Matrix output}}.
# In case of the {{mitem|text=ComputeConfusionMatrix (vector)}} tool, it is also possible to adjust the {{button|text=Field name}}, which includes the class information of the reference data.
+
# The Output format is {{button|text=Choice of a confusion matrix as output}}.
# Save the output file under {{button|text=Matrix output}}.
+
# The Ground truth reference data can be in vector or raster format. Select {{button|text=Ground truth as vector data file}}.
 +
# Set the validation '''lab07_validation.shp''' as {{button|text=Input reference vector data}}.
 +
# Select the Field name '''C_ID'''.
 +
# Click {{button|text=Execute}}.
 +
# Open the CSV output file with Libre Office Calc or MS Excel. Calculate User, Producer and Overall accuracies.
  
 +
[[File:qgis_otb_confusionMatrix.png|400px]]
  
 
[[Category:QGIS Tutorial]]
 
[[Category:QGIS Tutorial]]

Revision as of 12:32, 17 December 2018

Orfeo Toolbox

  • Type into the search box of the Windows taskbar: mapla.bat. Click on mapla.bat to open Monteverdi Application Launcher.
  • In the search engine of mapla, type Confusion and double click ComputeConfusionMatrix.
  1. Set the classified map as Input image.
  2. Select the output file name with the extension .csv under Matrix output.
  3. The Output format is Choice of a confusion matrix as output.
  4. The Ground truth reference data can be in vector or raster format. Select Ground truth as vector data file.
  5. Set the validation lab07_validation.shp as Input reference vector data.
  6. Select the Field name C_ID.
  7. Click Execute.
  8. Open the CSV output file with Libre Office Calc or MS Excel. Calculate User, Producer and Overall accuracies.

Qgis otb confusionMatrix.png

Personal tools
Namespaces

Variants
Actions
Navigation
Development
Toolbox
Print/export