[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-patch-tracker] [patch #8001] rgb2ind.m: Enable handling of ND im
From: |
Adam H Aitkenhead |
Subject: |
[Octave-patch-tracker] [patch #8001] rgb2ind.m: Enable handling of ND images |
Date: |
Sat, 04 May 2013 10:09:33 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.22 (KHTML, like Gecko) Ubuntu Chromium/25.0.1364.160 Chrome/25.0.1364.160 Safari/537.22 |
Follow-up Comment #2, patch #8001 (project octave):
Quite a few further changes. This full list is now:
- Enable handling of ND images.
- Simplify the code which computes x,map. The function now runs in approx
0.25-0.30 of the time required by the previous implementation.
- The inputs n, tol and map are now enabled, improving compatibility with
Matlab.
- The image must now be input as a single RGB array, rather than allowing R,
G, B to be input separately. This was just to simplify the handling of the
inputs, now that there are additional input arguments to be handled. As far
as I can tell, Matlab only allows a single RGB array as an input too. (Let me
know if I'm wrong about this!)
- Dithering is not implemented yet. I need to do some reading up on that
before I see if I'm capable of adding that.
I got muddled up trying to work out how to amend the previous commit in hg, so
I've re-done this from scratch. Also, I don't know if the new private
function rgbmap.m has been included properly, so I've attached it separately
too. One day I'll get the hang of hg...
Hope this is useful.
Adam
(file #28013, file #28014)
_______________________________________________________
Additional Item Attachment:
File name: rgbmap.m Size:1 KB
File name: rgb2ind_NDimages_v3.diff Size:11 KB
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/patch/?8001>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-patch-tracker] [patch #8001] rgb2ind.m: Enable handling of ND images,
Adam H Aitkenhead <=
- [Octave-patch-tracker] [patch #8001] rgb2ind.m: Enable handling of ND images, Carnë Draug, 2013/05/04
- [Octave-patch-tracker] [patch #8001] rgb2ind.m: Enable handling of ND images, Adam H Aitkenhead, 2013/05/05
- [Octave-patch-tracker] [patch #8001] rgb2ind.m: Enable handling of ND images, Adam H Aitkenhead, 2013/05/06
- [Octave-patch-tracker] [patch #8001] rgb2ind.m: Enable handling of ND images, Adam H Aitkenhead, 2013/05/07
- [Octave-patch-tracker] [patch #8001] rgb2ind.m: Enable handling of ND images, Adam H Aitkenhead, 2013/05/08
- [Octave-patch-tracker] [patch #8001] rgb2ind.m: Enable handling of ND images, Jordi Gutiérrez Hermoso, 2013/05/08
- [Octave-patch-tracker] [patch #8001] rgb2ind.m: Enable handling of ND images, Adam H Aitkenhead, 2013/05/08
- [Octave-patch-tracker] [patch #8001] rgb2ind.m: Enable handling of ND images, Adam H Aitkenhead, 2013/05/08
- [Octave-patch-tracker] [patch #8001] rgb2ind.m: Enable handling of ND images, Jordi Gutiérrez Hermoso, 2013/05/08
- [Octave-patch-tracker] [patch #8001] rgb2ind.m: Enable handling of ND images, Carnë Draug, 2013/05/09