| Transform | Description | Example Use Case | |-----------|-------------|------------------| | RandGaussianNoise | Add Gaussian noise | Low-dose CT | | RandGaussianSmooth | Smooth with Gaussian kernel | Different scanner resolutions | | RandAdjustContrast | Random contrast adjustment | Varying soft tissue contrast | | RandHistogramShift | Random shift in histogram | MRI field inhomogeneity | | RandBiasField | Simulate MRI bias field | Brain MRI intensity non-uniformity | | RandGibbsNoise | Truncation artifact | Under-sampled MRI | | RandCoarseDropout | Simulate missing patches | Occlusions, motion artifacts | Modify geometry while preserving anatomical plausibility.
| Transform | Description | Medical Relevance | |-----------|-------------|-------------------| | RandFlip | Random axis flip (left-right, etc.) | Mirror anatomy | | RandRotate | Random rotation (limited degrees) | Patient positioning | | RandZoom | Random scaling | Different patient sizes | | RandAffine | Combined affine (rotation, scale, shear, translation) | Complex deformations | | RandGridDistortion | Local elastic deformation | Organ motion, breathing | | Rand2DElastic | 2D elastic (for slices) | Tissue deformation | | Transform | Description | |-----------|-------------| | RandSimulateLowResolution | Reduce effective resolution | | RandSpacing | Randomly change pixel spacing (simulate different acquisition grids) | 3.4 Mask & Label Augmentations For segmentation tasks – transforms applied consistently to image and mask. monai data augmentation
1. Introduction MONAI (Medical Open Network for AI) is an open-source framework built on PyTorch for deep learning in medical imaging. A critical component of training robust models is data augmentation – transforming training data to increase diversity, reduce overfitting, and improve generalization. MONAI provides a rich, domain-specific augmentation library designed for medical images (3D, multi-modal, high-resolution) with GPU acceleration and composable transforms. 2. Why MONAI for Medical Image Augmentation? | Feature | Benefit | |---------|---------| | Medical domain awareness | Preserves spatial relationships, handles missing modalities, supports metadata (e.g., pixel spacing) | | 3D & multi-channel support | Native handling of CT, MRI, PET volumes and multi-sequence MRI | | GPU-accelerated | Transforms run on GPU via PyTorch’s grid_sample and affine_grid | | Composable pipelines | Compose , RandomOrder , OneOf for flexible augmentation sequences | | Randomized & deterministic | Reproducible training with seed control | | Integration with MONAI workflows | Works seamlessly with Dataset , CacheDataset , DataLoader | 3. Core Augmentation Categories 3.1 Intensity Augmentations Modify pixel/voxel values to simulate acquisition variability. | Transform | Description | Example Use Case