Visceral-Project / EvaluateSegmentation

A program to evaluate the quality of image segmentations.
Apache License 2.0
313 stars 87 forks source link

Bug in Rand index #17

Open faberno opened 2 years ago

faberno commented 2 years ago

Hey,

I noticed that the Rand Index here is calculated by (a + d)/(a + b + c + d). But shouldn't it be (a + b)/(a + b + c + d)?

Best regards

https://github.com/Visceral-Project/EvaluateSegmentation/blob/4cff08d1b5e23e2ecb95043fb62589058f80b690/source/RandIndexMetric.h#L84