dir close all vcapg; aa=vcapg; figure(1);subplot(2,2,1);image(aa) subplot(2,2,2);imshow(diff(double(aa(:,:,1))),[]); subplot(2,2,3);imshow(rgb2gray(aa),[]); subplot(2,2,4);imshow(double(aa(:,:,1)<128),[]); save matcap aa