I have an image every pixel of which I want to classify it with a classifier and assign it a label from 1 to 6. The output of a classifier is a vector like f=[0 0 0.1 0.4 0.5 0]. If I want to make a probability of the image then how can I do that? Can someone help me on this topic?