help-octave
[Top][All Lists]
Advanced

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

Re: How to show image with constant value?


From: Michael Goffioul
Subject: Re: How to show image with constant value?
Date: Thu, 27 Dec 2007 10:38:39 +0100

On 12/27/07, zetab <address@hidden> wrote:
>
> I need to show some computation result of image processing, but when the
> resulting image has constant value in all pixel, the imshow() function seems
> to not work for that. A "division by zero" warning was displayed and the
> gnuplot window show an black image.
>
> The following code will reproduce what I said:
>
> RGB=cat(3,ones(100,100),ones(100,100),ones(100,100));
> imshow(RGB);
>
> I replaced the imshow() by image(), and the result was the same.
> I use octave 2.9.19 on WinXP.
>
> Is there any method can show such an image in octave?

Use the JHandles graphics backend, this should work.

Michael.


reply via email to

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