function testBorder
a=im2double(imread('potatoes12.png')); 
subplot(1,3,1), imshow(a); 
b=clearBorders(a);
subplot(1,3,2), imshow(b);
c = b .* a;
subplot(1,3,3), imshow(c);
