You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Implement quality metrics for image segmentation, classification and object detection #2345
I believe that these days a vast majority of engineers and researchers in the field of image processing are working on image segmentation, classification and object detection problems. That said, I think that it could be benefitial to have some typical quality metrics implemented in scikit-image.
Of course, there are already some simple metrics in scikit-learn, but none of them are applicable as is to the problems mentioned above. Image processing-related problems are quite specific in that sense.
Perhaps, we should consider adding several different algorithms for each problem (e.g. for object detection there is a brilliant article B. Ozdemir, S. Aksoy, S. Eckert, M. Pesaresi, and D. Ehrlich, “Performance measures for object detection evaluation,” Pattern Recognit. Lett., vol. 31, no. 10, pp. 1128–1137, 2010. with 3 different quality metrics to be used in different cases).
If you have any thoughts on this topic, please, do share.
P.S. Let this GitHub issue be an umbrella topic for the mentioned things.
Here is an example of metric from the aforementioned article:
Given 2 sets of bounding boxes (reference (in solid line) and estimated (in dashed line)), we perform bipartite graph matching with the highest overlapping area (in gray). Then, using this matching we compute the Jaccard index. This method gives a number which allow to compare object detection algorithms, and judge on which one is better with respect to considered method.
Actually I'm interested, and have very often considered contributing this. I just haven't had the time to do it! fwiw I have a few metrics implemented here, with BSD license:
Activity
soupault commentedon Jan 10, 2017
@scikit-image/core any opinions on this?
sciunto commentedon Jan 10, 2017
I don't think it's clear to me what's a quality metric? Is it an analogue of the chi2 for a fit? Do you have a short illustration of the benefits?
soupault commentedon Apr 10, 2017
@sciunto I'm refering to metrics typically used for evaluation of segmentation quality (http://host.robots.ox.ac.uk/pascal/VOC/voc2012/htmldoc/devkit_doc.html#SECTION00064000000000000000, https://en.wikipedia.org/wiki/Jaccard_index), object detection quality (http://host.robots.ox.ac.uk/pascal/VOC/voc2012/htmldoc/devkit_doc.html#SECTION00054000000000000000, the ones from the article above), and multi-class classification quality (accuracy, precision, recall, http://host.robots.ox.ac.uk/pascal/VOC/voc2012/htmldoc/devkit_doc.html#SECTION00044000000000000000).
Here is an example of metric from the aforementioned article:

Given 2 sets of bounding boxes (reference (in solid line) and estimated (in dashed line)), we perform bipartite graph matching with the highest overlapping area (in gray). Then, using this matching we compute the Jaccard index. This method gives a number which allow to compare object detection algorithms, and judge on which one is better with respect to considered method.
soupault commentedon Apr 21, 2017
Does not seem to be of any interest. Closing.
jni commentedon Apr 21, 2017
Actually I'm interested, and have very often considered contributing this. I just haven't had the time to do it! fwiw I have a few metrics implemented here, with BSD license:
https://github.com/janelia-flyem/gala/blob/master/gala/evaluate.py
yuyu2172 commentedon Apr 24, 2018
These are exactly what are implemented in ChainerCV.
http://chainercv.readthedocs.io/en/stable/reference/evaluations.html
soupault commentedon Dec 19, 2018
For reference, a library with object segmentation metrics by Deepmind - https://github.com/deepmind/surface-distance .