Skip to main content
. 2022 Feb 18;12(2):309. doi: 10.3390/jpm12020309

Table 2.

Summary of adopted evaluation metrics.

Metrics Formulas Description
Accuracy (ACC) TP+TNTP+TN+ FP+FN The ratio of correctly predicted pixels to the total number of pixels in the processed image.
Precision (Pc) TPTP+FP The ratio of correctly predicted lesion pixels to the total of expected lesion pixels.
Sensitivity (Sen) TPTP+FN The ratio of the correctly predicted lesion pixels to the total number of real lesion pixels.
F1 score (F1) 2.Precision . RecallPrecision+Recall The ratio obtained from a combination of both precision and sensitivity results.
Specificity (Sp) TNTN+FP The ratio of correctly predicted normal pixels to the total number of actual normal pixels.
Dice coefficient (DC) 2.XYX+Y The similarity between the method output (Y) and the ground truth (X).
Structural metric (Sm) Sm = (1 − β).Sos(Sop,Sgt) + β.Sor(Sop,Sgt) The structural similarity between the prediction map and ground truth mask.
Mean Absolute Error (MAE) MAE=1w . h ∑wi∑hj|Sop(i,j) − Sgt(i,j)| Measures the pixel-wise difference.