Class AutoContrast

Inheritance Relationships

Base Type

Class Documentation

class AutoContrast : public mindspore::dataset::TensorTransform

Apply automatic contrast on the input image.

Public Functions

explicit AutoContrast(float cutoff = 0.0, std::vector<uint32_t> ignore = {})

Constructor.

Parameters
  • cutoff[in] Percent of pixels to cut off from the histogram, the valid range of cutoff value is 0 to 50.

  • ignore[in] Pixel values to ignore.

~AutoContrast() = default

Destructor.