5faff1cfb1e20c28ee829480b502485b7bc2a7d4,niftynet/io/simple_itk_as_nibabel.py,,,#,7
Before Change
from niftynet.utilities.util_import import check_module
check_module("SimpleITK")
import SimpleITK as sitk
import nibabel
import numpy as np
After Change
from niftynet.utilities.util_import import check_module
sitk = check_module("SimpleITK")
def simpleitk2nibabel(filename):
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: NifTK/NiftyNet
Commit Name: 5faff1cfb1e20c28ee829480b502485b7bc2a7d4
Time: 2018-03-05
Author: rmaplue@ucl.ac.uk
File Name: niftynet/io/simple_itk_as_nibabel.py
Class Name:
Method Name:
Project Name: NifTK/NiftyNet
Commit Name: 5faff1cfb1e20c28ee829480b502485b7bc2a7d4
Time: 2018-03-05
Author: rmaplue@ucl.ac.uk
File Name: niftynet/contrib/layer/rand_elastic_deform.py
Class Name:
Method Name:
Project Name: NifTK/NiftyNet
Commit Name: 5faff1cfb1e20c28ee829480b502485b7bc2a7d4
Time: 2018-03-05
Author: rmaplue@ucl.ac.uk
File Name: niftynet/io/image_as_nibabel.py
Class Name:
Method Name: