junyanz / pytorch-CycleGAN-and-pix2pix

Image-to-Image Translation in PyTorch
Other
22.72k stars 6.28k forks source link

cyclegan failing to generate synthetic CT from CBCT images (cropped) #1539

Open heebaaltaf opened 1 year ago

heebaaltaf commented 1 year ago

image image

I have a dataset of aligned CBCT and CT images of abdomen. I am trying to generate high quality CT images from low quality CBCT images using cyclegan but the CBCT images are cropped . I have tried all the permutation and combination but the quality of the images is changing but not necessarily improving as i m also evaluation using ssim as i have the aligned dataset. Now I am thinking may be cyclegan is not good enough to generate a full image from a cropped image. Have you ever had an issue like that. Any suggestions

junyanz commented 1 year ago

If dataset A is cropped and dataset B is not, you probably need to randomly crop patches from dataset B as well before you start CycleGAN training.