Beeldverwerking Prof. dr. ir. W. Philips Didactisch materiaal bij de cursus Academiejaar 2010-2011

Slides:



Advertisements
Verwante presentaties
Atos, Atos and fish symbol, Atos Origin and fish symbol, Atos Consulting, and the fish itself are registered trademarks of Atos Origin SA. August 2006.
Advertisements

Didactisch materiaal bij de cursus Academiejaar Tel: 09/ Fax: 09/
Een alternatief voorstel Naar aanleiding van bestudering van de IAASB voorstellen denkt de NBA na over een alternatief. Dit alternatief zal 26 september.
Accessible Instructional Materials. § Discussion: Timely access to appropriate and accessible instructional materials is an inherent component.
SQL injections en meer... PERU. web application vulnerabilities Cross Site Scripting (21.5%) SQL Injection (14%) PHP includes (9.5%) Buffer overflows.
Didactisch materiaal bij de cursus Academiejaar Tel: 09/ Fax: 09/
Telecommunicatie en Informatieverwerking UNIVERSITEIT GENT Didactisch materiaal bij de cursus Academiejaar
Beeldverwerking Prof. dr. ir. W. Philips Didactisch materiaal bij de cursus Academiejaar
Beeldverwerking Prof. dr. ir. W. Philips Didactisch materiaal bij de cursus Academiejaar
Beeldverwerking Prof. dr. ir. W. Philips Didactisch materiaal bij de cursus Academiejaar
Beeldverwerking Prof. dr. ir. W. Philips Didactisch materiaal bij de cursus Academiejaar
Telecommunicatie en Informatieverwerking UNIVERSITEIT GENT Didactisch materiaal bij de cursus Academiejaar
Beeldverwerking Prof. dr. ir. W. Philips Didactisch materiaal bij de cursus Academiejaar
Telecommunicatie en Informatieverwerking UNIVERSITEIT GENT Didactisch materiaal bij de cursus Academiejaar
Telecommunicatie en Informatieverwerking UNIVERSITEIT GENT Didactisch materiaal bij de cursus Academiejaar
SAP Best Practices Pasklare branchespecifieke en brancheoverkoepelende expertise Beschikbaar heid voor klanten en partners van SAP.
Vrije Universiteit amsterdamPostacademische Cursus Informatie Technologie Universal Modeling Language … why you need models? Models are necessary to communicate,
Tussentoets Digitale Techniek. 1 november 2001, 11:00 tot 13:00 uur. Opmerkingen: 1. Als u een gemiddeld huiswerkcijfer hebt gehaald van zes (6) of hoger,
Deltion College Engels En Projectopdracht [Edu/001] thema: research without borders can-do/gesprekken voeren : 1. kan eenvoudige feitelijke informatie.
Deltion College Engels B1 Schrijven [Edu/004]/ subvaardigheid lezen thema: reporting a theft can-do : kan formulieren waarin meer informatie gevraagd wordt,
Optimalisatietechnieken
Beeldverwerking Prof. dr. ir. W. Philips Didactisch materiaal bij de cursus Academiejaar
Beeldverwerking Prof. dr. ir. W. Philips Didactisch materiaal bij de cursus Academiejaar
Telecommunicatie en Informatieverwerking UNIVERSITEIT GENT Didactisch materiaal bij de cursus Academiejaar
Kantoorautomatisering Prof. dr. ir. W. Philips Didactisch materiaal bij de cursus Academiejaar
Didactisch materiaal bij de cursus Academiejaar Tel: 09/ Fax: 09/
Didactisch materiaal bij de cursus Academiejaar Tel: 09/ Fax: 09/
Telecommunicatie en Informatieverwerking UNIVERSITEIT GENT Didactisch materiaal bij de cursus Academiejaar
Didactisch materiaal bij de cursus Academiejaar Tel: 09/ Fax: 09/
Beeldverwerking Prof. dr. ir. W. Philips Didactisch materiaal bij de cursus Academiejaar
Beeldverwerking Prof. dr. ir. W. Philips Didactisch materiaal bij de cursus Academiejaar
Telecommunicatie en Informatieverwerking UNIVERSITEIT GENT Didactisch materiaal bij de cursus Academiejaar
Telecommunicatie en Informatieverwerking UNIVERSITEIT GENT Didactisch materiaal bij de cursus Academiejaar
Didactisch materiaal bij de cursus Academiejaar Tel: 09/ Fax: 09/
Beeldverwerking Prof. dr. ir. W. Philips Didactisch materiaal bij de cursus Academiejaar
Beeldverwerking Prof. dr. ir. W. Philips Didactisch materiaal bij de cursus Academiejaar
Telecommunicatie en Informatieverwerking UNIVERSITEIT GENT Didactisch materiaal bij de cursus Academiejaar
Kantoorautomatisering Prof. dr. ir. W. Philips Didactisch materiaal bij de cursus Academiejaar
Telecommunicatie en Informatieverwerking UNIVERSITEIT GENT Didactisch materiaal bij de cursus Academiejaar
Beeldverwerking Prof. dr. ir. W. Philips Didactisch materiaal bij de cursus Academiejaar
Rational Unified Process RUP Jef Bergsma. Iterations –Inception –Elaboration –Construction –Transition De kernbegrippen (Phases)
Kantoorautomatisering Prof. dr. ir. W. Philips Didactisch materiaal bij de cursus Academiejaar
Beeldverwerking Prof. dr. ir. W. Philips Didactisch materiaal bij de cursus Academiejaar
Didactisch materiaal bij de cursus Academiejaar Tel: 09/ Fax: 09/
Didactisch materiaal bij de cursus Academiejaar Tel: 09/ Fax: 09/
Beeldverwerking Prof. dr. ir. W. Philips Didactisch materiaal bij de cursus Academiejaar
Telecommunicatie en Informatieverwerking UNIVERSITEIT GENT Didactisch materiaal bij de cursus Academiejaar
Telecommunicatie en Informatieverwerking UNIVERSITEIT GENT Didactisch materiaal bij de cursus Academiejaar
Didactisch materiaal bij de cursus Academiejaar Tel: 09/ Fax: 09/
Didactisch materiaal bij de cursus Academiejaar Tel: 09/ Fax: 09/
Beeldverwerking Prof. dr. ir. W. Philips Didactisch materiaal bij de cursus Academiejaar
Beeldverwerking Prof. dr. ir. W. Philips Didactisch materiaal bij de cursus Academiejaar
Beeldverwerking Prof. dr. ir. W. Philips Didactisch materiaal bij de cursus Academiejaar
Kantoorautomatisering Prof. dr. ir. W. Philips Didactisch materiaal bij de cursus Academiejaar
Beeldverwerking Prof. dr. ir. W. Philips Didactisch materiaal bij de cursus Academiejaar
Kantoorautomatisering Prof. dr. ir. W. Philips Didactisch materiaal bij de cursus Academiejaar
Beeldverwerking Prof. dr. ir. W. Philips Didactisch materiaal bij de cursus Academiejaar
Beeldverwerking Prof. dr. ir. W. Philips Didactisch materiaal bij de cursus Academiejaar
Didactisch materiaal bij de cursus Academiejaar Tel: 09/ Fax: 09/
Beeldverwerking Prof. dr. ir. W. Philips Didactisch materiaal bij de cursus Academiejaar
Beeldverwerking Prof. dr. ir. W. Philips Didactisch materiaal bij de cursus Academiejaar
Beeldverwerking Prof. dr. ir. W. Philips Didactisch materiaal bij de cursus Academiejaar
Beeldverwerking Prof. dr. ir. W. Philips Didactisch materiaal bij de cursus Academiejaar
Beeldverwerking Prof. dr. ir. W. Philips Didactisch materiaal bij de cursus Academiejaar
Didactisch materiaal bij de cursus Academiejaar Tel: 09/ Fax: 09/
Beeldverwerking Prof. dr. ir. W. Philips Didactisch materiaal bij de cursus Academiejaar
Telecommunicatie en Informatieverwerking UNIVERSITEIT GENT Didactisch materiaal bij de cursus Academiejaar
Telecommunicatie en Informatieverwerking UNIVERSITEIT GENT Didactisch materiaal bij de cursus Academiejaar
Telecommunicatie en Informatieverwerking UNIVERSITEIT GENT Didactisch materiaal bij de cursus Academiejaar
Didactisch materiaal bij de cursus
Transcript van de presentatie:

