function im_out = set_img(pts,rows,cols)
%
im_out = zeros(rows,cols);
[num_pts,dummy] = size(pts);
for p = 1:num_pts
  im_out(pts(p,1),pts(p,2)) = 1;
end
