Reputation: 59
Probability map of an image can be calculated as bellow, may be it help someone
1
We have a probability matrix which has probabilty for each class. Let this be x=[x1 x2 x3 x4] for 4 classes
2
to get probability map we will have four separate images for each class. let for class x1 x1=x1*255. this will be the pixel value for labeling.
3
Now for each class we will multiply this 255 with each probability value and will set value in the image this one.
4
as a result we will have four gray scale images and these are called probability maps.
Upvotes: 0
Views: 2456
Reputation: 748
You could generate 6 maps for all classes. Or you could select 6 different colors, and use the probability to interpolate a new color, then you will get just one map.
Upvotes: 2