SAGA 9.3.3 | Tool Library Documentation

Confusion Matrix (Polygons / Grid)


Description

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, inputGRID--
Look-up Tabletable, input, optionalGRID_LUT--
Polygonsshapes, inputPOLYGONS--
OutputConfusion Matrixtable, outputCONFUSION--
Class Valuestable, outputCLASSES--
Summarytable, outputSUMMARY--
OptionsGrid Systemgrid systemPARAMETERS_GRID_SYSTEM--
Value InterpretationchoiceGRID_VALUES-Available Choices: [0] values are class identifiers [1] use look-up table Default: 1
Valuetable fieldGRID_LUT_MIN--
Value (Maximum)table fieldGRID_LUT_MAX--
Nametable fieldGRID_LUT_NAM--
Classestable fieldFIELD--
UnclassifiedbooleanNO_CLASS-Default: 1

Command Line


Usage: saga_cmd imagery_classification 6 [-GRID ] [-GRID_VALUES ] [-GRID_LUT ] [-GRID_LUT_MIN ] [-GRID_LUT_MAX ] [-GRID_LUT_NAM ] [-POLYGONS ] [-FIELD ] [-CONFUSION ] [-CLASSES ] [-SUMMARY ] [-NO_CLASS ]
  -GRID:        	Classification
	grid, input
  -GRID_VALUES: 	Value Interpretation
	choice
	Available Choices:
	[0] values are class identifiers
	[1] use look-up table
	Default: 1
  -GRID_LUT:    	Look-up Table
	table, input, optional
  -GRID_LUT_MIN:	Value
	table field
  -GRID_LUT_MAX:	Value (Maximum)
	table field
  -GRID_LUT_NAM:	Name
	table field
  -POLYGONS:    	Polygons
	shapes, input
  -FIELD:       	Classes
	table field
  -CONFUSION:   	Confusion Matrix
	table, output
  -CLASSES:     	Class Values
	table, output
  -SUMMARY:     	Summary
	table, output
  -NO_CLASS:    	Unclassified
	boolean
	Default: 1