function imcut(img,st)
% function imcut(img,st)
%
% display how the set st cuts the image img

[n,m,jnk] = size(img);

im2 = img;
im2 = reshape(im2,n*m,3);
im2(st,:) = (im2(st,:))/3;
im2 = reshape(im2,n,m,3);
image(im2)
