Masks represent an area. Simliar to IoU for bounding boxes, there is a metric for masks too called MaskIoU. You could google more about that. Since we've defined an IoU, we can also define True Positives, True Negatives, False Positives and False Negatives. With that, we can compute F1 scores and Confusion Matrices.
MATLAB has a couple of functions for computing metrics on pixel-level classification maps. Have a look to see if they'll be of use to you: segmentationconfusionmatrix and evaluatesemanticsegmentation.