MIR.data_augmentationΒΆ
Data augmentation utilities for MIR training and preprocessing.
Functions
|
Apply a random 3D affine transformation to an image and optional label. |
|
Fuzzy C-Means clustering of 1-D intensities. |
|
Remove small gaps and fill internal holes in a 3D mask. |
|
Flip paired images along randomly selected spatial axes. |
|
Estimate three soft tissue masks with a 1D Gaussian mixture model. |
|
Compute the inner edge of a 3D binary mask. |
|
Apply a smooth random LUT to a 2D or 3D image tensor in |
Classes
|
Augment a skull-stripped T1-w brain MRI so that the same anatomy can resemble T2, FLAIR, T2*, PD or CT. |
|
Simulate coarse resolution along the width (last) dimension. |