找回密码
 注册
关于网站域名变更的通知
查看: 863|回复: 4
打印 上一主题 下一主题

基于matlab GUI彩色图像分割

[复制链接]

该用户从未签到

跳转到指定楼层
1#
发表于 2021-7-8 11:23 | 只看该作者 |只看大图 回帖奖励 |倒序浏览 |阅读模式

EDA365欢迎您登录!

您需要 登录 才可以下载或查看,没有帐号?注册

x
* G" C5 L0 ~& `
一、简介/ R( G& B0 W* D( h

5 D( Z) a$ @" r9 l- K* {图像分割就是把图像分成若干个特定的、具有独特性质的区域并提出感兴趣目标的技术和过程。它是由图像处理到图像分析的关键步骤。现有的图像分割方法主要分以下几类:基于阈值的分割方法、基于区域的分割方法、基于边缘的分割方法以及基于特定理论的分割方法等。从数学角度来看,图像分割是将数字图像划分成互不相交的区域的过程。图像分割的过程也是一个标记过程,即把属于同一区域的像素赋予相同的编号。; w( w6 |0 F" {" V  p' `: C
# v. ^4 f) e3 \/ l6 H9 U& a2 ^
+ R2 ?: ~8 Z) }& d7 Q) W
二、源代码7 a2 v3 D2 N$ P! t1 j4 N' {
# g/ w2 n# u  b. @4 K

! o0 e1 F4 h6 u/ n
  • 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
  •   _/ R1 i9 w2 O/ I2 F! ^  O  q/ R

" i  _" U' E5 w  D9 `+ Q; S* C* q" b& ?+ G& x; q
三、运行结果. }, m( o0 Y. G2 n: u* y
4 ?6 N( G/ B+ U9 d- B8 l3 E$ x" u
% h* ~% h+ X. r3 H& G3 K

5 ]+ j: E; \7 |* l% i1 s( K + g& X! V8 ?( }: b! ]# X: I

, H+ P, _- V2 ?* m0 Z4 `
+ m' U! c" G& _5 |6 l, {  `

该用户从未签到

2#
发表于 2021-7-8 13:31 | 只看该作者
基于matlab GUI彩色图像分割
  • TA的每日心情
    慵懒
    2020-6-13 15:46
  • 签到天数: 1 天

    [LV.1]初来乍到

    3#
    发表于 2021-7-8 13:54 | 只看该作者
    基于matlab GUI彩色图像分割

    该用户从未签到

    4#
    发表于 2021-7-8 13:55 | 只看该作者
    基于matlab GUI彩色图像分割
  • TA的每日心情
    奋斗
    2025-1-1 15:26
  • 签到天数: 584 天

    [LV.9]以坛为家II

    5#
    发表于 2021-7-14 09:00 | 只看该作者
    学习学习在学习
    您需要登录后才可以回帖 登录 | 注册

    本版积分规则

    关闭

    推荐内容上一条 /1 下一条

    EDA365公众号

    关于我们|手机版|EDA365电子论坛网 ( 粤ICP备18020198号-1 )

    GMT+8, 2025-6-18 21:01 , Processed in 0.078125 second(s), 26 queries , Gzip On.

    深圳市墨知创新科技有限公司

    地址:深圳市南山区科技生态园2栋A座805 电话:19926409050

    快速回复 返回顶部 返回列表