[Scipy-svn] r4075 - trunk/scipy/ndimage/tests

scipy-svn@scip... scipy-svn@scip...
Wed Apr 2 20:17:40 CDT 2008


Author: tom.waite
Date: 2008-04-02 20:17:38 -0500 (Wed, 02 Apr 2008)
New Revision: 4075

Modified:
   trunk/scipy/ndimage/tests/test_segment.py
Log:
function name changes for testing

Modified: trunk/scipy/ndimage/tests/test_segment.py
===================================================================
--- trunk/scipy/ndimage/tests/test_segment.py	2008-04-03 01:09:04 UTC (rev 4074)
+++ trunk/scipy/ndimage/tests/test_segment.py	2008-04-03 01:17:38 UTC (rev 4075)
@@ -42,8 +42,8 @@
     disc_ROI    = seg.get_blob_regions(label_disc_mask, disc_mask_groups)
     laws_kernel = seg.build_laws_kernel() 
     impulse     = seg.build_test_impulses()
-    calib       = seg.texture_filter(impulse, label_disc_mask, laws_kernel,
-		                     ROI=disc_ROI, verbose=1)
+    calib       = seg.laws_texture_filter(impulse, label_disc_mask, laws_kernel,
+		                          ROI=disc_ROI, verbose=1)
     kernels = calib[0]
     x = laws_kernel['coefficients'][0]
     m = NP.outer(x, x)
@@ -62,8 +62,8 @@
     disc_ROI = seg.get_blob_regions(label_disc_mask, disc_mask_groups)
     laws_kernel = seg.build_laws_kernel() 
     texture_img = seg.build_test_texture_discs()
-    seg.texture_filter(texture_img, label_disc_mask, laws_kernel, ROI=disc_ROI,
-		       mean_feature=1, verbose=0)
+    seg.laws_texture_filter(texture_img, label_disc_mask, laws_kernel, ROI=disc_ROI,
+		            mean_feature=1, verbose=0)
     tem = disc_ROI['TEM']
     return tem 
 



More information about the Scipy-svn mailing list