help-octave
[Top][All Lists]
Advanced

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

Re: Image functions no longer return images


From: Michael Goffioul
Subject: Re: Image functions no longer return images
Date: Wed, 30 Jan 2008 21:04:56 +0100

On 1/30/08, J Heeris <address@hidden> wrote:
>
> Using octave 3.0.0 with package "image" 1.0.4, on Debian GNU/Linux (Lenny,
> 2.6.23 custom kernel).
>
> I notice that functions such as imshow and image no longer return image
> matrices, but just floating point values. Even using __go_image__ won't
> return matrices:
>
> octave:2> tmp = __go_image__ (gca(), "cdata", eye(100), "xdata", [1,100],
> "ydata", [1,100])
>
> tmp = -2.3099
>
> This still displays an image using gnuplot.
>
> Is this a bug, or has there been a change to the API?

As Matlab does, those functions now return a handle to
an image object. This handle is represented by a
scalar (semi-random) number.

Michael.


reply via email to

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