[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Loading and average PGM files
From: |
Jordi Gutiérrez Hermoso |
Subject: |
Re: Loading and average PGM files |
Date: |
Mon, 18 Jun 2012 08:17:40 -0400 |
On 18 June 2012 07:38, Mathieu <address@hidden> wrote:
> 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?
It looks like you're using Ubuntu.
Can you try with a newer Octave version?
http://octave.org/wiki/index.php?title=Octave_for_GNU_Linux:_Binary_Octave_packages_for_GNU_Linux#Unofficial_binaries
Also, can you show us a sample image on which you see this problem?
- Jordi G. H.
- Loading and average PGM files, Mathieu, 2012/06/18
- Re: Loading and average PGM files, Laurent Hoeltgen, 2012/06/18
- Re: Loading and average PGM files, Mathieu, 2012/06/18
- Re: Loading and average PGM files,
Jordi Gutiérrez Hermoso <=
- Re: Loading and average PGM files, Mathieu, 2012/06/18
- Re: Loading and average PGM files, Laurent Hoeltgen, 2012/06/18
- Re: Loading and average PGM files, Carnë Draug, 2012/06/18
- Re: Loading and average PGM files, Carnë Draug, 2012/06/18
- Re: Loading and average PGM files, Mathieu, 2012/06/18
- Re: Loading and average PGM files, Carnë Draug, 2012/06/18
- Re: Loading and average PGM files, Mathieu, 2012/06/18
- Re: Loading and average PGM files, Jordi Gutiérrez Hermoso, 2012/06/18
- Re: Loading and average PGM files, Jordi Gutiérrez Hermoso, 2012/06/18
- Re: Loading and average PGM files, Sergei Steshenko, 2012/06/18