资源简介
基于matlab的孔隙率检测,图像处理程序和界面,使用前需要在界面对话框中输入一个局部阈值分割参数
代码片段和文件信息
function varargout = kxjc(varargin)
% KXJC MATLAB code for kxjc.fig
% KXJC by itself creates a new KXJC or raises the existing
% singleton*.
%
% H = KXJC returns the handle to a new KXJC or the handle to
% the existing singleton*.
%
% KXJC(‘CALLBACK‘hobjecteventDatahandles...) calls the local
% function named CALLBACK in KXJC.M with the given input arguments.
%
% KXJC(‘Property‘‘Value‘...) creates a new KXJC or raises the
% existing singleton*. Starting from the left property value pairs are
% applied to the GUI before kxjc_OpeningFcn gets called. An
% unrecognized property name or invalid value makes property application
% stop. All inputs are passed to kxjc_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 kxjc
% Last Modified by GUIDE v2.5 22-Jul-2017 10:26:25
% Begin initialization code - DO NOT EDIT
gui_Singleton = 1;
gui_State = struct(‘gui_Name‘ mfilename ...
‘gui_Singleton‘ gui_Singleton ...
‘gui_OpeningFcn‘ @kxjc_OpeningFcn ...
‘gui_OutputFcn‘ @kxjc_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 kxjc is made visible.
function kxjc_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 kxjc (see VARARGIN)
% Choose default command line output for kxjc
handles.output = hobject;
% Update handles structure
guidata(hobject handles);
% UIWAIT makes kxjc wait for user response (see UIRESUME)
% uiwait(handles.figure1);
% --- Outputs from this function are returned to the command line.
function varargout = kxjc_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;
%set(gcf‘Color‘‘m‘);
global block
prompt = {‘参数:‘};
dlg_title = ‘初始设置‘;
num_lines = 1;
defaultans = {‘64‘};
answer = inputdlg(promptdlg_titlenum_linesdefaultans);
block=str2num(cell2mat(answer(1)));
function edit2_Callback(hobject eventdata handles)
% hobject handle to edit2
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2018-04-08 14:56 基于matlab的孔隙率检测\
文件 54230 2017-07-22 10:26 基于matlab的孔隙率检测\kxjc.fig
文件 33075 2017-08-22 16:35 基于matlab的孔隙率检测\kxjc.m
相关资源
- 无线传感器网络节能路由协议研究仿
- 基于MATLAB的格拉布斯准则
- 离散时滞系统MATLAB作图
- matlabR2017ab破解工具
- MATLAB实现图片柱面投影
- 开关型矢量中值滤波器matlab
- 拟合圆matlab代码
- 灰色预测的matlab代码
- 基于MATLAB的滤波器设计
- 梯度下降法matlab程序,需要手动输入
- 基于遗传算法的BP神经网络优化算法—
- 基于matlab的遍历文件夹中的所有子文
- 卡尔曼滤波的MATLAB实现
- 基于MATLAB的数字语音识别
-
BCH编码与解码的simuli
nk仿真 - 基于多频外差原理的仿真,matlab程序
- 线性规划.非线性规划.多目标规划Ma
- 模拟退火法Matlab代码[比赛已经用过保
- matlab特征点提取
- matlab简易画板GUI程序
- 稀疏表示内含完整的MATLAB代码
- 视频分帧matlab
- MATLAB前方交会函数程序
- DFIG风电模型
- license_standalone.lic
- MATLAB自带去视频抖动程序
- 新安江模型Matlab代码
- 二元序列的Berlekamp-Massey算法的matlab程
- 基于MATLAB的LDPC编译码仿真程序
- 基于均值漂移mean shift算法的图像分割
评论
共有 条评论