Shortcuts

Equalize

class mmpretrain.datasets.transforms.Equalize(prob=0.5, **kwargs)[源代码]

均衡化图像直方图

参数:
  • prob (float) – The probability for performing equalize therefore should be in range [0, 1]. Defaults to 0.5.

  • **kwargs – Other keyword arguments of BaseAugTransform.

transform(results)[源代码]

Apply transform to results.