Date: Jul 18, 2013 3:03 AM
Author: Tony Kittler
Subject: imwrite to write image and its contour on it ?
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?
(The above codes are from here : http://www.mathworks.com/matlabcentral/fileexchange/38637-active-contours-driven-by-local-gaussian-distribution-fitting-energy/content/LGD_source_code/Demo_LGD_1.m)