help-octave
[Top][All Lists]
Advanced

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

loadimage


From: briner
Subject: loadimage
Date: 05 Nov 2002 10:48:45 +0100

hi,

I'm trying to use 'loadimage' into octave without any success.

I've created a brynner.ppm which is in ascii format

and I tried to:

octave:3> ls
brynner2.jpg  brynner.gif  foo.ppm              lion2.jpeg  lion4.gif
brynner3.jpg  brynner.ppm  JUNGLEFOLIE6INT.jpg  lion3.jpg   lion.jpg

octave:4> [x,m]=loadimage("brynner.ppm")
error: load: /home/briner/img/brynner.ppm: inconsistent number of
columns near line 2
error: load: unable to extract matrix size from file
`/home/briner/img/brynner.ppm'
error: called from `loadimage' in file
`/usr/share/octave/2.1.34/m/image/loadimage.m'

so if someone as any idea of what could it be...

briner


ps: this is the header of the file
head ~/img/brynner.ppm
P3
# CREATOR: XV Version 3.10a  Rev: 12/29/94
210 210
255
214  57   0 214  57   0 214  57   0 214  57   0 214  57   0
214  57   0 214  57   0 214  57   0 214  57   0 214  57   0
214  57   0 214  57   0 214  57   0 214  57   0 214  57   0
214  57   0 214  57   0 214  57   0 214  57   0 214  57   0




-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

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