Class AutoContrast
Defined in File vision.h
Inheritance Relationships
Base Type
public mindspore::dataset::TensorTransform
(Class TensorTransform)
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.
-
explicit AutoContrast(float cutoff = 0.0, std::vector<uint32_t> ignore = {})