Module 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
- Specification: grid
- 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 | Value | Table field | GRID_LUT_MIN | - | - |
Value (Maximum) (*) | Table field | GRID_LUT_MAX | - | - |
Name (*) | Table field | GRID_LUT_NAM | - | - |
Classes | Table field | FIELD | - | - |
(*) optional |
Command-line
Usage: saga_cmd imagery_classification 6 [-GRID <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>]
-GRID:<str> Classification
Grid (input)
-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)