Beeldverwerking Prof. dr. ir. W. Philips Didactisch materiaal bij de cursus Academiejaar Tel: 09/ Fax: 09/

© W. Philips, Universiteit Gent, versie: 17/11/ a. 2 Copyright notice This powerpoint presentation was developed as an educational aid to the renewed course “Image processing” (Beeldverwerking), taught at the University of Gent, Belgium as of This presentation may be used, modified and copied free of charge for non-commercial purposes by individuals and non-for-profit organisations and distributed free of charge by individuals and non-for-profit organisations to individuals and non-for-profit organisations, either in electronic form on a physical storage medium such as a CD-rom, provided that the following conditions are observed: 1.If you use this presentation as a whole or in part either in original or modified form, you should include the copyright notice “© W. Philips, Universiteit Gent, ” in a font size of at least 10 point on each slide; 2.You should include this slide (with the copyright conditions) once in each document (by which is meant either a computer file or a reproduction derived from such a file); 3. If you modify the presentation, you should clearly state so in the presentation; 4.You may not charge a fee for presenting or distributing the presentation, except to cover your costs pertaining to distribution. In other words, you or your organisation should not intend to make or make a profit from the activity for which you use or distribute the presentation; 5. You may not distribute the presentations electronically through a network (e.g., an HTTP or FTP server) without express permission by the author. In case the presentation is modified these requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the presentation, and can be reasonably considered independent and separate works in themselves, then these requirements do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the presentation, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. In particular note that condition 4 also applies to the modified work (i.e., you may not charge for it). “Using and distributing the presentation” means using it for any purpose, including but not limited to viewing it, presenting it to an audience in a lecture, distributing it to students or employees for self-teaching purposes,... Use, modification, copying and distribution for commercial purposes or by commercial organisations is not covered by this licence and is not permitted without the author’s consent. A fee may be charged for such use. Disclaimer: Note that no warrantee is offered, neither for the correctness of the contents of this presentation, nor to the safety of its use. Electronic documents such as this one are inherently unsafe because they may become infected by macro viruses. The programs used to view and modify this software are also inherently unsafe and may contain bugs that might corrupt the data or the operating system on your computer. If you use this presentation, I would appreciate being notified of this by . I would also like to be informed of any errors or omissions that you discover. Finally, if you have developed similar presentations I would be grateful if you allow me to use these in my course lectures. Prof. dr. ir. W. Philips Department of Telecommunications and Information ProcessingFax: University of GentTel: St.-Pietersnieuwstraat 41, B9000 Gent, Belgium

