%showEdgeImage(m,theta)
%
% Plots a colored edge graph where intensity indicates the strength of the
% edge given in m and the color indicates the angle given in theta.
%
% m - one-channel edge iamge
% theta - one-channel angle image, in the range -pi to pi.
%         (This is the range returned by atan2.)
function showEdgeImage(m,theta)
% imshow(theta/pi/2+0.5)
% imshow(m(:,:,1)/255*3)
% Really cool:
maxM = max(m(:));
imshow(hsv2rgb(theta/pi/2+0.5,ones(size(theta)),m/maxM));
