ENT 273 Object Recognition and Feature Detection Hema C.R.

Slides:



Advertisements
Similar presentations
Applications of one-class classification
Advertisements

Representation and Description
電腦視覺 Computer and Robot Vision I
November 12, 2013Computer Vision Lecture 12: Texture 1Signature Another popular method of representing shape is called the signature. In order to compute.
Image Analysis Phases Image pre-processing –Noise suppression, linear and non-linear filters, deconvolution, etc. Image segmentation –Detection of objects.
Computer Vision Lecture 16: Region Representation
Instructor: Mircea Nicolescu Lecture 13 CS 485 / 685 Computer Vision.
November 4, 2014Computer Vision Lecture 15: Shape Representation II 1Signature Another popular method of representing shape is called the signature. In.
A Study of Approaches for Object Recognition
Processing Digital Images. Filtering Analysis –Recognition Transmission.
Objective of Computer Vision
Scale Invariant Feature Transform (SIFT)
Objective of Computer Vision
COMP322/S2000/L23/L24/L251 Camera Calibration The most general case is that we have no knowledge of the camera parameters, i.e., its orientation, position,
Lectures 10&11: Representation and description
Information that lets you recognise a region.
Chapter 11 Representation and Description. Preview Representing a region involves two choices: In terms of its external characteristics (its boundary)
E.G.M. PetrakisBinary Image Processing1 Binary Image Analysis Segmentation produces homogenous regions –each region has uniform gray-level –each region.
Introduction --Classification Shape ContourRegion Structural Syntactic Graph Tree Model-driven Data-driven Perimeter Compactness Eccentricity.
October 8, 2013Computer Vision Lecture 11: The Hough Transform 1 Fitting Curve Models to Edges Most contours can be well described by combining several.
Digital Image Processing
Machine Vision for Robots
October 14, 2014Computer Vision Lecture 11: Image Segmentation I 1Contours How should we represent contours? A good contour representation should meet.
OBJECT RECOGNITION. The next step in Robot Vision is the Object Recognition. This problem is accomplished using the extracted feature information. The.
Presented by Tienwei Tsai July, 2005
Digital Image Processing, 2nd ed. © 2002 R. C. Gonzalez & R. E. Woods Chapter 11 Representation & Description Chapter 11 Representation.
Digital Image Processing Lecture 20: Representation & Description
Recap CSC508.
Topic 10 - Image Analysis DIGITAL IMAGE PROCESSING Course 3624 Department of Physics and Astronomy Professor Bob Warwick.
Intelligent Vision Systems ENT 496 Object Shape Identification and Representation Hema C.R. Lecture 7.
November 13, 2014Computer Vision Lecture 17: Object Recognition I 1 Today we will move on to… Object Recognition.
Digital Image Processing, 2nd ed. © 2002 R. C. Gonzalez & R. E. Woods Representation & Description.
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.
Introduction --Classification Shape ContourRegion Structural Syntactic Graph Tree Model-driven Data-driven Perimeter Compactness Eccentricity.
A survey of different shape analysis techniques 1 A Survey of Different Shape Analysis Techniques -- Huang Nan.
Fourier Descriptors For Shape Recognition Applied to Tree Leaf Identification By Tyler Karrels.
Levels of Image Data Representation 4.2. Traditional Image Data Structures 4.3. Hierarchical Data Structures Chapter 4 – Data structures for.
CS654: Digital Image Analysis Lecture 36: Feature Extraction and Analysis.
CSE 185 Introduction to Computer Vision Feature Matching.
Text From Corners: A Novel Approach to Detect Text and Caption in Videos Xu Zhao, Kai-Hsiang Lin, Yun Fu, Member, IEEE, Yuxiao Hu, Member, IEEE, Yuncai.
Machine Vision ENT 273 Regions and Segmentation in Images Hema C.R. Lecture 4.
1 Overview representing region in 2 ways in terms of its external characteristics (its boundary)  focus on shape characteristics in terms of its internal.
Machine Vision Edge Detection Techniques ENT 273 Lecture 6 Hema C.R.
Robotics Chapter 6 – Machine Vision Dr. Amit Goradia.
Machine Vision ENT 273 Hema C.R. Binary Image Processing Lecture 3.
Course 3 Binary Image Binary Images have only two gray levels: “1” and “0”, i.e., black / white. —— save memory —— fast processing —— many features of.
May 2003 SUT Color image segmentation – an innovative approach Amin Fazel May 2003 Sharif University of Technology Course Presentation base on a paper.
Sheng-Fang Huang Chapter 11 part I.  After the image is segmented into regions, how to represent and describe these regions? ◦ In terms of its external.
Materi 09 Analisis Citra dan Visi Komputer Representasi and Deskripsi 1.
SIFT.
October 3, 2013Computer Vision Lecture 10: Contour Fitting 1 Edge Relaxation Typically, this technique works on crack edges: pixelpixelpixel pixelpixelpixelebg.
Processing visual information for Computer Vision
Image Representation and Description – Representation Schemes
SIFT Scale-Invariant Feature Transform David Lowe
IT472: Digital Image Processing
IMAGE PROCESSING RECOGNITION AND CLASSIFICATION
Digital Image Processing Lecture 20: Representation & Description
Materi 10 Analisis Citra dan Visi Komputer
Mean Shift Segmentation
Slope and Curvature Density Functions
Computer Vision Lecture 5: Binary Image Processing
Fitting Curve Models to Edges
Brief Review of Recognition + Context
Object Recognition Today we will move on to… April 12, 2018
SIFT.
Representation and Description
Midterm Exam Closed book, notes, computer Similar to test 1 in format:
Representation and Description
Fourier Transform of Boundaries
Presentation transcript:

