function o = display_image_pts(P) I = zeros(200,200); for i = 1:size(P,2) p = P(:,i); x = 100 + round(80*p(1)); y = 100 + round(80*p(2)); if x < 201 & x > 0 & y < 201 & y > 0 I(201-y,x) = 1; end end figure(107); imagesc(I);