Chapter 11 Representation and Description
Chapter 11 Representation and Description
Christophoros Nikou
[email protected]
Images taken from: R. Gonzalez and R. Woods. Digital Image Processing, Prentice Hall, 2008
Socrates
x1 y1 1
A x2 y2 1
x3 y3 1
• Basic rectangle
• The closest
rectangle is
of size 3x6
• The grid is
aligned to it.
K 1 2 k
s(k ) a(u ) e
j u
, k 0,1, 2,..., K 1
u 0
I (S ) i
max xi x yi y
2 2
A( S )
• It measures the ratio of the major chord
length to the area.
• The numerator defines the area of the
maximum circle enclosing the region.
I (S ) i
max xi x yi y
2
2
min x x y y
2 2
i i
i
E = C - H = 1 - 2 = -1
C–H=1–3=–2
V – Q + F = 7 – 11 + 2 = -2
– Entropy:
L 1
E ( z ) p( zi ) log p( zi )
i 0
C. Nikou – Digital Image Processing
65 Histogram approaches (cont.)
gij
pij
g
i, j
ij
K
P(i ) pij
j 1
K
mr iP(i )
i 1
K
(i mr )2 P(i)
2
r
i 1
Random noise
Mixed texture
a aaa…
C. Nikou – Digital Image Processing
74 Structural approaches (cont.)
• We add new rules, for example:
S bA, A cA, A c, A bS , S a
S (r ) S (r ) S ( ) Sr ( )
0 r 1
S(θ)
S(r)
Random
S(θ)
Ordered S(r)
1 20 02
2 (20 02 ) 2 4112
3 (30 312 ) 2 (321 03 ) 2
4 (30 12 ) 2 3(21 03 ) 2
5 (30 312 )(30 21 ) (30 12 ) 3(21 03 )
2 2
N i 1 N i 1
Projection of data point
1 N T T 1 T
N
u (xi m x )(xi m x ) u u
T
(xi m x )(xi m x ) u
N i 1 N i 1
u Σu
T Covariance matrix of data
v1T
y A k (x - m x ) (x - m x )
vTk
• Properties of the new subspace:
my 0 1 0 0
0 The components of y
Σy Α k ΣΑ T
k 0
1
are uncorrelated
0 0 k
xˆ ATk y mx
λ1 = 10344
λ2 = 2966
λ3 = 1401
λ4 = 203
λ5 = 94
λ6 = 31
Mean image