主动轮廓模型(基于GVF和VFC)应用

上传者: hzeuhxhglf | 上传时间: 2019-12-21 19:56:10 | 文件大小: 4.58MB | 文件类型: zip
使用GVF域和VFC域进行图片分割 % Vector field convolution (VFC) external force field example. % % See also AMT, EXAMPLE_PIG, AM_VFC, AM_VFK, AC_DISPLAY. % % Reference % [1] Bing Li and Scott T. Acton, "Active contour external force using % vector field convolution for image segmentation," Image Processing, % IEEE Trans. on, vol. 16, pp. 2096-2106, 2007. % [2] Bing Li and Scott T. Acton, "Automatic Active Model % Initialization via Poisson Inverse Gradient," Image Processing, % IEEE Trans. on, vol. 17, pp. 1406-1420, 2008. % % (c) Copyright Bing Li 2005 - 2009. clear all disp('======================================') disp('Vector field convolution (VFC) example') %% parameter settings disp('Initializing parameters ...') SAVE_AVI = 0; % set it to 1 if you want to save the process as .avi movie DISPLAY_STREAMLINE = 0; % set it to 1 if you want to plot streamlines, note that it takes a while mu = .2; GVF_ITER = 100; normalize = 1; alpha = .5; beta = 0; tau = .5; SNAKE_ITER = 5; SNAKE_ITER1 = 60; RES = .5; clr = {'b' 'b' 'r'}; %% Read images disp('Reading images ...') U = imread('im_U.bmp'); noisyU=imread('im_Unoisy.bmp'); figure(1) %% compare 3 different cases for cs = 1:3, %% compute external force fields switch cs, case 1, % traditional GVF with Gaussian filter disp('--------------------------------------------------') disp('Case 1: GVF snake with initial circle close to FOI') disp('Computing the external force field ...') h = fspecial('gaussian',[5 5],5); f = imfilter(double(noisyU),h); titl = 'GVF'; Fext = AM_GVF(f, mu, GVF_ITER, normalize); R = 20; case 2, % traditional GVF with Gaussian filter disp('--------------------------------------------------') disp('Case 2: GVF snake with initial circle far away from FOI') disp('Computing the external force field ...

文件下载

资源详情

[{"title":"( 30 个子文件 4.58MB ) 主动轮廓模型(基于GVF和VFC)应用","children":[{"title":"AMT","children":[{"title":"example_vfc.asv <span style='color:#111;'> 4.77KB </span>","children":null,"spread":false},{"title":"im_U.bmp <span style='color:#111;'> 574B </span>","children":null,"spread":false},{"title":"AC_remesh.m <span style='color:#111;'> 4.01KB </span>","children":null,"spread":false},{"title":"AM_PIG.m <span style='color:#111;'> 5.00KB </span>","children":null,"spread":false},{"title":"Contents.m <span style='color:#111;'> 2.48KB </span>","children":null,"spread":false},{"title":"AC_display.m <span style='color:#111;'> 2.17KB </span>","children":null,"spread":false},{"title":"im_lung.png <span style='color:#111;'> 76.68KB </span>","children":null,"spread":false},{"title":"TIP.08.PIG.pdf <span style='color:#111;'> 2.55MB </span>","children":null,"spread":false},{"title":"AM_VFK.m <span style='color:#111;'> 2.96KB </span>","children":null,"spread":false},{"title":"licence.txt <span style='color:#111;'> 17.59KB </span>","children":null,"spread":false},{"title":"AM_FFS.m <span style='color:#111;'> 10.88KB </span>","children":null,"spread":false},{"title":"example_vfc.m <span style='color:#111;'> 4.81KB </span>","children":null,"spread":false},{"title":"AM_laplacian_c.c <span style='color:#111;'> 7.15KB </span>","children":null,"spread":false},{"title":"AC_quiver.m <span style='color:#111;'> 1.77KB </span>","children":null,"spread":false},{"title":"AM_laplacian.m <span style='color:#111;'> 1.93KB </span>","children":null,"spread":false},{"title":"AM_gradient.m <span style='color:#111;'> 3.54KB </span>","children":null,"spread":false},{"title":"AM_gradient_c.c <span style='color:#111;'> 2.99KB </span>","children":null,"spread":false},{"title":"example_pig.m <span style='color:#111;'> 5.36KB </span>","children":null,"spread":false},{"title":"example_pig.asv <span style='color:#111;'> 5.37KB </span>","children":null,"spread":false},{"title":"AC_initial.m <span style='color:#111;'> 2.33KB </span>","children":null,"spread":false},{"title":"TIP.07.VFC.pdf <span style='color:#111;'> 2.18MB </span>","children":null,"spread":false},{"title":"AM_GVF.m <span style='color:#111;'> 3.08KB </span>","children":null,"spread":false},{"title":"AM_CoD.m <span style='color:#111;'> 3.69KB </span>","children":null,"spread":false},{"title":"readme.txt <span style='color:#111;'> 1.15KB </span>","children":null,"spread":false},{"title":"AM_GVF_c.c <span style='color:#111;'> 11.22KB </span>","children":null,"spread":false},{"title":"im_Unoisy.bmp <span style='color:#111;'> 574B </span>","children":null,"spread":false},{"title":"AC_deform.m <span style='color:#111;'> 3.92KB </span>","children":null,"spread":false},{"title":"Fext.mat <span style='color:#111;'> 40.58KB </span>","children":null,"spread":false},{"title":"AM_VFC.m <span style='color:#111;'> 4.64KB </span>","children":null,"spread":false},{"title":"AC_isoLine.m <span style='color:#111;'> 3.57KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

  • xqdark123 :
    缺少注释,看起来有点困难
    2019-12-04
  • yuweny :
    对于初学者 挺好
    2013-12-25
  • liushumin001 :
    这个程序对初学者来说太给力了,免去了编程之苦!
    2013-07-23
  • 走错方向 :
    Matlab的源码,可惜没有注释,能完成基本功能
    2012-03-27

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明