資源簡介
MATLAB數字圖像處理
文件:打開、顯示、重載、RGB變灰度、保存;
幾何變換:垂直、水平鏡像,圖像轉置、平移、縮放、旋轉;
正交變換:FFT、DFT、DCT、DST、DHT、DWasht;
灰度處理:反色、直方圖均衡、閾值變換、閾值變換、分段線性變換、對數非線性變換、指數非線性變換;
圖像增強:噪聲(高斯、椒鹽),平滑(均值法、鄰域平均法、中值濾波法、巴特沃氏低通濾波);
銳化:梯度銳化、拉普拉斯銳化、巴特沃氏高通濾波;
偽彩色增強:亮度切割法、灰度級彩色變換法;
圖像分割:灰度閾值法、邊緣檢測法(Robert算子、Laplacian算子、Prewitt算子、Canny算子、Sobel算子);
圖像恢復:退化模型(運動模糊、帶噪聲的運動模糊),復原方法(直接逆濾波、維納濾波);
圖像編碼:霍夫曼編碼、行程編碼;

代碼片段和文件信息
function?varargout?=?MyDIP(varargin)
%?MYDIP?M-file?for?MyDIP.fig
%??????MYDIP?by?itself?creates?a?new?MYDIP?or?raises?the?existing
%??????singleton*.
%
%??????H?=?MYDIP?returns?the?handle?to?a?new?MYDIP?or?the?handle?to
%??????the?existing?singleton*.
%
%??????MYDIP(‘CALLBACK‘hobjecteventDatahandles...)?calls?the?local
%??????function?named?CALLBACK?in?MYDIP.M?with?the?given?input?arguments.
%
%??????MYDIP(‘Property‘‘Value‘...)?creates?a?new?MYDIP?or?raises?the
%??????existing?singleton*.??Starting?from?the?left?property?value?pairs?are
%??????applied?to?the?GUI?before?MyDIP_OpeningFunction?gets?called.??An
%??????unrecognized?property?name?or?invalid?value?makes?property?application
%??????stop.??All?inputs?are?passed?to?MyDIP_OpeningFcn?via?varargin.
%
%??????*See?GUI?Options?on?GUIDE‘s?Tools?menu.??Choose?“GUI?allows?only?one
%??????instance?to?run?(singleton)“.
%
%?See?also:?GUIDE?GUIDATA?GUIHANDLES
%?Copyright?2002-2003?The?MathWorks?Inc.
%?Edit?the?above?text?to?modify?the?response?to?help?MyDIP
%?Last?Modified?by?GUIDE?v2.5?18-Nov-2006?20:20:07
%?Begin?initialization?code?-?DO?NOT?EDIT
gui_Singleton?=?1;
gui_State?=?struct(‘gui_Name‘???????mfilename?...
???????????????????‘gui_Singleton‘??gui_Singleton?...
???????????????????‘gui_OpeningFcn‘?@MyDIP_OpeningFcn?...
???????????????????‘gui_OutputFcn‘??@MyDIP_OutputFcn?...
???????????????????‘gui_LayoutFcn‘??[]??...
???????????????????‘gui_Callback‘???[]);
if?nargin?&&?ischar(varargin{1})
????gui_State.gui_Callback?=?str2func(varargin{1});
end
if?nargout
????[varargout{1:nargout}]?=?gui_mainfcn(gui_State?varargin{:});
else
????gui_mainfcn(gui_State?varargin{:});
end
%?End?initialization?code?-?DO?NOT?EDIT
%?---?Executes?just?before?MyDIP?is?made?visible.
function?MyDIP_OpeningFcn(hobject?eventdata?handles?varargin)
%?This?function?has?no?output?args?see?OutputFcn.
%?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???command?line?arguments?to?MyDIP?(see?VARARGIN)
%?Choose?default?command?line?output?for?MyDIP
handles.output?=?hobject;
handles.flag=logical(0);
%?Update?handles?structure
guidata(hobject?handles);
%?UIWAIT?makes?MyDIP?wait?for?user?response?(see?UIRESUME)
%?uiwait(handles.figure1);
%?---?Outputs?from?this?function?are?returned?to?the?command?line.
function?varargout?=?MyDIP_OutputFcn(hobject?eventdata?handles)?
%?varargout??cell?array?for?returning?output?args?(see?VARARGOUT);
%?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?command?line?output?from?handles?structure
varargout{1}?=?handles.output;
%?--------------------------------------------------------------------
function?openfile_Callback(hobject?eventdata?hand
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件??????66616??2000-07-25?19:18??MATLAB數字圖像處理算法演示程序GUI\Couple.bmp
?????文件??????66616??2006-03-19?22:38??MATLAB數字圖像處理算法演示程序GUI\girl.bmp
?????文件???????2224??2015-06-25?16:26??MATLAB數字圖像處理算法演示程序GUI\HuffmanCodeTable.txt
?????文件??????66616??2006-11-05?14:04??MATLAB數字圖像處理算法演示程序GUI\lena.bmp
?????文件??????17464??2006-11-05?17:33??MATLAB數字圖像處理算法演示程序GUI\lena128.bmp
?????文件??????41080??2006-11-05?17:35??MATLAB數字圖像處理算法演示程序GUI\lena200.bmp
?????文件??????25600??2006-11-22?16:58??MATLAB數字圖像處理算法演示程序GUI\Matlab算法演示說明.doc
?????文件??????11651??2015-06-18?19:22??MATLAB數字圖像處理算法演示程序GUI\MyDIP.fig
?????文件??????70432??2015-06-18?19:22??MATLAB數字圖像處理算法演示程序GUI\MyDIP.m
?????文件??????66616??2006-10-10?11:09??MATLAB數字圖像處理算法演示程序GUI\NBA.bmp
?????文件??????66616??2006-10-10?11:09??MATLAB數字圖像處理算法演示程序GUI\NBA2001_01b_t.bmp
?????文件??????52280??2006-11-05?17:34??MATLAB數字圖像處理算法演示程序GUI\NBA200256.bmp
????..A..H.?????62976??2007-02-04?11:30??MATLAB數字圖像處理算法演示程序GUI\Thumbs.db
?????文件??????54682??2006-11-19?10:21??MATLAB數字圖像處理算法演示程序GUI\Water.jpg
?????目錄??????????0??2015-06-25?16:26??MATLAB數字圖像處理算法演示程序GUI
-----------?---------??----------?-----??----
???????????????671469????????????????????15
- 上一篇:馬爾科夫預測
- 下一篇:MATLAB 回聲狀態網絡ESN工具箱 ESN_Tool
評論
共有 條評論