|
EDA365欢迎您登录!
您需要 登录 才可以下载或查看,没有帐号?注册
x
一、简介% ^3 z1 W2 c& a3 G
图像的几何运算是指引起图像几何形状发生改变的变换。与点运算不同的是,几何运算可以看成是像素在图像内的移动过程,该移动过程可以改变图像中物体对象之间的空间关系。
/ j3 e' P, k" o/ b6 K" F* K) x; {0 r7 K
9 ^; [* S4 c2 Y/ I7 X6 T: t7 ~$ l: Z6 v$ N- g6 B% c
& N# k( m9 p3 y$ ^7 V. P6 | }
- @4 b/ p. t7 q二、源代码
! [% t3 [- X8 K( [3 v% f3 j% A6 q) R( K; B( K2 x+ r
- 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
- ! n+ D1 P4 j- c
+ X# @& W% O: ?7 k4 r% p$ ^4 a
" j' C# q, y: k5 a: t9 T7 ^0 `+ X) @$ z0 _( P7 y4 A
三、运行结果
0 ?4 H3 R+ i' z& A; W# }& k
$ ]# V3 R# h1 U! ~( ]( {4 |! R
- Q v: Y4 _$ u" H9 x7 X" l2 ^
3 b/ H) t; |( M' G
5 M" B4 t! d, x& q# W; a
|
|