资源简介
matlab snake 算法,边界跟踪的一种算法

代码片段和文件信息
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% filter_function.m is a helper function for interate.m. To run snakes
% (active contours) with GUI see below. To go to the meat of the code see
% interate.m
%
% To run it with GUI
% 1. Type guide on the matlab prompt.
% 2. Click on “Go to Existing GUI“
% 3. Select the snk.fig file in the same directory as this file
% 4. Click the green arrow at the top to launch the GUI
%
% Once the GUI has been launched you can use snakes by
% 1. Click on “New Image“ and load an input image. Samples image are
% provided.
% 2. Set the smoothing parameter “sigma“ or leave it at its default value
% and click “Filter“. This will smooth the image.
% 3. As soon as you click “Filter“ cross hairs would appear and using
% them and left click of you mouse you can pick initial contour location
% on the image. A red circle would appead everywhere you click and in
% most cases you should click all the way around the object you want to
% segement. The last point must be picked using a right-click in order to
% stop matlab for asking for more points.
% 4. Set the various snake parameters (relative weights of energy terms
% in the snake objective function) or leave them with their default value
% and click “Iterate“ button. The snake would appear and move as it
% converges to its low energy state.
%
% Copyright (c) Ritwik Kumar Harvard University 2010
% www.seas.harvard.edu/~rkkumar
%
% This code implements 揝nakes: Active Contour Models?by Kass Witkin and
% Terzopolous incorporating Eline Eedge and Eterm energy factors. See the
% included report and the paper to learn more.
%
% If you find this useful also look at Radon-Like Features based
% segmentation in the following paper:
% Ritwik Kumar Amelio V. Reina & Hanspeter Pfister 揜adon-Like Features
% and their Application to Connectomics? IEEE Computer Society Workshop %
% on Mathematical Methods in Biomedical Image Analysis (MMBIA) 2010
% http://seas.harvard.edu/~rkkumar
% Its code is also available on MATLAB Central
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
function [smth] = filter_function(image sigma)
% This function smooths the image with a Gaussian filter of width sigma
smask = fspecial(‘gaussian‘ ceil(3*sigma) sigma);
smth = filter2(smask image ‘same‘);
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2013-11-01 18:46 activeContoursSnakesDemo\
目录 0 2013-11-01 18:47 activeContoursSnakesDemo\activeContoursDemo\
文件 199 2010-07-02 21:23 activeContoursSnakesDemo\activeContoursDemo\README.txt
文件 4109 2005-11-06 01:34 activeContoursSnakesDemo\activeContoursDemo\U64.pgm
文件 364184 2010-07-02 21:19 activeContoursSnakesDemo\activeContoursDemo\activeContours_Snakes.pdf
文件 47490 2005-11-06 01:34 activeContoursSnakesDemo\activeContoursDemo\chest.pgm
文件 10028 2005-11-06 01:34 activeContoursSnakesDemo\activeContoursDemo\circle.jpg
文件 2448 2010-07-02 21:21 activeContoursSnakesDemo\activeContoursDemo\filter_function.m
文件 2974 2010-07-02 21:21 activeContoursSnakesDemo\activeContoursDemo\getsnake.m
文件 25615 2005-11-06 01:34 activeContoursSnakesDemo\activeContoursDemo\heart.pgm
文件 40658 2005-11-06 01:34 activeContoursSnakesDemo\activeContoursDemo\img1 - 副本.tif
文件 40658 2005-11-06 01:34 activeContoursSnakesDemo\activeContoursDemo\img1.tif
文件 34306 2005-11-06 01:34 activeContoursSnakesDemo\activeContoursDemo\img2.tif
文件 4822 2010-07-02 21:21 activeContoursSnakesDemo\activeContoursDemo\interate.m
文件 65594 2005-11-06 01:34 activeContoursSnakesDemo\activeContoursDemo\new.pgm
文件 4112 2005-11-06 01:34 activeContoursSnakesDemo\activeContoursDemo\room.pgm
文件 5814 2010-07-02 20:29 activeContoursSnakesDemo\activeContoursDemo\snk.fig
文件 25966 2010-07-02 21:21 activeContoursSnakesDemo\activeContoursDemo\snk.m
文件 5000 2005-11-06 01:34 activeContoursSnakesDemo\activeContoursDemo\square.jpg
文件 1333 2010-07-02 21:45 activeContoursSnakesDemo\license.txt
相关资源
- 非线性SVM算法-matlab实现
- 《MATLAB 智能算法超级学习手册》-程序
- 光纤传输中的分布傅立叶算法matlab实
- k近邻算法matlab实现
- matlab编写的susan算法程序
- matlab-图像处理算法
- matlab链码提取算法
- matlab 数字图像对比度拉伸算法
- 数字图像处理radon matlab变换算法代码
- 主动轮廓模型算法matlab程序
- MATLAB 实现各类常见算法
- 数字信号处理 理论算法与实现 胡广书
- 基于BP神经网络的盲均衡算法 C程序(
- 基于harris算法的角点检测matlab原代码
- 图像匹配matlab源程序sift算法
- matlab编写的量子遗传算法
- 用蚁群算法求解TSP问题的matlab程序
- 粒子群算法matlab工具箱
- Matlab图像分割边缘提取算法
- prony 算法
- 蚁群算法论文+源代码
- 基于粒子群算法的非合作博弈的matl
- 协同进化遗传算法求解函数优化问题
- pri传统分选算法
- 基于RSSI的VIRE定位算法
- 相关向量机的快速算法
- Gardner_for _MPSK(PSK的符号同步算法)
- 粒子群算法优化pid源码 matlab仿真.ra
- 系数绝对值最大 图像融合MATLAB算法
- 灰度共生矩阵特征值不错的算法
评论
共有 条评论