|
EDA365欢迎您登录!
您需要 登录 才可以下载或查看,没有帐号?注册
x
: i: }) @: O$ |! f5 M. }* o
一、简介
6 X- e: V3 R7 t! f# D7 H% }. H! ^
) w4 j0 d; P- O4 y8 A/ e4 S, k基于matlab环境开发的图像处理系统,实现图像的读取,显示,拖动,缩放,旋转,指定位置显示,并在图像处理窗口中实现了选择音乐播放的功能。
- p8 \4 ~3 N: H1 G* O3 p3 N1 A
) ]' d1 E2 r: {2 Q; ?, j二、源代码
2 Z% O8 ?- v0 j" P2 M5 t1 P: M* D. D& H4 {
- 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
; b d' P: P* f' V, d7 _8 C0 \: ^
1 o2 e. @. V; F' T9 t( t! U3 f* ^5 Z# K- z) R( v2 f
三、运行结果
+ j. B1 r* Y& r- @: I
3 z2 R7 c V' C, Y+ t4 W
9 U1 ?- c, j4 J |
|