segmentationConfusionMatrix
多级像素级图像分割的混淆矩阵
Description
computes a confusion matrix from the predicted pixel labelsconfusionMatrix
= SemengemationConfusionMatrix(LPred
,Ltruth
)LPred
and ground truth pixel labelsLtruth
.
Examples
Input Arguments
Output Arguments
Tips
You can calculate semantic segmentation metrics such as the Jaccard score and classification accuracy from the confusion matrix by using the
evaluateSemanticSegmentation
function.You can use this function in block-based image processing workflows such as
bigimage
. For example, you can perform semantic segmentation and calculate the confusion matrix for a block in the same call to theapply
function.
Version History
See Also
semanticseg
|dice
|jaccard
|semanticSegmentationMetrics
|evaluateSemanticSegmentation
|plotconfusion
(Deep Learning Toolbox)