该楼层疑似违规已被系统折叠 隐藏此楼查看此楼

function varargout = apple(varargin)

% APPLE M-file for apple.fig

% APPLE, by itself, creates a new APPLE or raises the existing

% singleton*.

%

% H = APPLE returns the handle to a new APPLE or the handle to

% the existing singleton*.

%

% APPLE('CALLBACK',hObject,eventData,handles,...) calls the local

% function named CALLBACK in APPLE.M with the given input arguments.

%

% APPLE('Property','Value',...) creates a new APPLE or raises the

% existing singleton*. Starting from the left, property value pairs are

% applied to the GUI before apple_OpeningFunction gets called. An

% unrecognized property name or invalid value makes property application

% stop. All inputs are passed to apple_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

% Copyright 2002-2003 The MathWorks, Inc.

% Edit the above text to modify the response to help apple

% Last Modified by GUIDE v2.5 22-Apr-2010 13:52:17

% Begin initialization code - DO NOT EDIT

gui_Singleton = 1;

gui_State = struct('gui_Name', mfilename, ...

'gui_Singleton', gui_Singleton, ...

'gui_OpeningFcn', @apple_OpeningFcn, ...

'gui_OutputFcn', @apple_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 apple is made visible.

function apple_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 apple (see VARARGIN)

% Choose default command line output for apple

handles.output = hObject;

% Update handles structure

guidata(hObject, handles);

% UIWAIT makes apple wait for user response (see UIRESUME)

% uiwait(handles.figure1);

% --- Outputs from this function are returned to the command line.

function varargout = apple_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;

% --------------------------------------------------------------------

function duqutuxiang_Callback(hObject, eventdata, handles)

% hObject handle to duqutuxiang (see GCBO)

% eventdata reserved - to be defined in a future version of MATLAB

% handles structure with handles and user data (see GUIDATA)

global im;

[filename,pathname]=...

uigetfile({'*.*';'*.bmp';'*.tif';'*.png'},'select picture');

str=[pathname filename];

im=imread(str); %

axes(handles.axes1);

imshow(im);

% --------------------------------------------------------------------

function tuichu_Callback(hObject, eventdata, handles)

% hObject handle to tuichu (see GCBO)

% eventdata reserved - to be defined in a future version of MATLAB

% handles structure with handles and user data (see GUIDATA)

clc;

clear all;

close(gcf);

% --------------------------------------------------------------------

function huiduhua_Callback(hObject, eventdata, handles)

% hObject handle to huiduhua (see GCBO)

% eventdata reserved - to be defined in a future version of MATLAB

% handles structure with handles and user data (see GUIDATA)

global im;

global a2;

a2=rgb2gray(im);

axes(handles.axes2);

imshow(a2);

figure;

imhist(a2);

% --------------------------------------------------------------------

function zhifangtujunhenghua_Callback(hObject, eventdata, handles)

% hObject handle to zhifangtujunhenghua (see GCBO)

% eventdata reserved - to be defined in a future version of MATLAB

% handles structure with handles and user data (see GUIDATA)

global a2;

global a4;

a4=histeq(a2);

axes(handles.axes3);

imshow(a4);

figure;

imhist(a4);

% --------------------------------------------------------------------

function zhongzhilvbo_Callback(hObject, eventdata, handles)

% hObject handle to zhongzhilvbo (see GCBO)

% eventdata reserved - to be defined in a future version of MATLAB

% handles structure with handles and user data (see GUIDATA)

global a4;

global k1;

k6=medfilt2(a4,[3,3]);

k5=medfilt2(k6,[3,3]);

k4=medfilt2(k5,[3,3]);

k3=medfilt2(k4,[3,3]);

k2=medfilt2(k3,[3,3]);

k1=medfilt2(k2,[3,3]);

axes(handles.axes4);

imshow(k1);

% --------------------------------------------------------------------

function wenjian_Callback(hObject, eventdata, handles)

% hObject handle to wenjian (see GCBO)

% eventdata reserved - to be defined in a future version of MATLAB

% handles structure with handles and user data (see GUIDATA)

% --------------------------------------------------------------------

function tuxiangyuchuli_Callback(hObject, eventdata, handles)

% hObject handle to tuxiangyuchuli (see GCBO)

% eventdata reserved - to be defined in a future version of MATLAB

% handles structure with handles and user data (see GUIDATA)

% --------------------------------------------------------------------

function bianyuanjiance_Callback(hObject, eventdata, handles)

% hObject handle to bianyuanjiance (see GCBO)

% eventdata reserved - to be defined in a future version of MATLAB

% handles structure with handles and user data (see GUIDATA)

bianyuan

% --------------------------------------------------------------------

function tezhengtiqu_Callback(hObject, eventdata, handles)

% hObject handle to tezhengtiqu (see GCBO)

% eventdata reserved - to be defined in a future version of MATLAB

% handles structure with handles and user data (see GUIDATA)

% --------------------------------------------------------------------

function xiangsuzhouchangmianji_Callback(hObject, eventdata, handles)

% hObject handle to xiangsuzhouchangmianji (see GCBO)

% eventdata reserved - to be defined in a future version of MATLAB

% handles structure with handles and user data (see GUIDATA)

xiangsu

% --------------------------------------------------------------------

function bilixishu_Callback(hObject, eventdata, handles)

% hObject handle to bilixishu (see GCBO)

% eventdata reserved - to be defined in a future version of MATLAB

% handles structure with handles and user data (see GUIDATA)

bilixishu

% --------------------------------------------------------------------

function shijizhouchangmianji_Callback(hObject, eventdata, handles)

% hObject handle to shijizhouchangmianji (see GCBO)

% eventdata reserved - to be defined in a future version of MATLAB

% handles structure with handles and user data (see GUIDATA)

shiji

% --- Executes during object creation, after setting all properties.

function axes2_CreateFcn(hObject, eventdata, handles)

% hObject handle to axes2 (see GCBO)

% eventdata reserved - to be defined in a future version of MATLAB

% handles empty - handles not created until after all CreateFcns called

% Hint: place code in OpeningFcn to populate axes2

matlab object是什么意思,求大神指导一下代码大概是什么意思。。相关推荐

  1. 遗传算法优化BP神经网络出现输入参数不足,是什么原因啊,求大神指导,代码如下

    用遗传算法优化BP神经网络,在加粗那行出现输入参数不足,是什么原因啊,求大神指导,代码如下 function err=Bpfun(x,P,T,hiddennum,P_test,T_test) fid= ...

  2. ubuntu14.04扩展屏幕后,打开matlab就死机。求大神帮忙解决!!!万分感谢

    ubuntu14.04扩展屏幕后,打开matlab就死机.求大神帮忙解决!!!万分感谢

  3. matlab求解复杂隐函数,MATLAB复杂隐函数求解!求大神指导!

    问题描述: MATLAB复杂隐函数求解!求大神指导! syms D1 D2 G1 G2 al E1 E2 Km w6 G1=10^(-5);G2=10^(-5); E1=2*(10^11);E2=2* ...

  4. java日历打印出的格式不对_Java打印某年某月的日历 没有错误但是运行出的月份与实际不符 求大神指导...

    Java打印某年某月的日历 没有错误但是运行出的月份与实际不符 求大神指导 我看了一下日历,发现你打出来的其实是九月份而不是八月份,那么我猜在showPrint这里的第二个参数是从0开始的,即0~11 ...

  5. matlab 连续两个if,求大神解答一个matlab中的for循环嵌套if选择语句

    公告: 为响应国家净网行动,部分内容已经删除,感谢读者理解. 话题:求大神解答一个matlab中的for循环嵌套if选择语句回答:1.最后缺少一个end;2.这句输出没什么意义:disp A(i)=A ...

  6. python 扯线木偶_Python计算器求助~求大神指导~QAQ急!

    该楼层疑似违规已被系统折叠 隐藏此楼查看此楼 from tkinter import * root = Tk() root.title('计算器') exp = StringVar() #用于在存储文 ...

  7. matlab四条曲线围成面,matlab中怎么给四条曲线作出图例啊?求大神指导

    clear all: clc disp('插值求取平滑曲线后的数值' ) t = [5 10 15 20 30 40 60 80 120] ; A = [29.84 40.01 46.71 53.87 ...

  8. matlab数值很小出错,求大神帮忙解决一下,用MATLAB求解动力学数据总是出错~ - 计算模拟 - 小木虫 - 学术 科研 互动社区...

    CODE: function KineticsEst5 % 动力学ODE方程模型的参数估计 % % % % The variables y here are y(1)=xB, y(2)=xoNB, y ...

  9. matlab程序 surf算法,【求大神帮忙,surf算法源代码解析】

    该楼层疑似违规已被系统折叠 隐藏此楼查看此楼 % Example, Corresponding points % Load images I1=imread('1.JPG'); I2=imread(' ...

最新文章

  1. 阿里巴巴连任 Java 全球管理组织席位
  2. 002_图表容器及大小
  3. LPCTSTR 与 int 的互相转换
  4. ADC实验(读取引脚电压值)
  5. .NET Core 3.0之创建基于Consul的Configuration扩展组件
  6. websocket文档_WebSocket推送 原理扫盲到上手实践
  7. mysql索引的使用及优化方法_MySQL中索引和优化的用法总结
  8. 【实践】Angel深度学习在腾讯广告推荐训练优化中的实践
  9. Session 的生命周期
  10. 一分钟了解阿里云产品:弹性伸缩五大热点技术问题分析
  11. Asp.net Core 2.1新功能Generic Host(通用主机),了解一下
  12. Atitti python2.7安装 numpy attilax总结
  13. vue如何加载html字符串_VUE渲染后端返回含有script标签的html字符串示例
  14. matlab meshlab,MeshLab(网格模型处理软件)下载-MeshLab官方版下载[电脑版]-PC下载网
  15. sqlServer取余数
  16. APS系统是什么意思?起什么作用
  17. linux系统安全与日志分析
  18. Aquariusの瓶子的眼泪
  19. Android获取手机屏幕密度
  20. 世纪金文oracle,21世纪双语新闻(MP3+字幕):一片甲骨天下惊,甲骨文的意义何在?...

热门文章

  1. qt——widget
  2. 万字长文讲清楚4D毫米波雷达
  3. vue 网页滚动到指定位置显示动画效果
  4. selenium+python设置爬虫代理IP
  5. smarty实例教程一
  6. 【经典算法】·二分法
  7. C++ 函数指针 指向类成员函数
  8. java核心技术卷一,java面试题大全带答案
  9. 2.Conv2d实现
  10. 解决Mac上MAMP Pro 80端口被占用