[Top][All Lists]

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

[Octave-bug-tracker] [bug #36473] colormaps different from matlab

From: Carnë Draug
Subject: [Octave-bug-tracker] [bug #36473] colormaps different from matlab
Date: Tue, 15 May 2012 11:12:53 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20120511 Iceweasel/3.5.16 (like Firefox/3.5.16)


                 Summary: colormaps different from matlab
                 Project: GNU Octave
            Submitted by: carandraug
            Submitted on: Tue 15 May 2012 11:12:53 AM GMT
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Matlab Compatibility
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Any




I noticed that the colormaps we have in Octave are a bit different from
matlab. I have noticed this when trying to implement imhist and kept getting
different results from matlab, then I noticed that after indexing my images
were different.

For example:

 [0 1 1]   # matlab
 [0 0 0.5] # octave
m = jet;
jet(1:3, :)
# in matlab
   0   0   0.5625
   0   0   0.6250
   0   0   0.6875
# in octave
   0.00000   0.00000   0.50000
   0.00000   0.00000   0.56349
   0.00000   0.00000   0.62698

I didn't try every single colormap as I don't have matlab and didn't want to
bother anyone too much but at least jet and hot are different.

Is this considered a bug? Should I even try to fix it? 


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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