help-octave
[Top][All Lists]
Advanced

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

Re: Octave 3.4.3 for Mingw; IMRead


From: nitnit
Subject: Re: Octave 3.4.3 for Mingw; IMRead
Date: Fri, 9 Dec 2011 11:53:09 -0800 (PST)

I could imread this file simply by

I=imread('test7+Helio+Felt+1.jpg');

I couldn't imshow the full image (octave crashes probably because of memory
problems for this 1500 by 10200 pixels image) but I could imshow portions of
the pictures such as

imshow(I(1:500,:))
imshow(I(501:1000,:))
imshow(I(1001:1500,:))

and I could verify that the image has been read correctly.

I am running octave-3.4.3 on win7-x64 with 4Gbytes of memory.

So I can not reproduce the problem that you are facing on my system.

It might be that there some dlls on your systems path that are loaded in
advance to your octave install tree dlls.

You can try and check this and by modifying
<your_octave_install_dir>\share\octave\site\m\startup\octaverc
to set the octave installation tree prior to the rest of your system path.

Change the 4 lines which set the system path env. var when octave is invoked
from:

setenv('path',[getenv('path'),';',prefix,'\mingw32\bin;',prefix,'\msys\bin']);
setenv('path',[getenv('path'),';',prefix,'\gs\gs9.02\bin']);

setenv('path',[getenv('path'),';',prefix,'\pstoedit']);
setenv('path',[getenv('path'),';',prefix,'\fig2dev']);

to:

setenv('path',[prefix,'\mingw32\bin;',prefix,'\msys\bin;',getenv('path')]);
setenv('path',[prefix,'\gs\gs9.02\bin;',getenv('path')]);

setenv('path',[prefix,'\pstoedit;',getenv('path')]);
setenv('path',[prefix,'\fig2dev;',getenv('path')]);

and see if that helps.

Nitzan

--
View this message in context: 
http://octave.1599824.n4.nabble.com/Octave-3-4-3-for-Mingw-IMRead-tp4175118p4178004.html
Sent from the Octave - General mailing list archive at Nabble.com.


reply via email to

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