HOW TO CALCULATE THE PRECISION AND RECALL AND IoU
6 views (last 30 days)
I have the groundTruthlabel(g.mat) and prediction (tempSeg1.mat). all attached.
Anyone know how to calculate the precision, recall and IoU for my data?
I tried used this one but error.
[precision,recall] = bboxPrecisionRecall(idxx,tempSeg1)
Error using bboxPrecisionRecall
Expected boundingBoxes to be one of these types:
double, single, uint8, uint16, uint32, uint64, int8, int16, int32, int64
Instead its type was logical.
Error in bboxPrecisionRecall>validateNonTableInput (line 153)
Error in bboxPrecisionRecall (line 110)
My data is 3D.