You are on page 1of 5

PENGOLAHAN CITRA

SLAMET NURHADI

083-100

I = imread('buah.jpg');
J = rgb2gray(I);
figure, imshow(I), figure, imshow(J);

I = imread('markisa.jpg');
J = rgb2gray(I);
figure, imshow(I), figure, imshow(J);
Perintah => Rgb2ind

RGB = imread('buah.jpg');

[X,map] = rgb2ind(RGB,128);

figure, image(X), colormap(map)

axis off

axis image
I=imread('ac.gif');

>> I2=imread('juventus.gif');

>> K=imdivide(imadd(I,I2),2);

>> imshow(I)

>> imshow(I2)

>> imshow(K)
HASIL PENGGABUNGAN:

You might also like