Pattern Recognition Speaker: Wen-Fu Wang Advisor: Jian-Jiun Ding

Slides:



Advertisements
Similar presentations
Applications of one-class classification
Advertisements

Context-based object-class recognition and retrieval by generalized correlograms by J. Amores, N. Sebe and P. Radeva Discussion led by Qi An Duke University.
Image Indexing and Retrieval using Moment Invariants Imran Ahmad School of Computer Science University of Windsor – Canada.
One-Shot Multi-Set Non-rigid Feature-Spatial Matching
Region labelling Giving a region a name. Image Processing and Computer Vision: 62 Introduction Region detection isolated regions Region description properties.
Lecture 20 Object recognition I
Pattern Classification All materials in these slides were taken from Pattern Classification (2nd ed) by R. O. Duda, P. E. Hart and D. G. Stork, John.
Pattern Recognition. Introduction. Definitions.. Recognition process. Recognition process relates input signal to the stored concepts about the object.
Introduction --Classification Shape ContourRegion Structural Syntactic Graph Tree Model-driven Data-driven Perimeter Compactness Eccentricity.
Digital Camera and Computer Vision Laboratory Department of Computer Science and Information Engineering National Taiwan University, Taipei, Taiwan, R.O.C.
1 Template-Based Classification Method for Chinese Character Recognition Presenter: Tienwei Tsai Department of Informaiton Management, Chihlee Institute.
Principles of Pattern Recognition
Digital Camera and Computer Vision Laboratory Department of Computer Science and Information Engineering National Taiwan University, Taipei, Taiwan, R.O.C.
OBJECT RECOGNITION. The next step in Robot Vision is the Object Recognition. This problem is accomplished using the extracted feature information. The.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Review and Preview This chapter combines the methods of descriptive statistics presented in.
Presented by Tienwei Tsai July, 2005
CS654: Digital Image Analysis Lecture 3: Data Structure for Image Analysis.
1 Pattern Recognition  Speaker: Wen-Fu Wang  Advisor: Jian-Jiun Ding   Graduate Institute of Communication Engineering.
Digital Image Processing, 2nd ed. © 2002 R. C. Gonzalez & R. E. Woods Chapter 11 Representation & Description Chapter 11 Representation.
ECE 8443 – Pattern Recognition ECE 8527 – Introduction to Machine Learning and Pattern Recognition LECTURE 03: GAUSSIAN CLASSIFIERS Objectives: Whitening.
Digital Image Processing CSC331
Image Classification 영상분류
An Introduction to Support Vector Machines (M. Law)
Introduction --Classification Shape ContourRegion Structural Syntactic Graph Tree Model-driven Data-driven Perimeter Compactness Eccentricity.
CSSE463: Image Recognition Day 11 Lab 4 (shape) tomorrow: feel free to start in advance Lab 4 (shape) tomorrow: feel free to start in advance Test Monday.
Digital Image Processing Lecture 24: Object Recognition June 13, 2005 Prof. Charlene Tsai *From Gonzalez Chapter 12.
Digital Image Processing Lecture 25: Object Recognition Prof. Charlene Tsai.
Digital Camera and Computer Vision Laboratory Department of Computer Science and Information Engineering National Taiwan University, Taipei, Taiwan, R.O.C.
Chapter 12 Object Recognition Chapter 12 Object Recognition 12.1 Patterns and pattern classes Definition of a pattern class:a family of patterns that share.
1 An Efficient Classification Approach Based on Grid Code Transformation and Mask-Matching Method Presenter: Yo-Ping Huang.
Chapter 20 Classification and Estimation Classification – Feature selection Good feature have four characteristics: –Discrimination. Features.
Introduction to Pattern Recognition (การรู้จํารูปแบบเบื้องต้น)
CSSE463: Image Recognition Day 11 Due: Due: Written assignment 1 tomorrow, 4:00 pm Written assignment 1 tomorrow, 4:00 pm Start thinking about term project.
ECE 8443 – Pattern Recognition ECE 8527 – Introduction to Machine Learning and Pattern Recognition LECTURE 04: GAUSSIAN CLASSIFIERS Objectives: Whitening.
The Discrete Wavelet Transform for Image Compression Speaker: Jing-De Huang Advisor: Jian-Jiun Ding Graduate Institute of Communication Engineering National.
1 A Statistical Matching Method in Wavelet Domain for Handwritten Character Recognition Presented by Te-Wei Chiang July, 2005.
1 Minimum Bayes-risk Methods in Automatic Speech Recognition Vaibhava Geol And William Byrne IBM ; Johns Hopkins University 2003 by CRC Press LLC 2005/4/26.
Objectives: Loss Functions Risk Min. Error Rate Class. Resources: DHS – Chap. 2 (Part 1) DHS – Chap. 2 (Part 2) RGO - Intro to PR MCE for Speech MCE for.
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 1-1 Statistics for Managers Using Microsoft ® Excel 4 th Edition Chapter.
Applied statistics Usman Roshan.
Machine Learning for Computer Security
An Image Database Retrieval Scheme Based Upon Multivariate Analysis and Data Mining Presented by C.C. Chang Dept. of Computer Science and Information.
Data Mining, Neural Network and Genetic Programming
IMAGE PROCESSING RECOGNITION AND CLASSIFICATION
LECTURE 09: BAYESIAN ESTIMATION (Cont.)
LECTURE 10: DISCRIMINANT ANALYSIS
CSSE463: Image Recognition Day 11
Table 1. Advantages and Disadvantages of Traditional DM/ML Methods
LECTURE 03: DECISION SURFACES
Chapter 12 Object Recognition
Pattern Recognition Sergios Theodoridis Konstantinos Koutroumbas
Map of the Great Divide Basin, Wyoming, created using a neural network and used to find likely fossil beds See:
Machine Learning Basics
Mean Shift Segmentation
CSSE463: Image Recognition Day 11
Hidden Markov Models Part 2: Algorithms
REMOTE SENSING Multispectral Image Classification
REMOTE SENSING Multispectral Image Classification
Pattern Classification All materials in these slides were taken from Pattern Classification (2nd ed) by R. O. Duda, P. E. Hart and D. G. Stork, John.
Pattern Recognition and Image Analysis
Computer Vision Chapter 4
Pattern Classification All materials in these slides were taken from Pattern Classification (2nd ed) by R. O. Duda, P. E. Hart and D. G. Stork, John.
Pattern Classification All materials in these slides were taken from Pattern Classification (2nd ed) by R. O. Duda, P. E. Hart and D. G. Stork, John.
Generally Discriminant Analysis
LECTURE 09: DISCRIMINANT ANALYSIS
Digital Image Processing Lecture 24: Object Recognition
CSSE463: Image Recognition Day 11
Pattern Classification All materials in these slides were taken from Pattern Classification (2nd ed) by R. O. Duda, P. E. Hart and D. G. Stork, John.
CSSE463: Image Recognition Day 11
Pattern Classification All materials in these slides were taken from Pattern Classification (2nd ed) by R. O. Duda, P. E. Hart and D. G. Stork, John.
Presentation transcript:

