[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #41851] ind2rgb values outside range of colour
From: |
Carnë Draug |
Subject: |
[Octave-bug-tracker] [bug #41851] ind2rgb values outside range of colour map |
Date: |
Fri, 14 Mar 2014 17:18:22 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20140207 Firefox/24.0 Iceweasel/24.3.0 |
Update of bug #41851 (project octave):
Open/Closed: Closed => Open
Summary: ind2rgb tests => ind2rgb values outside
range of colour map
_______________________________________________________
Follow-up Comment #6:
Hmm... I see what you mean. Looking into private/ind2x.m function, there is:
num_colors = rows (map);
if (num_colors < maxidx)
## Pad with the last color in the map for Matlab compatibility
pad = repmat (map(end,:), maxidx - num_colors, 1);
map(end+1:maxidx, :) = pad;
endif
Maybe we should also give an error for this cases? Or issue a warning?
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?41851>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #41851] ind2rgb tests, Guillaume, 2014/03/13
- [Octave-bug-tracker] [bug #41851] ind2rgb tests, Carnë Draug, 2014/03/13
- [Octave-bug-tracker] [bug #41851] ind2rgb tests, Guillaume, 2014/03/13
- [Octave-bug-tracker] [bug #41851] ind2rgb tests, Rik, 2014/03/13
- [Octave-bug-tracker] [bug #41851] ind2rgb tests, Carnë Draug, 2014/03/13
- [Octave-bug-tracker] [bug #41851] ind2rgb tests, Carnë Draug, 2014/03/13
- [Octave-bug-tracker] [bug #41851] ind2rgb tests, Guillaume, 2014/03/14
- [Octave-bug-tracker] [bug #41851] ind2rgb values outside range of colour map,
Carnë Draug <=
- [Octave-bug-tracker] [bug #41851] ind2rgb values outside range of colour map, Guillaume, 2014/03/17
- [Octave-bug-tracker] [bug #41851] ind2rgb values outside range of colour map, Carnë Draug, 2014/03/17
- [Octave-bug-tracker] [bug #41851] ind2rgb values outside range of colour map, Rik, 2014/03/17
- [Octave-bug-tracker] [bug #41851] ind2rgb values outside range of colour map, Guillaume, 2014/03/17
- [Octave-bug-tracker] [bug #41851] ind2rgb values outside range of colour map, Carnë Draug, 2014/03/17
- [Octave-bug-tracker] [bug #41851] ind2rgb values outside range of colour map, Rik, 2014/03/17