资源简介
李春明博士水平集图像分割程序源码,比较经典!!!
代码片段和文件信息
% This Matlab file demomstrates the level set 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.
% Author: Chunming Li all rights reserved.
% E-mail: li_chunming@hotmail.com
% URL: http://www.engr.uconn.edu/~cmli/
clear all;
close all;
Img = imread(‘twocells.bmp‘); % The same cell image in the paper is used here
Img=double(Img(::1));
sigma=1.5; % scale parameter in Gaussian kernel for smoothing.
G=fspecial(‘gaussian‘15sigma);
Img_smooth=conv2(ImgG‘same‘); % smooth image by Gaussiin convolution
[IxIy]=gradient(Img_smooth);
f=Ix.^2+Iy.^2;
g=1./(1+f); % edge indicator function.
epsilon=1.5; % the papramater in the definition of smoothed Dirac func
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 2465 2007-03-20 14:26 LevelSet_ChunmingLi_v0\Demo1.m
文件 2492 2007-03-20 14:27 LevelSet_ChunmingLi_v0\Demo1_ManualBinaryInitial.m
文件 2464 2007-03-20 14:26 LevelSet_ChunmingLi_v0\Demo2.m
文件 2467 2007-03-20 14:28 LevelSet_ChunmingLi_v0\Demo2_ManualBinaryInitial.m
文件 2071 2006-10-30 02:20 LevelSet_ChunmingLi_v0\EVOLUTION.m
文件 801246 2006-02-03 16:17 LevelSet_ChunmingLi_v0\levelset_CVPR05.pdf
..A.SH. 6144 2007-03-20 14:23 LevelSet_ChunmingLi_v0\Thumbs.db
文件 16434 2004-07-23 19:36 LevelSet_ChunmingLi_v0\twocells.bmp
文件 8134 2004-07-05 18:59 LevelSet_ChunmingLi_v0\twoObj.bmp
目录 0 2007-03-20 14:23 LevelSet_ChunmingLi_v0
----------- --------- ---------- ----- ----
843917 10
评论
共有 条评论