【正文】
function m_image_Callback(hObject, eventdata, handles) % hObject handle to m_image (see GCBO) % eventdata reserved to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) % function m_image_hj_Callback(hObject, eventdata, handles) % hObject handle to m_image_hj (see GCBO) % eventdata reserved to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) img_src=getappdata(,39。 k2=255/(fbfa)。)。 k1=ga/fa。 % function m_image_jh_Callback(hObject, eventdata, handles) % hObject handle to m_image_jh (see GCBO) % eventdata reserved to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) img_src=getappdata(,39。 imshow(g)。 end end end axes()。 [m,n]=size(img_src)。 % function m_image_zk_Callback(hObject, eventdata, handles) % hObject handle to m_image_zk (see GCBO) % eventdata reserved to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) img_src=getappdata(,39。 [m,n]=size(img_src)。%取得打開圖片的數(shù)據(jù) imwrite(img_src,fpath)。}, 39。*.bmp39。 end axes()。 ... 39。 % hObject handle to figure % eventdata reserved to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) % Get default mand line output from handles structure varargout{1} = 。amp。, untitled_OpeningF, ... 39。,...) creates a new UNTITLED or raises the % existing singleton*. Starting from the left, property value pairs are % applied to the GUI before untitled_OpeningFunction gets called. An % unrecognized property name or invalid value makes property application % stop. All inputs are passed to untitled_OpeningF via varargin. % % *See GUI Options on GUIDE39。 感謝我的計(jì)算機(jī)圖像處理老師徐志剛老師和在以往的基礎(chǔ)課學(xué)習(xí)中為我打下良好的基礎(chǔ),這是我這次綜合訓(xùn)練能夠順利完成的前提。生活就是這樣,汗水預(yù)示著結(jié)果也見證著收獲。 11 五、程序運(yùn)行截圖及其說明 圖 圖 12 圖 4. 點(diǎn)擊圖像處理下的灰級(jí)窗處理 圖 13 5. 點(diǎn)擊圖像處理下的直方均衡化 圖 圖 14 六、簡單操作手冊 如果裝有 matlab 軟件直接雙擊導(dǎo)入相應(yīng)函數(shù)之后,點(diǎn)擊“回