资源简介
详细的运行效果可以在这个里面查看~
https://blog.csdn.net/weixin_42137289/article/details/107023874
代码片段和文件信息
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 19-May-2020 15:25:06
% Begin initialization code - DO NOT EDIT
gui_Singleton = 1;
gui_State = struct(‘gui_Name‘ mfilename ...
‘gui_Singleton‘ gui_Singleton ...
‘gui_OpeningFcn‘ @untitled_OutputFcn ...
‘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_OutputFcn(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;
% Update handles structure
guidata(hobject handles);
% UIWAIT makes untitled wait for user response (see UIRESUME)
% uiwait(handles.figure1);
% --- Outputs from this function are returned to the command line.
%-------------------------------------- pushbutton1_Callback(回调函数)
% --- Executes on button press in pushbutton1.
function pushbutton1_Callback(hobject eventdata handles)
global im imycbcr skin1 skin2 lpf %----------------宣布为全域变量
% hobject handle to pushbutton1 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
if get (gcbo ‘Value‘ ) ==1;
im=imread(‘10.jpg‘ ) ; %------------------------------读入彩色图像
axes(handles.axes1)
set(handles.axes1 ‘XMinorTick‘ ‘on‘ ) %-------------嵌入Axes(1) 回调函数
imshow(im) ; %------------------------------显示彩色图像
else
imfor
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2020-06-29 16:49 shibie\
文件 11219 2020-06-29 16:49 shibie\10.jpg
文件 67835 2020-06-29 16:49 shibie\unti
文件 10504 2020-06-29 16:49 shibie\unti
- 上一篇:深大2019复试上机.zip
- 下一篇:双闭环逆变器
相关资源
- 随机共振的Runge-Kutta解法
- BP神经网路的变压器故障检测.zip
- OFDM信号功率谱密度
- 粒子群优化算法工具箱(PSO_toolbox)
- 粒子群优化算法训练小波神经网络-
- cpp-termbox一个C库编写基于文本的用户
- 脉搏信号数据-HumanData1.rar
- 风力发电系统的风力机模型-风力发电
- 悬吊式起重机动力学仿真-悬吊式起重
- IMM交互多模型算法
- UGUI_JoyStick_Demo
- 单面透镜光路和像差计算
- DOA估计信源的个数,以及角度
- Quectel_LTE&5G_Linux_USB_Driver_User_Guide_V2.
- 数字语音处理之中心削波
- 《合成孔径雷达成像算法与实现》一
-
VCPA-ba
sed hybrid strategy.zip - NGUI各版本2.6往上.txt
- 16QAM星座图仿真及误码率仿真
- 适合卡尔曼滤波的初学者,仿真了匀
- 求信号的信息熵,完美运行,一看就
- 有限元一维编程
- 相机标定棋盘图
- 土狼优化算法
- 笔趣阁小说器
- D_star Lite.zip
- 马尔可夫链状态空间的分解实验报告
- 计算方法A上机作业
- 相位屏仿真方法.rar
- opencv_highgui249d.dll
评论
共有 条评论