diff data_generation/transformations/BruitGauss.py @ 442:d5b2b6397a5a

added permut pixel
author Xavier Glorot <glorotxa@iro.umontreal.ca>
date Mon, 03 May 2010 18:38:27 -0400
parents 1f5937e9e530
children
line wrap: on
line diff
--- a/data_generation/transformations/BruitGauss.py	Mon May 03 01:07:21 2010 -0400
+++ b/data_generation/transformations/BruitGauss.py	Mon May 03 18:38:27 2010 -0400
@@ -51,7 +51,7 @@
             self.nb_chng=3+int(numpy.random.rand()*self.nb_chngmax*complexity)
             self.sigma_gauss=2.0 + numpy.random.rand()*self.sigmamax*complexity
             self.grandeur=12+int(numpy.random.rand()*self.grandeurmax*complexity)
-                        #creation du noyau gaussien
+            #creation du noyau gaussien
             self.gauss=numpy.zeros((self.grandeur,self.grandeur))
             x0 = y0 = self.grandeur/2.0
             for i in xrange(self.grandeur):