ENT 273 Object Recognition and Feature Detection Hema C.R. Machine Vision ENT 273 Object Recognition and Feature Detection Hema C.R. Lecture 7

Road Map Feature Extraction Contour Chain codes Object Recognition Object Representation Feature Detection Hough Transform Fourier Descriptors Hema ENT 273 Lecture 7

Contour Represented as ordered list of edges or a curve Criteria for good contour Efficiency: simple and compact representation Accuracy: accurately fit image features Effectiveness: suitable for operations to be performed at a later stage Hema ENT 273 Lecture 7

Definitions Edge list Contour Boundary Ordered set of edge points or fragments Contour Edge list or a curve that is used to represent the edge list Boundary Closed contour that surrounds a region Note: The term edge generally refers to edge points Hema ENT 273 Lecture 7

Object Recognition Object recognition systems find objects in the real world from an image of the world. Object recognition can be defined as a labeling problem based on models of known objects. Hema ENT 273 Lecture 7

OBJECT RECOGNITION The next step in Robot Vision is the Object Recognition. This problem is accomplished using the extracted feature information. The object recognition algorithm is to be powerful and fast so that the required object is uniquely recognized. There are mainly two methods Template matching technique A template is provided to computer and the computer is trained to match the object with the template irrespective of object orientation. Hema ENT 273 Lecture 7

Structural technique Several structural techniques are available. These may take the features also in to account. We discuss a common method known as Hema ENT 273 Lecture 7

Chain Codes Notation for recording list of edge points along contour Chain code specifies the direction of the contour at each edge Directions are quantized into one of eight directions These codes are also known as freeman codes Are used for the description of pixel border Local information of the objects can be obtained from the chain code E.g. where image border turns 90 degrees etc. CHAIN CODE. Here there are two approaches (a) 4-Directional Chain Code (b) 8 Directional Chain code Hema ENT 273 Lecture 7

Start with the start point and go along the arrows 4-directional converter 8-directional converter 1 2 3 4 5 6 7 OBJECT Start with the start point and go along the arrows Comparing the contour of object with respect to 4-directional chain code converter, we get Chain code of Object: 03032211 START Hema ENT 273 Lecture 7

We then get the difference; CHAIN CODE : 03032211 We then get the difference; Difference between 0 and 3 is 3 (ref 4 direc. converter) Difference between 3 and 0 is 1 Difference between 0 and 3 is 3 and so on Difference between 1 and 1 is 0 Difference between 1 and 0 is 3. Difference Code is : 31330303 Take the minimum (decimal)value of Difference code as This SHAPE number is for the object, uniquely recognized, independent of rotation (by 900). Normally chosen from Difference Code of smallest order Hema ENT 273 Lecture 7

Another Object Verify: Chain Code: 0330011033323333221112111 Difference code: 3010103300310003030013003 Shape Number: 0003030013003301010330031 Hema ENT 273 Lecture 7

If the object edges are of slopes 450, 1350 , - 450 and - 1350, then we can use the 8-Directional converter. The procedure of getting the shape number is the same. This method of object recognition is fast and can be used for different shapes of objects to be recognized if they are coming in a random sequence. Hema ENT 273 Lecture 7

Chain coding example 2 3 4 1 5 8 7 6 3 5 6 7 1 2 Hema ENT 273 Lecture 7

