資源簡(jiǎn)介
這是使用MATLAB語(yǔ)言實(shí)現(xiàn)小波分析在圖像壓縮中應(yīng)用的一個(gè)算法--"嵌入式小波零樹(shù)編碼算法(EZW)"的一個(gè)帶有界面的小程序

代碼片段和文件信息
function?varargout?=?ezw(varargin)
%?EZW?MATLAB?code?for?ezw.fig
%??????EZW?by?itself?creates?a?new?EZW?or?raises?the?existing
%??????singleton*.
%
%??????H?=?EZW?returns?the?handle?to?a?new?EZW?or?the?handle?to
%??????the?existing?singleton*.
%
%??????EZW(‘CALLBACK‘hobjecteventDatahandles...)?calls?the?local
%??????function?named?CALLBACK?in?EZW.M?with?the?given?input?arguments.
%
%??????EZW(‘Property‘‘Value‘...)?creates?a?new?EZW?or?raises?the
%??????existing?singleton*.??Starting?from?the?left?property?value?pairs?are
%??????applied?to?the?GUI?before?ezw_OpeningFcn?gets?called.??An
%??????unrecognized?property?name?or?invalid?value?makes?property?application
%??????stop.??All?inputs?are?passed?to?ezw_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?ezw
%?Last?Modified?by?GUIDE?v2.5?02-May-2018?09:41:42
%?Begin?initialization?code?-?DO?NOT?EDIT
gui_Singleton?=?1;
gui_State?=?struct(‘gui_Name‘???????mfilename?...
???????????????????‘gui_Singleton‘??gui_Singleton?...
???????????????????‘gui_OpeningFcn‘?@ezw_OpeningFcn?...
???????????????????‘gui_OutputFcn‘??@ezw_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?ezw?is?made?visible.
function?ezw_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?ezw?(see?VARARGIN)
%?Choose?default?command?line?output?for?ezw
handles.output?=?hobject;
%?Update?handles?structure
guidata(hobject?handles);
%?UIWAIT?makes?ezw?wait?for?user?response?(see?UIRESUME)
%?uiwait(handles.figure1);
%?---?Outputs?from?this?function?are?returned?to?the?command?line.
function?varargout?=?ezw_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;
%?---?Executes?on?selection?change?in?dim.
function?dim_Callback(hobject?eventdata?handles)
%?hobject????handle?to?dim?(see?GCBO)
%?eventdata??reserved?-?to?be?defined?in?a?future?version?of?MATLAB
%?handles????structure?with?handles?and?user?data?(see?GUIDATA)
%?Hints:?contents?=?cellstr(get(hobject‘S
?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2018-04-03?10:23??ImageCompression-EZW\
?????文件?????????262??2018-03-15?21:28??ImageCompression-EZW\X.mat
?????文件???????65240??2000-12-04?00:00??ImageCompression-EZW\cameraman.tif
?????文件???????38415??2018-05-02?09:41??ImageCompression-EZW\ezw.fig
?????文件????????8158??2018-05-02?09:41??ImageCompression-EZW\ezw.m
?????目錄???????????0??2018-03-17?12:30??ImageCompression-EZW\functions\
?????文件?????????782??2018-03-15?17:49??ImageCompression-EZW\functions\antiquantifier.m
?????文件?????????851??2018-03-15?20:17??ImageCompression-EZW\functions\assistscan.m
?????文件?????????321??2018-04-02?19:52??ImageCompression-EZW\functions\cell2mat.m
?????文件?????????358??2018-03-15?16:07??ImageCompression-EZW\functions\childImportant.m
?????文件?????????397??2018-03-15?14:47??ImageCompression-EZW\functions\childMat.m
?????文件????????2890??2018-03-16?14:13??ImageCompression-EZW\functions\decoding.m
?????文件?????????413??2018-03-15?13:57??ImageCompression-EZW\functions\downspl.m
?????文件????????1168??2018-03-16?16:24??ImageCompression-EZW\functions\ezwcode.m
?????文件????????1845??2018-04-02?20:38??ImageCompression-EZW\functions\ezwdecode.m
?????文件?????????375??2018-03-16?15:55??ImageCompression-EZW\functions\getEncodedSize.m
?????文件?????????681??2018-03-15?15:28??ImageCompression-EZW\functions\listorder.m
?????文件????????2662??2018-03-15?20:43??ImageCompression-EZW\functions\mainscan.m
?????文件?????????774??2018-03-16?10:37??ImageCompression-EZW\functions\mat2cell.m
?????文件?????????491??2018-03-15?15:08??ImageCompression-EZW\functions\mat2list.m
?????文件?????????476??2018-04-21?10:44??ImageCompression-EZW\functions\modmat.m
?????文件?????????499??2018-03-16?16:22??ImageCompression-EZW\functions\morton.m
?????文件?????????890??2018-03-15?14:05??ImageCompression-EZW\functions\myDwt.m
?????文件????????1739??2018-03-15?14:05??ImageCompression-EZW\functions\myDwt2.m
?????文件????????1316??2018-03-15?14:02??ImageCompression-EZW\functions\myIdwt.m
?????文件????????1462??2018-03-16?12:43??ImageCompression-EZW\functions\myIdwt2.m
?????文件????????1291??2018-03-16?12:41??ImageCompression-EZW\functions\myWavedec2.m
?????文件????????1256??2018-03-16?12:31??ImageCompression-EZW\functions\myWaverec2.m
?????文件?????????460??2018-03-15?16:35??ImageCompression-EZW\functions\quantifier.m
?????文件?????????887??2018-03-16?11:00??ImageCompression-EZW\functions\treeMat.m
?????文件????????1005??2018-03-15?18:04??ImageCompression-EZW\functions\updateRecvalue.m
............此處省略3個(gè)文件信息
評(píng)論
共有 條評(píng)論