Image functions no longer return images

J Heeris jason.heeris at gmail.com
Fri Feb 1 01:09:37 CST 2008


I don't think it is: "save " only saves the raw data, not images as (say)
PNG, and I can't find a documentation entry for "saveas".


James Sherman Jr.-2 wrote:
> 
> On Jan 30, 2008 6:28 PM, J Heeris <jason.heeris at gmail.com> 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
>> > Help-octave at octave.org
>> > 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
> 
> _______________________________________________
> Help-octave mailing list
> Help-octave at octave.org
> https://www.cae.wisc.edu/mailman/listinfo/help-octave
> 
> 

-- 
View this message in context: http://www.nabble.com/Image-functions-no-longer-return-images-tp15181109p15221760.html
Sent from the Octave - General mailing list archive at Nabble.com.




More information about the Help-octave mailing list