De presentatie wordt gedownload. Even geduld aub

De presentatie wordt gedownload. Even geduld aub

Didactisch materiaal bij de cursus

Verwante presentaties


Presentatie over: "Didactisch materiaal bij de cursus"— Transcript van de presentatie:

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

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 1998. 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 Processing Fax: University of Gent Tel: St.-Pietersnieuwstraat 41, B9000 Gent, Belgium

3 Spatiale en temporele aspecten beeldopname en weergave
Herhaling

4 Model voor een camera x, k b0(x,y) h(x,y) bi(x,y) y, l Beeld 1
Camera: CCD (Charged-coupled device) pixelmatrix x, k y, l b0(x,y) h(x,y) bi(x,y) Beeld 1 Optisch systeem Een pixelsensor meet de beeldintensiteit in de omgeving van (xk,yl) gewichtsfunctie, b.v. w(x,y)=1 voor |x|<D en |y|<D en 0 daarbuiten Opmerking:  wiskundig model: lineair filter, gevolgd door “ideale” bemonstering

5 Bemonsterde beelden… Notaties (algemene bemonstering):
Let op: b(r)=(bi*h*w)(r) is het beeld na in rekening brengen van lenskarakteristiek: impulsrespons h(r) pixelvorm: w(r) Definitie: “ideaal” bemonsterd beeld als distributie Voordeel: functie van x en y, zoals origineel beeld b(r) i.p.v. reeks getallen met eenvoudig verband met niet-bemonsterd beeld:

6 Bemonstering zonder aliasing in 2D
Reciprook van rechthoekig rooster fx fy Reciprook van hexagonaal rooster fx fy drager origineel spectrum (frequenties waar B( f )≠0) 1/Dx 1/Dy 1/Dx 1/Dy replica’s Praktische beelden hebben een bandbeperkt spectrum (o.a. door verwaziging in de lens en uitmiddeling over camerapixels Indien de punten van het reciprook rooster voldoende ver uit elkaar liggen zal er geen aliasing optreden  punten van bemonsteringsrooster liggen voldoende dicht bij elkaar

7 Theoretische reconstructie…
Reciprook rooster drager bemonsterd spectrum (frequenties waar Bs(f) ≠0) fy 1/Dx 1/Dy fx fy R(f)=1 R(f)≠0 R(f)=0 Filterkarakteristiek R(f) drager origineel spectrum (frequenties waar B( f ) ≠0) fx R(f)=1 waar B(f) ≠0 R(f)=0 waar B(f-Uk) ≠0 Besluit: reconstructie is mogelijk als replica’s niet overlappen, n.l. door Bs(f) te vermenigvuldigen met goed gekozen R(f) ( lineair filter)

8 … Theoretische reconstructie
monster-waarden bk Anti-alias filter verzwakt (verwijdert) de replica’s in Bs(f) zodat Bs(f) overblijft v.b. een lens die het beeld wazig maakt volgens R(f) karakteristiek optisch anti- alias filter spectrum: Bs(f)R(f) dirac- reconstructie spectrum: Bs(f) Dirac-reconstructie, te interpreteren als weergave op fictief scherm met oneindig kleine beeldpixels op de roosterpunten r=Vk en die een lichtvermogen uitstralen evenredig met de monsters bk

9 Praktische reconstructie
w(r)=w(x,y)=1 voor |x|<D en |y|<D en 0 daarbuiten grijswaarde=bk monster-waarden bk spectrum: cBs(f)W(f) Scherm- en/of oog-optica spectrum: cBs(f)W(f)H(f) Weergave met eindige pixels Praktische beeldschermen hebben pixels met eindige afmetingen en produceren dus bkw(r-Vk) i.p.v. bk|det (V)|d(r-Vk)  modelleren als lineair filter met impulsrespons h(r) en frequentiekarakteristiek H(f) Beeldreproductiesystemen bevatten soms lenzen (b.v. projector) Het oog filtert ook een deel van het frequentie-spectrum weg Besluit: cW(f)H(f) moet dienen als benadering voor R(f)  weinig keuze voor R(f)  men moet overblijvende imperfecties aanvaarden

10 Voorbeeld 1: simulatie kleine camerapixels
256256 monsters 128128 monsters door weglaten even rijen en kolommen, nadien vergroot door pixelherhaling Aliasing a’=a /2 cpi a cpi Aliasing zet de hoge frequenties links om in lage frequenties rechts Hoogfrequente componenten in hemd links rechts a / 2 -a / 2 a’= a’/2 -a’/ 2 -a’=

11 Voorbeeld 2: simulatie normale camerapixels
a’=a /2 cpi 256256 monsters 128128 monsters, door uitmiddelen van 2x2 pixels, nadien vergroot door pixelherhaling a cpi Hoogfrequente componenten in hemd links rechts a / 2 -a / 2 a’= a’/2 -a’/ 2 -a’=


Download ppt "Didactisch materiaal bij de cursus"

Verwante presentaties


Ads door Google