mindspore.dataset.vision.ImageReadMode
- class mindspore.dataset.vision.ImageReadMode[source]
The read mode used for the image file.
Possible enumeration values are:
ImageReadMode.UNCHANGED
,ImageReadMode.GRAYSCALE
,ImageReadMode.COLOR
.ImageReadMode.UNCHANGED
: remain the output in the original format.ImageReadMode.GRAYSCALE
: convert the output into one channel grayscale data.ImageReadMode.COLOR
: convert the output into three channels RGB color data.