openalea.phenomenal.multi_view_reconstruction.evaluation.segmentation_metrics#

openalea.phenomenal.multi_view_reconstruction.evaluation.segmentation_metrics(img_ref, img_src)[source]#

Compute TP, FP, FN, TN + IoU + Dice between two binary images.

Parameters:
  • img_ref (array-like) – Ground truth (reference)

  • img_src (array-like) – Prediction

Returns:

TP, FP, FN, TN (counts) IoU Dice

Return type:

dict with