I don't know if kmeans is the best, unless you know for a fact that there are definitely exactly 6 classes present in all images. If some images might possibly not have one or more classes in them, then kmeans would be forces to find 6 anyway, and they'd be wrong.
I'd recommend you use the Classification Learner app on the Apps tab of the tool ribbon. You can try out several classification methods and pick the best one. But make sure your training set includes all possible situations including some images with all classes and some with only some of the classes present (if that is a possibility for your data).
I also don't really like kmeans because it's classifications vary from image to image. I think what you'd want is to have one fixed definition of what a class is, and then you can apply it to any image. The classifications won't vary from image to image and it will work regardless of how many classes are in any particular image. For that reason I'd prefer something like Discriminant Analysis, and I'm attaching a demo for that. The demo uses 3 features (predictors) for red, green, and blue, but you could use anything, even a list of 1000 signal values from different wavenumbers.