资源简介
用于高噪声图像去噪很有用,程序都试过了,可以直接运行
代码片段和文件信息
function diff_sig = anisodiff1D(sig num_iter delta_t kappa option)
%ANISODIFF1D Conventional anisotropic diffusion
% DIFF_SIG = ANISODIFF1D(SIG NUM_ITER DELTA_T KAPPA OPTION) perfoms
% conventional anisotropic diffusion (Perona & Malik) upon 1D signals.
% A 1D network structure of 2 neighboring nodes is considered for diffusion
% conduction.
%
% ARGUMENT DEscriptION:
% SIG - input column vector (Nx1).
% NUM_ITER - number of iterations.
% DELTA_T - integration constant (0 <= delta_t <= 1/3).
% Usually due to numerical stability this
% parameter is set to its maximum value.
% KAPPA - gradient modulus threshold that controls the conduction.
% OPTION - conduction coefficient functions proposed by Perona & Malik:
% 1 - c(xt) = exp(-(nablaI/kappa).^2)
% privileges high-contrast edges over low-contrast ones.
% 2 - c(xt) = 1./(1 + (nablaI/kappa).^2)
% privileges wide regions over smaller ones.
%
% OUTPUT DEscriptION:
% DIFF_SIG - (diffused) signal with the largest scale-space parameter.
%
% Example
% -------------
% s = exp(-(-10:0.1:10).^2/2.5)‘ + rand(length(-10:0.1:10)1);
% num_iter = 15;
% delta_t = 1/3;
% kappa = 30;
% option = 2;
% ad = anisodiff1D(snum_iterdelta_tkappaoption);
% figure subplot 121 plot(s) axis([0 200 0 2]) subplot 122 plot(ad) axis([0 200 0 2])
%
% See also anisodiff2D anisodiff3D.
% References:
% P. Perona and J. Malik.
% Scale-Space and Edge Detection Using Anisotropic Diffusion.
% IEEE Transactions on Pattern Analysis and Machine Intelligence
% 12(7):629-639 July 1990.
%
% G. Grieg O. Kubler R. Kikinis and F. A. Jolesz.
% Nonlinear Anisotropic Filtering of MRI Data.
% IEEE Transactions on Medical Imaging
% 11(2):221-232 June 1992.
%
% MATLAB implementation based on Peter Kovesi‘s anisodiff(.):
% P. D. Kovesi. MATLAB and Octave Functions for Computer Vision and Image Processing.
% School of Computer Science & Software Engineering
% The University of Western Australia. Available from:
% .
%
% Credits:
% Daniel Simoes Lopes
% ICIST
% Instituto Superior Tecnico - Universidade Tecnica de Lisboa
% danlopes (at) civil ist utl pt
% http://www.civil.ist.utl.pt/~danlopes
%
% May 2007 original version.
% Convert input signal to double.
sig = double(sig);
% PDE (partial differential equation) initial condition.
diff_sig = sig;
% Center point distance.
dx = 1;
% 1D convolution masks - finite differences.
hW = [1 -1 0]‘;
hE = [0 -1 1]‘;
% Anisotropic diffusion.
for t = 1:num_iter
% Finite differences. [imfilter(..‘conv‘) can be replaced by
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 3650 2007-05-15 00:32 图像各向异性滤波去噪\anisodiff1D.m
文件 4901 2007-05-15 00:32 图像各向异性滤波去噪\anisodiff2D.m
文件 11335 2007-05-15 00:32 图像各向异性滤波去噪\anisodiff3D.m
文件 214 2011-05-19 13:32 图像各向异性滤波去噪\Unti
目录 0 2011-05-19 13:33 图像各向异性滤波去噪
----------- --------- ---------- ----- ----
20100 5
- 上一篇:matlab基于模糊集的图像增强方法
- 下一篇:匹配跟踪算法(matlab)
相关资源
- 匹配跟踪算法(matlab)
- matlab基于模糊集的图像增强方法
- 轮廓跟踪提取人体轮廓matlab代码
- 一百个matlab画图程序
- 汉密尔顿回路 汉密尔顿圈经典算法
- 雷达系统的移动目标定位仿真
- matlab pdetool for diffusion
- 基于反步法backstepping的船舶直线路径
- matlab 反演法/反步法 程序
- backstepping control 反步法/反演法 matla
- 神经电压缩感知matlab
- pam仿真
- jpeg压缩matlab实现
- bp神经网络matlab代码82083
- ASKFSKPSK的matlab仿真对比
- 2015年研究生数学建模竞赛B题MATLAB代码
- 添加椒盐和高斯噪声的MATLAB代码
- matlab2009b破解文件
- 用MATLAB实现MSK的调制与解调
- yalmip-cplex集成版
- Matlab 协同进化遗传算法解决多阶段决
- 三维装箱和VRP结合的MATLAB算法
- 传统传染病建模的matlab程序
- BFS 广度优先搜索算法 matlab
- matlab写的人工神经网络BP股价预测模型
- k-mean matlab
- 短时傅里叶变换的MATLAB代码
- 用Matlab实现的数字音频水印嵌入与提
- 信息论中各种熵的matlab实现
-
simuli
nk仿真bldc控制
评论
共有 条评论