|
From: | RT |
Subject: | Re: rgb2ind issue |
Date: | Thu, 26 Jul 2018 23:02:53 -0400 |
On Thu, Jul 26, 2018 at 4:35 PM, RT <address@hidden> wrote:I'm trying to create an animated gif using code I found at https://www.mathworks.com/matlabcentral/answers/94495-how-can-i-create-animated-gif-images-in-matlabbut I get an error"error: Invalid call to rgb2ind. Correct usage is:
-- [X, MAP] = rgb2ind (RGB)
-- [X, MAP] = rgb2ind (R, G, B)Looking at the function calling structure on matlab:
https://www.mathworks.com/help/matlab/ref/rgb2ind.html[X,map] = rgb2ind(RGB,n)
X = rgb2ind(RGB, map)
[X,map] = rgb2ind(RGB, tol)
[___] = rgb2ind(___,dither_option)it appears that the current Octave implementation is not fully compatible. Unless there's already something on the bug tracker that I didn't see in a quick search, it should probably be logged as one:
[Prev in Thread] | Current Thread | [Next in Thread] |