I = checkerboard(8);
type = {'gaussian','sobel','prewitt',...
        'laplacian','log','motion',...
        'average','disk','unsharp'};
for index = 1:length(type)
    h = fspecial(type{index});
    I2 = imfilter(I,h);
    subplot(3,3,index)
    imshow(I2)
    title(type{index})
end
