Notes 20110125 CIS 6320 Image Processing
From SnOwy - Ed's Wiki Notebook
Contents |
Assignment: Talks
- Applications of ~ in Digital Image Processing (many -- half an hour)
- Send slides by Feb. 11th.
Image Operations and Transformations
Inverse Function
- let f = (A, B, G) be a bijection
- let f-1 = (B, A, G-1)
- G-1 = {(b, a) ∈ B×A | (a, b) ∈ G}
- must be a bijection
Function Composition
- f(g()) is g º f g circle f
- given f = (A, B, F)
- given g = (B, C, G)
- give me g º f = (A, C, H) i.e. H?
- H = {(a, c) ∈ A×C | ∃b∈B,(a,b)∈F∧(b,c)∈G}
Identity
- f = (A, B, G)
- f-1 = (B, A, G-1)
- f º f-1 = (B, B, I)
- where I = {(b, b)}b∈B
- Let f be a bijection from A to B ...
- fºf-1=IdB
- f-1ºf = IdA
Single Pixel -- Images -- Transformations
- input image f|Z2
- output image g|Z2
- g(x,y) = Ti(f(x,y))
- where (x, y) is a pixel location
- g = Tiºf
- Ti|R'→R
- L = 256
- Ti -- is an intensity transformation function
- Ti|u |→ u + 10 -- increase brightness
- Ti|u |→ u - 10 -- decrease brightness
- Ti|u |→ 2u -- increase contrast
- Ti|u |→ u/2 -- decrease contrast
- the -- (|→) -- symbol is supposed to be a left-barred right-arrow -- there is no such character :( -- it means associates with.
Neighbourhood Operations
- we have to first discuss distance
- a distance is a function
- d|R2×R2 → R
- ... (p, q) |→ d(p, q)
- ∀(p,q) ∈ R2×R2, d(p,q)≥0 -- definite, positive
- ∀(p,q) ∈ R2×R2, d(p,q) = 0 ←→ p = q -- definite, positive
- ∀(p,q) ∈ R2×R2, d(p,q) = d(q,p) -- symmetric
- ∀(p, q, r) ∈ (R2)3), d(p,q) + d(q,r) ≥ d(p,r) -- triangle inequality
- Euclidean Distance
- dE|R2×R2
- ... ((x,y),(x',y')) |&rarr sqrt((x-x′)2+(y-y′)2)
- Cityblock Distance
- d4| ...
- ... |→ |x-x′|+|y-y′|
- Chessboard
- d8| ...
- ... |→ |max(|x-x'|, |y-y'|)
- neighbours -- the pixels whose distance is one from the given pixel
- d4 has four neighbours
- d8 has eight neighbours
- we can now discuss neighbourhood operations ...
- as operations on tuples
- Ti|R9→R
- blurring an image
- detect edges
- sharpen an image
- gradient, etc. ...
- aside: convolution in the spatial domain is a neighbourhood operation