摘要: 根据PASCAL challenges的标准:intersection-over-union score,所写的matlab评价程序,处理二值图像。其思想即分割结果与Ground Trueth的交集比上它们的并集,即为分割的准确率,代码如下: 1 function performance =get_performance_iou_binary(ImgResult, ImgGT) 2 3 % background color & foreground 4 bg_color = 0 ; 5 fg_color = 255 ; 6 7 % check the size 8 [rh rw rd] 阅读全文
posted @ 2013-09-17 11:27 Moondark 阅读(3181) 评论(0) 推荐(0)