Beeldtransformaties

© W. Philips, Universiteit Gent, versie: 17/11/ a. 4 Beeldtransformaties Elk beeld b ( x,y ) van MN pixels kan worden geschreven als een lineaire combinatie van exact MN lineair onafhankelijke basisbeelden p i ( x,y ) x 012 M- 1 b ( x,y ) y N- 1 Het stelsel heeft een unieke oplossing voor elk willekeurig beeld b ( x,y )  de basisfuncties zijn lineair onafhankelijk geldt alleen als alle c i = 0 zijn Probleem: 0.66( MN ) 3 berekeningen voor het oplossen van het stelsel  veel te traag voor praktische beelden (b.v. M=N= 256) Bij gegeven basisfuncties p i ( x,y ) berekent men de a i voor een gegeven beeld b ( x,y ) door oplossen stelsel MN vergelijkingen MN onbekenden MN×MN vaste getallen

© W. Philips, Universiteit Gent, versie: 17/11/ a. 5 Beeldtransformaties in vectornotatie De coëfficiënten a i bepalen éénduidig het beeld b ( x,y ) De omzetting b ( x,y )  a i heet een lineaire transformatie Soms is het nuttig de pixels van het beeld en de coëfficiënten te rangschikken in kolomvectoren b en a  inverse transformatie wordt b=Pa

© W. Philips, Universiteit Gent, versie: 17/11/ a. 6 Orthogonale transformaties Bij een orthogonale transformatie is de basismatrix P orthogonaal: P t P=I en zijn de basisfuncties p i ( x,y ) orthonormaal: Parseval geldt (cfr. Fouriertransformatie): (in totaal 2( MN) 2 ipv. 0.66( MN) 3 bewerkingen!) 0 als i ≠j 1 als i=j = Voordeel: berekenen coëfficiënten vereist geen stelsel oplossen: b=Pa  veel sneller, maar nog steeds veel te traag voor praktische toepassingen op beelden van realistische afmetingen  P t b=P t Pa=a of dus: a=P t b  ( a i ) 2 is de bijdrage van basisfunctie p i ( x,y ) in de beeldenergie

© W. Philips, Universiteit Gent, versie: 17/11/ a. 7 Eigenschappen orthogonale transformaties… Voordelen van orthogonale transformaties snellere berekening coëfficiënten a i voor een gegeven beeld b ( x,y ) Bij niet-orthogonale basisfuncties hangen de optimale coëfficiënten af van n, het aantal basisfuncties in de benadering gevolg van de stelling van Parseval: de totale kwadratische afwijking tussen twee beelden b ( x,y ) en b ’( x,y ) kan worden beoordeeld adhv. hun coëfficiënten: met eenvoudige kleinste-kwadratenbenadering =de beste benadering van b ( x,y ) met n < MN basisfuncties p i ( x,y )  deze bekom je door de coëfficiënten a i van de weggelaten basisfuncties 0 te stellen en de andere a i te behouden

