You are on page 1of 2

Tugas 1:

Nama : Abdurrahman Sudaesy


NIM : F1B014001

Script:
i=imread('sudaesy.jpg');
subplot(2,2,1); imshow(i); title('foto asli'); size(i)

resize = imresize(i,0.2);
subplot(2,2,2); imshow(resize); title('foto resize'); size(resize)

grey=rgb2gray(i);
subplot(2,2,3); imshow(grey); title('Gambar Grayscale');

Hasil :
Size foto asli dan foto resize:

You might also like