资源简介
采用Matlab编制了一个GUICT图像处理的小工具,两个文件一个m文件,一个Fig文件
代码片段和文件信息
function varargout = untitled(varargin)
% UNtitleD MATLAB code for untitled.fig
% UNtitleD by itself creates a new UNtitleD or raises the existing
% singleton*.
%
% H = UNtitleD returns the handle to a new UNtitleD or the handle to
% the existing singleton*.
%
% UNtitleD(‘CALLBACK‘hobjecteventDatahandles...) calls the local
% function named CALLBACK in UNtitleD.M with the given input arguments.
%
% UNtitleD(‘Property‘‘Value‘...) creates a new UNtitleD or raises the
% existing singleton*. Starting from the left property value pairs are
% applied to the GUI before untitled_OpeningFcn gets called. An
% unrecognized property name or invalid value makes property application
% stop. All inputs are passed to untitled_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 untitled
% Last Modified by GUIDE v2.5 15-Jan-2019 22:42:59
% Begin initialization code - DO NOT EDIT
gui_Singleton = 1;
gui_State = struct(‘gui_Name‘ mfilename ...
‘gui_Singleton‘ gui_Singleton ...
‘gui_OpeningFcn‘ @untitled_OpeningFcn ...
‘gui_OutputFcn‘ @untitled_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 untitled is made visible.
function untitled_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 untitled (see VARARGIN)
% Choose default command line output for untitled
handles.output = hobject;
global xlong ylong zlong
xlong = 200;
ylong = 200;
zlong = 200;
axes(handles.axes1)
cla reset
[xy]=meshgrid(1:xlong);
axis([0xlong0ylong0zlong]);
hold on;
box on;
colormap(gray)
view(-37.530);
x1=xlabel(‘X轴‘); % #x轴标题
x2=ylabel(‘Y轴‘); % #y轴标题
x3=zlabel(‘Z轴‘); % #z轴标题
set(x1‘Rotation‘30); % #x轴名称旋转
set(x2‘Rotation‘-30); % #y轴名称旋转
axes(handles.axes2)
cla reset
[xy]=meshgrid(1:xlong);
axis([0xlong0ylong0zlong]);
hold on;
box on;
colormap(gray)
view(-37.530);
x1=xlabel(‘X轴‘); % #x轴标题
x2=ylabel(‘Y轴‘); % #y轴标题
x3=zlabel(‘Z轴‘); % #z轴标题
set(x1‘Rotation‘30); % #x轴名称旋转
set(x2‘Rotation‘-30); % #y轴名称旋转
axes(handles.axes3)
cla reset
[xy]=meshgrid(1:xlong);
axis([0xlong0ylong0zlong]);
hold on;
box on;
colormap(gray)
view(-37.53
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2019-01-19 14:57 CT\
文件 69799 2019-01-16 20:02 CT\unti
文件 31016 2019-01-16 22:12 CT\unti
- 上一篇:自抗扰仿真
- 下一篇:六自由度机械臂正逆运动Matlab仿真
相关资源
- 六自由度机械臂正逆运动Matlab仿真
- 基于MATLAB的QPSK调制.zip
- 基于matlab的数字图像分割技术研究及
- 纠错编码原理及MATLAB实现刘爱莲习题
- 基于Matlab的BP神经网络在大气污染预报
- 推荐_在matlab7.4基础上实现恒虚警检测
- LDPC码MATLAB仿真实现
- matlab提取圆形
- 最小二乘的递推算法(Matlab)
- D-S证据理论 MATLAB完整代码
- matlabPFC仿真模型
- matlab近似处理电力系统潮流追踪Powe
- 粒子群优化的极限学习机matlab源代码
- 粒子群算法MATLAB仿真
- 图像中提取圆环的matlab代码
- matlab 实现Gabor滤波器
- 亚像素边缘提取MATLAB码
- matlab批量打开NC文件_批量转tif
- matlab计算反射阵单元相位(460652).
- 基于Matlab的主动轮廓分割资料.txt
- 基于Matlab的UR5六轴机器人数值解法与
- 非线性调频matlab仿真
- 手写体数字的精准识别matlab版
- 生成节点导纳矩阵matlab
- my_CLPSO.m
- 三相逆变器MATLAB仿真
- MATLAB雅克比迭代法Jacobi method和高斯
- 机器人控制系统设计与MATLAB仿真:基
- 基于Matlab的图像RGB和HIS互换
- 图像清晰度评价指标_Matlab
评论
共有 条评论