Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
NCTM or The Math Forum.



imwrite to write image and its contour on it ?
Posted:
Jul 18, 2013 3:03 AM


Hi all,
figure(1), imagesc(uint8(Img),[0 255]),colormap(gray),axis off;axis equal, hold on, contour(phi,[0 0],'r','linewidth',1);
I would like to write the image and its contour on it with red color, which is shown in the figure(1). How to do this? Urgent please thnx
(The above codes are from here : http://www.mathworks.com/matlabcentral/fileexchange/38637activecontoursdrivenbylocalgaussiandistributionfittingenergy/content/LGD_source_code/Demo_LGD_1.m)



