Shortcuts

mmedit.utils.add_gaussian_noise

mmedit.utils.add_gaussian_noise(img: numpy.ndarray, mu, sigma)[source]

Add Gaussian Noise on the input image.

Parameters
  • img (np.ndarray) – Input image.

  • mu (float) – The mu value of the Gaussian function.

  • sigma (float) – The sigma value of the Gaussian function.

Returns

Gaussian noisy output image.

Return type

noisy_img (np.ndarray)

Read the Docs v: zyh/doc-notfound-extend
Versions
master
latest
stable
zyh-doc-notfound-extend
Downloads
pdf
html
epub
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.