imread

John W. Eaton jwe at bevo.che.wisc.edu
Tue Jul 15 14:13:22 CDT 2008


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot-Figure 1.png
Type: image/png
Size: 8754 bytes
Desc: not available
Url : https://www.cae.wisc.edu/pipermail/octave-maintainers/attachments/20080715/8162f3ca/attachment.png 


More information about the Octave-maintainers mailing list