8 Feature Extraction
8 Feature Extraction
Overall Flow
The next step is to describe the region based on the chosen representation. By doing this, we quantify our
representation of the object
Feature descriptors should be as insensitive as possible to variations in parameters such as scale,
translation, rotation, illumination, and viewpoint
Methods used for Feature Description
Boundary Descriptors
o Geometrical descriptors : length, diameter, perimeter, eccentricity, curvature
o Shape Numbers
o Fourier Descriptors
o Statistical Moments
Regional Descriptors
o Geometrical descriptors: Area, compactness, circularity ratio, Euler number
o Topological Descriptors
o Texture
o Moment Invariants
Principal Components as Feature Descriptors
Whole Image Features
o Harris-Stephens Corner Detector
o Maximally Stable Extremal Regions
Scale-invariant Feature Transform (SIFT)
Chain codes
The boundary is a good representation of an object shape and also requires a few
memory.
Chain codes: represent an object boundary by a connected sequence of straight line
segments of specified length and direction.
In order to represent a boundary, it is useful to compact the raw data (list of boundary pixels)
Chain codes: list of segments with defined length and direction
▪ 4-directional chain codes
▪ 8-directional chain codes
Chain codes
It may be useful to down sample the data before computing the chain code
-to reduce the code dimension
-to remove small detail along the boundary
Chain codes
Problem of a chain code: a chain code sequence depends on a starting point.
Solution: treat a chain code as a circular sequence and redefine the starting point
so that the resulting sequence of numbers forms an integer of minimum
magnitude. The first difference of a chain code: counting the number of direction
change (in counterclockwise) between 2 adjacent elements of the code.
E.g., 10103322 -> 3133030 (counting ccw)
and adding the last transition (circular sequence: 2 -> 1) -> 31330303
Boundary descriptors
Simple descriptors
- length (e.g., for chain code: hor+vert+21/2*diagonal)
- diameter (length of the major axis)
- Eccentricity
- Curvature
Boundary descriptors