image processing toolbox
image processing toolbox
(OP)
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);
figure;
imshow(L1_BLUE);
but i received pictures in gray colours. What should i do to receive colour picture??
[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);
figure;
imshow(L1_BLUE);
but i received pictures in gray colours. What should i do to receive colour picture??





RE: image processing toolbox
TTFN
RE: image processing toolbox
L1_RED=L1(:,:,1);
with:
L1_RED=L1;
L1_RED(:,:,2)=L1_RED(:,:,2)*0;
L1_RED(:,:,3)=L1_RED(:,:,3)*0;
It works properly...
I try to create a program about GIF compression- differences between BMP and GIF picture.
I'd be greatful for any conception connected with GIF compression. What could I create (a program) to show features of GIF compression