|
|
EDA365欢迎您登录!
您需要 登录 才可以下载或查看,没有帐号?注册
x
一、简介" ^0 V% M2 n; b- B- ^+ H% F4 X* X/ d
图像的几何运算是指引起图像几何形状发生改变的变换。与点运算不同的是,几何运算可以看成是像素在图像内的移动过程,该移动过程可以改变图像中物体对象之间的空间关系。
! J5 {1 y+ H3 s5 P4 N( C+ _, F5 K( \# i9 Y* M& l5 |2 }
" b9 Q7 Z; t9 X. _4 d3 U2 s
! `+ I1 e5 j' Q5 I
! V; t0 `" p, G4 a/ ^% t6 H: f
7 e6 t' d0 p5 e' i! W二、源代码3 m, t7 v/ p( i4 ?8 g8 z" l
5 Y" H+ W( t: z+ m2 a
- function varargout = aaa(varargin)
- % AAA MATLAB code for aaa.fig
- % AAA, by itself, creates a new AAA or raises the existing
- % singleton*.
- %
- % H = AAA returns the handle to a new AAA or the handle to
- % the existing singleton*.
- %
- % AAA('CALLBACK',hObject,eventData,handles,...) calls the local
- % function named CALLBACK in AAA.M with the given input arguments.
- %
- % AAA('Property','Value',...) creates a new AAA or raises the
- % existing singleton*. Starting from the left, property value pairs are
- % applied to the GUI before aaa_OpeningFcn gets called. An
- % unrecognized property name or invalid value makes property application
- % stop. All inputs are passed to aaa_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 aaa
- % Last Modified by GUIDE v2.5 11-Jul-2016 19:46:43
- % Begin initialization code - DO NOT EDIT
- gui_Singleton = 1;
- gui_State = struct('gui_Name', mfilename, ...
- 'gui_Singleton', gui_Singleton, ...
- 'gui_OpeningFcn', @aaa_OpeningFcn, ...
- 'gui_OutputFcn', @aaa_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
- * r! ]8 d. T% p
% y$ d' `" S u& @1 s2 c
* Q Z5 \0 d) I: Y( B; v4 n
0 k2 }" G7 i F三、运行结果
* S' I% m( j- u0 r
' C n/ j( B! @% P/ j. h
( }% A! g2 R N6 V q: w. J0 k3 `, F
' J) [9 y1 j3 `* E2 s1 W
* u! }3 c% B& [4 k( p
|
|