Pattern Recognition Speaker: Wen-Fu Wang Advisor: Jian-Jiun Ding E-mail: r96942061@ntu.edu.tw Graduate Institute of Communication Engineering National Taiwan University, Taipei, Taiwan, ROC

Outline Introduction Minimum Distance Classifier Matching by Correlation Optimum statistical classifiers Matching Shape Numbers String Matching

Outline Syntactic Recognition of Strings String Grammars Syntactic recognition of Tree Grammars Conclusions

Introduction Basic pattern recognition flowchart Sensor Feature generation selection Classifier design System evaluation

Introduction The approaches to pattern recognition developed are divided into two principal areas: decision-theoretic and structural The first category deals with patterns described using quantitative descriptors, such as length, area, and texture The second category deals with patterns best described by qualitative descriptors, such as the relational descriptors.

Minimum Distance Classifier Suppose that we define the prototype of each pattern class to be the mean vector of the patterns of that class: Using the Euclidean distance to determine closeness reduces the problem to computing the distance measures j=1,2,…,W (1) j=1,2,…,W (2)

Minimum Distance Classifier The smallest distance is equivalent to evaluating the functions The decision boundary between classes and for a minimum distance classifier is j=1,2,…,W (3) j=1,2,…,W (4)

Minimum Distance Classifier Decision boundary of minimum distance classifier

