Introduction of Pattern Recognition PDF
Introduction of Pattern Recognition PDF
Team teaching
OUTLINES
Whats
is pattern? What is class pattern? What is pattern recognition? Human perception Application example Statistically way Human and machine perception Pattern recognition process Topic Searching
2
WHAT IS A PATTERN?
A
pattern class (or category) is a set of patterns sharing common attributes. collection of similar (not necessarily identical) objects.
During
Algorithms, Systems to put Patterns into Categories Perceived Pattern to Previously Perceived Patterns to distinguish patterns of interest from their background
Relate
Learn
HUMAN PERCEPTION
Humans
have developed highly sophisticated skills for sensing their environment and taking actions according to what they observe, e.g.,
Recognizing a face. Understanding spoken words. Reading handwriting. Distinguishing fresh food from its smell.
We
EXAMPLES OF APPLICATIONS
Optical Character Recognition (OCR)
Handwritten: sorting letters by postal code. Printed texts: reading machines for blind people, digitalization of text documents.
Biometrics
Diagnostic systems
Military applications
Automated Target Recognition (ATR). Image segmentation and analysis (recognition from aerial or satelite photographs).
A A B
Grid by Grid Comparison
11
A A B
0 0 0 1 1 0 0 1 0 0 1 1 1 0 0 0 0 1 1 1 0 0 0 1 1 1 1 1 0 0 1 1 1 0 0 0 0 0 1 1
No of Mismatch= 3
12
A A B
Grid by Grid Comparison
13
A A B
0 0 0 1 1 0 0 1 0 0 1 1 1 0 0 0 0 1 1 1
No of Mismatch= 9
1 0 0 0 1
1 1 1 1 1
1 0 1 0 1
0 1 1 1 0
14
to recognize a pattern - Proportional to the number of stored patterns ( Too costly with the increase of number of patterns stored )
A-Z
a-z
0-9
15
We are often influenced by the knowledge of how patterns are modeled and recognized in nature when we develop pattern recognition algorithms. Research on machine perception also helps us gain deeper understanding and appreciation for pattern recognition systems in nature. Yet, we also apply many techniques that are purely numerical and do not have any correspondence in natural systems.
16
PATTERN RECOGNITION
Two
Time
Driving a car
Difficult
natural.
Can
BASIC CONCEPT
Hidden state Feature vector
Feature
Cannot be directly measured. - Patterns with equal hidden state belong to the same class.
vectorPatterns with equal hidden state belong to the same class. Task- To design a classifer (decision rule) which decides about a hidden state based on an observation.
18
EXAMPLE
19
LEARNING
Supervised learning: a teacher provides a category label or cost for each pattern in the training set. Unsupervised learning: the system forms clusters or natural groupings of the input patterns.
20
Category A
Category B
(Supervised Classification)
Classification
(Unsupervised Classification) 21
Clustering
Post- processing
Classification
Feature Extraction
Segmentation
Sensing
22
input
Data acquisition and sensing: Measurements of physical variables. Important issues: bandwidth, resolution , etc. Pre-processing: Removal of noise in data. Isolation of patterns of interest from the background. Feature extraction: Finding a new representation in terms of features. Classification Using features and learned models to assign a pattern to a category. Post-processing Evaluation of confidence in decisions.
23
Sistem PR
Pattern
Sensors and preprocessing
Feature extraction
Classifier
Class assignment
Teacher
Learning algorithm
24
CASE STUDY
Fish
Classification:
Salmon
Problem:
Sea-bass
Lighting conditions. Position of fish on the conveyor belt. Camera noise. etc
What
1. Capture
Pre-processing
Feature Extraction
Classification
Sea Bass
Salmon
27
Pre-Processing:
Image enhancement Separating touching or occluding fish. Finding the boundary of the fish.
28
features to be used:
Length Lightness Width Number and shape of fins Position of the mouth Etc
Assume a fisherman told us that a sea bass is generally longer than a salmon. Even though sea bass is longer than salmon on the average, there are many examples of fish where this observation does not hold.
29
improve recognition, we might have to use more than one feature at a time.
Single features might not yield the best performance. Combinations of features might yield better performance.
x1 x1 : lightness x x : width 2 2
30
FEATURE SELECTION
Good features
Bad features
31
DECISION BOUNDARY
32
33
34
if a customers find Sea bass in there Salmon can? should also consider costs of different errors we make in our decisions.
We
35
How
36
Correlated features do not necessary improve performance. It might be difficult to extract certain features. It might be computationally expensive to extract many features. Missing Features. Domain Knowledge.
37
Chose Features.
Domain dependence.
Chose Model
Domain dependence.
Train
Supervised learning Unsupervised learning.
Evaluate
Performance with future data
38
Q&A
39
TOPIC SEARCHING
40