help-octave
[Top][All Lists]
Advanced

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

Re: Loading and average PGM files


From: Mathieu
Subject: Re: Loading and average PGM files
Date: Mon, 18 Jun 2012 04:38:45 -0700 (PDT)

Hi,


My pgm files are depth images of 640 over 480 pixels. I already tried imread
function typing: imread('1.pgm') 

and I get this error:

error: imread: invalid image file: Magick++ exception: Magick: Invalid
colormap
index (index 65287 >= 256 colors,
/home/mja/Documents/test/Following/d/1.pgm)
reported by magick/colormap.c:239 (MagickConstrainColormapIndex)
error: called from:
error: /usr/share/octave/3.2.4/m/image/imread.m at line 74, column 7

Any ideas on what's going wrong? 

Regards,


Mathieu 

--
View this message in context: 
http://octave.1599824.n4.nabble.com/Loading-and-average-PGM-files-tp4630784p4630786.html
Sent from the Octave - General mailing list archive at Nabble.com.


reply via email to

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