在axes中保存图象的问题
请问各位高手:我在axes2中显示图象处理的结果,想用imwrite来保存,请问如何获得axes2中的句柄 程序如下:<BR>=uiputfile(...<BR>{'*.bmp;*.jpg;*.tif;*.png','IMAGE Files (*.bmp,*.jpg,*.tif,*.png)';<BR> '*.bmp','Bitmap (*.bmp)'; ...<BR> '*.jpg','Joint Photographic Experts Group (*.jpg)'; ...<BR> '*.tif','Tagged Image files (*.tif)'; ...<BR> '*.png','Portable Network Graphics (*.png)'; ...<BR> '*.*','All Files (*.*)'},...<BR> '保存图象','');<BR>g=get(handles.axes2,'UserData');<BR>string=;<BR>imwrite(g,string);<BR>但不对,请指正,谢谢
页:
[1]