Tool Confusion Matrix (Polygons / Grid)
Compares a classified polygons layer with grid classes and creates a confusion matrix and derived coefficients. Grid classes have to be defined with a look-up table and values must match those of the polygon classes for the subsequent comparison. This tool is typically used for a quality assessment of a supervised classification.
- Author: O.Conrad (c) 2015
- Menu: Imagery|Classification
Parameters
| Name | Type | Identifier | Description | Constraints |
Input | Classification | Grid (input) | GRID | - | - |
Look-up Table (*) | Table (optional input) | GRID_LUT | - | - |
Polygons | Shapes (input) | POLYGONS | - | - |
Output | Confusion Matrix | Table (output) | CONFUSION | - | - |
Class Values | Table (output) | CLASSES | - | - |
Summary | Table (output) | SUMMARY | - | - |
Options | Grid system | Grid system | PARAMETERS_GRID_SYSTEM | - | - |
Value Interpretation | Choice | GRID_VALUES | - | Available Choices: [0] values are class identifiers [1] use look-up table Default: 1 |
Value | Table field | GRID_LUT_MIN | - | - |
Value (Maximum) (*) | Table field | GRID_LUT_MAX | - | - |
Name (*) | Table field | GRID_LUT_NAM | - | - |
Classes | Table field | FIELD | - | - |
Unclassified | Boolean | NO_CLASS | - | Default: 1 |
(*) optional |
Command-line
Usage: saga_cmd imagery_classification 6 [-GRID <str>] [-GRID_VALUES <str>] [-GRID_LUT <str>] [-GRID_LUT_MIN <str>] [-GRID_LUT_MAX <str>] [-GRID_LUT_NAM <str>] [-POLYGONS <str>] [-FIELD <str>] [-CONFUSION <str>] [-CLASSES <str>] [-SUMMARY <str>] [-NO_CLASS <str>]
-GRID:<str> Classification
Grid (input)
-GRID_VALUES:<str> Value Interpretation
Choice
Available Choices:
[0] values are class identifiers
[1] use look-up table
Default: 1
-GRID_LUT:<str> Look-up Table
Table (optional input)
-GRID_LUT_MIN:<str> Value
Table field
-GRID_LUT_MAX:<str> Value (Maximum)
Table field
-GRID_LUT_NAM:<str> Name
Table field
-POLYGONS:<str> Polygons
Shapes (input)
-FIELD:<str> Classes
Table field
-CONFUSION:<str> Confusion Matrix
Table (output)
-CLASSES:<str> Class Values
Table (output)
-SUMMARY:<str> Summary
Table (output)
-NO_CLASS:<str> Unclassified
Boolean
Default: 1