资源简介
建立了GUI界面,五种经典的边缘检测算子,包括Roberts算子,Sobel算子,Canny算子,Prewitt算子,LOG算法。利用MATLAB系统所提供的相关函数,分别用这几种算子对同一副图像进行处理,在MATLAB2014a版本下运行完全正确
代码片段和文件信息
function varargout = main_trans(varargin)
% MAIN_TRANS MATLAB code for main_trans.fig
% MAIN_TRANS by itself creates a new MAIN_TRANS or raises the existing
% singleton*.
%
% H = MAIN_TRANS returns the handle to a new MAIN_TRANS or the handle to
% the existing singleton*.
%
% MAIN_TRANS(‘CALLBACK‘hobjecteventDatahandles...) calls the local
% function named CALLBACK in MAIN_TRANS.M with the given input arguments.
%
% MAIN_TRANS(‘Property‘‘Value‘...) creates a new MAIN_TRANS or raises the
% existing singleton*. Starting from the left property value pairs are
% applied to the GUI before main_trans_OpeningFcn gets called. An
% unrecognized property name or invalid value makes property application
% stop. All inputs are passed to main_trans_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 main_trans
% Last Modified by GUIDE v2.5 15-Mar-2019 23:27:14
% Begin initialization code - DO NOT EDIT
gui_Singleton = 1;
gui_State = struct(‘gui_Name‘ mfilename ...
‘gui_Singleton‘ gui_Singleton ...
‘gui_OpeningFcn‘ @main_trans_OpeningFcn ...
‘gui_OutputFcn‘ @main_trans_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 main_trans is made visible.
function main_trans_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 main_trans (see VARARGIN)
% Choose default command line output for main_trans
handles.output = hobject;
% Update handles structure
guidata(hobject handles);
% UIWAIT makes main_trans wait for user response (see UIRESUME)
% uiwait(handles.figure1);
% --- Outputs from this function are returned to the command line.
function varargout = main_trans_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;
% --- Executes on selection change in popupmenu1.
function popupmenu1_Callback(hobject eventdata handles)
% hobject handle to popupmenu1 (see GCBO
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 41141 2012-03-16 21:44 基于MATLAB的图像边缘检测算法的仿真\main_trans.fig
文件 10748 2012-03-16 21:56 基于MATLAB的图像边缘检测算法的仿真\main_trans.m
文件 600767 2013-05-01 22:08 基于MATLAB的图像边缘检测算法的仿真\pick_flower.jpg
文件 743486 2019-04-19 16:58 基于MATLAB的图像边缘检测算法的仿真\pick_flower.jpgcanny检测.bmp
文件 5948470 2019-04-19 16:58 基于MATLAB的图像边缘检测算法的仿真\pick_flower.jpgDCT变换.bmp
文件 743486 2019-04-19 16:58 基于MATLAB的图像边缘检测算法的仿真\pick_flower.jpgsobel检测.bmp
文件 17842230 2019-04-19 16:58 基于MATLAB的图像边缘检测算法的仿真\pick_flower.jpg伪彩色.bmp
文件 5948470 2019-04-19 16:58 基于MATLAB的图像边缘检测算法的仿真\pick_flower.jpg均值滤波.bmp
目录 0 2019-04-19 16:58 基于MATLAB的图像边缘检测算法的仿真
----------- --------- ---------- ----- ----
31878798 9
- 上一篇:指纹识别系统+指纹库
- 下一篇:《生物医学数据处理及其MATLAB实现》一书的电子版
相关资源
- 基于matlab的八个方向sobel图像边缘检测
- Matlab Sobel/prewitt边缘检测
- sobel算子边缘检测去除环形伪影
- canny边缘检测算法的matlab实现
- 基于matlab的canny算子的实现
- Sobel边缘检测matlab实现
- canny滤波器
- Sobel、Roberts、Prewitt边缘检测代码 MA
- matlab 分别用sobel prewitt roberts laplacia
- Sobel算子图像边缘提取Matlab代码
- 四个方向模板的sobe算子
- canny算子源码(matlab)
- 基于MATLAB的canny算子
- 图像处理/图像分割实验/prewitt/robert
- canny算子边缘检测,与matlab自带函数效
- canny算子matlab源代码本人亲测可用
- canny算子做目标提取 matlab实现
- canny算子matlab源代码
- MATLAB实现Canny图像边缘检测
- 图像边缘检测matlab源码kirsch、Laplaci
- Canny边缘检测算法
- matlab的canny边缘检测
- 数字图像处理(第三版)matlab代码 冈
- 图像锐化MATLAB实现包含laplacian算子、
- matlab图像边缘检测sobel算子梯度图像
- canny边缘检测算法_代码
- canny边缘检测的matlab程序
- 四个方向模板的sobe算子l
- Prewitt分割实现
- 边缘检测中的canny算法及其matlab实现
评论
共有 条评论