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: James Sherman Jr.
Subject: Re: Image functions no longer return images
Date: Fri, 1 Feb 2008 01:11:26 -0500

On Jan 30, 2008 6:28 PM, J Heeris <address@hidden> wrote:
>
>
>
>
> Søren Hauberg wrote:
> >
> >
> > ons, 30 01 2008 kl. 04:32 -0800, skrev J Heeris:
> >> 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.
> > I'm confused. Have 'imshow' ever returned an image? I mean, why would
> > it?
> >
> > Søren
> >
> > _______________________________________________
> > Help-octave mailing list
> > address@hidden
> > https://www.cae.wisc.edu/mailman/listinfo/help-octave
> >
> >
>
> Sorry, I meant "imagesc".
>
> If these functions return image handles, how do I use them with, say,
> "imwrite"? The documentation for "imwrite" doesn't seem to have changed to
> detail this. Now I just get "error: expecting integer index, found
> -6.139061" when trying to use the results of "imagesc" with "imwrite".

I don't have octave available currently, but I believe the function
you're looking for is either save or saveas (can't remember which one
it is).

James



reply via email to

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