-
大小: 7.09MB文件類型: .rar金幣: 2下載: 0 次發(fā)布日期: 2023-11-05
- 語(yǔ)言: Matlab
- 標(biāo)簽:
資源簡(jiǎn)介
利用K-means算法,在matlab環(huán)境下實(shí)現(xiàn)圖像處理,具有GUI界面,形象的展現(xiàn)各種K值處理的效果!希望對(duì)大家有所幫助

代碼片段和文件信息
function?varargout?=?kmeans4gui(varargin)
%?KMEANS4GUI?M-file?for?kmeans4gui.fig
%??????KMEANS4GUI?by?itself?creates?a?new?KMEANS4GUI?or?raises?the?existing
%??????singleton*.
%
%??????H?=?KMEANS4GUI?returns?the?handle?to?a?new?KMEANS4GUI?or?the?handle?to
%??????the?existing?singleton*.
%
%??????KMEANS4GUI(‘CALLBACK‘hobjecteventDatahandles...)?calls?the?local
%??????function?named?CALLBACK?in?KMEANS4GUI.M?with?the?given?input?arguments.
%
%??????KMEANS4GUI(‘Property‘‘Value‘...)?creates?a?new?KMEANS4GUI?or?raises?the
%??????existing?singleton*.??Starting?from?the?left?property?value?pairs?are
%??????applied?to?the?GUI?before?kmeans4gui_OpeningFcn?gets?called.??An
%??????unrecognized?property?name?or?invalid?value?makes?property?application
%??????stop.??All?inputs?are?passed?to?kmeans4gui_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?kmeans4gui
%?Last?Modified?by?GUIDE?v2.5?05-Jun-2011?20:27:27
%?Begin?initialization?code?-?DO?NOT?EDIT
gui_Singleton?=?1;
gui_State?=?struct(‘gui_Name‘???????mfilename?...
???????????????????‘gui_Singleton‘??gui_Singleton?...
???????????????????‘gui_OpeningFcn‘?@kmeans4gui_OpeningFcn?...
???????????????????‘gui_OutputFcn‘??@kmeans4gui_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?kmeans4gui?is?made?visible.
function?kmeans4gui_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?kmeans4gui?(see?VARARGIN)
%?Choose?default?command?line?output?for?kmeans4gui
handles.output?=?hobject;
%?Update?handles?structure
guidata(hobject?handles);
%?UIWAIT?makes?kmeans4gui?wait?for?user?response?(see?UIRESUME)
%?uiwait(handles.figure1);
%?---?Outputs?from?this?function?are?returned?to?the?command?line.
function?varargout?=?kmeans4gui_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?edit1_Callback(hobject?eventdata?handles)
%?hobject????handle?to?edit1?(see?GCBO)
%?eventdata??reserved?-?to?be?defined?in?a?future?version?of?MAT
?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
????..A..H.???????162??2011-06-06?22:39??聚類作業(yè)\~$實(shí)驗(yàn)報(bào)告——黃振華.docx
?????文件?????960454??2010-05-03?08:28??聚類作業(yè)\實(shí)驗(yàn)程序\064.bmp
?????文件?????960454??2010-05-03?08:28??聚類作業(yè)\實(shí)驗(yàn)程序\085.bmp
?????文件?????960454??2010-05-03?08:29??聚類作業(yè)\實(shí)驗(yàn)程序\088.bmp
?????文件??????51802??2011-06-06?23:46??聚類作業(yè)\實(shí)驗(yàn)程序\kmeans4gui.asv
?????文件??????19950??2011-06-06?11:12??聚類作業(yè)\實(shí)驗(yàn)程序\kmeans4gui.fig
?????文件??????51990??2011-06-10?08:29??聚類作業(yè)\實(shí)驗(yàn)程序\kmeans4gui.m
?????文件?????921654??2011-06-17?09:48??聚類作業(yè)\實(shí)驗(yàn)程序\kmeans_deal.bmp
?????文件??????65325??2011-06-29?20:02??聚類作業(yè)\實(shí)驗(yàn)程序\kmeans_deal.png
?????文件???????1258??2011-06-17?12:49??聚類作業(yè)\實(shí)驗(yàn)程序\Unti
?????文件???????1258??2011-06-17?22:41??聚類作業(yè)\實(shí)驗(yàn)程序\Unti
?????文件??????27683??2011-04-28?18:26??聚類作業(yè)\實(shí)驗(yàn)程序\路標(biāo)1.jpg
?????文件??????17789??2011-04-28?18:26??聚類作業(yè)\實(shí)驗(yàn)程序\路標(biāo)2.jpg
?????目錄??????????0??2011-06-17?22:26??聚類作業(yè)\實(shí)驗(yàn)程序
?????文件???32738816??2011-06-29?20:02??聚類作業(yè)\錄像1.avi
?????文件????3099066??2011-06-29?19:56??聚類作業(yè)\聚類實(shí)驗(yàn)報(bào)告——黃振華.docx
?????目錄??????????0??2011-06-29?20:04??聚類作業(yè)
-----------?---------??----------?-----??----
?????????????39878115????????????????????17
評(píng)論
共有 條評(píng)論