[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
imshow
From: |
Ilan Bar-On |
Subject: |
imshow |
Date: |
Thu, 20 Sep 2007 18:48:19 +0200 |
User-agent: |
KMail/1.9.6 |
When trying to view a colored image I get the following error message:
octave:1> I=imread("graf.png");
octave:2> image(I)
error: transpose not defined for N-d objects
error: evaluating postfix operator `'' near line 137, column 16
error: evaluating argument list element number 1
error: evaluating assignment expression near line 137, column 7
error: called from `saveimage' in file
`/home/local/numeri/octave/share/octave/2.9.13/m/image/saveimage.m'
error: called from `__img_via_file__' in file
`/home/local/numeri/octave/share/octave/2.9.13/m/image/__img_via_file__.m'
error: evaluating for command near line 701, column 7
error: evaluating if command near line 700, column 5
error: evaluating if command near line 29, column 3
error: called from `__go_draw_axes__' in file
`/home/local/numeri/octave/share/octave/2.9.13/m/plot/__go_draw_axes__.m'
error: evaluating switch command near line 57, column 4
error: evaluating for command near line 55, column 2
error: evaluating if command near line 37, column 7
error: evaluating if command near line 30, column 5
error: evaluating if command near line 29, column 3
error: called from `__go_draw_figure__' in file
`/home/local/numeri/octave/share/octave/2.9.13/m/plot/__go_draw_figure__.m'
error: evaluating if command near line 61, column 6
error: evaluating if command near line 58, column 4
error: evaluating if command near line 56, column 2
error: evaluating for command near line 55, column 7
error: evaluating if command near line 38, column 5
error: called from `drawnow' in file
`/home/local/numeri/octave/share/octave/2.9.13/m/plot/drawnow.m'
The same error occurs with image(I), and imagesc(I).
The I image dim are
octave:3> size(I)
ans =
640 800 3
Ilan