【正文】
....... 12 代碼及其注釋 ........................................................................... 12 圖像仿真 ................................................................................... 13 效果分析 ................................................................................... 13 5 心得體會(huì) .................................................................................................................. 14 參考文獻(xiàn) ...................................................................................................................... 15 附件: MATLAB 程序 ..................................................................................................... 16 武漢理工大學(xué)《 MATLAB 原理與應(yīng)用》課程設(shè)計(jì) I 摘 要 本次課程設(shè)計(jì)報(bào)告在簡要介紹 MATLAB 軟件的基礎(chǔ)上 , 結(jié)合其圖象處理工具 , 重點(diǎn)分析了 MATLAB 在圖象處理中的應(yīng)用。文中的具體實(shí)例表明 , 在數(shù)字圖象處理中使用 MATLAB 可以提高實(shí)驗(yàn)效率 , 快速得出實(shí)驗(yàn)結(jié) 果。本次課程設(shè)計(jì),主要是利用 MATLAB 仿真軟件實(shí)現(xiàn)圖像的去噪處理。要求:讀取圖像并分別加入高斯噪聲、椒鹽噪聲、脈沖噪聲和乘性噪聲,然后采取合適的濾波器進(jìn)行去噪處理,能顯示原始圖像、加噪后圖像和去噪后圖像。在此過程中學(xué)會(huì)此軟件的一些基本操作及語言。 一幅圖像在實(shí)際應(yīng)用過程中可能存在各種各樣的噪聲,給后面的圖像區(qū)域分割、分析判斷等工作帶來了困難,因此圖像去噪是圖像處理中的重要組成部分.利用 MATLAB軟件對(duì)均值濾波、中值濾波和維納濾波3種圖像去噪技術(shù)進(jìn)行分析比較.結(jié)果表明:均值濾波方法適于去除高斯噪聲;中值濾 波方法適于去除椒鹽噪聲,同時(shí)能較好保護(hù)圖像邊界;自適應(yīng)濾波方法較之前2種濾波方法具有更好的選擇性,適于去除高斯噪聲.同時(shí),3種去噪方法對(duì)于去除遠(yuǎn)觀圖或近觀圖中的噪聲,均有良好效果。 關(guān)鍵詞: 濾波器 圖像加噪 MATLAB 武漢理工大學(xué)《 MATLAB 原理與應(yīng)用》課程設(shè)計(jì) II Abstract This curriculum project report was introducing briefly in the MATLAB software39。s foundation, unifies its imagery processing tool, selective analysis MATLAB in imagery processing application. In the article concrete example indicated that uses MATLAB in digital image processing to be possible to raise the experiment efficiency, obtains the experimental result fast. This curriculum project, is mainly realizes image denoising processing using the MATLAB simulation software. Request: The read image and joins the Gauss noise, the spiced salt noise, the impulse noise/pulse noise/pulsive noise and while the noise separately, then adopts the appropriate filter to carry on denoising processing, after can demonstrate the primitive image, the Canadian chirp, image and the denoising, image. During this process learns this software39。s some elementary operation eos and the language. An image in the actual application process may exist in a variety of noise to the back of the image region segmentation, analysis and other work makes it difficult to judge, so the image denoising is an important image processing ponent. Using MATLAB software mean filtering, median filtering and Wiener filtering three kinds of image denoising techniques were analyzed and pared. The results showed: mean filtering method for removing Gaussian noise。 median filtering method for removing salt and pepper noise, and can better protect the image boundary。 adaptive filtering method pared to the previous two kinds of filtering method has better selectivity for removal Gaussian noise. At the same time, three kinds of denoising method for the removal or the closedistance diagram of the noise figure, have a good effect. Keywords: Filtering Image noise MATLAB 武漢理工大學(xué)《 MATLAB 原理與應(yīng)用》課程設(shè)計(jì) 1 1 引言 介紹 MATLAB 是矩陣實(shí)驗(yàn)室( Matrix Laboratory)的簡稱,是美國 MathWorks公司出品的商業(yè)數(shù)學(xué)軟件,用于算法開發(fā)、數(shù)據(jù)可視化、數(shù)據(jù)分析以及數(shù)值計(jì)算的高級(jí)技術(shù)計(jì)算語言和交互式環(huán)境,主要包括 MATLAB 和 Simulink 兩大部分。 MATLAB 是由美國 mathworks 公司發(fā)布的主要面對(duì)科學(xué)計(jì) 算、可視化以及交互式程序設(shè)計(jì)的高科技計(jì)算環(huán)境。它將數(shù)值分析、矩陣計(jì)算、科學(xué)數(shù)據(jù)可視化以及非線性動(dòng)態(tài)系統(tǒng)的建模和仿真等諸多強(qiáng)大功能集成在一個(gè)易于使用的視窗環(huán)境中,為科學(xué)研究、工程設(shè)計(jì)以及必須進(jìn)行有效數(shù)值計(jì)算的眾多科學(xué)領(lǐng)域提供了一種全面的解決方案,并在很大程度上擺脫了傳統(tǒng)非交互式程序設(shè)計(jì)語言(如 C、 Fortran)的編輯模式,代表了當(dāng)今國際科學(xué)計(jì)算軟件的先進(jìn)水平。 MATLAB 和 Mathematica、 Maple 并稱為三大數(shù)學(xué)軟件。它在數(shù)學(xué)類科技應(yīng)用軟件中在數(shù)值計(jì)算方面首屈一指。 MATLAB 可以進(jìn)行矩陣運(yùn) 算、繪制函數(shù)和數(shù)據(jù)、實(shí)現(xiàn)算法、創(chuàng)建用戶界面、連 接其他編程語言的程序等,主要應(yīng)用于工程計(jì)算、控制設(shè)計(jì)、信號(hào)處理與通訊、圖像處理、信號(hào)檢測、金融建模設(shè)計(jì)與分析等領(lǐng)域。 MATLAB 的基本數(shù)據(jù)單位是矩陣,它的指令表達(dá)式與數(shù)學(xué)、工程中常用的形式十分相似,故用 MATLAB 來解算問題要比用 C, FORTRAN等語言完成相同的事情簡捷得多,并且 MATLAB 也吸收了像 Maple 等軟件的優(yōu)點(diǎn) ,使 MATLAB 成為一個(gè)強(qiáng)大的數(shù)學(xué)軟件。在新的版本中也加入了對(duì) C,F(xiàn)ORTRAN, C++ , JAVA 的支持??梢灾苯诱{(diào)用 ,用戶也可以將 自己編寫的實(shí)用程序?qū)氲?MATLAB 函數(shù)庫中方便自己以后調(diào)用,此外許多的 MATLAB 愛好者都編寫了一些經(jīng)典的程序,用戶可以直接進(jìn)行下載就可以用。 武漢理工大學(xué)《 MAT