a25f35714b66effc0764add4db72179f0da6d408,testing/grid_sampler_test.py,UniformSamplerTest,test_2d,#UniformSamplerTest#,71
Before Change
modality_names=("FLAIR", "T1"),
allow_missing=True)
hist_norm = HistNorm(
models_filename="./testing_data/standardisation_models.txt",
binary_masking_func=BinaryMaskingLayer(
type="otsu_plus",
multimod_fusion="or"),
norm_type="percentile",
cutoff=(0.01, 0.99))
volume_loader = VolumeLoaderLayer(csv_loader,
hist_norm,
is_training=False)
After Change
modality_names=("FLAIR", "T1"),
allow_missing=True)
masking_func = BinaryMaskingLayer(
type="otsu_plus",
multimod_fusion="or")
hist_norm = HistNorm(
models_filename="./testing_data/standardisation_models.txt",
binary_masking_func=masking_func,
norm_type="percentile",
cutoff=(0.01, 0.99))
mv_norm = MVNorm(binary_masking_func=masking_func)
volume_loader = VolumeLoaderLayer(csv_loader,
(hist_norm, mv_norm),
is_training=False)
print("found {} subjects".format(len(volume_loader.subject_list)))
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 8
Instances
Project Name: NifTK/NiftyNet
Commit Name: a25f35714b66effc0764add4db72179f0da6d408
Time: 2017-06-15
Author: wenqi.li@ucl.ac.uk
File Name: testing/grid_sampler_test.py
Class Name: UniformSamplerTest
Method Name: test_2d
Project Name: NifTK/NiftyNet
Commit Name: a25f35714b66effc0764add4db72179f0da6d408
Time: 2017-06-15
Author: wenqi.li@ucl.ac.uk
File Name: testing/grid_sampler_test.py
Class Name: UniformSamplerTest
Method Name: test_25d
Project Name: NifTK/NiftyNet
Commit Name: a25f35714b66effc0764add4db72179f0da6d408
Time: 2017-06-15
Author: wenqi.li@ucl.ac.uk
File Name: testing/grid_sampler_test.py
Class Name: UniformSamplerTest
Method Name: test_3d