sh4174 / 3DStyleGAN

3D StyleGAN2 for Medical Images
63 stars 16 forks source link

How to preprocess MR T1 images? #3

Open csyanbin opened 2 years ago

csyanbin commented 2 years ago

Hi, dear author,

In the paper, I noticed "All images were skull-stripped, affine-aligned, resampled to 1mm isotropic resolution, and trimmed to 160×192×224 size using FreeSurfer". Can you share the detail or code tool for this preprocessing? I downloaded the ADNI dataset from the official website, but the resolution seems to be 256×256×256.

Thanks!

Harry-KIT commented 1 year ago

Hi @csyanbin Did you find the way how they did this preprocessing?

newsblue commented 1 month ago

@csyanbin @Harry-KIT @sh4174 I want to use my own dataset from 512512256 , but ValueError: could not broadcast input array from shape (24,1,256,256,128) into shape (24,1,255,306,357) how to fix this? thanks

newsblue commented 1 month ago

Hi, dear author,

In the paper, I noticed "All images were skull-stripped, affine-aligned, resampled to 1mm isotropic resolution, and trimmed to 160×192×224 size using FreeSurfer". Can you share the detail or code tool for this preprocessing? I downloaded the ADNI dataset from the official website, but the resolution seems to be 256×256×256.

Thanks!

have you fix it?