Title: Dr' Claude C' Chibelushi
1Image Processing, Computer Vision, and Pattern
Recognition
Fac. of Comp., Eng. Tech. Staffordshire
University
Statistical Pattern RecognitionPart II
Classical Model
Dr. Claude C. Chibelushi
2Outline
- Introduction
- Classical Pattern Recognition Model
- Feature Extraction
- Classification
- Applications
- Optical Character Recognition
- Others
- Summary
3Introduction
- Pattern recognition often consists of sequence of
processes - often configured according to classical pattern
recognition model
4Classical Recognition Model
Simplified block diagram
Facial image
Example
5Classical Recognition Model
- Performance issues
- All stages of recognition pipeline, and their
connection, affect performance - typical performance measures recognition
accuracy, speed, storage requirements - optimisation of components/connections often
required - careful selection / design / implementation of
- data capture equipment / environment
- processing techniques
6Feature Extraction
- Aim to capture discriminant characteristics of
pattern - Extracts pattern descriptors from raw data
- descriptors should contain information most
relevant to recognition task - descriptors may be numerical (quantitative ) or
linguistic - group of numerical descriptors often known as
feature vector
7Feature Extraction
- Common features for computer vision
- Shape descriptors
- external (e.g. boundary) internal (e.g. holes)
- Surface descriptors
- texture, brightness, colour, ...
- Spatial configuration descriptors
- arrangement of basic elements
- Temporal configuration descriptors
- deformation or motion of basic elements
8Feature Extraction
- Example
- Pattern recognition application gender detection
- Classes male, female
9Feature Extraction
- Example
- Chosen features height, silhouette area
10Feature Extraction
Graphical representation of feature
distribution Example data set of 5 male and 5
female subjects
11Feature Extraction
- Graphical representation of feature distribution
- Example (ctd.) Feature plot 2D feature space
12Classification
- Aim to identify class (category ) to which
unknown pattern belongs - Wide variety of classifiers
- Classifier selection is problem-dependent
- use simple classifier if effective
13Classification
- Some classifiers
- Minimum-distance classifier
- classification based on distance from
class-prototype (e.g. average) pattern - closest prototype determines class
- k-nearest neighbour classifier
- classification based on distance from class
patterns (or clusters) - closest k patterns (or clusters) determine class
14Classification
- Some classifiers
- Bayesian classifier
- classification based on probability of belonging
to class - most likely class
- Artificial neural network classifier
- classification based on neuron activations (shown
to relate to class probability) - most likely class
15Classification
Minimum-distance classifier
2D feature space
16Classification
- k-nearest neighbour classifier
2D feature space
17Classification
- Some distance metrics
- (for distance-based classifiers)
- Measure similarity between unknown pattern and
prototype pattern - based on differences between corresponding
features in both patterns, e.g. - Euclidean distance sum of squares of differences
- City-block (Manhattan or taxi-cab) distance sum
of absolute values of differences
18Classification
- Decision boundary for
- minimum-distance classifier
2D feature space
19Classification
- Limitations of minimum-distance classifier
- Prone to misclassification for
- high feature correlation
- problems requiring non-linear decision boundary,
e.g. - curved decision boundary
- data with subclasses (i.e. clusters)
- intricate decision boundary
20Classification
2D feature space
Feature correlation
21Classification
2D feature space
Curved decision boundary
22Classification
2D feature space
Distinct subclasses
23Classification
2D feature space
Complex decision boundary
24Classification
- Classifier training
- Data-driven extraction of salient class
characteristics - supervised training
- class labels used during training
- unsupervised training
- class labels not used during training (e.g.
clustering)
25Classification
- Classifier testing
- Testing estimation of recognition accuracy
- often uses real data simulation may be used
(Monte Carlo) - Accuracy measure
- error rate (often expressed as percentage)
- e.g. correct recognition rate, insertion rate,
false acceptance rate, false rejection rate, ...
26Optical Character Recognition
27Optical Character Recognition
Generic OCR system
28Optical Character Recognition
- Feature extraction methods
- Spatial domain to frequency domain transform
- Hartley, Fourier, or other transform
- Statistics
- mean, variance projection histograms
orientation histograms
29Optical Character Recognition
- Feature extraction methods
- Miscellaneous
- geometric measures
- ratio of width and height of bounding box, ...
- description of skeletonised characters
- graph description comprising line segments (e.g.
strokes of Chinese characters) - number of L,T, or X junctions, ...
30Optical Character Recognition
- Feature extraction methods
Projection histograms
31Optical Character Recognition
- OCR examples
- (see AALs book)
32Other Recognition Applications
- Sample
- recognition of faces or facial expressions
- recognition of body movement (gestures, gait)
- recognition of handwriting (text, signature)
- industrial inspection
- autonomous vehicles, traffic monitoring
- ...
- (Exercise identify architectural components for
these applications, and discuss factors affecting
performance)
33Summary
- Classical pattern recognition model
- pre/post-processing
- feature extraction
- classification
- Feature extraction representation of
discriminant pattern characteristics - Classification
- wide variety of classifiers
- supervised or unsupervised classifier training
34Summary
- Components of generic OCR system
- image capture, image pre-processing, feature
extraction, classification, post- processing - Wide variety of features for OCR, e.g.
- frequency-domain representation
- statistical or geometric measurements
- skeleton descriptors
- ...