niftynet.contrib.sampler_pairwise.sampler_pairwise_uniform module¶
-
class
PairwiseUniformSampler
(reader_0, reader_1, data_param, batch_size=1)[source]¶ Bases:
niftynet.layer.base_layer.Layer
-
layer_op
()[source]¶ This function concatenate image and label volumes at the last dim and randomly cropping the volumes (also the cropping margins)
-