diff transformations/affine_transform.py @ 144:c958941c1b9d

merge
author XavierMuller
date Tue, 23 Feb 2010 18:16:55 -0500
parents b852dddf43a6
children ce56e8ca960d
line wrap: on
line diff
--- a/transformations/affine_transform.py	Tue Feb 23 18:08:11 2010 -0500
+++ b/transformations/affine_transform.py	Tue Feb 23 18:16:55 2010 -0500
@@ -19,11 +19,11 @@
         self.rng = numpy.random.RandomState()
         self.complexity = complexity
         params = self.rng.uniform(size=6) -.5
-        self.a = 1. + params[0]*.4*complexity
-        self.b = 0. + params[1]*.4*complexity
+        self.a = 1. + params[0]*.6*complexity
+        self.b = 0. + params[1]*.6*complexity
         self.c = params[2]*8.*complexity
-        self.d = 0. + params[3]*.4*complexity
-        self.e = 1. + params[4]*.4*complexity
+        self.d = 0. + params[3]*.6*complexity
+        self.e = 1. + params[4]*.6*complexity
         self.f = params[5]*8.*complexity
 
     
@@ -44,12 +44,12 @@
  
         self.complexity = complexity
         params = self.rng.uniform(size=6) -.5
-        self.a = 1. + params[0]*.4*complexity
-        self.b = 0. + params[1]*.4*complexity
-        self.c = params[2]*8.*complexity
-        self.d = 0. + params[3]*.4*complexity
-        self.e = 1. + params[4]*.4*complexity
-        self.f = params[5]*8.*complexity
+        self.a = 1. + params[0]*.8*complexity
+        self.b = 0. + params[1]*.8*complexity
+        self.c = params[2]*9.*complexity
+        self.d = 0. + params[3]*.8*complexity
+        self.e = 1. + params[4]*.8*complexity
+        self.f = params[5]*9.*complexity
         return self._get_current_parameters()