资源简介
利用snake算法实现数字图像的边缘检测,图像分割以及特征提取,已经实现过了!

代码片段和文件信息
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% SNAKE DEMO ver 1.0 beta
%
% Interface by
%
% Dejan Tomazevic (e-mail dejan.tomazevic@kiss.uni-lj.si) 10/2/98
% Copyright (c) 1998 by Dejan Tomazevic
% BIPROG Faculty of Electrical Engineering University of Ljubljana
%
% Snake and GVF functions by
% Chenyang Xu and Jerry L. Prince 6/17/97
% Copyright (c) 1996-97 by Chenyang Xu and Jerry L. Prince
% Image Analysis and Communications Lab Johns Hopkins University
%
%
% This program was written during Dejan Tomazevic visit Johns Hopkins University in
% purpose to show the use of traditional snakes and GVF snakes M fuctions.
%
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%% PROGRAM BEGINS %%%%%%%%%%
%%%%%%% INICIALIZATIONA %%%%%%%%%%%%%%
clear;
% Add the tools to the current path
p = path;
path(p ‘./snake;./subf‘);
%%%%%%%%%%%%% define global variables %%%%%%%%%%%%%%%%%%%
%%%% image processing variables
global Image1; % original image
global sigma;
global mu;
global alpha beta gamma kappa dmin dmax; % parameters for the snake
global NoGVFIterations; % number of GVF iterations
global NoSnakeIterations; % number of Snake iterations
global SchangeInFieldType;
global VectorFieldButt; % define the type of vector filed
global SnakeON; % indicate if snake is visible
global IncSnakeRadius; % inicializaton snake radius
global CircleOn; % inicalization snake will be circle
global SnakeDotsON; % 1 if snake dots should be displeyed
global GradientOn; % 1 if gradient is applayed with blur
global XSnake YSnake; % conture of the snake
global XSnakeInc YSnakeInc; % incicialization conture of the snake
sigma=0;
mu=0.1;
alpha=0.05;
beta=0;
gamma=1;
kappa=0.6;
dmin=0.5;
dmax=2;
SchangeInFieldType=1;
NoGVFIterations=80;
NoSnakeIterations=40;
VectorFieldButt(1)=1; % standard field
VectorFieldButt(2)=0; % GVF filed
VectorFieldButt(3)=1; % normalized GVF
SnakeON=0; % snake is not drown on the picture at the begining
IncSnakeRadius=0.5;
CircleOn=1;
SnakeDotsON=1;
GradientOn=0;
%%%% interface variables
global VectorOfLocalMenuHD; %vector of local objects that can be arased
VectorOfLocalMenuHD=[];
global HDmainf; %main figure handle
global HDorigPic; %original picture axes handle
global HDbluredPic; %blured picture axes handle
global HDvectorFPic; %handle of vector field picture
global HDhelpAxes; %handle of help window
global HDhelpSlider1 HDhelpSlider2; %handle of the slider for help text
global HDvectorOfTexthd; % vector of help text handels
global xsize ysize; %size of the picture
global HDMenuAxes; %Axes for the help
global HDSnakeLine; %vector of Handles of Snake lines on the picture
global FileName PathName; % name of the file
global ExampleNo; % number of examp
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 31456 1998-10-02 08:33 snake\head.jpg
文件 47490 1999-01-06 13:49 snake\images\chest.pgm
文件 1064 1998-09-30 09:50 snake\images\heart.mat
文件 25615 1998-09-29 10:01 snake\images\heart.pgm
文件 4248 1998-09-30 09:58 snake\images\heart2.mat
文件 4056 1998-10-01 06:18 snake\images\heart3.mat
文件 65594 1999-01-06 13:32 snake\images\new.pgm
文件 2792 1998-09-30 10:26 snake\images\room.mat
文件 4109 1997-08-28 12:32 snake\images\room.pgm
文件 2928 1998-09-30 09:43 snake\images\room2.mat
文件 2928 1998-09-30 09:44 snake\images\room3.mat
文件 3304 1998-10-01 06:20 snake\images\u64.mat
文件 4109 1997-08-28 12:32 snake\images\U64.pgm
文件 2952 1998-10-07 04:51 snake\images\u642.mat
文件 3800 1998-10-06 09:00 snake\sdemo.m
文件 916 2000-04-12 20:06 snake\snake\BoundMirrorEnsure.m
文件 699 2000-04-12 20:06 snake\snake\BoundMirrorExpand.m
文件 488 2000-04-12 20:06 snake\snake\BoundMirrorShrink.m
文件 1096 1997-08-28 12:32 snake\snake\Contents.m
文件 608 1997-08-28 12:32 snake\snake\dt.m
文件 500 1997-08-28 12:32 snake\snake\gaussianBlur.m
文件 255 1997-08-28 12:32 snake\snake\gaussianMask.m
文件 895 1998-10-08 10:23 snake\snake\GGVF.m
文件 1640 2000-04-12 20:06 snake\snake\GVF.m
文件 257 1998-09-30 06:08 snake\snake\imdisp.m
文件 3256 1997-08-28 12:32 snake\snake\rawread.m
文件 1536 1998-10-07 05:15 snake\snake\rawwrite.m
文件 1504 1998-09-21 05:42 snake\snake\snakedeform.m
文件 1856 1997-08-28 12:32 snake\snake\snakedeform2.m
文件 551 1997-08-28 12:32 snake\snake\snakedisp.m
............此处省略28个文件信息
相关资源
- 基于OpenCV的数字识别468815
- 小波模极大值边缘检测
- 带式输送机托辊红外图像分割与定位
- BoW|Pyramid BoW+SVM进行图像分类
- 基于libsvm的图像分割代码
- bemd处理图像进行图像分解操作.zip
- 综合Canny法与小波变换的边缘检测方法
- 水果识别代码
- 论文研究 - 傅立叶描述子在外周血涂
- 基于朴素贝叶斯分类法的图像分割
- 复杂背景与天气条件下的棉花叶片图
- 基于tensorflow的深度学习图像分类案例
- 舌图像分割
- 图像分割方法在遥感图像分析中的应
- 基于彩色图像的Canny边缘检测算法
-
Accurate subpixel edge location ba
sed on pa - 煤矸石图像分类方法
- 图像分割算法研究区域分割,数学形
- 基于图切算法的交互式图像分割技术
- 纹理图像分割论文+代码
- Dence CRF 条件随机场图像分割
- OpenCV使用随机森林实现对图像分类
- 使用多线程及图像分块实现图像处理
- 图像处理中使用多线程及图像分块实
- 形态学图像分析、原理及应用英文版
- FPGA边缘检测
- 《图像分析中的马尔可夫随机场模型
- 基于神经网路的遥感图像分类
- 图像分割-章毓晋
- 改进的自适应阈值Canny边缘检测
评论
共有 条评论