x y c - number of color planes or channels in the image (r1g2b3)
Img_red = img(:,:,1); // select only red channel
display(img_red)