Can someone try to run the example code in the help of the rgb2ind function?
RGB = imread('ngc6543a.jpg');
[X,map] = rgb2ind(RGB,128);
figure, image(X), colormap(map)
axis off
axis image
When I do it I get the following error:
"Undefined function 'cq' for input arguments of type 'uint8'."
and I cannot figure out why...