Tuesday, 12 December 2017

ANALYSIS OF AN IMAGE WITH DIFFERENT COLOURS -MATLAB

By Ask Biomedical
i=imread('car.jpg');
subplot(2,2,1);
imshow(i);
title('original image');

a=rgb2ycbcr(i);
subplot(2,2,2);

imshow(a);
title('ycbcr image');

b=rgb2ntsc(i);
subplot(2,2,3);
imshow(b);
title('ntsc image');

c=rgb2hsv(i);
subplot(2,2,4);
imshow(c);
title('hsv image');

0 comments:

Post a Comment