coloredimage = imread("zebra.jpg"); 
[x, map] = rgb2ind(coloredimage); 
map =colorcube(32)
