I am trying to make a program that classifies image into various component like detecting the land, water & sky area. I am at a phase where I have separated RGB values of different area into different classes and stored it in a text file (See Image) and calculated its mean and variance.
But I am not able to understand how to implement Maximum Likelihood Classifier so I can move forward to classify image.
Help would be appreciated. Thanks.