octave-maintainers
[Top][All Lists]
Advanced

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

type handling bug?


From: Levente Torok
Subject: type handling bug?
Date: Tue, 26 May 2009 12:15:01 +0200
User-agent: KMail/1.11.2 (Linux/2.6.27-14-generic; KDE/4.2.2; i686; ; )

Hi All,


I guess I have found a bug in the type handling when displayed.


I did the folllowing:


im = imread("p1020037.jpg");


size(im)
ans =


1536 2048


typeinfo(im)
ans = uint8 matrix


s=rows(im)*columns(im); % size of the vector
z = resize( im, s,1 ); % in vector from


listing the two vectors together as
[ [1:s]' z ]


gives:
..
..
..


248 127
249 124
250 118
251 106
252 98
253 103
254 110
255 113
255 117
255 123
255 125
255 130
255 132
255 127
255 122


which certainly implies some bug in the type halding when printed.
I use:
octave:71> version
ans = 3.0.5


Is it already solved in the newer - yet unstable - version?


Levente


Levente


--
Blogger of http://fapuma.blogspot.com




reply via email to

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