Noise Examples¶
[5]:
from easycv import Image
from easycv.transforms import Noise
For this example we will load an image with random(). For more examples of image loading check Image examples.
[6]:
img = Image.random()
img
[6]:
Noise¶
To add noise to an image we simply apply the Noise Transform with the desired method, for more information check the reference.
[7]:
img.apply(Noise(method="gaussian"))
[7]:
[8]:
img.apply(Noise(method="sp"))
[8]: