Shortcuts

Equalize

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

Equalize the image histogram.

Parameters:
  • 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)[source]

Apply transform to results.