Class AdjustGamma
Defined in File vision.h
Inheritance Relationships
Base Type
public mindspore::dataset::TensorTransform
(Class TensorTransform)
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.
-
explicit AdjustGamma(float gamma, float gain = 1)