Table Of Contents
Table Of Contents

mxnet.image.color_normalize

mxnet.image.color_normalize(src, mean, std=None)[source]

Normalize src with mean and std.

Parameters
  • src (NDArray) – Input image

  • mean (NDArray) – RGB mean to be subtracted

  • std (NDArray) – RGB standard deviation to be divided

Returns

An NDArray containing the normalized image.

Return type

NDArray