240-373: Chapter 10: Image Recognition 1 Montri Karnjanadecha ac.th/~montri 240-373 Image Processing.

Slides:



Advertisements
Similar presentations
Applications of one-class classification
Advertisements

Data Mining Tools Overview Business Intelligence for Managers.
COMPUTER AIDED DIAGNOSIS: CLASSIFICATION Prof. Yasser Mostafa Kadah –
Component Analysis (Review)
Word Spotting DTW.
Prénom Nom Document Analysis: Document Image Processing Prof. Rolf Ingold, University of Fribourg Master course, spring semester 2008.
電腦視覺 Computer and Robot Vision I Chapter2: Binary Machine Vision: Thresholding and Segmentation Instructor: Shih-Shinh Huang 1.
Image Indexing and Retrieval using Moment Invariants Imran Ahmad School of Computer Science University of Windsor – Canada.
CS292 Computational Vision and Language Pattern Recognition and Classification.
Chapter 5: Linear Discriminant Functions
Clustering… in General In vector space, clusters are vectors found within  of a cluster vector, with different techniques for determining the cluster.
Chapter 2: Pattern Recognition
Segmentation Divide the image into segments. Each segment:
Prénom Nom Document Analysis: Data Analysis and Clustering Prof. Rolf Ingold, University of Fribourg Master course, spring semester 2008.
CS485/685 Computer Vision Prof. George Bebis
Segmentation by Clustering Reading: Chapter 14 (skip 14.5) Data reduction - obtain a compact representation for interesting image data in terms of a set.
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 Wiley.
A Novel 2D To 3D Image Technique Based On Object- Oriented Conversion.
Handwritten Thai Character Recognition Using Fourier Descriptors and Robust C-Prototype Olarik Surinta Supot Nitsuwat.
Exercise Session 10 – Image Categorization
Methods in Medical Image Analysis Statistics of Pattern Recognition: Classification and Clustering Some content provided by Milos Hauskrecht, University.
Chapter 4 Pattern Recognition Concepts continued.
嵌入式視覺 Pattern Recognition for Embedded Vision Template matching Statistical / Structural Pattern Recognition Neural networks.
1 Template-Based Classification Method for Chinese Character Recognition Presenter: Tienwei Tsai Department of Informaiton Management, Chihlee Institute.
Principles of Pattern Recognition
OBJECT RECOGNITION. The next step in Robot Vision is the Object Recognition. This problem is accomplished using the extracted feature information. The.
1 TEMPLATE MATCHING  The Goal: Given a set of reference patterns known as TEMPLATES, find to which one an unknown pattern matches best. That is, each.
Presented by Tienwei Tsai July, 2005
BACKGROUND LEARNING AND LETTER DETECTION USING TEXTURE WITH PRINCIPAL COMPONENT ANALYSIS (PCA) CIS 601 PROJECT SUMIT BASU FALL 2004.
Image Processing1 Morphological and Other Area Operations Introduction –Morphology is the science of form and structure –It is about regions or.
S EGMENTATION FOR H ANDWRITTEN D OCUMENTS Omar Alaql Fab. 20, 2014.
CS 6825: Binary Image Processing – binary blob metrics
COMPARISON OF IMAGE ANALYSIS FOR THAI HANDWRITTEN CHARACTER RECOGNITION Olarik Surinta, chatklaw Jareanpon Department of Management Information System.
Image Classification 영상분류
: Chapter 6: Morphological Image Processing 1 Montri Karnjanadecha ac.th/~montri Image Processing.
: Chapter 4: Statistical Operations 1 Montri Karnjanadecha ac.th/~montri Image Processing.
Data Extraction using Image Similarity CIS 601 Image Processing Ajay Kumar Yadav.
1 E. Fatemizadeh Statistical Pattern Recognition.
Pattern Recognition April 19, 2007 Suggested Reading: Horn Chapter 14.
Handwritten Recognition with Neural Network Chatklaw Jareanpon, Olarik Surinta Mahasarakham University.
1 Pattern Recognition Pattern recognition is: 1. A research area in which patterns in data are found, recognized, discovered, …whatever. 2. A catchall.
Chapter 4: Pattern Recognition. Classification is a process that assigns a label to an object according to some representation of the object’s properties.
MACHINE LEARNING 8. Clustering. Motivation Based on E ALPAYDIN 2004 Introduction to Machine Learning © The MIT Press (V1.1) 2  Classification problem:
MUSTAFA OZAN ÖZEN PINAR SAĞLAM LEVENT ÜNVER MEHMET YILMAZ.
Advanced Analytics on Hadoop Spring 2014 WPI, Mohamed Eltabakh 1.
Digital Image Processing Lecture 24: Object Recognition June 13, 2005 Prof. Charlene Tsai *From Gonzalez Chapter 12.
Levels of Image Data Representation 4.2. Traditional Image Data Structures 4.3. Hierarchical Data Structures Chapter 4 – Data structures for.
1Ellen L. Walker Category Recognition Associating information extracted from images with categories (classes) of objects Requires prior knowledge about.
Irfan Ullah Department of Information and Communication Engineering Myongji university, Yongin, South Korea Copyright © solarlits.com.
1 Pattern Recognition: Statistical and Neural Lonnie C. Ludeman Lecture 28 Nov 9, 2005 Nanjing University of Science & Technology.
6.S093 Visual Recognition through Machine Learning Competition Image by kirkh.deviantart.com Joseph Lim and Aditya Khosla Acknowledgment: Many slides from.
Thresholding Foundation:. Thresholding In A: light objects in dark background To extract the objects: –Select a T that separates the objects from the.
Debrup Chakraborty Non Parametric Methods Pattern Recognition and Machine Learning.
Computer Vision Lecture 7 Classifiers. Computer Vision, Lecture 6 Oleh Tretiak © 2005Slide 1 This Lecture Bayesian decision theory (22.1, 22.2) –General.
Unsupervised Classification
1 A Statistical Matching Method in Wavelet Domain for Handwritten Character Recognition Presented by Te-Wei Chiang July, 2005.
Linear Models & Clustering Presented by Kwak, Nam-ju 1.
: Chapter 13: Finding Basic Shapes 1 Montri Karnjanadecha ac.th/~montri Image Processing.
Ch. 4: Feature representation
IMAGE PROCESSING RECOGNITION AND CLASSIFICATION
Principal Component Analysis (PCA)
Ch. 4: Feature representation
Pattern Recognition PhD Course.
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.
Digital Image Processing Lecture 24: Object Recognition
EM Algorithm and its Applications
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 Training
Pattern Recognition and Training
Presentation transcript:

