Abstract Mathematical morphology (MM) is an indispensable tool for post-processing. Several extensions of MM to categorical images, such as multi-class segmentations, have been proposed. However, none provide satisfactory definitions on probabilistic representations images. The distribution a natural choice representing uncertainty about Extending distributions problematic because categories ar...