changeset 7:8a469f61ebdb default tip

fix f8x8x8
author Peter Meerwald <pmeerw@cosy.sbg.ac.at>
date Tue, 24 Mar 2009 13:43:40 +0100
parents 8981e90540bf
children
files pydct/t8x8.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/pydct/t8x8.py	Tue Mar 24 13:28:32 2009 +0100
+++ b/pydct/t8x8.py	Tue Mar 24 13:43:40 2009 +0100
@@ -21,7 +21,7 @@
         d[i,:,:] = fdct8x8(b[i,:,:])    
     for r in xrange(8):
         for c in xrange(8):
-            d[:,r,c] = fdct(d[:,r,c])            
+            d[:,r,c] = dct.fdct(d[:,r,c])            
     return d
     
 def idct8x8x8(b):
@@ -31,7 +31,7 @@
     d = numpy.empty((8, 8, 8), numpy.float)
     for r in xrange(8):
         for c in xrange(8):
-            d[:,r,c] = idct(b[:,r,c])            
+            d[:,r,c] = dct.idct(b[:,r,c])            
     for i in xrange(8):
         d[i,:,:] = idct8x8(d[i,:,:])    
     return d

Repositories maintained by Peter Meerwald, pmeerw@pmeerw.net.