|
From: | Nicholas Jankowski |
Subject: | Re: rgb2ind issue |
Date: | Thu, 26 Jul 2018 16:41:20 -0400 |
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-matlab but I get an error"error: Invalid call to rgb2ind. Correct usage is:
-- [X, MAP] = rgb2ind (RGB)
-- [X, MAP] = rgb2ind (R, G, B)
[X,map] = rgb2ind(RGB,n)
X = rgb2ind(RGB, map)
[X,map] = rgb2ind(RGB, tol)
[___] = rgb2ind(___,dither_option)
[Prev in Thread] | Current Thread | [Next in Thread] |