figure(1)
clf
a = imread('001.JPG',  'jpeg');
b = a(:,:,2);
imagesc(b);
colormap(gray)

figure(2)
clf
h = [1     2     1
     0     0     0
    -1    -2    -1];
c = filter2(h,b);
imagesc(c);
colormap(gray)

