马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?我要加入
x
<P><FONT color=#0033ff>function</FONT> ytx_push_Callback(hObject, eventdata, handles)</P>
<P>SC = {<FONT color=#d52bd5>'*.tif;*.jpg;*.bmp;*.gif;*.png','FILES(*.tif,*.jpg,*.bmp,*.gif,*.png)'</FONT>;<br> <FONT color=#f709f7>'*.tif', 'TIF/TIFF(*.tif)'</FONT>;<br> <FONT color=#cc33cc>'*.jpg', 'JPG/JPEG(*.jpg)'</FONT>;<br> <FONT color=#d52bd5>'*.bmp', 'BMP(*.bmp)'</FONT>;<br> <FONT color=#d52bd5>'*.gif', 'GIF(*.gif)'</FONT>;<br> <FONT color=#dd22dd>'*.png', 'PNG(*.png)'</FONT>;}<br> ytx = uigetfile(SC,' ')<br>imshow(ytx)<br><br><FONT color=#4d9eb3>% hObject handle to yuantuxiang_push (see GCBO)<br>% eventdata reserved - to be defined in a future version of MATLAB<br>% handles structure with handles and user data (see GUIDATA)</FONT></P>
<P><br><FONT color=#4d9eb3>% --- Executes on button press in zengqiang_push.<br></FONT><br><FONT color=#0909f7>function</FONT> zq_push_Callback(hObject, eventdata, handles)<br><FONT color=#ff0033 size=4>%请教在这个函数中,怎么调用上一个函数中的"ytx",以便对它进行处理????<br></FONT> J = imadjust(............,[0.3,0.7],[]);<br> imshow(J)<br><br><br><FONT color=#ff0000 size=5>谢谢!!!!</FONT></P>
[此贴子已经被作者于2006-5-16 15:42:55编辑过]
|