mindspore.dataset.vision.py_transforms.Equalize

class mindspore.dataset.vision.py_transforms.Equalize[source]

Equalize the histogram of input PIL image.

Examples

>>> import mindspore.dataset.vision.py_transforms as py_vision
>>> from mindspore.dataset.transforms.py_transforms import Compose
>>>
>>> Compose([py_vision.Decode(),
>>>          py_vision.Equalize(),
>>>          py_vision.ToTensor()])