资源简介
详细的运行效果可以在这个里面查看~
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
- 下一篇:双闭环逆变器
相关资源
- 嵌入式图形界面MiniGUI的示例程序9例
- 编程实现二维DCT变换
- STM32基于rt_thread操作系统的SDHC卡文件
- 图像二值化
- 用FFT对信号进行频谱分析
- GUI银行管理系统
- STM32F103RBT6驱动UC1698控制芯片的160160黑
- Tone-Reservation
- QGA 量子遗传算法
- 差分形式的阻滞增长模型
- 遗传算法的M文件
- System Design Interview - An Insider’s Guide
- VCS lab 和 VCS lab guide
- 简单二阶互联系统的非线性动力学分
- easygui手册
- 英文原版-Certified Ethical Hacker CEH Foun
- Guide to Reliable Distributed Systems
- Channel waveguides fabrication in bulk Lithium
- ARM嵌入式系统开发:软件设计与优化
- IT6802 Programming Guide
- CWAP Certified Wireless Analysis Professional
- Academic Writing--a practical guide for studen
- Unigui 1.50.0.1481(含keygen)
- 手写数字识别-模板匹配法
- Stock_Watson_动态因子分析模型
- 果蝇优化算法优化支持向量回归程序
- 自己做的一个简单GUI扑克纸牌识别-
- multi output SVR
- AR过程的线性建模过程与各种功率谱估
- PCNN TOOLBOX
评论
共有 条评论