Q:

printing symbols onto an image?

I want to ask that how can i add symbols like 'x' or 'o' onto an image permanently?
I know how to write it in a function
figure; imshow(I)
hold on
plot(CentroidTermX,CentroidTermY,'ro','linewidth',2)
plot(CentroidBifX,CentroidBifY,'go','linewidth',2)

but i want to use the resultant image in another file and also in displaying it in a gui but when i use the I as an output argument 
function I = detection(X,Y)

it gives the original image without the 'ro' and 'go'. What could be the way to do it?
Help will be appreciated.

A:

There are functions for that in the Computer Vision System Toolbox:

insertMarker
insertShape
insertText
insertObjectAnnotation

