What Is Syntactic Pattern Recognition
What Is Syntactic Pattern Recognition
In this case the image was recursively decomposed into a tree whose nodes correspond to
sub-objects and edges express the contained-in relation. For each sub-object, some local
features are measured. In this example, shape, perimeter and area of each sub-object are
local features attached to nodes.
Primitives: Primitives are the simplest sub pattern of a pattern, also known as symbols
or terminals.
Applications:
Chain code
We have two problems with the chain codes, dependent on the start point and
dependent on the orientation.(If we can obtain a unique chain code for each shape,
which is invariant to translation, rotation and scaling we can use it in similarity
checking of objects and shape representation.)
o Solution is
Normalized codes
Normalization for rotation-first difference
Counting (counterclockwise) the number of direction
changes that separate two adjacent element of the code
Normalization for start point-shape number
The first difference of smallest magnitude
Normalization for size-Multi-scaling resampling
◦ Example:
The 4-direction chain code: 10103322
The first difference of the code: 33133030
3: (1-2) mod 4 = 3
3: (0-1) mod 4 = 3
1: (1-0) mod 4 = 1
dk=ck-ck-1 (mod 4) for 4-directional chain codes
dk=ck-ck-1 (mod 8) for 8-directional chain codes
The first difference of smallest magnitude of the code(shape no):03033133
(Arrange the digits of the code, so that it has the smallest
magnitude without interchanging digits)
Use in content based image retrieval, to represent shapes which are invariant to
rotation, scale and translation.
Disadvantages-Small variation in counter gives different codes. (Matching chain
code is slightly noisy version of the same object can be very different.)