资源简介
一种主动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‘);
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 364184 2010-07-02 13:19 activeContoursDemo\activeContours_Snakes.pdf
文件 47490 2005-11-05 17:34 activeContoursDemo\chest.pgm
文件 10028 2005-11-05 17:34 activeContoursDemo\circle.jpg
文件 2448 2010-07-02 13:21 activeContoursDemo\filter_function.m
文件 2974 2010-07-02 13:21 activeContoursDemo\getsnake.m
文件 25615 2005-11-05 17:34 activeContoursDemo\heart.pgm
文件 40658 2005-11-05 17:34 activeContoursDemo\img1.tif
文件 34306 2005-11-05 17:34 activeContoursDemo\img2.tif
文件 4822 2010-07-02 13:21 activeContoursDemo\interate.m
文件 65594 2005-11-05 17:34 activeContoursDemo\new.pgm
文件 199 2010-07-02 13:23 activeContoursDemo\README.txt
文件 4112 2005-11-05 17:34 activeContoursDemo\room.pgm
文件 5814 2010-07-02 12:29 activeContoursDemo\snk.fig
文件 25966 2010-07-02 13:21 activeContoursDemo\snk.m
文件 5000 2005-11-05 17:34 activeContoursDemo\square.jpg
文件 4109 2005-11-05 17:34 activeContoursDemo\U64.pgm
文件 1312 2014-02-12 13:10 license.txt
- 上一篇:通信工程师笔试题
- 下一篇:计算机网络考试复习题
相关资源
- 二值化图像轮廓及链码直方图
- 遥感影像上面状道路的准自动提取算
- 5110LCD与89c52做出来的贪吃蛇程序工程
- 用VC opengl 绘制的一个房屋轮廓
- snake模型算法,大家可以
- OpenCv2 轮廓提取源代码VS2008
- 中国轮廓图
- snake算法GVFsnake,气球力程序中文注释
- OpenCV使用特殊颜色标记彩色图像轮廓
- OpenCV轮廓提取的源代码
- 傅里叶变换轮廓术,用于光栅三维成
- 二值图像的轮廓提取以及跟踪算法
- Revit二次开发-取到楼板轮廓
- 轮廓波contourlet工具箱
- QT+opencv边缘检测,轮廓提取及轮廓跟
- Halcon软件提取轮廓功能
- 利用snake算法实现数字图像的边缘检测
- Snake主动轮廓模型
- 论文研究-水下目标检测与跟踪:GVF
- 获取轮廓线.htm
- 多边形偏移轮廓
- 计算机/图像处理专业本科毕业设计—
- halcon轮廓定位模板定位的专利资料含
- snake 贪吃蛇汇编原代码 能在MASM FOR
- 基于控制方程的齿轮剖面轮廓优化设
- 中国县区以上行政区划经纬度坐标
- 中国地图及各省轮廓(可分).pdf
- (30)Snaker(贪吃蛇 精品).zip
- 国界轮廓新.kmz
- 易语言图片轮廓提取
评论
共有 条评论