Class AdjustGamma

Inheritance Relationships

Base Type

Class Documentation

class AdjustGamma : public mindspore::dataset::TensorTransform

AdjustGamma TensorTransform. \notes Apply gamma correction on input image.

Public Functions

explicit AdjustGamma(float gamma, float gain = 1)

Constructor.

Parameters
  • gamma[in] Non negative real number, which makes the output image pixel value exponential in relation to the input image pixel value.

  • gain[in] The constant multiplier.

~AdjustGamma() = default

Destructor.