How can I calculate the IoU between the original image and the predicted one as shown in attached image?
11 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
How can I calculate the IoU between the original image and the predicted one as shown in attached image?
0 comentarios
Respuestas (1)
Shreeya
el 28 de Sept. de 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 comentarios
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!