No BSD License  

Highlights from
Basic Image Processing

from Basic Image Processing by Sandeep
This will help those who start doing Image Processing with Matlab

laplacian.m
a=imread('Fig3.40(a).jpg');
a=double(a);
b=[-1 -1 -1;-1 8 -1;-1 -1 -1];
y=spatialfilt(a,b);
imshow(a,[]);
title('original');
figure
imshow(y,[]);
title('filtered image');
figure
x=a+y;
imshow(x,[]);
title('sharpened image');

Contact us at files@mathworks.com