Docsity
Trusted Seller

Digital Signal and Image Processing - Computer Science, Appunti di Elettronica Digitale

Anteprima parziale del testo

Scarica Digital Signal and Image Processing - Computer Science e più Appunti in PDF di Elettronica Digitale solo su Docsity!

40 ottobre 2011 * Refresh Algebra concept by myself. - Theory + labs * MON, WED, THu 9-10.45 rpumemis : - Fourier series Fourier Transform avd Sa mpli Linear Time Invariant Systems kalman filtering dille Ju [el pe 6 Ke eye lets ASSIGNMENT #1 Images as 20 Sifnals Imape Filters Imate_ Feature $ Applications ASSIGNMENT #2 J = n0 project +his year (am do them in avy way, no fime restricHton. The exam is a discussion abont what we have written. EXAM: submit the assignmemts almost a week before. © Maths question. © Disuss Assignments. Prot. Alessandro Verri : room 201 dsp- notes => notes about the course writiem by Nervi. 4) Math Minimalia: - Gwaplex rwmbers - Linear spaces - igganoa by parts See my notes on the folder "Haths minimalia”. 2) Fourier series > in this note: Fourier Series: Signals cam be repreguted as a discrete set of numbers. sis (47 t:T this 15 3 Continuous signal > is a funchion Cnon- countable ruw ber of values) (GP eur :it com be represented ss a Aiscrele pt F rumbers GA Thy are the projechion of the signal interpreted >s vettors over a basis. > We know that a vector ® in a Euclidean linear space V of dimension N Com be represented by N real numbers Va,.... Un GO They are the projections of 1 on each of the N mutaaliy orthogonal mit vectors e£,... &à which For an orthonormal basis for V. SO: Bed 4 V: Eucubear LineAR Seace The vector + can be wrillem as: g > > >» N: Dinension of V vie Un On 0 i i i am BEPIECON, en FRE NEAZ space ORTHOGONAL VIT VECIORS OF THE BASIS na (REAL NUMBERS) * Each vector è in V cau be writtm as a linear combination of +he basis clememts. * This brinps us to a remarkable result: linear combi nation of a Fixed and countable set of Funchions aud thus reprecented by a discrete seauence of real numbers v Components of the Funchion ® in some fixed basis. [tal piece - wise. continuous funclion can be wrillem as a . (na. durinp dhe course this sum will be an so sum ) > 5 DS > v =IViei = Vili + Vale IF you now_mulkiply vi +imes ti sud Ve times è2 you get the representation of the vector 3. N&: Fa is again a piece-wise confinuous fenchion as fa, fa È If we take a linear combinati of piece - wise continuous Functions we get a piece - wise continuous. fnction: 5 V is a Linear Space | CALAR_FRODULT È VEE A sel + A vector 7 - 2 men 69 h=1L » Scalar product between vectors: N > <%,U >= 2 van n=41 = Vedi Tia in fact: 88: Scalar product between clemouts of a basis: PIAN >= o > becavwe they're orthogonal > > = 1 > <> 1 Y > IF we have tuo continuous function £ sud g Since we're thinking in “dipital Fnerms" we cau break the intervalli im which +he +wo “Funchons pré defined > discretization. IA © "Mi (C) LA ° | il i Now we have a discrete set of foints M intervals of length 4/M li enenocaanazeneato NaLZI » gL H intervals_ of leugth Yh NA His like ha vinp a fiece -wise Funclion where! each constant is fa Ò fi à b ° 1 #_||7d L=" = 2 Fta)p(ti) (34 £4= © |Nnest eveWent Li of fo flat) dad y Multiply fne g'otem. of P_with the 4 elem of p_, then sum the 2 elem of F mulkiplied with the 2 e@&wm off -... this. for every element of the two functiods. o| Vsecono crenenr £ of Pi Flat) isa Deride the interval in au 00 Y number of interv ls. - when H->0 we have do doide by M: N fav AZ Fb) = [FOA dt e dg THEdy ) j 8 RZ 27 i 7 3 la cachi point we multiply He tuo fonchous DUaEEE) 4 > IF - fFOgidt so || fp orthoponal finckous V Instead of take Cos) as terval, we ue Em] the richidal will be “Harmonies" Panel I S \ND.{ (Basesi * Definition: orthogonal amd orthonormal system of Funchous: eZ (Fn, fim) =0 VanmelnN: then : $={%,g2,....} is an orthgonal system. è if (dada)= 1 Yn elN: then S:1%,d1,....=Sg is an orthonormal cystem. EX: > IF we consider the in bJ=[-1,+7] For the syetemof \ PIP) vi er ° - constant function | Ici “Jr ch, do> > Sp FM - 2T-4 cd -t > Even Funchions E f(-4) W) INTEGRAZIONE PER PARTI: Jitog) = Fg) - [ Fg +T 4 Era E alen-(391- aleggia = opp functions ( FLE) = FC-t) a a sint) sin(24) my {n Vi +T if nz41 35 -4 = = | sint ì Gina = di fade J ind sint di +T = 4 | sint -sintd& = 41 as before In NW “ so: = 4 > Since we have that (da,gn)=1 VnelN holds > gd, gt Li = dA m fa Il - E lislan orthono : ca Ki 2 Infinite set k e puglia of levgth L With n= 4,...,%9 Fanz4 = sinnx -iÉ you anda Giai din> =1 EX. «sO di> = Nast costi fat lhi sai an orthonormal 1 {eo this is System of Functions * if you compate A gin-17 = 1 because this is © es: = NW compute it =0 iS compnte it 27 We will find that the st of finchion is an ortlonormal basis we com write with it all fe piece - wise Finchons. Fl) | gl) CILIICI , lm cu | Fm: 7A] 400 [FRI + variable of s becawse Vis a dummy inder. cwl_|, Thig integral is always aero becaue te +wo signals dont overla f Whea s 16 nogalive the cedauple rega is shiFted o Fhe right, the two +cisugle start to overiap so the inter cal is 40. Î 7 shape of whal we get computinp the integral. __ {me equal signals I differeut signal tmside the windows : in windows in the same time interval «1 Write doum 40 lines what Fourier Series is about er] Tuo pieces : Be able to fon K Ravdom numbers pafer compute some PT. (with Delta or Aliasing part: with ocponentials) e plain what aliaste is: al Va IT. ci ANIMA sawpirg frequency NO ALIASING no supe rimpositioa ALIASING Reglicas are overla pped Tix samflivo rote > result will depends on the 4 sipual we chose. Search value for 3 constant for which we have or we dout have abiasivo. > tore difficult not to go aliasìnf > SGegper not bo gi alimsirg (Narrower Since ) [Srl] Filterivg - Convation - Pick a filfer from © random class aud verify comoutian Theanw. - Cowpute rr. bilter, £T signal > frodut + inverse fr v chack if is oqual to? 03/41/22 EXAMPLE of LTI SYSTEM CAVSAL: When we aee a voltage Vin, a current starts flowinp and we can think at it like water Flowing. R In ( c xE Î Vout Ri resistance > drop in the voltage C: Capautor ha }; A+: R Vin cr x * We have that: Vinput = Ve +Ve| 69 - we want fo discover +he relation between Vin and Vout: We know: Ve = Rega —> voltage drop in the resistor Ve = A(4) = Vout(t) voltage at the plates of a [2 capacitor ilt)= dalt) = _. current that flows în the di Rc carcuit > We rewrite 6) with what we know: Vv Vinput = Va +e becomes: Vinput (£)= Rdalt) | g(H) di c If we call: Ve = A = Von we have: E Vinput (©)= RC dVoutlt) + Voutlt) dt J dimensions analy sis we get: d Vont (4) ef + 4 Vowtlt) ei > it cau be writteu as di Ù a derivatine. doti) ef 4 4l vatto)le L |4| [ot el] di Do & - Do he same thing on the other part of the equahiou GA (muttiply the left Side by eve) 4 Now (4) e? = d [ Vout(t) e] st dt - Ne integrate both sides of he equafion: Vost (4) e = 4 Tio et nl = 00 -(-5) t > Vk®=1) Vinput (Je 7 ds for t=s -0%0 1 t 7 Ne thus obtain that \out is the convolution between Vinput ad the impulse respouse : v hl) = 1 U(t) Radio > How fast it goes bo aero depends on ©. va UNIT STEP Lit eusures that h(t)=o for t<0 IH is a causal respouse, (it is 0 for t<0), This is the typical response out of a system like the one we have cousidered. > A system like that is clearly linear, time - invariant ad cawsal. Note: We expect a complex FT. because iis not an even Funchon. Vow(w) = Vin(w) H(w) Fourier Ttrausformi Vowt(w) = Vinlw) H(w) +0 +0 +99 tir cit tr -iut AV TARE? Si it IZ NP e O iii a ES T 00 vo To v v unit step before o the 7 unit step iso its derivative 1 t(%v +iu) t(4/0 +24) Puri CSA cl TtAW db (prin) . +00 sl4l=# MAACIZO) “lg | %, - 4 - a U 1A +iw o I EZIENZONI L+4wT So the integral when È gets will be bigger tha real is (4- wr) part goes too Prc > first example cf filter! 1 (1440t1- dt) mulk py and devide by complex Congiupate. > with this result we have: > Vowt(w)= Vin(w)_41_ è Varta” y The higher the frequency, the strouper the attenuatiom in the module. LOW PASS FILTER Amt 14 ri + + T > high freg cut The high frequencies are depressed. * Nelta could be thought as a distribution and so we can write an input signal fi(t) as an infinite sum of impulses: +00 Fi) = [EOsa-9 ds < way to write filt) Cinpur funchon) that in our case is an impulse. * What ha pps if we feed +he system with fi (£)? We use the linearity of the integral and the time invariance property. So we have: fol) = Yi] 5 2IJ0Sk-94] = {Et Is -5)] ds 3 sp the inte gral is linear = Sho h(t-5) ds Ts È impulse response -So we have found tati | [fim] Seh0-394s Ci * This equalion tells us that the outputof an uri system can be obtained as the convolution of the input with the impulse response. + So do compute the output folk) of an uri system fora iven input fil) we only need to know +he impulse resfonse hl). V + So for ail the function in input we cam com pate the out put if we Enow tne impulse response. by talinp the convohbm between it aud the input. ‘In frequency domain: F. (w) = Fi(w)H(w) hlt-s) =0 for t-s<0 (ht) =0 for t<0) So when t