SAGA-GIS Module Library Documentation (v2.2.2)

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.

Parameters

 NameTypeIdentifierDescriptionConstraints
InputClassificationGrid (input)GRID--
Look-up Table (*)Table (optional input)GRID_LUT--
PolygonsShapes (input)POLYGONS--
OutputConfusion MatrixTable (output)CONFUSION--
Class ValuesTable (output)CLASSES--
SummaryTable (output)SUMMARY--
OptionsValueTable fieldGRID_LUT_MIN--
Value (Maximum) (*)Table fieldGRID_LUT_MAX--
Name (*)Table fieldGRID_LUT_NAM--
ClassesTable fieldFIELD--
(*) 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)