91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

資源簡介

陷波器是一種特殊的帶阻濾波器,其阻帶在理想情況下只有一個頻率點,因此也被稱為點阻濾波器。這種濾波器主要用于消除某個特定頻率的干擾,例如,在各種測量儀器和數據采集系統中用于消除電源干擾的工頻陷波器。

資源截圖

代碼片段和文件信息

function?g?=?dftfilt(f?H?classout)
%DFTFILT?Performs?frequency?domain?filtering.
%???g?=?DFTFILT(f?H?CLASSOUT)?filters?f?in?the?frequency?domain
%???using?the?filter?transfer?function?H.?The?output?g?is?the
%???filtered?image?which?has?the?same?size?as?f.?
%
%???Valid?values?of?CLASSOUT?are
%
% ‘original‘ The?ouput?is?of?the?same?class?as?the?input.?
%???????????????This?is?the?default?if?CLASSOUT?is?not?included
%???????????????in?the?call.
% ‘fltpoint‘ The?output?is?floating?point?of?class?single?unless
%???????????????both?f?and?H?are?of?class?double?in?which?case?the
%???????????????output?also?is?of?class?double.
%
%???DFTFILT?automatically?pads?f?to?be?the?same?size?as?H.?Both?f
%???and?H?must?be?real.?In?addition?H?must?be?an?uncentered
%???circularly-symmetric?filter?function.??

%???Copyright?2002-2009?R.?C.?Gonzalez?R.?E.?Woods?and?S.?L.?Eddins
%???From?the?book?Digital?Image?Processing?Using?MATLAB?2nd?ed.
%???Gatesmark?Publishing?2009.
%
%???Book?web?site:?http://www.imageprocessingplace.com
%???Publisher?web?site:?http://www.gatesmark.com/DIPUM2e.htm

%?Convert?the?input?to?floating?point.
[f?revertClass]?=?tofloat(f);

%?Obtain?the?FFT?of?the?padded?input.
F?=?fft2(f?size(H?1)?size(H?2));

%?Perform?filtering.?
g?=?ifft2(H.*F);

%?Crop?to?original?size.
g?=?g(1:size(f?1)?1:size(f?2));?%?g?is?of?class?single?here.

%?Convert?the?output?to?the?same?class?as?the?input?if?so?specified.
if?nargin?==?2?||?strcmp(classout?‘original‘)
???g?=?revertClass(g);
elseif?strcmp(classout?‘fltpoint‘)?%?g?is?floating?point?already.
???return
else
???error(‘Undefined?class?for?the?output?image.‘)
end


?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件???????1697??2013-10-22?00:41??源碼\dftfilt.m

?????文件???????2191??2013-10-22?00:41??源碼\gscale.m

?????文件????????560??2014-10-27?14:51??源碼\main.m

?????文件???????3938??2014-10-27?11:09??源碼\recnotch.m

?????文件???????1132??2013-10-22?00:41??源碼\tofloat.m

?????目錄??????????0??2014-11-06?15:51??源碼

-----------?---------??----------?-----??----

?????????????????9518????????????????????6


評論

共有 條評論