MATLAB: How can i save a plot like image jpeg

image processingimshowsave

Hi, I need save a image what is displayed with imshow, like this code:
figure;
imshow(uint8(ImgQ));
hold on;
DrawLine(Region);
hold off;
The point is that need to save the image with the line drawn, and I can do one by one for processing is batch. Does anyone have any ideas?

Best Answer

together with imwrite().
See also print() and saveas(), and see also VideoWriter
Related Question