ginobilinie / medSynthesisV1

This is a copy of package for medical image synthesis work with LRes-ResUnet and GAN (wgan-gp) in pytorch framework
MIT License
180 stars 45 forks source link

Using different modality Data set #19

Closed SurbhiKhushu closed 3 years ago

SurbhiKhushu commented 4 years ago

Hello, First of all Thank you for your work. I am also intrested in doing medical image synthesis but for PET and CT, instead of MRI. Can you tell me ,what could be possible issues I should keep in mind if I implement your code for my dataset?

ginobilinie commented 4 years ago

Actually, this copy of code has been applied to PET/CT synthesis. Just check if it is single-modality input or multi-modality input.

SurbhiKhushu commented 4 years ago

My source is PET and target is generating CT data. It will be single modality input, I suppose:

Can you expalin what is matFA, matSeg, matMask in line 74: def extractPatch4OneSubject(matFA, matSeg, matMask, fileID, d, step, rate): Since I have preprocessed my DICOM slices and saved it as a volume data into a flat file .mf2 format. I want to extract patches of size to 64 × 64 × 64 .