evolution_lsd.m

来自「一种新的水平集方法由Chunming Li教授开发的」· M 代码 · 共 22 行

M
22
字号
function u = EVOLUTION_LSD(u0, g, lambda, mu, alf, epsilon, delt, numIter)
%  EVOLUTION_LSD(u0, g, lambda, mu, alf, epsilon, delt, numIter) updates the level set function 
%  Note: This code implements a variational level set method that improves
%  the original method in Li et al's paper:
%    "Level Set Evolution Without Re-initialization: A New Variational Formulation"
%    in Proceedings of CVPR'05, vol. 1, pp. 430-436.
%
%  Usage:
%   u0: level set function to be updated
%   g: edge indicator function
%   lambda: coefficient of the weighted length term L(\phi)
%   mu: coefficient of the internal (penalizing) energy term P(\phi)
%   alf: coefficient of the weighted area term A(\phi), choose smaller alf 
%   epsilon: the papramater in the definition of smooth Dirac function, default value 1.5
%   delt: time step of iteration, see the paper for the selection of time step and mu 
%   numIter: number of iterations. 
%
% Author: Chunming Li, all rights reserved.
% e-mail: li_chunming@hotmail.com
% http://vuiis.vanderbilt.edu/~licm/

u = LSD(u0, g, lambda, mu, alf, epsilon, delt, numIter);

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?