91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 549KB
    文件類型: .zip
    金幣: 2
    下載: 0 次
    發布日期: 2021-06-13
  • 語言: Matlab
  • 標簽: 圖像縮放??

資源簡介

數字圖像處理課程project之圖像縮放,MATLAB版 采用線性插值法和最鄰近法兩種算法 有GUI界面

資源截圖

代碼片段和文件信息

function?varargout?=?gui_scale(varargin)
%?GUI_SCALE?M-file?for?gui_scale.fig
%??????GUI_SCALE?by?itself?creates?a?new?GUI_SCALE?or?raises?the?existing
%??????singleton*.
%
%??????H?=?GUI_SCALE?returns?the?handle?to?a?new?GUI_SCALE?or?the?handle?to
%??????the?existing?singleton*.
%
%??????GUI_SCALE(‘CALLBACK‘hobjecteventDatahandles...)?calls?the?local
%??????function?named?CALLBACK?in?GUI_SCALE.M?with?the?given?input?arguments.
%
%??????GUI_SCALE(‘Property‘‘Value‘...)?creates?a?new?GUI_SCALE?or?raises?the
%??????existing?singleton*.??Starting?from?the?left?property?value?pairs?are
%??????applied?to?the?GUI?before?gui_scale_OpeningFcn?gets?called.??An
%??????unrecognized?property?name?or?invalid?value?makes?property?application
%??????stop.??All?inputs?are?passed?to?gui_scale_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?gui_scale

%?Last?Modified?by?GUIDE?v2.5?19-Nov-2011?10:57:33

%?Begin?initialization?code?-?DO?NOT?EDIT
gui_Singleton?=?1;
gui_State?=?struct(‘gui_Name‘???????mfilename?...
???????????????????‘gui_Singleton‘??gui_Singleton?...
???????????????????‘gui_OpeningFcn‘?@gui_scale_OpeningFcn?...
???????????????????‘gui_OutputFcn‘??@gui_scale_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?gui_scale?is?made?visible.
function?gui_scale_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?gui_scale?(see?VARARGIN)

%?Choose?default?command?line?output?for?gui_scale
handles.output?=?hobject;

%?Update?handles?structure
guidata(hobject?handles);

%?UIWAIT?makes?gui_scale?wait?for?user?response?(see?UIRESUME)
%?uiwait(handles.figure1);


%?---?Outputs?from?this?function?are?returned?to?the?command?line.
function?varargout?=?gui_scale_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?slider?movement.
function?slider1_Callback(hobject?eventdata?handles)
%?hobject????handle?to?slider1?(see?GCBO)
%?eventdata??reserved?-?to?be?defined?in?a?futur

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件?????1049611??2011-11-13?20:00??圖像放大縮小\Fig0219(rose1024).tif
?????文件????????6445??2011-11-19?13:43??圖像放大縮小\gui_scale.fig
?????文件????????7974??2011-11-19?10:58??圖像放大縮小\gui_scale.m
?????文件????????1039??2011-11-13?21:43??圖像放大縮小\scale_linear.m
?????文件?????????621??2011-11-13?21:26??圖像放大縮小\scale_near.m

評論

共有 條評論