mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-06 00:05:02 -05:00
5 lines
3.2 KiB
HTML
5 lines
3.2 KiB
HTML
<html><head>
|
|
<style type="text/css">
|
|
dl { border: 3px double #ccc; padding: 0.5em; } dt { float: left; clear: left; text-align: left; font-weight: bold; color: green; } dt:after { content: ":"; } dd { margin: 0 0 0 220px; padding: 0 0 0.5em 0; }
|
|
</style>
|
|
</head><body><h1>ComputeConfusionMatrix</h1><h2>Brief Description</h2>Computes the confusion matrix of a classification<h2>Tags</h2>Learning<h2>Long Description</h2>This application computes the confusion matrix of a classification map relatively to a ground truth. This ground truth can be given as a raster or a vector data. Only reference and produced pixels with values different from NoData are handled in the calculation of the confusion matrix. The confusion matrix is organized the following way: rows = reference labels, columns = produced labels. In the header of the output file, the reference and produced class labels are ordered according to the rows/columns of the confusion matrix.<h2>Parameters</h2><ul><li><b>[param] -in</b> <string> The input classification image.. Mandatory: True. Default Value: ""</li><li><b>[param] -out</b> <string> Filename to store the output matrix (csv format). Mandatory: True. Default Value: ""</li><li><b>[param] -nodatalabel</b> <int32> Label for the NoData class. Such input pixels will be discarded from the ground truth and from the input classification map. By default, 'nodatalabel = 0'.. Mandatory: False. Default Value: "0"</li><li><b>[param] -ram</b> <int32> Available memory for processing (in MB). Mandatory: False. Default Value: "128"</li><b>[choice] -ref</b> Choice of ground truth format raster,vector. Mandatory: True. Default Value: "raster"<ul><li><b>[group] -raster</b></li><ul><li><b>[param] -ref.raster.in</b> <string> Input image containing the ground truth labels. Mandatory: True. Default Value: ""</li></ul><li><b>[group] -vector</b></li><ul><li><b>[param] -ref.vector.in</b> <string> Input vector data of the ground truth. Mandatory: True. Default Value: ""</li><li><b>[param] -ref.vector.field</b> <string> Field name containing the label values. Mandatory: False. Default Value: "Class"</li></ul></ul></ul><h2>Limitations</h2>None<h2>Authors</h2>OTB-Team<h2>See Also</h2> <h2>Example of use</h2><ul><li><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">in: clLabeledImageQB1.tif</p></li><li><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">out: ConfusionMatrix.csv</p></li><li><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">ref: vector</p></li><li><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">ref.vector.in: VectorData_QB1_bis.shp</p></li><li><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">ref.vector.field: Class</p></li><li><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">nodatalabel: 255</p></li></ul></body></html> |