: Chapter 10: Image Recognition 1 Montri Karnjanadecha ac.th/~montri Image Processing

: Chapter 10: Image Recognition 2 Chapter 10 Image Recognition

: Chapter 10: Image Recognition 3 Pattern Recognition and Training Pattern -- set of values (known size) that describe things The general problem Approaches to the decision-making process 1. Simple comparison 2. Common property 3.Clusters (using distance measurement |X 1 -u 1 | + |X 2 -u 2 | + … + |X n -u n | ) 4.Combination of 1, 2 and 3

: Chapter 10: Image Recognition 4 Pattern Recognition and Training Approaches to the decision-making process 1. Simple comparison 2. Common property 3.Clusters (using distance measurement |X 1 -u 1 | + |X 2 -u 2 | + … + |X n -u n | ) 4.Combination of 1, 2 and 3

: Chapter 10: Image Recognition 5 Decision Functions Decision function: w = (w 1, w 2, w 3, …, w n )

: Chapter 10: Image Recognition 6 Decision Functions If the pattern vector is x = [x 1, x 2, x 3, …, x n, 1] T, then –The unknown pattern is in group B if w T x > 0 –The unknown pattern is in group A if w T x <= 0 –Example: (8,4) is in group B because [1.5, -1.0, -3.5] [8, 4, 1] T = 8x = 4.5 and 4.5 > 0 –How about (4,4)?

: Chapter 10: Image Recognition 7 Decision Functions (Cont’d) The number of groups can be more than 2

: Chapter 10: Image Recognition 8 Decision Functions (Cont’d) Decision table Result of w1Result of w2Implication < 0 < 0 no group 0 group A > 0 < 0 group C > 0 > 0 group B Decision function need not be a linear function

: Chapter 10: Image Recognition 9 Cluster Means If the cluster consists of [3,4,8,2] [2,9,5,1][5,7,7,1], then the mean is [3.33, 6.67, 6.67, 1.33]. This represents the center of the four-dimensional cluster. The Euclidean distance from the center to a new pattern can be calculated as follows: new vector [3, 5, 7, 0], Euclidean distance = (3-3.33) 2 + (5-6.67) 2 + (7-6.67) 2 + (0-1.33) 2 = 4.78

: Chapter 10: Image Recognition 10 Automatic Clustering Technique 1: K-means clustering USE: To automatically find the best groupings and means of K clusters. OPERATION: –The pattern vectors of K different items are given to the system –Classifying them as best it can (without knowing which vector belongs to which item) –Let the pattern vectors be X 1, …, X n

: Chapter 10: Image Recognition 11 Automatic Clustering OPERATION: (cont’d) –Take the first K points as the initial estimation of the cluster means M 1 = X 1, M 2 = X 2, …, M k = X k *Allocate each pattern vector to the nearest group (minimum distance) –Calculate new cluster centers –If they are the same as the old centers, then STOP, other wise goto step *

: Chapter 10: Image Recognition 12 K-means clustering example M 1 = (2, 5.0) M 2 = (2, 5.5)

: Chapter 10: Image Recognition 13 K-means clustering example Allocating each pattern vector to the nearest center gives 1(2,5.0)group 1 2(2,5.5)group 2 3(6,2.5)group 1 4(7,2.0)group 1 5(7,3.0)group 1 6(3,4.5)group 1 The group means now become group 1: M 1 = (5, 3.4) group 2: M 2 = (2, 5.5)

: Chapter 10: Image Recognition 14 K-means clustering example This gives new groupings as follows: 1(2,5.0)group 2 2(2,5.5)group 2 3(6,2.5)group 1 4(7,2.0)group 1 5(7,3.0)group 1 6(3,4.5)group 2 And the group means become group 1: M 1 = (6.67, 2.5) group 2: M 2 = (2.33, 5.0) Groupings now stay the same and the processing stops.

: Chapter 10: Image Recognition 15 Optical Character Recognition Technique: Isolation of a character in an OCR document USE: To create a window containing only one character onto an array containing a text image

: Chapter 10: Image Recognition 16 Optical Character Recognition OPERATION: 1.Assuming that the image is correctly oriented and the text is dark on a white background 2.Calculate row sums of the pixel gray-level values. High row sums indicate a space between the rows 3.Calculate column sums of the pixel gray-level values. High column sums indicate a space between the columns

: Chapter 10: Image Recognition 17 Feature Extraction Technique: Creating the pattern vector (feature extraction) USE: To create the pattern vector for a character so that it can be compared with the library

: Chapter 10: Image Recognition 18 Feature Extraction OPERATION: 1.Assuming that the character has been isolated 2.Place a 4x4 grid over the image and count the number of “ink” pixels in each grid. 3.These number are then divided by the total number of pixels in the grid 4.Comparing resulting numbers with the library

: Chapter 10: Image Recognition 19 Feature Extraction