Function mindspore::dataset::ExtractChannel

Function Documentation

bool mindspore::dataset::ExtractChannel(LiteMat &src, LiteMat &dst, int col)

Extract image channel by index.

Parameters
  • src – [in] Input image data.

  • dst – [in] Output image data.

  • col – [in] The serial number of the channel.