QMRITools`
QMRITools`
GetTrainData
GetTrainData[data,batchsize,patch]
creates a training batch of size batchsize with patchsize patch. The input data can be out of memory in the form of a list of "*wxf" files that contain the data, segmentation and voxel size or a list of "*.nii" files in the form {{"data.nii", "segmentation.nii"}..}. The input data can be in memory in a list in the form {{data, segmentation, vox}..}
GetTrainData[data,batchsize,patch,nClass]
If nClass is set to an value n > 0 the segmentations are decoded in n classes.
Details
- The following options can be given:
-
PatchesPerSet 1 PatchesPerSet is an option for GetTrainData. Defines how many random patches per dataset are created within the batch. AugmentData True AugmentData is an option for GetTrainData and TrainSegmentationNetwork. If set True the trainingdata is augmented.