資源簡介
包含中值濾波,均值濾波和高斯濾波,可對圖像加入椒鹽和高斯噪聲,在GUI上運行

代碼片段和文件信息
function?varargout?=?JJJ(varargin)
%?JJJ?MATLAB?code?for?JJJ.fig
%??????JJJ?by?itself?creates?a?new?JJJ?or?raises?the?existing
%??????singleton*.
%
%??????H?=?JJJ?returns?the?handle?to?a?new?JJJ?or?the?handle?to
%??????the?existing?singleton*.
%
%??????JJJ(‘CALLBACK‘hobjecteventDatahandles...)?calls?the?local
%??????function?named?CALLBACK?in?JJJ.M?with?the?given?input?arguments.
%
%??????JJJ(‘Property‘‘Value‘...)?creates?a?new?JJJ?or?raises?the
%??????existing?singleton*.??Starting?from?the?left?property?value?pairs?are
%??????applied?to?the?GUI?before?JJJ_OpeningFcn?gets?called.??An
%??????unrecognized?property?name?or?invalid?value?makes?property?application
%??????stop.??All?inputs?are?passed?to?JJJ_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
%?Edit?the?above?text?to?modify?the?response?to?help?JJJ
%?Last?Modified?by?GUIDE?v2.5?15-Jan-2019?14:32:06
%?Begin?initialization?code?-?DO?NOT?EDIT
gui_Singleton?=?1;
gui_State?=?struct(‘gui_Name‘???????mfilename?...
???????????????????‘gui_Singleton‘??gui_Singleton?...
???????????????????‘gui_OpeningFcn‘?@JJJ_OpeningFcn?...
???????????????????‘gui_OutputFcn‘??@JJJ_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?JJJ?is?made?visible.
function?JJJ_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?JJJ?(see?VARARGIN)
%?Choose?default?command?line?output?for?JJJ
handles.output?=?hobject;
%?Update?handles?structure
guidata(hobject?handles);
%?UIWAIT?makes?JJJ?wait?for?user?response?(see?UIRESUME)
%?uiwait(handles.figure1);
%?---?Outputs?from?this?function?are?returned?to?the?command?line.
function?varargout?=?JJJ_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?uipushtool1_ClickedCallback(hobject?eventdata?handles)
%?hobject????handle?to?uipushtool1?(see?GCBO)
%?eventdata??reserved?-?to?be?defined?in?a?future?version?of?MATLAB
%?handles????structure?with?handles?and?user?data?(see?G
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件??????73503??2019-01-17?18:03??JJJ.fig
?????文件???????7774??2019-01-17?18:03??JJJ.m
-----------?---------??----------?-----??----
????????????????81277????????????????????2
- 上一篇:MATLAB BP神經網絡工具箱
- 下一篇:FFT實現快速卷積 MATLAB
評論
共有 條評論