Minimum Distance Classifier Advantages: 1. Unusual direct-viewing 2. Can solve rotation the question 3. Intensity 4. Chooses the suitable characteristic, then solves mirror problem 5. We may choose the color are one kind of characteristic, the color question then solve.

Minimum Distance Classifier Disadvantages: 1. It costs time for counting samples, but we must have a lot of samples for high accuracy, so it is more samples more accuracy! 2. Displacement 3. It is only two features, so that the accuracy is lower than other methods. 4. Scaling

Matching by Correlation We consider it as the basis for finding matches of a sub-image of size within an image of size , where we assume that and for x=0,1,2,…,M-1,y=0,1,2,…,N-1 (5)

Matching by Correlation Arrangement for obtaining the correlation of and at point M K J Origin o

Matching by Correlation The correlation function has the disadvantage of being sensitive to changes in the amplitude of and For example, doubling all values of doubles the value of An approach frequently used to overcome this difficulty is to perform matching via the correlation coefficient The correlation coefficient is scaled in the range-1 to 1, independent of scale changes in the amplitude of and

Matching by Correlation Advantages: 1.Fast 2.Convenient 3.Displacement Disadvantages: 1.Scaling 2.Rotation 3.Shape similarity 4.Intensity 5.Mirror problem 6.Color can not recognition

Optimum statistical classifiers The probability that a particular pattern x comes from class is denoted If the pattern classifier decides that x came from when it actually came from , it incurs a loss, denoted

Optimum statistical classifiers From basic probability theory, we know that

Optimum statistical classifiers Thus the Bayes classifier assigns an unknown pattern x to class

Optimum statistical classifiers The Bayes classifier then assigns a pattern x to class if, or, equivalently, if

Optimum statistical classifiers Bayes Classifier for Gaussian Pattern Classes Let us consider a 1-D problem (n=1) involving two pattern classes (W=2) governed by Gaussian densities

Optimum statistical classifiers In the n-dimensional case, the Gaussian density of the vectors in the jth pattern class has the form

Optimum statistical classifiers Advantages: 1. The way always combine with other methods, then it got high accuracy Disadvantages: 1.It costs time for counting samples 2.It has to combine other methods

Matching Shape Numbers Direction numbers for 4-directional chain code, and 8-directional chain code 1 2 3 4 5 6 7

Matching Shape Numbers Digital boundary with resampling grid superimposed

Matching Shape Numbers All shapes of order 4, 6,and 8 Order6 Order8 Chain code: 0321 Difference : 3333 Shape no. : 3333 Chain code: 003221 Difference : 303303 Shape no. : 033033 Chain code: 00332211 Difference : 30303030 Shape no. : 03030303 Chain code:03032211 Difference :33133030 Shape no. :03033133 Chain code: 00032221 Difference : 30033003 Shape no. : 00330033 Order4

Matching Shape Numbers Advantages: 1. Matching Shape Numbers suits the processing structure simple graph, specially becomes by the line combination 2. Can solve rotation the question 3. Matching Shape Numbers most emphatically to the graph outline, Shape similarity also may completely overcome 4. The Displacement question definitely may overcome, because of this method emphatically to the relative position but is not to the position

Matching Shape Numbers Disadvantages : 1. It can not uses for a hollow structure 2. Scaling is a shortcoming which needs to change, perhaps coordinates the alternative means 3. Intensity 4. Mirror problem 5. The color is unable to recognize

String Matching Suppose that two region boundaries, a and b, are coded into strings denoted and ,respectively Let represent the number of matches between the two strings, where a match occurs in the kth position if

String Matching A simple measure of similarity between and is the ratio Hence R is infinite for a perfect match and 0 when none of the corresponding symbols in and match ( in this case)

String Matching Simple staircase structure. Coded structure. b

String Matching Advantages: 1.Matching Shape Numbers suits the processing structure simple graph, specially becomes by the line combination 2.Can solve rotation the question 3.Intensity 4.Mirror problem 5. Matching Shape Numbers most emphatically to the graph outline, Shape similarity also may completely overcome 6. The Displacement question definitely may overcome, because of this method emphatically to the relative position but is not to the position