Components of a object recognition system Model database – model base Feature detector Hypothesizer Hypothesis verifier Feature Detector Hypothesis Formation verification Modelbase Image Features Candidate objects Object Class Hema ENT 273 Lecture 7

Components Model Database Feature Detector Hypothesizer Contains all models known to the system for recognition –such as size, color, shape, CAD drawing etc Feature Detector Applies operators to images and identifies location of features that help the object hypothesis Hypothesizer Assigns likelihood to objects using features detected and selects object with highest likelihood Hypothesis Verifier Uses object models to select most likely object Note: Depending on the complexity of the problems one or more modules becomes trivial. Hema ENT 273 Lecture 7

Object Representation Observer-Centered Representation Applied to objects relatively in stable positions w.r. to camera Global features of a scene are recognized Features are selected based on experience of designer or analyzing features to form object groups Object-Centered Representation Uses description of objects based on usually 3D Independent of camera parameters Used in constructive solid geometry e.g. CAD / CAM Hema ENT 273 Lecture 7

Recognition Strategies Object recognition is a sequence of steps that is performed after appropriate features have been detected. Not all object recognition techniques require strong hypothesis formation and verification steps Hypothesizer Classifier Features Object Verifier Sequential Matching Features Object Hypothesizer Verifier Features Object Hema ENT 273 Lecture 7

Strategies Classification Matching Nearest neighbor Similar features in a region are clustered, based on a centroid and distance Bayesian Classifier Used when distribution of objects is not straightforward When there is an overlap of features of different objects. Probabilistic knowledge about features and frequency of objects is used Neural Nets Implement a classification approach Use nonlinear boundary partition of features Boundaries are used by training a net Off-line computations Computations are done before recognition Recognition process can be converted to a look-up table Matching Feature Matching Known features of the object are matched with unknown objects feature to find matches Symbolic Matching Relation among features are matched Graph matching Hema ENT 273 Lecture 7

Feature Detection Global Features Local Features Relational Features Characteristic of a region Area Perimeter Fourier Descriptors Moments Local Features Features on the boundary of an object or a small region Curvature Boundary segment Corners Relational Features Based on relative positions of different entities like regions, closed contours etc. Distance between features Used in defining composite objects Hema ENT 273 Lecture 7

FEATURE EXTRACTION: In vision, it is often necessary to distinguish one object from another. This is accomplished by mean of features that uniquely characterize the object. Some features of objects that can be used in Vision are: (a) Area (b) Minimum Enclosing rectangle (c) Diameter (d) center of gravity Perimeter (f) eccentricity (g) Aspect Ratio (h) Number of holes (i) Moments Hema ENT 273 Lecture 7

EXAMPLE: Let an original image of an object undergone several image processing techniques and finally available to us as a pixel pattern shown below: Hema ENT 273 Lecture 7

Some of features can be computed as: Moment ( M00 ) = = 24 Eccentricity = (Max x-length) / (Max y-length) = 9/4 Perimeter = 22 Area = 24 Diameter = 9 Thinness = {Diameter / area } = ( 9 / 24 ) = 0.375 (g) compactness = { (perimeter)2 / area } = ( 22 2 /24 ) No: of holes = 0 Objects having these features belong to one category Hema ENT 273 Lecture 7

Example of Histogram Hema ENT 273 Lecture 7

Hema ENT 273 Lecture 7

Hema ENT 273 Lecture 7

Hema ENT 273 Lecture 7

Center of Gravity (COG) Image Area Center of Gravity (COG) Or centroid for xc and yc. The area and COG is used to identify the position of the object Hema ENT 273 Lecture 7

Moments- A sequence of numbers characterzing the shape of an object The sum of power (j+k) is the order of themoment Hema ENT 273 Lecture 7

If the COG is known we can determine the central of moment Because object is balanced at COG, the first order moment is zero Hema ENT 273 Lecture 7

The second order moment give the moment inertia of the image Hema ENT 273 Lecture 7

Orientation-the angle of inclination Hema ENT 273 Lecture 7

Eccentricity- maximum chord length is along the principal axis or major axis of object and minimum chord length is perpendicular to major axis Hema ENT 273 Lecture 7

Aspect Ratio=Length of Rectangle enclosing object Roundness, Aspect Ratio=Length of Rectangle enclosing object Width of rectangle enclosing Object Hema ENT 273 Lecture 7

Example of Object Recognition Hema ENT 273 Lecture 7

Hema ENT 273 Lecture 7

Hema ENT 273 Lecture 7

Machine Vision Object Recognition and Feature Detection Hema C.R. End of Lecture 7