Compute summary statistics between two sets of N-dimensional binary masks.
pip install mask_stats
from mask_stats import compute_evaluations_for_mask_pairs
true_masks = [mask1, mask2, ..., maskN]
pred_masks = [pred1, pred2, ..., predN]
true_eval, pred_eval = compute_evaluations_for_mask_pairs(true_masks, pred_masks)
- Documentation
- More tests
- Function to evaluate single mask pair