资源简介
图像分割中常用的水平集方法的matlab源代码
代码片段和文件信息
function [kappa] = curvature(phi dx dy)
%
% function [kappa] = curvature(phi dx dy)
%
% Calculates the curvature of the function phi(xy)
%
% Author: Baris Sumengen sumengen@ece.ucsb.edu
% http://vision.ece.ucsb.edu/~sumengen/
%
dx2 = dx*dx;
dy2 = dy*dy;
phi_xp1 = zeros(size(phi));
phi_xm1 = zeros(size(phi));
phi_yp1 = zeros(size(phi));
phi_ym1 = zeros(size(phi));
phi_xp1(:2:end) = phi(:1:end-1);
phi_xp1(:1) = 2*phi_xp1(:2)-phi_xp1(:3);
phi_xm1(:1:end-1) = phi(:2:end);
phi_xm1(:end) = 2*phi_xm1(:end-1)-phi_xm1(:end-2);
phi_yp1(2:end:) = phi(1:end-1:);
phi_yp1(1:) = 2*phi_yp1(2:)-phi_yp1(3:);
phi_ym1(1:end-1:) = phi(2:end:);
phi_ym1(end:) = 2*phi_ym1(end-1:)-phi_ym1(end-2:);
phi_x = (phi_xm1 - phi_xp1)/(2*dx);
phi_y = (phi_ym1 -
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
....... 1730 2005-05-05 00:00 LevelSetMethods\evolve_normal_vector_ENO1_SD.m
....... 1302 2005-05-05 00:00 LevelSetMethods\evolve_normal_vector_ENO1.m
....... 1463 2005-05-05 00:00 LevelSetMethods\evolve_normal_ENO3.m
....... 1461 2005-05-05 00:00 LevelSetMethods\evolve_normal_ENO2.m
....... 1463 2005-05-05 00:00 LevelSetMethods\evolve_normal_ENO1.m
....... 1749 2005-05-05 00:00 LevelSetMethods\evolve_kappa.m
....... 11010 2005-05-12 07:10 LevelSetMethods\evolve2D.m
....... 1600 2005-05-05 00:00 LevelSetMethods\der_WENO_plus.m
....... 1602 2005-05-05 00:00 LevelSetMethods\der_WENO_minus.m
....... 1521 2005-05-05 00:00 LevelSetMethods\der_ENO3_plus.m
....... 1525 2005-05-05 00:00 LevelSetMethods\der_ENO3_minus.m
....... 1246 2005-05-05 00:00 LevelSetMethods\der_ENO2_plus.m
....... 1250 2005-05-05 00:00 LevelSetMethods\der_ENO2_minus.m
....... 618 2005-05-06 00:00 LevelSetMethods\der_ENO1_plus.m
....... 624 2005-05-05 00:00 LevelSetMethods\der_ENO1_minus.m
....... 1786 2005-05-05 00:00 LevelSetMethods\curvature.m
....... 408 2005-05-05 00:00 LevelSetMethods\get_dt_normal_vector_kappa.m
....... 363 2005-05-05 00:00 LevelSetMethods\get_dt_normal_vector.m
....... 399 2005-05-05 00:00 LevelSetMethods\get_dt_normal_kappa.m
....... 356 2005-05-05 00:00 LevelSetMethods\get_dt_normal.m
....... 360 2005-05-05 00:00 LevelSetMethods\get_dt_kappa.m
....... 673 2005-05-05 00:00 LevelSetMethods\evolve_vector_WENO.m
....... 672 2005-05-05 00:00 LevelSetMethods\evolve_vector_ENO3.m
....... 672 2005-05-05 00:00 LevelSetMethods\evolve_vector_ENO2.m
....... 674 2005-05-05 00:00 LevelSetMethods\evolve_vector_ENO1.m
....... 1465 2005-05-05 00:00 LevelSetMethods\evolve_normal_WENO.m
....... 1640 2005-05-05 00:00 LevelSetMethods\evolve_normal_vector_WENO_SD.m
....... 1302 2005-05-05 00:00 LevelSetMethods\evolve_normal_vector_WENO.m
....... 1642 2005-05-05 00:00 LevelSetMethods\evolve_normal_vector_ENO3_SD.m
....... 1304 2005-05-05 00:00 LevelSetMethods\evolve_normal_vector_ENO3.m
............此处省略29个文件信息
- 上一篇:蒙特卡洛的matlab实现
- 下一篇:数字信号处理matlab习题答案
评论
共有 条评论