|
Hi Susan,
Try this:
%%%%%%%%%%%%%%%%%%%%%%%%%%
imshow(Image)
Frame=getframe();
Im=Frame.cdata;
imwrite(im,'Name_it.png');
% Note 1: remember the grabbed image (Im) is an RGB even when your original
% displayed image (Image) is grayscale!
% Note 2: the grabbed image size depends on the display option you choose
% Note 3: the image (Im) is grabbed as it is within the display gray box.
%%%%%%%%%%%%%%%%%%%%%%%%%%%
"Susan" wrote in message <j4m0a4$5ni$1@newscl01ah.mathworks.com>...
> Hey all,
> Is there a way to save the figure output produced in matlab file as image (gif,ping)?
>
> Thanks all,
> Susan
|