Professional Documents
Culture Documents
Representation and Description
Representation and Description
11-1
- High-level image processing (recognition and interpretation) * Object recognition, interpretation of object relationships
Representation/ Description/ Features Object Recognition Objects Image Interpretation Meaning/ Relationships
11-2
4-direction: 1
8-direction: 2 3 1
1 1 1 0 0
0 3 3 3 3 3 2 3 3 1 2 0 2
7 6 6 6 5 5
4 5 7
1 1 2 1 2
3 2
11-3
* Chain code (clockwise): * Problem 1: different starting points result in different chain codes
4-direction: 00333332322121110101, 8-direction: 07666553321202 # Solution: normalization redefine the starting point such that the chain code forms a smallest number # E.g.: 6553320000 0000655332 # Solution: difference code coding with the difference of directions (counter-clockwise) # E.g.: 0000655332 0006706076 0006706076 (normalization)
- Merging techniques 1. Merge points along a boundary until the least square error line fit of the points merged so far exceeds a threshold 2. Record the the two end point of the line 3. Repeat Steps 1 and 2 until all boundary points are processed
11-5
- Splitting techniques Subdivide a boundary segment successively into two parts until a specified criterion is satisfied 1. Find two points on the boundary that are farthest away and draw a line
Splitting line divides the boundary into two boundary segments
2. For each boundary segment, find a point on the boundary that has a maximum perpendicular distance to its corresponding line
11-6
3. Draw two lines joining the point and the two end points, respectively, of the corresponding splitting line 4. Repeat Steps 2~3 until the perpendicular distance is less than a threshold
Subdivide the boundary segment into two parts
11-7
(c) Signature
- Signature: a 1D functional representation of a boundary * Plot the distance from the centroid to the boundary as a function of angles: signature = r(), = 0 ~ 2
pi
Ma = maxi,j(D(pi,pj))
Ma
ma
pj
* Major axis (Ma) and minor axis (ma) * Eccentricity: Ma/ma - MATLAB p = bwperim(bw, conn): find perimeter pixels * bw: binary image * conn: 4 or 8 (connectivity) * Perimeter pixels: 1-valued pixels that are connected to at least one 0valued pixels * p: returned perimeter binary image - MATLAB S = diameter(L): find descriptions of a boundary * L: a labeled image
11-9
E = 1 3 = 2
E=11=0
E = 1 2 = 1
* L: labeled image * Properties: 'Area', 'BoundingBox', 'Centroid' * D: a structure with the fields specified when invoking regionprops( )
* E.g., D.Area
L1
m=i=0 z i p z i
= z z = 2
R = 11/(1+2)
L1
11-11
U =i=0 p 2 z i
L1
L1
* Sprectral approach: based on Fourier spectrum * Structural approach: structure of the texture primitives
11-12
- Applications: robotics, industrial automatic inspection, autonomous navigation, document image analysis, bio-information recognition
11-13