Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
imwrite to write image and its contour on it ?

Subject: imwrite to write image and its contour on it ?

From: S C.Carl

Date: 18 Jul, 2013 07:03:09

Message: 1 of 2

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/38637-active-contours-driven-by-local-gaussian-distribution-fitting-energy/content/LGD_source_code/Demo_LGD_1.m)

Subject: imwrite to write image and its contour on it ?

From: Chris

Date: 21 Jul, 2013 20:11:10

Message: 2 of 2

The demo worked fine on my system (windows w Matlab R13). I dumped the contents into a folder on the desktop, cd('directory') and typed Demo_LGD_1 at the prompt....

Tags for this Thread

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us