clear all;
close all;

i=imread('Ehsan-Shahnazi.jpg');
i2=rgb2gray(i);
i3=imadjust(i2);
i4=histeq(i3);
i5=adapthisteq(i3);

fsp1 = fspecial('disk',10);
i6 = imfilter(i3,fsp1,'replicate');

fsp2 = fspecial('unsharp');
i7 = imfilter(i3,fsp2,'replicate');


figure;
subplot(2,4,1);
imshow(i);
title('i=original image');

subplot(2,4,2);
imshow(i2);
title('i2=gray image');

subplot(2,4,3);
imshow(i3);
title('i3=imadjust image');

subplot(2,4,4);
imshow(i4);
title('i4=histeq image i3');

subplot(2,4,5);
imshow(i5);
title('i5=adapthisteq image i3');

subplot(2,4,6);
imshow(i6);
title('i6=Motion Blurred image i3');

subplot(2,4,7);
imshow(i7);
title('i7=Sharpened image i3');



