Image Thresholding: Understanding Bias of Evaluation Metrics towards Specific Evaluation Functions
This paper reveals an inherent bias in image segmentation evaluation, demonstrating that Otsu's between-class variance objective function consistently correlates more strongly with standard quality metrics like SSIM and PSNR than Kapur's entropy, thereby challenging the assumption of metric neutrality.
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
Imagine you are trying to cut a cake into perfect slices. In the world of computer vision, this "cake" is an image, and "cutting" it means separating different parts of the picture (like the sky from the ground, or a tumor from healthy tissue). This process is called image thresholding.
To do this, computers need a rulebook, or an Objective Function, to tell them where to cut. Two of the most famous rulebooks are:
- Otsu's Method: This rulebook says, "Cut the cake where the difference between the light and dark parts is the biggest." It's like trying to maximize the contrast between the frosting and the sponge.
- Kapur's Method: This rulebook says, "Cut the cake where the information content is the most balanced." It's a more complex rule based on how much "surprise" or variety is in each slice.
Once the computer makes a cut, we need to check if it did a good job. To do this, we use Evaluation Metrics, which are like judges scoring the cut. The two most popular judges in this field are:
- SSIM (Structural Similarity Index): A judge that looks at how similar the shapes and structures of the cut image are to the original.
- PSNR (Peak Signal-to-Noise Ratio): A judge that measures how much "static" or error was introduced during the cut.
The Big Problem: The Judge is Biased
The authors of this paper, Eslam Hegazy and Mohamed Gabr, noticed something suspicious. In almost every study comparing these methods, Otsu's Method seems to win when scored by SSIM and PSNR. Researchers assumed this meant Otsu was just a better rulebook.
But the authors asked a different question: "What if the judges (SSIM and PSNR) are secretly biased toward Otsu's rulebook?"
Think of it like a cooking competition.
- Otsu is a chef who specializes in making dishes with high contrast (very salty, very sweet).
- Kapur is a chef who makes balanced, complex dishes.
- SSIM and PSNR are the judges.
The authors suspected that SSIM and PSNR are actually "flavor-biased" judges. They are programmed to love high-contrast dishes. So, even if Kapur makes a perfectly balanced dish, the judges might give it a lower score simply because it doesn't taste like what they prefer.
How They Tested It
To prove this, they didn't use a fancy AI to find the best cut. Instead, they did something very thorough: they tried every single possible cut on 500 different natural images (from a dataset called BSDS500).
For every single cut, they calculated:
- How good the cut was according to Otsu's rule.
- How good the cut was according to Kapur's rule.
- How the judges (SSIM and PSNR) scored that cut.
Then, they looked at the relationship (correlation) between the rulebooks and the judges.
The Results: The Bias is Real
The findings were clear and striking:
Otsu and the Judges are Best Friends: When Otsu's rulebook said a cut was "good," the judges (SSIM and PSNR) almost always agreed. In fact, for 100% of the images, Otsu's scores moved in perfect lockstep with the PSNR scores. For 91% of the images, they moved in lockstep with SSIM.
- Analogy: It's like Otsu and the judges are speaking the same language. When Otsu raises its hand, the judges raise theirs immediately.
Kapur and the Judges are Strangers: Kapur's rulebook had a much weaker connection to the judges. Sometimes they agreed, sometimes they didn't. The relationship was messy and unpredictable.
- Analogy: Kapur is trying to speak a different dialect. The judges understand him sometimes, but often they just shrug and give a mediocre score, even if the cut was actually good.
What This Means
The paper concludes that the reason Otsu-based methods often "win" in research papers isn't necessarily because they are better at cutting the cake. It's because the scoring system (SSIM and PSNR) is rigged to favor Otsu.
If a researcher invents a new, super-smart AI algorithm to help Kapur find the best cuts, but they still use SSIM and PSNR to grade it, the new algorithm might look like a failure. Why? Because the judges are biased against Kapur's style, regardless of how good the AI is.
The Takeaway
The authors are warning the scientific community: Don't trust the judges blindly.
If you want to fairly compare different ways of cutting images, you can't just use SSIM and PSNR. You have to realize that these tools inherently prefer one specific method (Otsu) over others. To get a true picture of who is the best "chef," you might need new judges who don't have a favorite flavor.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.