Nama: SLAMET NURHADI NPM: 083112706450100 No.1 Membuka gambar coin yang selanjutnya akan di filter. >> I =imread('coins.

jpg'); >> h = ones(5,5) / 25; I2 = imfilter(I,h); imshow(I), title('Original Image'); figure, imshow(I2), title('Filtered Image');

rgb = imread('berries.jpg'); >> imshow(rgb);

h = ones(5,5)/25; rgb2 = imfilter(rgb,h); figure, imshow(rgb2)

No2. Pengfilteran yang akan tampak lebih jelas I = imread('moon.jpg'); >> h = fspecial('unsharp'); >> I2 = imfilter(I,h); >> imshow(I), title('Original Image') figure, imshow(I2), title('Filtered Image')