GaussianBlur¶
- class mmpretrain.datasets.transforms.GaussianBlur(radius=None, prob=0.5, **kwargs)[source]¶
Gaussian blur images.
- Parameters:
radius (int, float, optional) – The blur radius. If None, generate from
magnitude_range
, seeBaseAugTransform
. Defaults to None.prob (float) – The probability for posterizing therefore should be in range [0, 1]. Defaults to 0.5.
**kwargs – Other keyword arguments of
BaseAugTransform
.