Module providing common Brain MRI Augmentation Methods for PyTorch.
Note
This page is a reference documentation. It only explains the class signature, and not how to use it. Please refer to the gallery for the big picture.
-
class
brainrise.intensity.RandomBlur(snr=None, sigma=None, seed=None)[source]¶ Add random blur using a Gaussian filter.
-
__init__(snr=None, sigma=None, seed=None)[source]¶ Init class.
- Parameters
snr : float, default None
the desired signal-to noise ratio used to infer the standard deviation for the noise distribution.
sigma : float or 2-uplet
the standard deviation for Gaussian kernel.
seed : int, default None
seed to control random number generator.
-
Follow us