How to test accuracy of segmentation algorithm?

后端 未结 5 1295
你的背包
你的背包 2021-01-02 03:06

I am dealing with a image classification problem. Before classification, images should be segmented. I tried several methods. My question is \"how can i test accuracy of seg

5条回答
  •  挽巷
    挽巷 (楼主)
    2021-01-02 03:47

    A usual approach is to use the ratio of the total area of the correct position of the object compared to the area of the detected object that falls into the correct position.

    If your areas are not uniform, it will be something like (pixels in the detected area that match the ground truth)/total number of pixels in the ground truth segmentation.

    in the image below: count(gray)/(count(black+gray))

    enter image description here

    A measure you should consider is also a ratio of the detection area compared to the ground truth area, because you may have a detection that covers the whole image, and have a score of 100% accuracy on the above formula.

提交回复
热议问题