Re: [OctDev] normxcorr2 development

2009-06-17 Thread Travis Collier
I'm computing the "sliding" (lags only in one dimension) cross correlation of spectrograms. For many cases, the spectrograms are quite large and the needed lag ranges are small. These are used as a sound similarity metric and as a method to estimate time delays (though I favor xcorrs of the actual

Re: [OctDev] fpl and msh

2009-06-17 Thread Carlo de Falco
On 17 Jun 2009, at 22:50, Thomas L. Scofield wrote: > > Thanks. I hadn't known that some packages need to be explicitly > loaded even after they are installed. Once I loaded them, I got > results from > >> demo MSH2Mjigglemesh > > I also added gmsh to my path. Now, as I understood the

Re: [OctDev] imread in Octave 3.2.0 on Windows doesn't work for uint16 tiff

2009-06-17 Thread Koen Vermeer
On Wed, 2009-06-17 at 22:36 +0200, Benjamin Lindner wrote: > Benjamin Lindner wrote: > > What do you mean by a "16bit" image? > > According to graphicsmagick doc Q8 means that 8bits are used per color > > component. Does this not fit your needs? > addendum: I see the same behaviour you mention wit

Re: [OctDev] fpl and msh

2009-06-17 Thread Thomas L. Scofield
Thanks. I hadn't known that some packages need to be explicitly loaded even after they are installed. Once I loaded them, I got results from > demo MSH2Mjigglemesh I also added gmsh to my path. Now, as I understood the previous note, the demo above does not use gmsh. So, if I look

Re: [OctDev] Octave mingw 3.2.0 crashes

2009-06-17 Thread Benjamin Lindner
nit ar wrote: > *Hello octave maintainers ! > > Octave Mingw 3.2.0 crashes on my XP SP3 machine when : > a. certain eval commands are executed within function after octave startup > b. clear functions command is executed > > I am attaching a test function code (testf1.m) and listing hereafter >

[OctDev] Octave mingw 3.2.0 crashes

2009-06-17 Thread nit ar
Hello octave maintainers ! Octave Mingw 3.2.0 crashes on my XP SP3 machine when : a. certain eval commands are executed within function after octave startup b. clear functions command is executed I am attaching a test function code (testf1.m) and listing hereafter some examples whic

Re: [OctDev] imread in Octave 3.2.0 on Windows doesn't work for uint16 tiff

2009-06-17 Thread Benjamin Lindner
Benjamin Lindner wrote: > Koen Vermeer wrote: >> On Wed, 2009-06-17 at 22:01 +0200, Benjamin Lindner wrote: >>> Koen Vermeer wrote: Forgot to mention: I installed GraphicsMagick-1.3.5-Q16-windows-dll on this machine. >>> Hmm, the version bindled with the 3.2.0 installer is 1.3.3-Q8. >>> I

Re: [OctDev] imread in Octave 3.2.0 on Windows doesn't work for uint16 tiff

2009-06-17 Thread Benjamin Lindner
Koen Vermeer wrote: > On Wed, 2009-06-17 at 22:01 +0200, Benjamin Lindner wrote: >> Koen Vermeer wrote: >>> Forgot to mention: I installed GraphicsMagick-1.3.5-Q16-windows-dll on >>> this machine. >> Hmm, the version bindled with the 3.2.0 installer is 1.3.3-Q8. >> I can not tell for sure but I wou

Re: [OctDev] dir on Octave 3.2.0 on Vista

2009-06-17 Thread Benjamin Lindner
Koen Vermeer wrote: > Hi, > > I tried to do a 'dir' command on Octave 3.2.0 on Vista, but it crashed > (see below). The same thing seems to work on XP. I localized the problem > to the strftime call in dir.m, but didn't have the time to dig into it > any further. Still being new to Octave, I decid

Re: [OctDev] clear all causes a segmentation fault

2009-06-17 Thread Benjamin Lindner
Philippe Lavoie wrote: > I tried > > pkg rebuild -noauto FTP > pkg rebuild -noauto database > pkg rebuild -noauto ANN > > > But it still bombs when executing the command: clear all. > > Phil IIRC you must uninstall them, not simply unload them. benjamin > -Original Message- > From:

