资源简介
基于MATLAB的GUI图像处理程序设计实现图像的打开、剪裁、保存
代码片段和文件信息
function varargout = picturecrop(varargin)
% PICTURECROP M-file for picturecrop.fig
% PICTURECROP by itself creates a new PICTURECROP or raises the existing
% singleton*.
%
% H = PICTURECROP returns the handle to a new PICTURECROP or the handle to
% the existing singleton*.
%
% PICTURECROP(‘CALLBACK‘hobjecteventDatahandles...) calls the local
% function named CALLBACK in PICTURECROP.M with the given input arguments.
%
% PICTURECROP(‘Property‘‘Value‘...) creates a new PICTURECROP or raises the
% existing singleton*. Starting from the left property value pairs are
% applied to the GUI before picturecrop_OpeningFcn gets called. An
% unrecognized property name or invalid value makes property application
% stop. All inputs are passed to picturecrop_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 picturecrop
% Last Modified by GUIDE v2.5 08-Oct-2009 09:27:15
% Begin initialization code - DO NOT EDIT
gui_Singleton = 1;
gui_State = struct(‘gui_Name‘ mfilename ...
‘gui_Singleton‘ gui_Singleton ...
‘gui_OpeningFcn‘ @picturecrop_OpeningFcn ...
‘gui_OutputFcn‘ @picturecrop_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
% --- Executes just before picturecrop is made visible.
function picturecrop_OpeningFcn(hobject eventdata handles varargin)
% This function has no output args see OutputFcn.
% hobject handle to figure
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% varargin command line arguments to picturecrop (see VARARGIN)
global pic_cut down;
pic_cut=0;
down=0;
% Choose default command line output for picturecrop
handles.output = hobject;
% Update handles structure
guidata(hobject handles);
% UIWAIT makes picturecrop wait for user response (see UIRESUME)
% uiwait(handles.figure1);
% --- Outputs from this function are returned to the command line.
function varargout = picturecrop_OutputFcn(hobject eventdata handles)
% varargout cell array for returning output args (see VARARGOUT);
% hobject handle to figure
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% Get default command line output from handles structure
varargout{1} = handles.output;
% --- Executes on button press in search.
function search_Callback(hobject eventdata handl
- 上一篇:单极性SPWMsimuli
nk仿真 - 下一篇:matlab 三维 物体 运动 仿真
相关资源
- matlab 三维 物体 运动 仿真
-
单极性SPWMsimuli
nk仿真 - 计算阶乘matlab算法
- 卡尔曼滤波算法的matlab 实现
- matlab中的计时工具timeit.m
- 自己编写的matlab运动模糊盲复原程序
- LFM脉冲压缩matlab程序264292
- 异步电机直接转矩控制Matlab仿真
- CNN卷积神经网络的MATLAB程序解释
- 模糊K-均值算法及其matlab实现
- 基于MATLAB的_4_DQPSK信号差分解调性能仿
- 波束形成算法
- matlab can总线工具箱介绍
- matlab修正离轴制作全息图与再现
- Wagner Whitin算法的Matlab实现附有算例
- doa算法的matlab实现
- MATLAB中傅里叶变换常用函数
- matlab信噪比的计算
- 相控阵天线测试仿真
- matlab空间圆弧插补程序
- 小波变换图像去噪MATLAB仿真
- 圆阵目标方位估计,mvdr方法matlab
- 线性偏振片Mueller矩阵计算_Matlab代码
- 无约束最优控制matlab程序
- 回声抵消器
- 基于肤色的人脸检测matlab代码
- 详解MATLAB 数字信号处理[张德丰][程序
- 7,3循环码课程设计
- 卡尔曼滤波matlab代码
- GPS 捕获 matlab仿真实现
评论
共有 条评论