how to calculate IoU for semantic segmentation

29 views (last 30 days)
Hello All,
I have groundtruthlabeling, and prediction labeling using deep learning.
May I know how to calculate IoU for my semantic segmentation?
data as attached.

Answers (1)

Birju Patel
Birju Patel on 31 Oct 2022
You can start here:
You can also use jaccard when you just want to get the IoU metric for a pair of images:

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!