help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

indexed images


From: Søren Hauberg
Subject: indexed images
Date: Sat, 26 Mar 2005 15:15:58 +0100
User-agent: Mozilla Thunderbird 1.0 (X11/20050111)

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
-------------------------------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]