[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Wiki Wavelab
From: |
Ken Simpson |
Subject: |
Re: Wiki Wavelab |
Date: |
Wed, 27 Jul 2005 15:08:50 -0500 (CDT) |
>Now for the next challenge: to compile the MEX files and watch the
>transform speed magically increase tenfold!
Actually, it turned out it was the installation of MEX files
which created the previous problem.
I had forgotten I installed the MEX files in seperate directory
in my path - which ended up masking the previous problem with the
'reverse.m' file.
I have clean minimal install of Octave to which I've added
dispatch.oct
imread.m
mex (after changing the paths in the script)
to the installation and renamed 'reverse.m' to 'wlreserve.m'.
Unfortantely, the problem still persists, namely, when trying to do
perform an inverse WT, it appears perform a forward WT instead.
Also, I tried simple 1d problem using FWT_PO and IWT_PO with the
MEX files installed, namely
x=[1,1,1,1,1,1,1,1];
qmf=MakeONFilter('Daubechies',4);
[n,J]=dyadlength(x);
wc=FWT_PO(x,J-1, qmf);
ix=IWT_PO(wc,J-1, qmf);
The wavelet coefficients were correct but the inverse was broken
too.
It works correctly when the MEX files are removed.
This was as far as I got.
Any help debugging the would be greatly appreciated.
-- Ken
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------