【信号去噪】基于NLM时间序列心电信号去噪附matlab代码

1 简介

作为一种信号预处理手段,信号去噪在众多信号处理应用中发挥着重要的作用.到目前为止,信号去噪问题被大量研究,并取得了许多重要成果,涌现出了包括非局部均值(NLM)去噪算法在内的一批优秀的去噪方法.值得一提的是,相比于传统的局部去噪算法,非局部均值去噪算法有着更好的去噪性能和更好的信号细节保留能力. 

2 部分代码

function [denoisedSig,debug] = NLM_1dDarbon(signal,lambda,P,PatchHW)

% function [denoisedSig,debug] = NLM_1dDarbon(signal,lambda,P,PatchHW)

% Implements fast NLM method of Darbon et al, for a 1-D signal

% INPUTS:

% signal: input signal (vector)

% lambda: Gaussian scale factor

% P: max search distance

% PatchWH: patch half-width

% OUTPUTS:

% denoisedSig: the NLM-denoised signal

% debug: structure containing various quantitities that can help debug

%

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% &

你可能感兴趣的:(信号处理,Matlab各类代码,matlab,开发语言,fpga开发)