2015-09-09 13:52:20 +00:00
|
|
|
# ~*~ encoding: utf-8 ~*~ #
|
|
|
|
|
2015-09-14 14:59:35 +00:00
|
|
|
import random
|
2015-09-19 19:26:45 +00:00
|
|
|
import time
|
2015-09-14 14:59:35 +00:00
|
|
|
|
2015-09-20 11:24:54 +00:00
|
|
|
# import des libs internes
|
|
|
|
from utility import SaltAndPepper_Noise, Additive_Noise, Multiplicative_Noise, Color_Noise, Gaussian_Noise
|
|
|
|
from utility import Filter, Shape
|
2015-09-17 15:49:58 +00:00
|
|
|
|
2015-09-20 11:24:54 +00:00
|
|
|
class Noise:
|
|
|
|
|
|
|
|
# instanciation des classes qui sont dans utility/
|
|
|
|
def __init__(self):
|
|
|
|
self.SaltAndPepper = SaltAndPepper_Noise.SaltAndPepper_Noise();
|
|
|
|
self.Additive = Additive_Noise.Additive_Noise();
|
|
|
|
self.Multiplicative = Multiplicative_Noise.Multiplicative_Noise();
|
|
|
|
self.Gaussian = Gaussian_Noise.Gaussian_Noise();
|
|
|
|
self.Color = Color_Noise.Color_Noise();
|
|
|
|
|
|
|
|
self.Filter = Filter.Filter();
|
|
|
|
self.Shape = Shape.Shape();
|