Class RGB2GRAY
Defined in File vision_lite.h
Inheritance Relationships
Base Type
public mindspore::dataset::TensorTransform
(Class TensorTransform)
Class Documentation
-
class RGB2GRAY : public mindspore::dataset::TensorTransform
RGB2GRAY TensorTransform.
Convert a RGB image or color image to a grayscale one.
Note
Convert RGB image or color image to grayscale image.
Public Functions
-
RGB2GRAY() = default
Constructor.
-
~RGB2GRAY() = default
Destructor.
-
RGB2GRAY() = default