【正文】
a, handles, varargin) % This function has no output args, see OutputF. % hObject handle to figure % eventdata reserved to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) % varargin mand line arguments to untitled (see VARARGIN) % Choose default mand line output for untitled 22 = hObject。 end if nargout [varargout{1:nargout}] = gui_mainf(gui_State, varargin{:})。amp。, [])。, [] , ... 39。, untitled_OutputF, ... 39。, untitled_OpeningF, ... 39。, gui_Singleton, ... 39。, mfilename, ... 39。 gui_State = struct(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。,39。,hObject,eventData,handles,...) calls the local % function named CALLBACK in with the given input arguments. % % UNTITLED(39。 20 附錄 function varargout = untitled(varargin) % UNTITLED Mfile for % UNTITLED, by itself, creates a new UNTITLED or raises the existing % singleton*. % % H = UNTITLED returns the handle to a new UNTITLED or the handle to % the existing singleton*. % % UNTITLED(39。 感謝我的計(jì)算機(jī)圖像處理老師徐志剛老師和在以往的基礎(chǔ)課學(xué)習(xí)中為我打下良好的基礎(chǔ),這是我這次綜合訓(xùn)練能夠順利完成的前提。這次課程設(shè)計(jì)必將成為我人生旅途上一個(gè)非常美好的回憶! 通過(guò)這次的課程設(shè)計(jì)我對(duì)于專業(yè)課的學(xué)習(xí)有了更加深刻的認(rèn)識(shí),以為現(xiàn)在學(xué)的知識(shí)用不上就加以怠慢,等到想用的時(shí)候卻發(fā)現(xiàn)自己的學(xué)習(xí)原來(lái)是那么的不扎實(shí)。我們每一個(gè) 人永遠(yuǎn)不能滿足于現(xiàn)有的成就,人生就像在爬山,一座山峰的后面還有更高的山峰在等著你。雖然這只是一次的極簡(jiǎn)單的課程制作,可是平心而論,也耗費(fèi)了我不少的心血,這就讓我不得不佩服開(kāi)發(fā)技術(shù)的前輩,才意識(shí)到老一輩對(duì)我們社會(huì)的付出,為了人們的生活更美好,他們?yōu)槲覀兩鐣?huì)所付出多少心血??! 對(duì)我而言,知識(shí)上的收獲重要,精神上的豐收更加可喜。生活就是這樣,汗水預(yù)示著結(jié)果也見(jiàn)證著收獲。這樣做起來(lái)不僅有條理也使問(wèn)題得到了輕松的解決。 程序的編寫(xiě)需要有耐心,有些事情看起來(lái)很復(fù)雜,但問(wèn)題需要一點(diǎn)一點(diǎn)去解決,分析問(wèn)題,把問(wèn)題一個(gè)一個(gè)劃分,劃分成小塊以后就 逐個(gè)去解決。《 計(jì)算機(jī)圖像處理 》是一門(mén)實(shí)踐性較強(qiáng)的課程,為了學(xué)好這門(mén)課程,必須在掌握理論知識(shí)的同時(shí),加強(qiáng)上機(jī)實(shí)踐。 11 五、程序運(yùn)行截圖及其說(shuō)明 圖 圖 12 圖 4. 點(diǎn)擊圖像處理下的灰級(jí)窗處理 圖 13 5. 點(diǎn)擊圖像處理下的直方均衡化 圖 圖 14 六、簡(jiǎn)單操作手冊(cè) 如果裝有 matlab 軟件直接雙擊導(dǎo)入相應(yīng)函數(shù)之后,點(diǎn)擊“回車(chē)”鍵程序,實(shí)現(xiàn)相應(yīng)的功能。 ,首先得找到圖片所在的位置,否則會(huì)顯示錯(cuò)誤。 figure,imhist(p)。r39。 h2=1:2:256。 h=imhist(p)。)。 9 直方圖均衡化處理詳細(xì)設(shè)計(jì) img=imread(39。 end en