Mercurial > ift6266
diff transformations/pipeline.py @ 81:95c491bb5662
add all transformation to pipeline
author | Xavier Glorot <glorotxa@iro.umontreal.ca> |
---|---|
date | Wed, 10 Feb 2010 15:09:02 -0500 |
parents | 5e448ea129b3 |
children | a7cd8dd3221c |
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)