[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: indexed images
From: |
Macy |
Subject: |
Re: indexed images |
Date: |
Sat, 26 Mar 2005 07:01:20 -0800 |
May just be a typo on your email, but you have no comma..
[indexed map] = gray2ind(I);
should be..
[indexed, map] = gray2ind(I);
- Robert -
On Sat, 26 Mar 2005 15:15:58 +0100
Søren Hauberg <address@hidden> wrote:
> Hi
> Shouldn't I be able to do the following? ('I' as 512x512
> image)
>
> [indexed map] = gray2ind(I);
> G = ind2gray(indexed, map);
>
> If I do the above I get this error:
>
> error: invalid vector index = 15436
> error: evaluating argument list element number 1
> error: evaluating assignment expression near line 49,
> column 5
> error: called from `ind2gray' in file
> `/usr/share/octave/2.1.64/m/image/ind2gray.m'
> error: evaluating assignment expression near line 48,
> column 3
>
> But perhaps I'm misunderstanding the functions?
>
> /Søren
>
>
>
>
-------------------------------------------------------------
> Octave is freely available under the terms of the GNU
> GPL.
>
> Octave's home on the web: http://www.octave.org
> How to fund new projects:
> http://www.octave.org/funding.html
> Subscription information:
> http://www.octave.org/archive.html
>
-------------------------------------------------------------
>
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------