[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: image on sphere
From: |
Carnë Draug |
Subject: |
Re: image on sphere |
Date: |
Mon, 19 Nov 2012 23:01:54 +0000 |
On 19 November 2012 22:08, Juan Pablo Carbajal <address@hidden> wrote:
> Yes, that is ok. But when called with two arguments, what it is supposed to
> do?
The current implementation of rgb2ind is incompatible with the one
from matlab. The behaviour when it has 2 arguments depends if the
second argument is a colormap or a scalar but Octave currently
supports none of them. Plus, rgb2ind is completely broken since it
does not even return a valid colormap (exception made for rgb of class
double which I find to be very rare). I have submitted some patches
that will at least fix that last week
https://savannah.gnu.org/bugs/?37712
But supporting the other arguments as with matlab will require some
extra input checking if we don't want to break current code (which may
try to pass each channel as independent variables).
Carnë
- image on sphere, gregortjw, 2012/11/19
- Re: image on sphere, Juan Pablo Carbajal, 2012/11/19
- Message not available
- Re: image on sphere, Juan Pablo Carbajal, 2012/11/19
- Re: image on sphere, gregortjw, 2012/11/19
- Re: image on sphere, Juan Pablo Carbajal, 2012/11/19
- Re: image on sphere, gregortjw, 2012/11/19
- Re: image on sphere, Juan Pablo Carbajal, 2012/11/19
- Re: image on sphere, gregortjw, 2012/11/19
- Message not available
- Re: image on sphere, Juan Pablo Carbajal, 2012/11/19
- Re: image on sphere,
Carnë Draug <=
- Re: image on sphere, Carnë Draug, 2012/11/19
- Message not available
- Re: image on sphere, Carnë Draug, 2012/11/19
- Re: image on sphere, Juan Pablo Carbajal, 2012/11/19
- Message not available
- Re: image on sphere, Carnë Draug, 2012/11/19
- Re: image on sphere, Juan Pablo Carbajal, 2012/11/19