|
EDA365欢迎您登录!
您需要 登录 才可以下载或查看,没有帐号?注册
x
8 u$ U9 p" g" z8 \4 E- X
一、简介
( B1 e l; r7 [0 J+ ~* Z
* m# G. M/ u% ~" ?7 v基于matlab环境开发的图像处理系统,实现图像的读取,显示,拖动,缩放,旋转,指定位置显示,并在图像处理窗口中实现了选择音乐播放的功能。
; Q$ u( ?( h: }- X* u5 F
8 f( q# O0 g: J- [二、源代码, ~0 n; H1 K. ?3 p7 o8 ^( q
" G! G8 B6 G# M C& E% u
- 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});
- end! X2 i# S) J: ~( |, R" i" f3 @
' a6 x% _7 R) L( ]5 V7 `' i
2 N/ O9 U2 Q7 p+ r3 h三、运行结果, B* i7 `9 i. K4 @% d7 u0 n
( O7 y- m2 B7 q o3 x- A
, @0 S0 o3 Y, ~* v5 i' d |
|