[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: |
Tue, 18 Mar 2014 00:11:24 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20140207 Firefox/24.0 Iceweasel/24.3.0 |
Follow-up Comment #11, bug #41851 (project octave):
Rik, as an alternative, please take a look at the attached patch. It is an
amend of yours.
It makes note of this bug number in the comments, prints a warning for the
opposite case (colours above the cmap limit), and tests that warnings are
issued for 0, off by one errors for integers and floats.
Also, it performs just a tiny little better (since we don't need isindex to
check if all values are integers again) and avoids "x(x < 1) = 1" unless
absolutely required which always creates a copy of the image.
(file #30934)
_______________________________________________________
Additional Item Attachment:
File name: ind2bug.cset Size:7 KB
_______________________________________________________
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, (continued)
- [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, 2014/03/14
- [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 <=
- [Octave-bug-tracker] [bug #41851] ind2rgb values outside range of colour map, Rik, 2014/03/17