|
|
EDA365欢迎您登录!
您需要 登录 才可以下载或查看,没有帐号?注册
x
" ?: ~+ f% |8 G# ]
一、简介! s: N" c. n7 I+ g7 W$ N) M4 A
% S# T8 O: e* t( j
基于matlab环境开发的图像处理系统,实现图像的读取,显示,拖动,缩放,旋转,指定位置显示,并在图像处理窗口中实现了选择音乐播放的功能。3 M. \ z+ g# h5 } J- z$ m
+ b% Y& [0 \& o* L e1 s二、源代码
0 J9 }. m) X" h' ?) k$ h' \- @& Z1 s7 d0 @+ X& D6 ^- r4 ]8 F
- function varargout = Imgproc(varargin)
- % IMGPROC MATLAB code for Imgproc.fig
- % IMGPROC, by itself, creates a new IMGPROC or raises the existing
- % singleton*.
- %
- % H = IMGPROC returns the handle to a new IMGPROC or the handle to
- % the existing singleton*.
- %
- % IMGPROC('CALLBACK',hObject,eventData,handles,...) calls the local
- % function named CALLBACK in IMGPROC.M with the given input arguments.
- %
- % IMGPROC('Property','Value',...) creates a new IMGPROC or raises the
- % existing singleton*. Starting from the left, property value pairs are
- % applied to the GUI before Imgproc_OpeningFcn gets called. An
- % unrecognized property name or invalid value makes property application
- % stop. All inputs are passed to Imgproc_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 Imgproc
- % Last Modified by GUIDE v2.5 04-Jul-2012 23:55:05
- % Begin initialization code - DO NOT EDIT
- gui_Singleton = 1;
- gui_State = struct('gui_Name', mfilename, ...
- 'gui_Singleton', gui_Singleton, ...
- 'gui_OpeningFcn', @Imgproc_OpeningFcn, ...
- 'gui_OutputFcn', @Imgproc_OutputFcn, ...
- 'gui_LayoutFcn', [] , ...
- 'gui_Callback', []);
- if nargin && ischar(varargin{1})
- gui_State.gui_Callback = str2func(varargin{1});
- end4 Y) V6 z& D% B; J+ |
; [4 D6 h& V; B" \& `4 E6 S+ R( N1 O9 l4 L' b- n3 B3 h" a$ }
三、运行结果
8 a y8 a- [1 y" P
. J6 e' U( e2 W0 ~
6 z0 w/ o" D( }- \; w6 Q6 b0 i# `
|
|