help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Some questions about LTFAT wavelets


From: Alasdair McAndrew
Subject: Re: Some questions about LTFAT wavelets
Date: Wed, 21 Jan 2015 00:06:59 +1100

I've just realized that when I first tried to install LTFAT (with pkg install ltfat-2.0.1.tar.gz as root) I got an error about Portaudio lib not being installed.  So I'll try installing that and seeing if it makes a difference.

I've also tried, as per the documentation, just unpacking the files, cd-ing to the ltfat/inst directory and entering ltfatstart.  Still the same errors, even when no other packages are installed.

STOP PRESS: it seems to work for octave-3.8.2, which I've just compiled from source.  Hurray! 

Thanks for all your help.

-Alasdair

On Tue, Jan 20, 2015 at 11:30 PM, Juan Pablo Carbajal <address@hidden> wrote:


On Tue, Jan 20, 2015 at 11:59 AM, Alasdair McAndrew <address@hidden> wrote:
Many thanks!  The output of "pkg list" is

Package Name  | Version | Installation directory
--------------+---------+-----------------------
     control *|   2.6.6 | /usr/share/octave/packages/control-2.6.6
     general *|   1.3.4 | /usr/share/octave/packages/general-1.3.4
       image *|   2.2.2 | /usr/share/octave/packages/image-2.2.2
          io *|   2.2.4 | /usr/share/octave/packages/io-2.2.4
       ltfat *|   2.0.1 | /usr/share/octave/packages/ltfat-2.0.1
      signal *|   1.3.0 | /usr/share/octave/packages/signal-1.3.0
     specfun *|   1.1.0 | /usr/share/octave/packages/specfun-1.1.0
  statistics *|   1.2.3 | /usr/share/octave/packages/statistics-1.2.3


I am hoping to use wavelets for image processing, so I do need some of these other packages.  However, if I start octave (version 3.8.1), under linux (Ubuntu 14.04 64 bit) with

octave --no-init-file


and then enter the commands

pkg load ltfat
wfiltinfo('db2')

the same errors as before are produced.  I've even tried starting octave in a different directory, to ensure it's not picking up anything from some of my own programs.  I suppose I could upgrade octave to 3.8.2... Anyway, thanks again!

-Alasdair

Sorry Alasdair,
Octave 3.8.1, Ubuntu 10410 I followed your steps and can't reproduce. Everything works fine here.
Try unloading all other packages.



On Tue, Jan 20, 2015 at 9:34 PM, <address@hidden> wrote:
> In attempting to find an implementation of the fast wavelet transform, I
> downloaded and installed the LTFAT package, which has what looks to be a
> fairly full-featured wavelets module.
>
>    1. Without going through all the wfilt_* functions, is there a list of
>    all the wavelets and wavelet families supported by LTFAT?
The best place to look is probably just the overview of the Contents file:

http://ltfat.sourceforge.net/doc/wavelets/index.php

here you can see a list of all of them.
>
>    2. On some wavelets, wfiltinfo produces errors.  For example:
>    wfiltinfo('dden5') gives a nice figure full of graphs, but
> wfiltinfo('db4')
>    produces one graph, and then:
>
>    error: cellfun: dimensions mismatch
>    error: called from:
>    error:   /usr/share/octave/3.8.1/m/plot/appearance/axis.m at line 348,
>    column 14
>    error:   /usr/share/octave/3.8.1/m/plot/appearance/axis.m at line 374,
>    column 8
>    error:   /usr/share/octave/3.8.1/m/plot/appearance/axis.m at line 231,
>    column 7
>    error:   /usr/share/octave/3.8.1/m/plot/appearance/axis.m at line 149,
>    column 7
>    error:   /usr/share/octave/packages/ltfat-2.0.1/wavelets/wfiltinfo.m at
>    line 81, column 1
>
>    What's going on here, and how do I overcome it?

Hmm... I can't reproduce it. Which operating system are you using? Have
you installed any other wavelet toolboxes? Perhaps there is a name clash
with some external function.

Cheers,
Peter.






--
http://www.facebook.com/alasdair.mcandrew https://plus.google.com/+AlasdairMcAndrew/posts https://www.linkedin.com/pub/alasdair-mcandrew/a/178/108 https://twitter.com/amca01 http://numbersandshapes.net

_______________________________________________
Help-octave mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/help-octave





--
http://www.facebook.com/alasdair.mcandrew https://plus.google.com/+AlasdairMcAndrew/posts https://www.linkedin.com/pub/alasdair-mcandrew/a/178/108 https://twitter.com/amca01 http://numbersandshapes.net

reply via email to

[Prev in Thread] Current Thread [Next in Thread]