ä½ çfile_tempåªæ¯æå¼æ件çæ件åï¼æ²¡è·¯å¾çè¯ï¼imreadä»ç¶æ¾ä¸å°æ件ãã
æ¹åå¦ä¸ï¼
[filename, pathname]=uigetfile({'*.jpg';'*.png';'*.tif';'*.gif';'*.*'},'Select the image');
file_temp=strcat( pathname,filename);
img_temp=imread(file_temp);
ä½ ä¸é¢çé£ä¸ªâsâæ¯æå¼æ件çæ件åé»è®¤ä¸ºsï¼æ²¡ä»ä¹ç¨ï¼å¯ä»¥å»æ
温馨提示:答案为网友推荐,仅供参考