id like to share RGB photo to 3 parts (in red, in green and in blue) and display each part. I tried to do it like that:
[L1,map1]=imread('picture.bmp');
L1=ind2gray(L1,map1);
L1_RED=L1(:,:,1);
L1_GREEN=L1(:,:,2);
L1_BLUE=L1(:,:,3);
figure;
imshow(L1_RED);
figure;
imshow(L1_GREEN)...