dboun / MultiPatientImageProcessing

Bulk processing of medical images
1 stars 1 forks source link

Output Segmentation doesn't have the same colors as the mask #1

Closed dboun closed 5 years ago

dboun commented 5 years ago

Right now this happens on MitkImageViewer::ConvertToNrrdAndSave

To test: draw at least 2 different labels on mask, click run and wait. The segmentation will show up with random colors. I have left it this way, because I'm not sure how to import the mask's "label colors" when I'm initializing the LabelSetImage.

(note that after the LabelSetImage is created, it is saved to file and not loaded. This is by design)

dboun commented 5 years ago

To expand on the parenthesis, it is saved to file -> then the DataManager gets updated that there is a new image there and then everything is updated and it gets loaded