help-octave
[Top][All Lists]
Advanced

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

octave-forge: imread not reading files


From: Krishnan V
Subject: octave-forge: imread not reading files
Date: Fri, 20 Oct 2006 17:33:22 +0530

Thanks all for the response. Yes, the change helps, however there is a new problem.
i am not able to read any type of image using this; not even ppm/pgm. i get a variety of errors. here are a few:
/**********************************************************************/
octave:6> im=imread("target.ppm");
error: imread: unknown image type 'Palette'
error: evaluating if command near line 80, column 5
error: called from `imread' in file `/usr/share/octave/2.9.9/site/m/octave-forge/image/imread.m'
error: evaluating assignment _expression_ near line 6, column 3
octave:6> im=imread("splash.ppm");
error: imread: image data chunk has invalid size
error: evaluating if command near line 133, column 5
error: called from `imread' in file `/usr/share/octave/2.9.9/site/m/octave-forge/image/imread.m'
error: evaluating assignment _expression_ near line 6, column 3
octave:6> im=imread("10.gif");
warning: implicit conversion from matrix to string
error: imread: invalid image depth
error: evaluating if command near line 76, column 5
error: called from `imread' in file `/usr/share/octave/2.9.9/site/m/octave-forge/image/imread.m'
error: evaluating assignment _expression_ near line 6, column 3
/*************************************************************/
and so on....
Any tips/pointers?
Thanks
krishnan


On 10/20/06, David Bateman <address@hidden> wrote:
Krishnan V wrote:
> Hi,
> i installed octave-2.9.9 and octave-forge-2006.7.09.  while using
> imread, i get the following error:
> /**************************************************/
> error: `IMAGEPATH' undefined near line 41 column 23
> error: evaluating argument list element number 1
> error: evaluating assignment _expression_ near line 41, column 8
> error: called from `imread' in file
> `/usr/share/octave/2.9.9/site/m/octave-forge/image/imread.m'
> error: evaluating assignment _expression_ near line 6, column 3
> /**************************************************/
> i was told that this was something to do with Imagemagick. could
> someone help me out with this?
> krishnan

IMAGEPATH was changed to IMAGE_PATH somewhere in 2.9... The fix for this
is in the CVS, and will be released as part of the package manager first
release shortly. For now just edit imread.m and replace IMAGEPATH with
IMAGE_PATH..

D.


--
David Bateman                                address@hidden
Motorola Labs - Paris                        +33 1 69 35 48 04 (Ph)
Parc Les Algorithmes, Commune de St Aubin    +33 6 72 01 06 33 (Mob)
91193 Gif-Sur-Yvette FRANCE                  +33 1 69 35 77 01 (Fax)

The information contained in this communication has been classified as:

[x] General Business Information
[ ] Motorola Internal Use Only
[ ] Motorola Confidential Proprietary



reply via email to

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