17§7-4.SignalRepresentation:AMultiresolutionAnalysis7.4.1.SpacesVnandPropertiesVn=thesetoffunctionwhoareconstanton)21,2[nnkk,kZ)317(),2(22ZkktspannnPropertiesVinbasislorthonormaanisZkktBasisVMaximalityRLVDensityneachforVVInclusionVtfVtfScalingZnnZnnnnnn),(:}0{:)(::)2()(:2117.4.2.SpacesWnandPropertiesnnnnnnWinbasislorthonormaanisneachforZkktwhereZkktspanW),2(2),2(222PropertiesnZnnnnnnnnnnnnn1221121limlimlim)(不仅是简单的叠加,而是重组,合成向量Daubechies小波产生的Wn比Haar的要好Note:VnandVmarenotorthonormal;ButnnmnWVAndWW187.4.3.WaveletDecompositionofSignalsFromthesecondpropertyonlastsection,oneconcludesthatZnZkktnn,),2(22isanorthonormalbasisinL2(R).Henceforanyf(t)L2(R),)327()(ˆ)(ˆ),()(,,nkknkntttftfwhere)2(2)(ˆ2,kttnnkn(Haarbasis)Formanypracticalsignals,thereoftenaremanysmallwaveletcoefficients.SothatthesignalcanberepresentedwithtrancatedwaveletserieswithfewertermsthanitsFourierseriesrequires.[seetheaboveexampleon7.2.2s(t)=exp(-10t)sin(100t)]HaarBasisforL2[0,1)TheHaarbasisn,kgivenon7.4.3isforL2(R).Theycanbeusedtodefinedperiodicwavelets:)337())(2(2)(~2,ZjnnknkjttTheoremFunctions1andkn,~withn0,k=0,1,...,2n-1formanorthonormalbasisforL2[0,1).Similarly,periodicscalingfunctionscanbegeneratedas)347())(2(2)(~2,Zjnnknkjtkforn0,andk=0,1,...,2n-1.7.4.4.FastHaarTransformConsiderasignal11)(nnnWVVtf.Wewanttodecomposef(t)intoitemsinVn-1andWn-1.Thisistosay:GivenZkknnkttf)(ˆ)(,)(,wewanttocompute)1(nkand)1(nksuchthat)357()(ˆ)(ˆ)(,1)1(,1)1(ZkknnkZkknnktttf19where)2(2ˆ),2(2ˆ2,2,ktktnnknnnknNoteZkZkknkn,ˆ,ˆ,1,1formsanorthonormalbasisforVn.Therefore,)2(2),(,)2(2),(12)1()1(12)1()1(ktttfkttfnnnknnnkTheDEandWEleadtoabeautifulsetofrelationsbetweenthesecoefficients.Recall)()12()2()(DEttt)()12()2()(WEttt(平移)))12(2()22()(ktktkt))12(2()22()(ktktkt(伸缩)))12(2()22()2(1ktktktnnn))12(2()22()2(1ktktktnnn(长度归一化)))12(2(2)22(221)2(22212)1(ktktktnnnnnn))12(2(2)22(221)2(22212)1(ktktktnnnnnn12,212,21,1ˆˆˆknknkn12,212,21,1ˆˆˆknknkn20故有如下迭代公式)(1221)(22112,212,21,1)1(ˆ,ˆ,ˆ,nknkknknknnkfff)(1221)(221)1(nknknkNowweobtain)367()(1221)(221)1(anknknk)367()(1221)(221)1(bnknknk此即S.Mallat1989年给出的多分辨率分析的方程(MRA)或为)377()(12)(221212121)1()1(nknknknkW此处的W为正交矩阵,即(MRA)矩阵形式,它阐明了正交双方的可逆计算。AFilter-BankImplementationofMRAIfwereferindex2k+1as“thepresenttimeinstant”,then2kisanindexrepresentingthe“immediatepast”.So,theequations(MRAseethelastsection)canbeimplementedasfollows:21TheMRAcanbecarriedoutwithnlevelsforsignalsoflengthN=2n.Thisdecompositionprocessis“reversible”:Onecanuse)1()0()0(,,,ntoperfectlyreconstructtheoriginalsignal)(n.Again,weusethe(DE)and(WE)toaccomplishthereconstruction:)ˆ21ˆ21()ˆ21ˆ21(ˆˆˆ12,2,)1(12,2,)1(,1)1(,1)1(,)(knknknkknknknkknknkknknkknknkIfk=even:(比较相同基函数的系数应相等))387(]0[]0[21)1(2/2121)1(2/21)1(2/21)1(2/21)(anknknknknkIfk=odd:)387](0[]0[)1(2/)1(2121)1(2/)1(2121)(bnknknk此处相当于补零形成向量,再通过高、低通滤波器得更精确的系数。22Thissuggestsafilter-bankimplementationforthereconstruction:first)1(nand)1(nareup-sampledbypaddingazerobetweeneachpairofsamplestheup-sampled)1(nand)1(narethenfedintoalowpassandahighpassFIRfilters,respectively,andthefilteredsequencesarecombinedtogenerate)(n.★TheimpulseresponseofH0(z)andH1(z)matchthecoefficientsif(DE)and(WE),respectively;★ThefiltersH0(z)andF0(z),andthefiltersH1(z)andF1(z)aremirror-imagesymmetric.Then-levelMRAisnowcompletewithadecompositionphaseandareconstructionphase:23§7-5.ImprovedWavelets:AFilter-BankApproach7.5.1.WaveletsviaDilationEquationsTodiscovernewandimprovedwavelets,letussupposethat)(tisabetterscalingfunction.UsingMRA,werelate)(ttothespacesVn:)397(),2(22ZkktspanVnnnSince10VV,)(tcanbeexpressedas:kkDEktct)()2(2)(As10VW,weshouldhavekkWEktdt)()2(2)(Hereweconsiderthecasewhenonlyfinitenumberofsck'andsdk'arenonzero:)()2(2)(0DEktctKkk)()2(2)(0WEktdtKkk24Ifwerequire)}({ktorthonormal,then1,0,)]2()][2([2)()()(2mccdtltcktcdtmttmkmkkllkkInaddition,weimposethe“alternatingflip”assumptiononsdk':KkcdkKkk,,1,0,)1(Since0)(dttWeobtainKkkKkKkkKkcdtktcdtt00)1(21)2()1(2)(011,0),(2mmcckmkk)2(0)1(0KkkKkcExample-1(K=1case)Inthiscaseonehasonlytwononzerocoefficients:c0andc1satisfying25)(210101012120WaveletHaarccccccExample-2(K=3case)Inthiscase,nonzerocoefficientsare:c0c1c2andc3satisfying)(0)(0)(10123312023222120cccccbccccaccccOnecanimposeonemoreconditiononsck'inordertomakethewaveletmore“regular”(smooth):0)(dtttwhichleadsto)'(00dkdKkk)(032012dcccHereishow(d’):26kkkkkkkkkkkkkkkkkkkddkdddttdtttkddtktkktddtkttddtkttd