K1 = imread('kucharky.tiff');
figure(1), imshow(K1);
K2 = imnoise(K1, 'salt & pepper');
figure(2), imshow(K2);
K3 = medfilt2(K2);
figure(3), imshow(K3);
