Image Segmentation, Representation and Description
Image Segmentation, Representation and Description
Image Segmentation, Representation and Description
OUTLINE
Image segmentation
ex: edge-based, region-based
Image representation
ex: Chain code , polygonal approximation signatures, sk
eletons
Image description
ex: boundary-based, regional-based
Conclusion
Image segmentation
edge-based: point, line, edge detection
edge-based segmentation(1)
edge-based segmentation(2)
Point detection
Line detection
edge-based segmentation(3)
f
Edge detection:
Gradient op
G
x
f G f
eration
y
x
f mag (f ) Gx G y
2
( x, y ) tan (
1
Gy
Gx
edge-based segmentation(4)
2 f 2 f
f 2 2
x
y
2
r2
r 2 2 2 2
2
h(r )
e
4
Image segmentation
Region-base: SRG, USRG, Fast scanning
region-based segmentation
SRG(1)
step2:
Region splitting and merging
region-based segmentation
SRG(2)
Advantage:
With good connectivity
Disadvantage:
Initial seed-points:
different sets of initial seed-point cause different segmente
d result
Time-consuming problem
10
region-based segmentation
USRG(1)
11
region-based segmentation
USRG(2)
Advantage:
easy to use
can readily incorporate high level knowledge of the ima
ge composition through region threshold
Disadvantage:
slow speed
12
region-based segmentation
fast scanning(1)
13
region-based segmentation
fast scanning(2)
14
region-based segmentation
fast scanning(3)
Last step:
merge small region to big re
gion
15
region-based segmentation
fast scanning(4)
Advantage:
The speed is very fast
The result of segmentation will be intact with good conn
ectivity
Disadvantage:
The matching of physical object is not good
It can be improved by morphology and geometric mathema
tic
16
region-based segmentation
fast scanning-improved by morphology
dilation
A ! B {x E N x b A for every b B}
erosion
17
region-based segmentation
fast scanning-improved by morphology
dilation
erosion
18
region-based segmentation
fast scanning-improved by morphology
opening
Erosion=>Dilation
closing
Dilation=>Erosion
19
region-based segmentation
fast scanning-improved by Geometric Math
ematic
20
region-based segmentation
fast scanning-improved by Geometric Math
ematic
21
region-based segmentation
application
0.6
0.5
0.3
0.4
0.2
0.1
0
-0.1
0.05
0.1
0.15
0.2
0.25
X
0.3
0.35
0.4
0.45
0.5
22
Representation
chain code, polynomial approximation,
signature, skeletons
23
Representation
chain code
4-direction
8-direction
24
Representation
polynomial approximations
Merging Techniques
Splitting Techniques
25
Representation
signature
Representation
skeletons
2 N ( p1 ) 6
T ( p1 ) 1
p2 gp4 gp6 0
p4 gp6 gp8 0
Step1:
(a)
(b)
(c)
(d)
p2 gp4 gp8 0
p2 gp6 gp8 0
Step2:
(c)
(d)
27
Descriptors
boundary descriptor: Fourier descriptor,
polynomial approximation
28
Boundary Descriptors
Fourier descriptors (1)
s( k ) x(k ) jy (k )
Step1:
Step2: (DFT)
a (u )
1
K
K 1
j 2 uk / K
s
(
k
)
e
k 0
Step3: (reconstruction)
if a(u)=0 for u>P-1
P 1
s$(k ) u 0 a(u )e j 2 uk / K
Disadvantage:
Just for closed boundaries
29
Boundary Descriptors
Fourier descriptors (2)
s1(k)
(xK1, yK1)
(x0, y0)
s2(k)
Step 2
Original segment
(b) Linear
offset
s3(k)
Step 3
(c) Odd symmetric extension
30
Boundary Descriptors
Fourier descriptors (3)
Boundary Descriptors
polynomial approximation(1)
n
P ( x) f ( x0 ) Ln ,0 ( x ) L f ( xn ) Ln, n ( x) f ( xk ) Ln ,k ( x)
k 0
Ln ,k ( x)
( x x0 )L ( x xk 1 )( x xk 1 )L ( x xn )
( xk x0 ) L ( xk xk 1 )( xk xk 1 )L ( xk xn )
f ( n 1) ( ( x))
f ( x) P ( x)
( x x0 )( x x1 ) L ( x xn )
( n 1)!
e Lagrange
f ( x ) P ( x)Polynomial
32
Boundary Descriptors
polynomial approximation(2)
Proposed method(1)
Step1: rotate the boundary an
d let two end point locate at
x-axis
4b second
a
Step2:
poly
y 2use
( x ' ) 2 order
b
a to approximate
2
nomial
the bo
undary
n 1
e y ' y
2
j 0
4b
a
y j ' 2 ( x j ' ) 2 b
a
2
33
Boundary Descriptors
polynomial approximation(3)
Proposed method(2)
If the boundary is closed, h
ow can we do?
Step1: use split approach di
vide the boundary to two pa
rts.
Step2: use parabolic functio
n to fit the boundary.
34
Descriptors
Regional descriptors: Topological, Texture
35
Regional Descriptors
Topological
E=V-Q+F=CH
E: Euler number
V: the number of vertices
Q: the number of edges
F: the number of faces
C: the number of
connected component
H: the number of holes
36
Regional Descriptors
Texture
un ( z ) i 0 ( zi m) n p( zi )
nth moment:
L 1
L 1
i 0
zi p ( z i )
2th moment:
is a measure of gray level contra
st(relative smoothness)
3th moment:
is a measure of the skewness of
the histogram
Statistical approaches
smooth, coarse, regular
4th moment:
is a measure of its relative flatne
ss
Conclusion
Image segmentation
speed, connectivity, match physical objects or not
match physical objects:
morphological: how to choose foreground or background?
geometric mathematic: wrong connection
38
Reference
39
40