资源简介

基于区域生长的图像分割,MATLAB代码,效果错,有参考价值!

资源截图

代码片段和文件信息

%.......................区域生长分割......................%
%Author:     Dang Changying
%Unit  :     Xi‘an Jiaotong University
%Date  :     2013-09-24      
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
clc;clear all;close all
% I=imread(‘coins.png‘);

% I=imread(‘D:\MODELS\MODELS(KeJiYuan)\Test Picture\DefectImage\Slag.bmp‘);
% I=imread(‘D:\MODELS\MODELS(KeJiYuan)\Test Picture\DefectImage\Slag_Enhance.bmp‘);

% I=imread(‘D:\MODELS\MODELS(KeJiYuan)\Test Picture\DefectImage\InFusion.bmp‘);
% I=imread(‘D:\MODELS\MODELS(KeJiYuan)\Test Picture\DefectImage\InFusion_Enhance.bmp‘);


% I=imread(‘D:\MODELS\MODELS(KeJiYuan)\Test Picture\DefectImage\InPenetration.bmp‘);
% I=imread(‘D:\MODELS\MODELS(KeJiYuan)\Test Picture\DefectImage\InPenetration_Ehance.bmp‘);

% I=imread(‘D:\MODELS\MODELS(KeJiYuan)\Test Picture\DefectImage\Crack.bmp‘);
% I=imread(‘D:\MODELS\MODELS(KeJiYuan)\TestPicture\DefectImage\Crack_Enhance.bmp‘);
J=regionGrow(I);
figureimshow(J)title(‘分割后图像‘)

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件      37906  2012-11-25 10:06  regionGrow_Good.m\coins.png

     文件       1079  2013-09-25 17:52  regionGrow_Good.m\main.m

     文件       2115  2013-09-25 17:50  regionGrow_Good.m\regionGrow.m

     目录          0  2013-09-25 18:59  regionGrow_Good.m

----------- ---------  ---------- -----  ----

                41100                    4


评论

共有 条评论