function p = imgPoints(img)
% function p = imgPoints(img)
%
% display the image, and get points from two clicks on it

clf;
set(gcf,'UserData',[]);

image(img);

hold on

ch = get(gca,'Children');
set(ch,'ButtonDownFcn','getPoint');
