octave-maintainers
[Top][All Lists]
Advanced

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

Re: imread


From: John W. Eaton
Subject: Re: imread
Date: Tue, 15 Jul 2008 15:13:22 -0400

On 15-Jul-2008, Thomas L. Scofield wrote:

| Just got your message about it being imshow.  Can it be the source of  
| the problem I describe here, too?

Yes, I think the problem is that uint8 images of size MxNx3 are not
displayed properly by imshow.  For example, try this:

  imshow (uint8 (repmat (kron ((0:255)', ones (1, 200)), [1, 1, 3])))

It should show a smooth black to white gradient from top to bottom,
but I see the attached image instead.

jwe

PNG image


reply via email to

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