Solved by ptrblck in post #2 
              
              
                Based on this description, it seems you would like to work on a multi-class segmentation rather than a binary segmentation, as you are dealing with multiple classes. 
Alternatively, if each pixel might belong to multiple classes, you would work on a multi-label segmentation. 

The parameters for up…