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

  • 大小: 8KB
    文件類型: .zip
    金幣: 2
    下載: 0 次
    發布日期: 2021-06-06
  • 語言: Matlab
  • 標簽: 仿射變換??

資源簡介

仿射變換(Affine Transformation)matlab代碼,

資源截圖

代碼片段和文件信息

function?varargout?=?AffineTrnasformation(varargin)
%?AFFINETRNASFORMATION?M-file?for?AffineTrnasformation.fig
%?Affine_Transf?computes?and?applies?the?geometric?affine?transformation?to?a?2-D?image.
%
%?The?program?main?functions?are:
%?-?Load?Image:?Load?the?image?to?be?transformed.
%?-?Transform?Image:?Computes?the?transformation?matrix?from?the?transformation?parameters?specified?by?the?user?then?it?applies?the?transformation?to?the?loaded?image.
%?-?Save?Image:?Save?the?transformed?image.
%?-?Quit:?Exit?the?program.
%?The?transformation?parameters?are?specified?by?the?user?by?editing?the
%?values?of?the?rotation?scale?(x?and?y)?and?shear?(x?and?y).?The
%?translation?is?not?icluded?because?it?can?be?easily?(normalized?or)?removed?from?image?by
%?subtracting?the?shape?cetroid.
%
%?The?affine?matrix?and?the?transformation?are?computed?using?Matlab?Image?Processing?Toolbox
%?functions:?maketform?and?imtransform?so?this?program?is?only?demonstrates?the?computation?and?the?applying?of?these?functions?to?a?2-D?image.
%
%?Version?1.0
%?Copyright?Feb?2003?Ibrahim?El?Rube
%?ielrube@yahoo.com

%?Begin?initialization?code?-?DO?NOT?EDIT
global?gg?gc;
gui_Singleton?=?1;
gui_State?=?struct(‘gui_Name‘???????mfilename?...
???????????????????‘gui_Singleton‘??gui_Singleton?...
???????????????????‘gui_OpeningFcn‘?@AffineTrnasformation_OpeningFcn?...
???????????????????‘gui_OutputFcn‘??@AffineTrnasformation_OutputFcn?...
???????????????????‘gui_LayoutFcn‘??[]??...
???????????????????‘gui_Callback‘???[]);
if?nargin?&?isstr(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?AffineTrnasformation?is?made?visible.
function?AffineTrnasformation_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?AffineTrnasformation?(see?VARARGIN)

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

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

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

%?---?Outputs?from?this?function?are?returned?to?the?command?line.
function?varargout?=?AffineTrnasformation_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)
global?gg
%?Get?default?command?line?output?from?handles?structure
varargout{1}?=?handles.

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件???????19007??2003-02-16?18:11??AffineTrnasformation.m
?????文件???????42440??2003-02-16?18:11??AffineTrnasformation.fig

評論

共有 條評論