# HG changeset patch # User Xavier Glorot # Date 1265832542 18000 # Node ID 95c491bb56620d9b5128b3b14e100a5d0eba72c2 # Parent 4407ab3f780513839fc52cee6011b1d77237425e add all transformation to pipeline diff -r 4407ab3f7805 -r 95c491bb5662 transformations/pipeline.py --- 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)