Mercurial > ift6266
changeset 99:939915371a6d
deleted useless print in BruitGauss.py
author | Xavier Glorot <glorotxa@iro.umontreal.ca> |
---|---|
date | Thu, 11 Feb 2010 17:26:44 -0500 |
parents | f3f4fee77a25 |
children | 67e655fc1d0b |
files | transformations/BruitGauss.py |
diffstat | 1 files changed, 0 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/transformations/BruitGauss.py Thu Feb 11 16:36:30 2010 -0500 +++ b/transformations/BruitGauss.py Thu Feb 11 17:26:44 2010 -0500 @@ -96,11 +96,9 @@ offsetymin = self.grandeur / 2 - y_bruit if 32-y_bruit < numpy.ceil(self.grandeur / 2.0): offsetymax = numpy.ceil(self.grandeur / 2.0) - (32-y_bruit) - print x_bruit, y_bruit , offsetxmin, offsetxmax, offsetymin, offsetymax, self.grandeur Mask[x_bruit - self.grandeur/2 + offsetxmin : x_bruit + numpy.ceil(self.grandeur/2.0) - offsetxmax,\ y_bruit - self.grandeur/2 + offsetymin : y_bruit + numpy.ceil(self.grandeur/2.0)- offsetymax] +=\ self.moy[offsetxmin:self.grandeur - offsetxmax,offsetymin:self.grandeur - offsetymax] - print Mask.max(), Mask.min() return numpy.asarray((image + filtered_image*Mask)/(Mask+1),dtype='float32')