Image processing - corrupted display - range problem?

Alex Bligh alex at alex.org.uk
Fri Dec 19 15:09:20 CST 2008


> I'm trying to do image processing using Octave (Octave.app 3.0.3 installed
> on OS-X precompiled Octave-forge with the image package 1.0.8 also from
> Octave Forge, plus ImageMagick 6.2.8). I am a (very) new user so please
> bear with me if this is a stupid question.

Further this happens with any colour image:

octave-3.0.3:16> 
L=imread("/Applications/iWeb.app/Contents/Resources/Themes/Modern.webtheme/Shared/AA041434_a.jpg")
...
octave-3.0.3:16> imwrite(L,"ll.jpg")
error: transpose not defined for N-d objects
error: evaluating postfix operator `'' near line 273, column 10
error: evaluating assignment expression near line 273, column 8
error: evaluating if command near line 272, column 1
error: called from `imwrite' in file 
`/Users/amb/octave/image-1.0.8/imwrite.m'

but works ok with any greyscale image.

--
Alex


More information about the Help-octave mailing list