For the past week I've been through numerous research papers and tutorials on Otsu's thresholding. Even wrote to the authors, but every single one of the explanations are in terms of "Class" and "variance". I'm not very good at statistics, so it's hard for me to picture what these classes and variances mean in terms of the actual image. I have a few questions (marked in bold) that lead to the main questions.
What I've understood until now:
1. We need to separate the image into two parts. The dark pixels and the light pixels. These are what are called the two classes. For this explanation could we please just call them "dark" and "light" instead of "class".
2. A histogram array of 0 to 255 positions is created, where each position holds the total number of pixels of intensity 0, 1, 2,...255. Let's say for intensities 0 to 9, the number of pixels are 20,5,23,6,3,23,5,8,67.
3. Probability for any of these intensities (assume intensity 1) are calculated as = 1 / (180 * 200), where 180 is the length of the image and 200 is the width.
4. The sum of probabilities of the dark and light pixels are the weights of the dark and light pixels.
5. Question: When we calculate the mean of the pixels, what exactly does it imply? Is it like taking an average of the probabilities? If it is like an average, then if the threshold is at position 100 of the histogram, why can't we simply calculate it as: (sum of intensities from 0 to 99) / (99) ? What extra benefit do we have by doing a complex calculation of mean?
6. Then we have variances of distribution of pixels from the mean, which I understand, but Question: when we take the sum of variances of the light pixels and sum of variances of dark pixels, what does it imply? Does it speak of the amount of variation of intensity present in the dark pixels vs the light pixels?
7. Question: What is a "within class variance" and a "between class variance" in plain English? I can see the formula, but it makes no sense. Is the within class variance just a way of saying "how much the dark pixels vary with respect to mid-darkest pixel plus how much the light pixels vary with respect to the mid-lightest pixel"?
8. Question: What is a "between class variance" in plain English? The formula itself is odd, because there is no variance, but just a sum of the wights and means. But still, what does it mean in plain English, in terms of the pixels?
ps: Kindly refrain from statistical/mathematical terms and please try to explain it in plain English the way I've put some explanations in quotes above. I (and many people in this world) have a hard time understanding statistical jargon because it was taught in a way that never allowed us to fully understand it.