QGIS/python/plugins/processing/algs/otb/description/doc/ComputeConfusionMatrix.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> &lt;string&gt; The input classification image.. Mandatory: True. Default Value: &quot;&quot;</li><li><b>[param] -out</b> &lt;string&gt; Filename to store the output matrix (csv format). Mandatory: True. Default Value: &quot;&quot;</li><li><b>[param] -nodatalabel</b> &lt;int32&gt; 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: &quot;0&quot;</li><li><b>[param] -ram</b> &lt;int32&gt; Available memory for processing (in MB). Mandatory: False. Default Value: &quot;128&quot;</li><b>[choice] -ref</b> Choice of ground truth format raster,vector. Mandatory: True. Default Value: &quot;raster&quot;<ul><li><b>[group] -raster</b></li><ul><li><b>[param] -ref.raster.in</b> &lt;string&gt; Input image containing the ground truth labels. Mandatory: True. Default Value: &quot;&quot;</li></ul><li><b>[group] -vector</b></li><ul><li><b>[param] -ref.vector.in</b> &lt;string&gt; Input vector data of the ground truth. Mandatory: True. Default Value: &quot;&quot;</li><li><b>[param] -ref.vector.field</b> &lt;string&gt; Field name containing the label values. Mandatory: False. Default Value: &quot;Class&quot;</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>