Ok, I have added one more python code to help you combine individual masks to EDD tif format.
- Generate your masks as ImageName_$className.tif, e.g., 00001-test_BE.tif, 00001-test_cancer.tif
- Run this code providing both original image folder and your generated masks, This will generate the 5 channel tif images for you.
code here:
BW,