資源簡介
基于形態學濾波去噪matlab代碼

代碼片段和文件信息
function?[denoised]?=?morphological(x)
%?Code?written?and?published?by?Aditya?Sundar?Texas?Instruments
%?This?code?can?be?used?to?morpholgically?filter?an?image
%?This?code?also?plots?the?inputs?and?the?outputs??
%?based?on?the?amount?of?noise?present?in?the?signal?and?the?type?length?of?the?time?series?the?size?of?the?structuring?element?should?be?changed
%?More?the?width?of?the?white?portion?Structuring?element?more?is?the?
%??filtering
%Larger?the?size?of?the?SE?more?is?the?filtering?also
%?Incase?of?any?queries?please?email?me?at?:?aditsundar@gmail.com?
%demo?script
%?x?=xlsread(‘noisy.xlsx‘);?????
%?denoised=?morphological(x);
%?Original?idea?for?the?same?was?developed?by?:
%Rishendra?Verma??Rini?Mehrotra?Vikrant?Bhateja?A?New?Morphological?Filtering?Algorithm?for?Pre-Processing?of?Electrocardiographic?Signals?Lecture?Notes?in?Electrical?Engineering?Volume?1?Pg.193-201?(2013)?%doi?:?10.1007/978-81-322-0997-3_18
%Please?rate?if?you?find?useful
plot(x)
title(‘noisy?signal‘);
SE=zeros(1010);
for?i=4:6
????for?j=1:10
????????SE(ij)=1;
????end
end
for?j=4:6
????for?i=1:10
????????SE(ij)=1;
????end
end
imtool(SE);
????
IM2?=?imtophat(xSE);
%plot(IM2); %Morphologically?estimated?noise
denoised=?x-IM2;
figure(2)
plot(denoised);
title(‘denoised?signal‘);
end
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????????1352??2015-05-02?00:34??Morphological?signal?filtering\morphological.m
?????文件???????64796??2015-08-24?16:48??Morphological?signal?filtering\Noisy.xlsx
?????文件???????70986??2015-11-25?00:39??Morphological?signal?filtering\ti
?????文件????????1520??2015-09-23?13:52??license.txt
- 上一篇:圖像超分辨重建matlab代碼
- 下一篇:PolarCode.zip
評論
共有 條評論