Re: [OctDev] imread in Octave 3.2.0 on Windows doesn't work for uint16 tiff

2009-06-17 Thread Koen Vermeer
On Wed, 2009-06-17 at 22:01 +0200, Benjamin Lindner wrote: > Koen Vermeer wrote: > > Forgot to mention: I installed GraphicsMagick-1.3.5-Q16-windows-dll on > > this machine. > Hmm, the version bindled with the 3.2.0 installer is 1.3.3-Q8. > I can not tell for sure but I wouldn't be surprised if mix

Re: [OctDev] imread in Octave 3.2.0 on Windows doesn't work for uint16 tiff

2009-06-17 Thread Benjamin Lindner
Koen Vermeer wrote: > On Wed, 2009-06-17 at 09:54 +0200, Koen Vermeer wrote: >> After fixing the problem with the missing magic.mgk, I now noticed that >> imread doesn't seem to work for uint16. Example: >>> imwrite( uint16( 12345 ), 'c:\test.tiff' ); >>> t = imread( 'c:\test.tiff' ); >>> disp( t )

Re: [OctDev] fpl and msh

2009-06-17 Thread Carlo de Falco
On 17 Jun 2009, at 20:02, Thomas L. Scofield wrote: > > I will be teaching introductory pdes in the fall at my institution > (Calvin College). I have done so before, about 3 years ago, and > used Octave as the software package for the course. At that time, > there was a "package" (don't r

[OctDev] Octave 3.1.55 and QtOctave 0.8.1

2009-06-17 Thread Clouse, Hamilton S Ctr USAF AFRL/RYAT
When I run QtOctave with the Octave 3.1.55 I get an error everytime the "Variables' List" refreshes saying that: error: 'variables' undefined near line 1 column 176. If I close the "Variables' List" box, I don't get the error so it's not hendering operation, really but, it is annoying and good

[OctDev] fpl and msh

2009-06-17 Thread Thomas L. Scofield
I will be teaching introductory pdes in the fall at my institution (Calvin College). I have done so before, about 3 years ago, and used Octave as the software package for the course. At that time, there was a "package" (don't recall if it was available through the octave- forge site, but

Re: [OctDev] Why is the following undefined?

2009-06-17 Thread Philippe Lavoie
Not a very scientific test, but there was a readme.txt file in my local folder. (first two lines are empty, then some Enlish text). So I typed > readme error: `readme' undefined near line 2 column 1 > a = 1; > b = 2; > readme error: `readme' undefined near line 4 column 1 The line number seem

Re: [OctDev] clear all causes a segmentation fault

2009-06-17 Thread Philippe Lavoie
I tried pkg rebuild -noauto FTP pkg rebuild -noauto database pkg rebuild -noauto ANN But it still bombs when executing the command: clear all. Phil -Original Message- From: Søren Hauberg [mailto:so...@hauberg.org] Sent: June-17-09 7:46 AM To: Philippe Lavoie Cc: octave-dev@lists.source

Re: [OctDev] Why is the following undefined?

2009-06-17 Thread Søren Hauberg
ons, 17 06 2009 kl. 10:12 -0400, skrev Philippe Lavoie: > In this case, the context was error brain failure, i.e. I saved the file > without the .m extension and I didn't realize it. Still an odd error message, > I think the line 61 was actually referring to the last successful line > executed w

[OctDev] dir on Octave 3.2.0 on Vista

2009-06-17 Thread Koen Vermeer
Hi, I tried to do a 'dir' command on Octave 3.2.0 on Vista, but it crashed (see below). The same thing seems to work on XP. I localized the problem to the strftime call in dir.m, but didn't have the time to dig into it any further. Still being new to Octave, I decided to ask here first before fili

[OctDev] Problem with fminunc.m

2009-06-17 Thread Philippe Lavoie
Hi I'm using a MatLab library to help me with computer vision (http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=4576&objectType=file). With version 3.0.5, I didn't have any problems with the torr_test_calib method whereas with 3.2.0 it gives me the following result (with

Re: [OctDev] normxcorr2 development

2009-06-17 Thread Peter Lanspeary
On Wed, Jun 17, 2009 at 04:37:12AM -0700, Travis Collier wrote: > Digging through the list archive, I see mention of norxcorr2 in devel. > Vikram never seemed to get a replay as to the status... and I am in > want of it too. > > I'm assuming that there is some clever application of FFTs which does

Re: [OctDev] clear all causes a segmentation fault

2009-06-17 Thread Carlo de Falco
On 17 Jun 2009, at 16:13, Søren Hauberg wrote: > Yes, I believe so. You can also simply make sure they don't load when > you start Octave. I can't remember the syntax for that though. Perhaps > someone else on the list does. pkg rebuild -noauto > I guess it would be nice if these packages was

Re: [OctDev] clear all causes a segmentation fault

2009-06-17 Thread Søren Hauberg
ons, 17 06 2009 kl. 10:10 -0400, skrev Philippe Lavoie: > I'm using the octave-forge Windows binary for 3.2.0. I did select 'all > packages' when I installed it. So I'd have to answer your question with a yes. > > Removing those packages would help? Yes, I believe so. You can also simply make su

Re: [OctDev] Why is the following undefined?

2009-06-17 Thread Philippe Lavoie
In this case, the context was error brain failure, i.e. I saved the file without the .m extension and I didn't realize it. Still an odd error message, I think the line 61 was actually referring to the last successful line executed within the octave CLI. Odd Anyway, a rename with .m fixed that

Re: [OctDev] clear all causes a segmentation fault

2009-06-17 Thread Philippe Lavoie
I'm using the octave-forge Windows binary for 3.2.0. I did select 'all packages' when I installed it. So I'd have to answer your question with a yes. Removing those packages would help? Phil -Original Message- From: Søren Hauberg [mailto:so...@hauberg.org] Sent: June-17-09 7:46 AM To: P

Re: [OctDev] normxcorr2 development

2009-06-17 Thread Søren Hauberg
ons, 17 06 2009 kl. 04:37 -0700, skrev Travis Collier: > Digging through the list archive, I see mention of norxcorr2 in devel. > Vikram never seemed to get a replay as to the status... and I am in > want of it too. > > I'm assuming that there is some clever application of FFTs which does > the co

Re: [OctDev] Why is the following undefined?

2009-06-17 Thread Søren Hauberg
You really need to provide some more context if you want any help on this. Could you try to narrow down the issue to something that doesn't require too many functions, and post the code? Then possibly somebody might be able to help, but it is impossible to be of any assistance with the information

Re: [OctDev] clear all causes a segmentation fault

2009-06-17 Thread Søren Hauberg
This sounds like the old SWIG bug. Do you have a package that is generated using SWIG installed? From the top of my head, these packages are 'ftp', 'database', 'ANN', and possibly others. Søren ons, 17 06 2009 kl. 00:03 -0400, skrev Philippe Lavoie: > Hi guys > > > > I narrowed down the comma

[OctDev] normxcorr2 development

2009-06-17 Thread Travis Collier
Digging through the list archive, I see mention of norxcorr2 in devel. Vikram never seemed to get a replay as to the status... and I am in want of it too. I'm assuming that there is some clever application of FFTs which does the computation relatively efficiently. If not, someone please tell me.

Re: [OctDev] imread in Octave 3.2.0 on Windows doesn't work for uint16 tiff

2009-06-17 Thread Koen Vermeer
On Wed, 2009-06-17 at 09:54 +0200, Koen Vermeer wrote: > After fixing the problem with the missing magic.mgk, I now noticed that > imread doesn't seem to work for uint16. Example: > > imwrite( uint16( 12345 ), 'c:\test.tiff' ); > > t = imread( 'c:\test.tiff' ); > > disp( t ) > 2 > Obviously, I expe

[OctDev] imread in Octave 3.2.0 on Windows doesn't work for uint16 tiff

2009-06-17 Thread Koen Vermeer
Hi, After fixing the problem with the missing magic.mgk, I now noticed that imread doesn't seem to work for uint16. Example: > imwrite( uint16( 12345 ), 'c:\test.tiff' ); > t = imread( 'c:\test.tiff' ); > disp( t ) 2 Obviously, I expected to see 12345. Am I doing something stupid, is this relat