© W. Philips, Universiteit Gent, versie: 17/11/ a. 8 …Eigenschappen orthogonale transformaties  Gevolgen: eenvoudige inschatting van het belang van een term a k p k ( x,y ): b ’( x,y )= b ( x,y )- a k p k ( x,y )  kwadratische fout E kw ( b,b ’) = | a k | 2 De totale kwadratische afwijking tussen twee beelden b ( x,y ) en b ’( x,y ) kan worden beoordeeld adhv. hun coëfficiënten: Ongecorreleerde ruis (b.v. witte gaussiaanse ruis) op een beeld wordt omgezet in ongecorreleerde “witte” afwijkingen op de coëfficiënten addieve ruis b ’( x,y )= b ( x,y ) +n ( x,y )  a ’ i =a i +  i 0 als x’≠x of y’≠y  2 als x’=x en y’=y = 0 als i≠j  2 als i=j = a i : a i ’ =a i +  i  kwadratische fout: eenvoudige inschatting van fouten op coëfficiënten

© W. Philips, Universiteit Gent, versie: 17/11/ a. 9 Scheidbare orthogonale transformaties… We kunnen de basisfuncties ook met een dubbele index noteren: p i ( x,y ) met 0 ≤i < MN  p i,j ( x,y ) met 0 ≤ i < N en 0 ≤ j < M Stel M=N  Een scheidbare transformatie vraagt 4 N 3 berekeningen per beeld, d.w.z. 4 N bewerkingen per pixel; voor een niet-scheibare transformatie is dit 2 N 4 in totaal en 2 N 2 per pixel Ook de inverse transformatie is sneller in het scheidbaar geval (controleer) 2 M berekeningen voor gegeven x en j  2 M 2 N berekeningen in totaal 2 N berekeningen voor gegeven i en j en als de binnenste som al is berekend  2 MN 2 berekeningen in totaal Bij een scheidbare orthogonale transformatie zijn de basisfuncties van de vorm: p i,j ( x, y ) =q j ( x ) r i ( y )

© W. Philips, Universiteit Gent, versie: 17/11/ a. 10 …Scheidbare orthogonale transformaties Een scheidbare orthogonale transformatie a=P t b is equivalent met eerst een orthogonale transformatie Q t toepassen op elke rij van het beeld dan een orthogonale transformatie R toepassen op elke kolom van het resultaat of in omgekeerde volgorde N x N matrix R t N x M matrix A en b=Pa  B=RAQ t M x M matrix Q N x M matrix B B y,x =b ( x,y ) en Q x,j =q j ( x ) a=P t b  A=R t BQ R y,i =r i ( y )

© W. Philips, Universiteit Gent, versie: 17/11/ a. 11 In de praktijk wil men de 8 N berekeningen nog verder reduceren door het beeld onder te verdelen in ( N/n ) 2 “blokken” (subbeelden) van nxn pixels  overhead=8 n berekeningen/pixel i.p.v. 8 N typisch: n=8 à 32  voor een 256x256 beeld: 64 à 256 bewerkingen/pixel i.p.v bewerkingen/pixel door transformaties te kiezen met speciale eigenschappen, die nog sneller kunnen worden berekend Discrete CosinusTransformatie (DCT)  beeldcompressie Wavelettransformatie  compressie en ruisonderdrukking Discrete FourierTransformatie (DFT)  ruisonderdrukking Opmerking Scheidbare orthogonale transformaties hebben nog steeds een grote rekentijd, b.v. voor een 256x256 beeld: 4 N =1024 berekeningen/pixel voor de berekening van de coëfficiënten uit het invoer beeld een zeker aantal bewerkingen voor de eigenlijke beeldverwerking (b.v. ruisonderdrukking of compressie) 4 N =1024 berekeningen/pixel voor de berekening van de coëfficiënten

© W. Philips, Universiteit Gent, versie: 17/11/ a. 12 Toepassingen Goede transformaties concentreren de beeldenergie in een klein aantal coëfficiënten (cfr. de fouriertransformatie)  toepassingen beeldcompressie (zie verder) ruisonderdrukking, b.v.b. wavelet-gebaseerde ruisonderdrukking ruizig beeld: b r ( x,y )= b ( x,y ) +n ( x,y )  ruizige coëfficiënten a i +  i na ontruizen: b ’( x,y ) met coëfficiënten a i +  i of 0  verwachte kwadratische afwijking: som loopt over alle nul- gestelde coëfficiënten indien beeld en ruis statistisch onafhankelijk ingevoerde beelddistorsie verwijderde ruis Principe ruisonderdrukking: vervang de coëfficiënten waarvan je vermoedt dat a i,j = 0 in een ruisvrij beeld door 0 Goede ruisonderdrukking vereist keuze goede transformatie  optimale energiecompactie correcte inschatting van welke coëfficiënten klein/groot zijn