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 segmentation ?". I plan to compare final binary image with correct binary image based on pixel differences in order to get a success rate. Is there a more efficient way to compare edges of two binary image, instead of this?
You can use jaccard_similarity_score as shown here: http://scikit-learn.org/stable/modules/generated/sklearn.metrics.jaccard_similarity_score.html But for images needs flattening the images for converting it into 1-D
Measuring the quality of image segmentation is a topic well studied in the computer vision community.
You can see this method that is suitable for binary segmentations. There is also this method for multiple segments and also for boundary accuracy.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With