If the segmentation mask has just two class background and cancer we can give it as mask with 1 and 0s If there are multiple classes, how are they given, we can't do diffusion directly on the segmentation mask right, is onehot encoding done or any other strategy