Class ConvertColor

Inheritance Relationships

Base Type

Class Documentation

class ConvertColor : public mindspore::dataset::TensorTransform

Change the color space of the image.

Public Functions

explicit ConvertColor(ConvertMode convert_mode)

Constructor.

Parameters

convert_mode[in] The mode of image channel conversion.

~ConvertColor() = default

Destructor.