ESupervisedSegmenterMetrics::GetPredictedBlobConfusion

Number of predicted blobs of the given precited label that match to blobs of the given ground truth label.
See ESupervisedSegmenterMetrics::GetGroundtruthBlobConfusion for the number of ground truth blobs that match to these predicted blobs.

Namespace: Euresys::Open_eVision::EasyDeepLearning

[C++]

OEV_UINT64 GetPredictedBlobConfusion(
   const std::string& groundtruthLabel,
   const std::string& predictedLabel
)

OEV_UINT64 GetPredictedBlobConfusion(
   int groundtruthLabelIndex,
   int predictedLabelIndex
)

Parameters

groundtruthLabel

Ground truth label

predictedLabel

Predicted label

groundtruthLabelIndex

Ground truth label index

predictedLabelIndex

Predicted label index

Remarks

A predicted blob may be counted several times in the confusion matrix for predicted blobs:
- Once if the more than 50% of the blob intersects ground truth background.
- Once for each non-background label the predicted blob has an intersection with.

ESupervisedSegmenterMetrics.GetPredictedBlobConfusion

Number of predicted blobs of the given precited label that match to blobs of the given ground truth label.
See ESupervisedSegmenterMetrics::GetGroundtruthBlobConfusion for the number of ground truth blobs that match to these predicted blobs.

Namespace: Euresys.Open_eVision.EasyDeepLearning

[C#]

System.UInt64 GetPredictedBlobConfusion(
   string groundtruthLabel,
   string predictedLabel
)

System.UInt64 GetPredictedBlobConfusion(
   int groundtruthLabelIndex,
   int predictedLabelIndex
)

Parameters

groundtruthLabel

Ground truth label

predictedLabel

Predicted label

groundtruthLabelIndex

Ground truth label index

predictedLabelIndex

Predicted label index

Remarks

A predicted blob may be counted several times in the confusion matrix for predicted blobs:
- Once if the more than 50% of the blob intersects ground truth background.
- Once for each non-background label the predicted blob has an intersection with.