[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #36594] imshow error after changing colormap
From: |
Fu Juay Chang |
Subject: |
[Octave-bug-tracker] [bug #36594] imshow error after changing colormap |
Date: |
Tue, 05 Jun 2012 13:48:44 +0000 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.52 Safari/536.5 |
URL:
<http://savannah.gnu.org/bugs/?36594>
Summary: imshow error after changing colormap
Project: GNU Octave
Submitted by: richerard
Submitted on: Tue 05 Jun 2012 01:48:43 PM GMT
Category: None
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Incorrect Result
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 3.6.1
Operating System: Microsoft Windows
_______________________________________________________
Details:
The test program is as follows.
>>im=uint8([0 1 2 0; 0 1 2 0; 0 1 2 0; 0 1 2 0]);
>>map=[0 0 0; 1 0 0; 0 1 0; 0 0 1; 1 1 0; 0 1 1 ; 1 0 1];
>>imshow(im,map)
The result of Matlab is right. It will show a small image whose colors are
black, red, green and black from left to right.
If using the "Octave with Visual Studio" version , the colors are just only
black, red and black, and the spaces between colors are not equal.
If using Octave-3.6.1-mingw, it is totally white.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?36594>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #36594] imshow error after changing colormap,
Fu Juay Chang <=