EDA365电子论坛网
标题:
基于matlab GUI彩色图像分割
[打印本页]
作者:
haidaowang
时间:
2021-7-8 11:23
标题:
基于matlab GUI彩色图像分割
& E: B+ l" J# r
一、简介
1 Y; i/ Q9 m1 j# }
1 g7 E% \ F3 _- Z
图像分割就是把图像分成若干个特定的、具有独特性质的区域并提出感兴趣目标的技术和过程。它是由图像处理到图像分析的关键步骤。现有的图像分割方法主要分以下几类:基于阈值的分割方法、基于区域的分割方法、基于边缘的分割方法以及基于特定理论的分割方法等。从数学角度来看,图像分割是将数字图像划分成互不相交的区域的过程。图像分割的过程也是一个标记过程,即把属于同一区域的像素赋予相同的编号。
- P" l' Q$ `) P: ]" V0 m0 r8 b
6 r. v& e8 }, n2 I- T! ]
; @, z# L3 q- c
二、源代码
5 n. ^) x# L0 H! A
- c; s X7 J. w$ V4 _& K( Y
K& |9 B4 D+ x- y8 \, @
function varargout = ImageGUI(varargin)
% IMAGEGUI MATLAB code for ImageGUI.fig
% IMAGEGUI, by itself, creates a new IMAGEGUI or raises the existing
% singleton*.
%
% H = IMAGEGUI returns the handle to a new IMAGEGUI or the handle to
% the existing singleton*.
%
% IMAGEGUI('CALLBACK',hObject,eventData,handles,...) calls the local
% function named CALLBACK in IMAGEGUI.M with the given input arguments.
%
% IMAGEGUI('Property','Value',...) creates a new IMAGEGUI or raises the
% existing singleton*. Starting from the left, property value pairs are
% applied to the GUI before ImageGUI_OpeningFcn gets called. An
% unrecognized property name or invalid value makes property application
% stop. All inputs are passed to ImageGUI_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 ImageGUI
% Copyright 2011 The MathWorks, Inc.
% Last Modified by GUIDE v2.5 09-Jun-2015 20:18:33
% Begin initialization code - DO NOT EDIT
gui_Singleton = 1;
gui_State = struct('gui_Name', mfilename, ...
'gui_Singleton', gui_Singleton, ...
'gui_OpeningFcn', @ImageGUI_OpeningFcn, ...
'gui_OutputFcn', @ImageGUI_OutputFcn, ...
'gui_LayoutFcn', [] , ...
'gui_Callback', []);
if nargin && ischar(varargin{1})
gui_State.gui_Callback = str2func(varargin{1});
end
; \+ ?7 S* o- Y0 Q( @! Y% E Q* y+ W/ O
( P! ~- v: x! c3 }7 e
& |7 Y& I7 z0 O) n
三、运行结果
" ? v+ T) u" W
0 y6 c- P7 t8 X
1.png
(35.66 KB, 下载次数: 10)
下载附件
保存到相册
2021-7-8 11:23 上传
2 K1 F' w @$ |2 C ~/ y
/ K' d) H/ k2 o5 E0 t
2.jpg
(6.6 KB, 下载次数: 11)
下载附件
保存到相册
2021-7-8 11:23 上传
Q2 S* H. ~) ~. [
5 }- ~) T* q& n
1 {2 N9 }+ E9 O {- K
作者:
NingW
时间:
2021-7-8 13:31
基于matlab GUI彩色图像分割
作者:
younicp
时间:
2021-7-8 13:54
基于matlab GUI彩色图像分割
作者:
BarndM7
时间:
2021-7-8 13:55
基于matlab GUI彩色图像分割
作者:
ldezgr
时间:
2021-7-14 09:00
学习学习在学习
欢迎光临 EDA365电子论坛网 (https://bbs.eda365.com/)
Powered by Discuz! X3.2