icon-lab / ResViT

Official Implementation of ResViT: Residual Vision Transformers for Multi-modal Medical Image Synthesis
Other
133 stars 26 forks source link

Plz explain on many to one case synthesis .How data should be organized #10

Closed jamalgardezi closed 2 years ago

jamalgardezi commented 2 years ago

can you please explain on multi-modal synthesis data organization? How data should be arranged if T1,T2 ->Flair in Aligned data mode In train folder there are two subfolders A & B . How Do we keep T1&T2 images all in folder A or in folder A &B. What about target images(Flairs)? Secondly, you mentioned for multimodal to be in Green & red channel.. So do we need to convert them in green & red. Forexample : i have 2CT images at different time pts. i want to synthesize nd get target images as shown Red T1 valA0006 Green T2 valA0017 Target image trainB0007 or Stack Red&green together in folder A nd targets in folder B Combined Stacks0015

onat-dalmaz commented 2 years ago

Similar to the bottom-most figure, you need to stack input modality images within red and green channels on the left part. The target image should be in the red channel on the right part. /Datasets/BRATS/T1_T2_FLAIR/ ├── train ├── val
├── test

if each image in the train, validation, and test folder follows the abovementioned convention, then it should work.