Expectation Maximization using HSV
I have a working program which uses the EM class, trained on RGB values to classify pixels in an image. Is it possible to do the same thing using HSV values? The problem is that hue is an angle. Thus, the mean cannot be calculated in the usual way.