How can I calculate the IoU between the original image and the predicted one as shown in attached image?
11 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
How can I calculate the IoU between the original image and the predicted one as shown in attached image?
0 Kommentare
Antworten (1)
Shreeya
am 28 Sep. 2023
I understand that you want to calculate the IoU score between the original and predicted images using MATLAB. You can use the "evaluatesemanticsegmentation" function for this purpose. The input argument provided to the function are "dsResults" and "dsTruth" which refer to the predicted and ground truth images respectively. The output is a semantic segmentaion metrics object with GlobalAccuracy, MeanAccuracy, MeanIoU, and WeightedIoU as the default metrics.
You can refer to the documentaion linked below for more details: https://www.mathworks.com/help/vision/ref/evaluatesemanticsegmentation.html#d126e248885
Hope this helps!
3 Kommentare
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!