%plot detected lines in the image %2003, B. Micusik, micusb1@cmp.felk.cvut.cz %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% clear all; close all; imidx = 1; %[1-7] dn = '/mnt/www/wwwpages/cmp/courses/pvi2003/Labs/KarluvMost/'; fn = 'KMsm'; fnl = 'KMsmLines'; tpfn = '.png'; %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% ims = sprintf('%s%s%02d%s',dn,fn,imidx,tpfn); imsd = sprintf('%s%s%02d',dn,fnl,imidx); im = imread(ims); load(imsd); figure; imagesc(im); hold on; plot([u(1,:);v(1,:)],[u(2,:);v(2,:)],'g-');