changeset 81:95c491bb5662

add all transformation to pipeline
author Xavier Glorot <glorotxa@iro.umontreal.ca>
date Wed, 10 Feb 2010 15:09:02 -0500
parents 4407ab3f7805
children c32a968851f5
files transformations/pipeline.py
diffstat 1 files changed, 6 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/transformations/pipeline.py	Wed Feb 10 15:03:40 2010 -0500
+++ b/transformations/pipeline.py	Wed Feb 10 15:09:02 2010 -0500
@@ -42,13 +42,14 @@
     pylab.ion()
 
 #from add_background_image import AddBackground
-#from affine_transform import AffineTransformation
+from affine_transform import AffineTransformation
 from PoivreSel import PoivreSel
 from thick import Thick
-#from BruitGauss import BruitGauss
-#from gimp_script import GIMPTransformation
-#from Rature import Rature
+from BruitGauss import BruitGauss
+from gimp_script import GIMP1
+from Rature import Rature
 from contrast import Contrast
+from Occlusion import Occlusion
 from local_elastic_distortions import LocalElasticDistorter
 from slant import Slant
 
@@ -59,7 +60,7 @@
     # AFTER_EACH_MODULE_HOOK list (but not both, it's redundant)
     VISUALIZER = Visualizer(to_dir=DEBUG_OUTPUT_DIR,  on_screen=False)
 
-MODULE_INSTANCES = [LocalElasticDistorter()]
+MODULE_INSTANCES = [Thick(),Slant(),GIMP1(),AffineTransformation(),LocalElasticDistorter(),Occlusion(),Rature(),Contrast()]
 
 # These should have a "after_transform_callback(self, image)" method
 # (called after each call to transform_image in a module)