Function mindspore::dataset::SubStractMeanNormalize

Function Documentation

bool mindspore::dataset::SubStractMeanNormalize(const LiteMat &src, LiteMat &dst, const std::vector<float> &mean, const std::vector<float> &std)

normalize image, currently the supports data type is float.

Parameters
  • src – [in] Input image data.

  • dst – [in] Output image data.

  • mean – [in] Mean of the data set.

  • std – [in] Norm of the data set.