String Matching Disadvantages: 1.It can not uses for a hollow structure 2.Scaling 3.The color is unable to recognize

Syntactic Recognition of Strings String Grammars When dealing with strings, we define a grammar as the 4-tuple is a finite set of variables called non-terminals, is a finite set of constants called terminals, is a set of rewriting rules called productions, in is called the starting symbol.

Syntactic Recognition of Strings String Grammars Object represented by its skeleton primitives. structure generated by using a regular string grammar b a c

Syntactic Recognition of Strings String Grammars Advantages: 1.This method may use to a more complex structure 2.It is a good method for character set Disadvantages: 1.Scaling 2.Rotation 3.The color is unable to recognize 4.Intensity 5.Mirror problem

Syntactic Recognition of Tree Grammars A tree grammar is defined as the 5-tuple and are sets of non-terminals and terminals, respectively is the start symbol, which in general can be a tree is a set of productions of the form , where and are trees is a ranking function that denotes the number of direct descendants(offspring) of a node whose label is a terminal in the grammar

Syntactic Recognition of Tree Grammars Of particular relevance to our discussion are expansive tree grammars having productions of the form where are not terminals and k is a terminal

Syntactic Recognition of Tree Grammars An object Primitives used for representing the skeleton by means of a tree grammar a b c d e

Syntactic Recognition of Tree Grammars For example a b c d e

Syntactic Recognition of Tree Grammars Advantages: 1. This method may use to a more complex structure 2. It is a good method for character set 3. The Displacement question definitely may overcome, because of this method emphatically to the relative position but is not to the position

Syntactic Recognition of Tree Grammars Disadvantages : 1. Scaling is a shortcoming which needs to change, perhaps coordinates the alternative means 2. Rotation 3. The color is unable to recognize 4. Intensity

Conclusions The graph recognizes is covers the domain very widespread science, in the past dozens of years, all kinds of method is unceasingly excavated, also acts according to all kinds of probability statistical model and the practical application model but unceasingly improves. The graph recognizes applies to each different application domain, actually often also simultaneously entrusts with the entire wrap to recognize the system different appearance, which methods thus we certainly are unable to define to are "best" the graph recognize the method.

Conclusions Summary the seven approach to pattern recognition, each methods has advantages and disadvantages respectively. Therefore, we have to understand each method preciously. Then we choose the adaptable method for efficiency and accuracy. The A method has obtained extremely good recognizing rate in some application and is unable to express the similar method applies mechanically in another application also can similarly obtain extremely good recognizing rate.

Conclusions Below provides several possibilities solutions the method 1. Scaling problem we may the reference area solve. 2. Neural networks solves for rotation problem. 3.The color question besides uses RBG to solve also may use the spectrum to recognize differently. 4. Doing correlation with the reverse match filter for Intensity mirror problem 5. We can use the measure of area for a hollow structure

References [1] R. C. Gonzolez, R. E. Woods, "Digital Image Processing, Second Edition", Prentice Hall 2002 [2] 蒙以正, "數位信號處理應用Matlab",旗標 2005 [3] S. Theodoridis, K. koutroumbas, "Pattern Recognition", Academic Press 1999 [4] W. K. Pratt ,"Digital Image Processing, Third Edition", John Wiley & Sons 2001 [5] R. C. Gonzolez, R. E. Woods, S. L. Eddins, "Digital Image Processing Using MATLAB", Prentice Hall 2005 [6] 繆紹綱, 數位影像處理 活用-Matlab, 全華2000 [7] J. Schurmann, " A Unified View of Statistical and Neural Approaches" Pattern Classification, Chap4, John Wiley & Sons, Inc., 1996

References [8]K. Fukunaga, “Introduction to Statistical Pattern Recognition”, Second Edition, Academic Press, Inc.,1990 [9] E. Gose, R. Johnsonbaugh, and Steve Jost, "Pattern recognition and Image Analysis", Prentice Hall Inc., New Jersey, 1996 [10] Robert J. Schalkoff, "Pattern Recognition: Statical, Structural and Neural Approaches", Chap5, John Wiley & Sons, Inc., 1992 [11] J. S. Pan, F. R. Mclnnes, and M. A. Jack, "Fast Clustering Algorithm for Vector Quantization", Pattern Recognition 29, 511-518, 1996