资源简介
是个GUI界面。进行了中值滤波,范围默认为3*3,可调。利用类间方差阈值算法实现图像的分割处理,利用形态学中的腐蚀、膨胀处理进行处理结果修正。注意,本程序用的滤波、分割、形态学处理等都是调用的matlab自带的函数。
代码片段和文件信息
function varargout = experiment3(varargin)
% EXPERIMENT3 MATLAB code for experiment3.fig
% EXPERIMENT3 by itself creates a new EXPERIMENT3 or raises the existing
% singleton*.
%
% H = EXPERIMENT3 returns the handle to a new EXPERIMENT3 or the handle to
% the existing singleton*.
%
% EXPERIMENT3(‘CALLBACK‘hobjecteventDatahandles...) calls the local
% function named CALLBACK in EXPERIMENT3.M with the given input arguments.
%
% EXPERIMENT3(‘Property‘‘Value‘...) creates a new EXPERIMENT3 or raises the
% existing singleton*. Starting from the left property value pairs are
% applied to the GUI before experiment3_OpeningFcn gets called. An
% unrecognized property name or invalid value makes property application
% stop. All inputs are passed to experiment3_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 experiment3
% Last Modified by GUIDE v2.5 31-May-2018 16:55:57
% Begin initialization code - DO NOT EDIT
gui_Singleton = 1;
gui_State = struct(‘gui_Name‘ mfilename ...
‘gui_Singleton‘ gui_Singleton ...
‘gui_OpeningFcn‘ @experiment3_OpeningFcn ...
‘gui_OutputFcn‘ @experiment3_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 experiment3 is made visible.
function experiment3_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 experiment3 (see VARARGIN)
% Choose default command line output for experiment3
handles.output = hobject;
% Update handles structure
guidata(hobject handles);
% UIWAIT makes experiment3 wait for user response (see UIRESUME)
% uiwait(handles.figure1);
% --- Outputs from this function are returned to the command line.
function varargout = experiment3_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 edit1_Callback(hobject eventdata handles)
% hobject handle to edit1 (see GCBO)
% eventdata reserved - to be defined
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 121212 2018-05-31 16:55 tuxiangfenge\experiment3.fig
文件 8343 2018-06-03 23:36 tuxiangfenge\experiment3.m
文件 196662 2016-05-10 09:47 tuxiangfenge\shiyan3.bmp
目录 0 2018-06-03 23:36 tuxiangfenge\
- 上一篇:AM调制解调matlab实验代码加噪声
- 下一篇:现代控制系统matlab程序
相关资源
- matlab实现meanshift图像分割
- CV模型matlab
- 用MATLAB实现GAC模型
- matlab模糊聚类算法进行图像分割的源
- 彩色图像分割MATLAB
- 蚁群算法图像分割
- 图像处理/图像分割实验/prewitt/robert
- 基于K-means算法的图像分割matlab
- 马尔科夫随机场应用与图像分割
- matlab车牌图像分割
- 基于meanshift的彩色图像分割算法源代
- meanshift原理图像分割matlab程序
- matlab程序实现了目标对象的图像分割
- 图像的区域生长分割matlab程序
- MATLAB中图像分割迭代法求阈值
- 改进的蜂群算法图像分割MATLAB代码
- MATLAB实现利用形态学方法去噪腐蚀和
- MATLAB实现种子生长法进行图像分割
- 图像分割分水岭算法
- matlab 图像分割
- 基于matlab的数字图像分割技术研究及
- 基于Matlab的主动轮廓分割资料.txt
- Matlab图像分割法
- graphcut用于图像分割的matlab代码
- otsu图像分割的matlab代码
- 采用半隐式方案实现变分水平集图像
- 基于matlab的医学脑部分割
- 基于图像分割的区域提取
- matlab交互式图像分割源程序
- 图像分割 直方图阈值双峰法的matlab实
评论
共有 条评论