% ShowEdges

close all
B = Edges('Tower.jpg');
for threshold = 10:10:100
    C = uint8( 255*(B>threshold) );
    imshow(C)
    title(sprintf('Threshold = %2d',threshold),'Fontsize',14)
    pause
end

B = Edges('Hockey.jpg');
for threshold = 10:10:100
    C = uint8( 255*(B>threshold) );
    imshow(C)
    title(sprintf('Threshold = %2d',threshold),'Fontsize',14)
    pause
end

B = Edges('LawSchool.jpg');
for threshold = 10:10:100
    C = uint8( 255*(B>threshold) );
    imshow(C)
    title(sprintf('Threshold = %2d',threshold),'Fontsize',14)
    pause
end

