comparison transformations/testtransformations.py @ 97:b3d15100842a

Changed order of transformation
author Xavier Glorot <glorotxa@iro.umontreal.ca>
date Thu, 11 Feb 2010 16:36:12 -0500
parents 1b8176e9892e
children 291d749452df
comparison
equal deleted inserted replaced
96:17fabd74dd2b 97:b3d15100842a
23 from Occlusion import Occlusion 23 from Occlusion import Occlusion
24 from add_background_image import AddBackground 24 from add_background_image import AddBackground
25 from affine_transform import AffineTransformation 25 from affine_transform import AffineTransformation
26 26
27 ###---------------------order of transformation module 27 ###---------------------order of transformation module
28 MODULE_INSTANCES = [Slant(),Thick(),AffineTransformation(),LocalElasticDistorter(),GIMP1(), PermutPixel(),DistorsionGauss(), Rature(), Occlusion(),AddBackground(), BruitGauss(),PoivreSel(), Contrast()] 28 MODULE_INSTANCES = [Slant(),Thick(),AffineTransformation(),LocalElasticDistorter(),GIMP1(),Rature(),Occlusion(), PermutPixel(),DistorsionGauss(),AddBackground(), PoivreSel(), BruitGauss(), Contrast()]
29 29
30 ###---------------------complexity associated to each of them 30 ###---------------------complexity associated to each of them
31 complexity = [0.6,0.6,0.6,0.6,0.6,0.3,0.3,0.5,0.5,0.5,0.3,0.3,0.5] 31 complexity = [0.6,0.6,0.6,0.6,0.6,0.3,0.3,0.5,0.5,0.5,0.3,0.3,0.5]
32 complexity = [0.5]*len(MODULE_INSTANCES) 32 complexity = [0.5]*len(MODULE_INSTANCES)
33 #complexity = [0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.] 33 #complexity = [0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.]