Mercurial > ift6266
changeset 101:553acf4beffb
Valeur d'entree des methodes 'determines_by_complexity' harmonisees avec local_elastic_distortion.py
author | SylvainPL <sylvain.pannetier.lebeuf@umontreal.ca> |
---|---|
date | Fri, 12 Feb 2010 10:13:50 -0500 |
parents | 67e655fc1d0b |
children | ae9152581b09 |
files | transformations/PoivreSel.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/transformations/PoivreSel.py Fri Feb 12 09:53:40 2010 -0500 +++ b/transformations/PoivreSel.py Fri Feb 12 10:13:50 2010 -0500 @@ -30,7 +30,7 @@ def get_settings_names(self): return ['effectuer'] - def get_settings_name_determined_by_complexity(self): + def get_settings_name_determined_by_complexity(self,complexity): return ['proportion_bruit'] def regenerate_parameters(self, complexity): @@ -44,7 +44,7 @@ return [self.effectuer] def get_parameters_determined_by_complexity(self, complexity): - return [self.proportion_bruit] + return [float(complexity)/5] def transform_image(self, image): if self.effectuer == 0: