Metadata-Version: 2.1
Name: DiamondGAN
Version: 0.0
Summary: DiamondGAN: GAN used for multimodal translation in medical imaging from MRI T1, T2 to MRI FLAIR, DIR
Home-page: https://github.com/dongliangcao/diamondGAN/
Author: Cao Dongliang
Author-email: cao.dongliang97@gmail.com
License: MIT
Download-URL: https://github.com/dongliangcao/diamondGAN/archive/refs/tags/v1.0.tar.gz
Description: # DiamondGAN
        Tensorflow implementation of DiamondGAN. 
        
        The pre-trained generator is provided, which is trained to translate the MRI brain from T1&amp;T2 to FLAIR&amp;DIR.
        ![DiamondGAN](https://github.com/dongliangcao/diamondGAN/blob/main/diamondGAN.png)
        
        ## Requirement
        numpy
        
        tensorflow
        
        tensorflow_addons
        
        SimpleITK
        
        ## Usage
        ### Command line
        python model.py --input_dir INPUT_DIR --output_dir OUTPUT_DIR --model_path MODEL_PATH
        - The *INPUT_DIR* contains a collection of directories. Each directory should contain **t1.nii.gz**, **t1_bet_mask.nii.gz**, **t2.nii.gz**.
        - The generated FLAIR and DIR images would store in the *OUTPUT_DIR* and named as **syn_flair.nii.gz** and **syn_dir.nii.gz**
        - The *MODEL_PATH* should be the pre-trained model file, which can be downloaded in the [link](https://drive.google.com/file/d/1BkBc-_yTabEOf1_HJxNjccV9kdg5Dgu5/view)
        ### Python
        from DiamondGAN.model import Generator
        
        Generator(input_dir=INPUT_DIR, output_dir=OUTPUT_DIR, model_path=MODEL_PATH)
        
        ## Notice
        If you download the repository through **PyPI**, you may need to download the pre-trained model under the [link](https://drive.google.com/file/d/1BkBc-_yTabEOf1_HJxNjccV9kdg5Dgu5/view) and put it under the **sys.prefix** 
        
Keywords: CycleGAN,multimodal translation,MRI
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Build Tools
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.8
Description-Content-Type: text/markdown
