Class RGB2GRAY

Inheritance Relationships

Base Type

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.