This repository contains our Keras GAN model and corresponding script for creating synthetic DIR images (plus uncertainty maps) from input FLAIR and T1w images.
We expect the keras model "ms_gan_generator.h5" to be stored in the same folder as this script!
T1 and FLAIR must be co-registered [1][2], skull-stripped [3] and in MNI152 space (1mm isotropic resolution) [4]. See the example T1 and FLAIR for details.