From 6cc3468a3da9066d98dc0baae7052b643a0bdc9c Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Fri, 18 Sep 2015 12:07:52 +0200 Subject: [PATCH] =?UTF-8?q?Ajout=20du=20d=C3=A9bruitage=20(lissage)=20addi?= =?UTF-8?q?tif=20au=20d=C3=A9bruitage=20salt&pepper=20pour=20affiner=20les?= =?UTF-8?q?=20bords?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- code/tests.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/code/tests.py b/code/tests.py index 7f7a6bb..02c3523 100644 --- a/code/tests.py +++ b/code/tests.py @@ -197,6 +197,10 @@ def testSaltAndPepper(): noise.SaltAndPepper_unset(img.content.map, seuil=1, borne=1) print "%s |" % (t.get()) + print "| Débruitage additif |",; t.reset(); + noise.AdditiveNoise_unset(img.content.map); + print "%s |" % (t.get()) + # Unparsing print "| Unparsing file |",; t.reset(); img.unparse()