Note
This page is a reference documentation. It only explains the class signature, and not how to use it. Please refer to the user guide for the big picture.
nidl.transforms.volume.augmentation.RandomGaussianSharpen¶
- class nidl.transforms.volume.augmentation.RandomGaussianSharpen(sigma1=(0.5, 1.0), sigma2=0.5, alpha=(10.0, 30.0), **kwargs)[source]¶
Bases:
VolumeTransformRandom unsharp masking of a 3d volume:

with
a Gaussian filter (one
per axis).Reimplementation of MONAI’s
RandGaussianSharpen[1] (Apache-2.0), with scipy’s Gaussian filter (reflected borders, asRandomGaussianBlur).- Parameters:
- sigma1: (float, float), default=(0.5, 1.0)
Range of
.- sigma2: float or (float, float), default=0.5
Range of
; a float
means
.- alpha: (float, float), default=(10.0, 30.0)
Range of
.- kwargs: dict
Keyword arguments.
References
[1]Cardoso, M. J., et al., “MONAI: An open-source framework for deep learning in healthcare.” arXiv, 2022. https://arxiv.org/abs/2211.02701