Ulrik Söderström 21 Feb Representation and description

Similar documents
Boundary descriptors. Representation REPRESENTATION & DESCRIPTION. Descriptors. Moore boundary tracking

CoE4TN4 Image Processing

Lecture 8 Object Descriptors

Chapter 11 Representation & Description

Image representation. 1. Introduction

- Low-level image processing Image enhancement, restoration, transformation

EECS490: Digital Image Processing. Lecture #23

Lecture 10: Image Descriptors and Representation

Lecture 18 Representation and description I. 2. Boundary descriptors

Digital Image Processing

Machine vision. Summary # 6: Shape descriptors

Digital Image Processing Chapter 11: Image Description and Representation

9 length of contour = no. of horizontal and vertical components + ( 2 no. of diagonal components) diameter of boundary B

Chapter 11 Representation & Description

Topic 6 Representation and Description

Digital Image Processing Fundamentals

Practical Image and Video Processing Using MATLAB

Feature description. IE PŁ M. Strzelecki, P. Strumiłło

ECEN 447 Digital Image Processing

EE 584 MACHINE VISION

Image and Multidimensional Signal Processing

Examination in Image Processing

OBJECT DESCRIPTION - FEATURE EXTRACTION

Afdeling Toegepaste Wiskunde/ Division of Applied Mathematics Representation and description(skeletonization, shape numbers) SLIDE 1/16

Anne Solberg

COMP_4190 Artificial Intelligence Computer Vision. Computer Vision. Levels of Abstraction. Digital Images

Types of Edges. Why Edge Detection? Types of Edges. Edge Detection. Gradient. Edge Detection

Basic Algorithms for Digital Image Analysis: a course


FROM PIXELS TO REGIONS

Chapter 3 Image Registration. Chapter 3 Image Registration

Shape description and modelling

Object-Based Classification & ecognition. Zutao Ouyang 11/17/2015

Albert M. Vossepoel. Center for Image Processing

Lecture 6: Multimedia Information Retrieval Dr. Jian Zhang

Chapter 4 - Image. Digital Libraries and Content Management

Digital Image Processing

Chapter 3. Sukhwinder Singh

CS534 Introduction to Computer Vision Binary Image Analysis. Ahmed Elgammal Dept. of Computer Science Rutgers University

A Simple Cigarette Butts Detection System

Computer Vision. Image Segmentation. 10. Segmentation. Computer Engineering, Sejong University. Dongil Han

SUMMARY PART I. What is texture? Uses for texture analysis. Computing texture images. Using variance estimates. INF 4300 Digital Image Analysis

Multimedia Information Retrieval

PERFORMANCE ANALYSIS OF CHAIN CODE DESCRIPTOR FOR HAND SHAPE CLASSIFICATION

How to create shapes. Drawing basic shapes. Adobe Photoshop Elements 8 guide

Chapter 11 Arc Extraction and Segmentation

CS443: Digital Imaging and Multimedia Binary Image Analysis. Spring 2008 Ahmed Elgammal Dept. of Computer Science Rutgers University

Edge and local feature detection - 2. Importance of edge detection in computer vision

Computer Vision. Recap: Smoothing with a Gaussian. Recap: Effect of σ on derivatives. Computer Science Tripos Part II. Dr Christopher Town

Feature Extraction and Image Processing, 2 nd Edition. Contents. Preface

Lecture 14 Shape. ch. 9, sec. 1-8, of Machine Vision by Wesley E. Snyder & Hairong Qi. Spring (CMU RI) : BioE 2630 (Pitt)

Geometry / Integrated II TMTA Test units.

2D & 3D CAD SOFTWARE USER MANUAL. AutoQ3D CAD for ipad & iphone

6. Applications - Text recognition in videos - Semantic video analysis

A triangle that has three acute angles Example:

Fourier Descriptors. Properties and Utility in Leaf Classification. ECE 533 Fall Tyler Karrels

MPEG-7 Visual shape descriptors

UNIVERSITY OF OSLO. Faculty of Mathematics and Natural Sciences

A Comprehensive Introduction to SolidWorks 2011

SUPPLEMENTARY FILE S1: 3D AIRWAY TUBE RECONSTRUCTION AND CELL-BASED MECHANICAL MODEL. RELATED TO FIGURE 1, FIGURE 7, AND STAR METHODS.

Image Processing, Analysis and Machine Vision

Basic and Intermediate Math Vocabulary Spring 2017 Semester

Matching and Recognition in 3D. Based on slides by Tom Funkhouser and Misha Kazhdan

Review for the Final

Forces acting on a lamina

EE795: Computer Vision and Intelligent Systems

Image Processing Fundamentals. Nicolas Vazquez Principal Software Engineer National Instruments

IN5520 Digital Image Analysis. Two old exams. Practical information for any written exam Exam 4300/9305, Fritz Albregtsen

Number/Computation. addend Any number being added. digit Any one of the ten symbols: 0, 1, 2, 3, 4, 5, 6, 7, 8, or 9

A Survey on Feature Extraction Techniques for Shape based Object Recognition

ECG782: Multidimensional Digital Signal Processing

Name Date Period. Worksheet 6.3 Volumes Show all work. No calculator unless stated. Multiple Choice

CS4733 Class Notes, Computer Vision

Morphological Image Processing

Marionette nodes - Vol. 1

Figure 1: Workflow of object-based classification

Overview. Spectral Processing of Point- Sampled Geometry. Introduction. Introduction. Fourier Transform. Fourier Transform

The Ultimate Maths Vocabulary List

EECS490: Digital Image Processing. Lecture #17

(Refer Slide Time: 00:02:00)

Image Processing: Final Exam November 10, :30 10:30

We are IntechOpen, the world s leading publisher of Open Access books Built by scientists, for scientists. International authors and editors

Image Processing 1 (IP1) Bildverarbeitung 1

Computer Graphics 1. Chapter 2 (May 19th, 2011, 2-4pm): 3D Modeling. LMU München Medieninformatik Andreas Butz Computergraphik 1 SS2011

Triangulation and Convex Hull. 8th November 2018

OBJECT SORTING IN MANUFACTURING INDUSTRIES USING IMAGE PROCESSING

1 Background and Introduction 2. 2 Assessment 2

Morphological Image Processing

Lesson 1. Unit 2 Practice Problems. Problem 2. Problem 1. Solution 1, 4, 5. Solution. Problem 3

Files Used in This Tutorial. Background. Feature Extraction with Example-Based Classification Tutorial

4 Parametrization of closed curves and surfaces

HOUGH TRANSFORM CS 6350 C V

SUMMARY: DISTINCTIVE IMAGE FEATURES FROM SCALE- INVARIANT KEYPOINTS

SUMMARY PART I. Variance, 2, is directly a measure of roughness. A bounded measure of smoothness is

Ulrik Söderström 16 Feb Image Processing. Segmentation

Algorithms for Recognition of Low Quality Iris Images. Li Peng Xie University of Ottawa

8. The triangle is rotated around point D to create a new triangle. This looks like a rigid transformation.

OCCHIO USA WHITE STONE VA TEL(866)

EE368 Project Report CD Cover Recognition Using Modified SIFT Algorithm

Automated Particle Size & Shape Analysis System

Transcription:

Ulrik Söderström ulrik.soderstrom@tfe.umu.se 2 Feb 207 Representation and description

Representation and description Representation involves making object definitions more suitable for computer interpretations Description is to quantify our representation of objects First segmentation, then representation, and finally description 2

3 Invariances In all representation it is desirable to chose a method that is Translational invariance Size invariance Rotational invariance ]), [ ), ( ( )), ( ( y x y x f r y x f r ]), [ ), ( ( )), ( ( y x y x f r y x f r cos sin sin cos ), ( )), ( ( y x f r y x f r

Example Source image (6x6) Rotated 27 deg. 4

Source image (64x64) Rotated 27 deg. 5

Representations An external representation is based upon the outer borders (edges) of the object An internal representation is based upon the interior of an area/object (color, texture etc.) 6

Chain coding Chain coding consist of walking around the periphery of the object step by step while recording directions at each pixel Definition of directions (d 4 and d 8 ) 7

Digital boundary After resampling 8

d 4 chain code d 8 chain code 9

The chain code information table will have the same length as the periphery of the object. In many cases this will be unreasonably long It could be reduced by resampling the image with a lower resolution. This will also reduce noise The chain code is very much dependent on the starting point 0

To reduce this dependence we see the code as a circular number with n digits When circulating the code, we look for the smallest number, when the chain code is interpreted as an integer. This will result in a code that is independent of starting point. Example: 025004453 => 004453025

To make the code rotationally invariant we record the differences in direction (counter clockwise) instead of the absolute directions This representation will than be rotationally invariant Example 0034603647 => 03223363 2

Polygonal approximation Objects can also be represented by polygons i.e. a series of boarder points connected by straight lines A polygon should, with as few points as possible, present the basic characteristics of the object 3

Minimum perimeter polygons Enclose the shape with cells Rubber band contained within the cells Error is max 2d d = width of cells 4

Merging. Merge points along a border until a leastsquare fit error threshold is reached 2. Set the error to 0 3. Repeat step and 2 A new line is not started until the error threshold is reached -> incorrect corners 5

Splitting Split the shape into parts until a criterion is reached Finds important (prominent) edges 6

Splitting algorithm. Set i= 2. Mark the two points on the border that have the largest distance from each other with p 3. Connect the points with a polygon 4. Find the point, on the border, that has the largest distance to the line in 3. If this distance is larger than a threshold level, mark the point with p i 5. Increase i one step 6. If no points have been added, stop else goto 3 7

Signatures Describe the shape as a D-function e.g. distance to center, based on angle 8

Boundary segments Use a set of features to represent the boundary Only useful for large boundaries with similar shapes 9

Description To quantify a representation of an object Properties like length, curvature etc. Boundary descriptors Region descriptors 20

Length One of the simplest measurements is to find the length P of the perimeter of an object. This is done by calculating the number of border pixels i.e. the number of pixels that has at least one background neighbour 2

This can be done more exact by assuming that the center of a pixel is a center of a polygon. 22

The diameter of an object is defined as: Diam(B)= max[d(p i, p j,)] Where D is any metric The line passing throw p i and p j is called the major axis The curvature of the periphery is the angle between two line segments 23

Area We can approximate area with the number of pixels in an object, but we get a more exact representation if we see every pixel centre as a corners of a polygon Than the area will be (one corner in origo) 24

25 And the total area will be ) ( 2 ) )( ( 2 2 2 2 2 2 2 2 2 y x y x y y x x y x y x y x da N b i i i i y x y x A 2

One way of measuring shape is P2 A 2 P 4A P =perimeter and A is the area of the object. A perfect circle has P 2A = 26

27

Shape numbers. Calculate the chain code of the object 2. Calculate the difference code for the chain code 3. Rotate the code to make it translational invariant This integer is called the shape measurement of the object. The number of digits is the shape number of the object. 28

29

Excentricity The relation between the length of the main axis and the largest width perpendicular to the main axis is called excentricity Given an order of the shape we can find the rectangle that is the best approximation of the objects excentricity 30

The rectangle is adjusted so it s main axis coincide with the objects main axis This rectangle defines a resampling grid The shape measurement is then calculated on the resampling object 3

32

33 Create complex numbers from coordinates The Fourier transform of s(k) The inverse Fourier transform Fourier descriptors ) ( ) ( ) ( k jy k x k s 0 / 2 ) ( ) ( K k K uk j e k s K u a 0 / 2 ) ( ) ( K u K uk j e u a k s 0 / 2 ) ( ) ˆ( P u K uk j e u a k s

34

Regional descriptors Describes the inside of a region Area Compactness Perimeter 2 / Area Dimensionless = not sensitive to size 35

Topological descriptors Not sensitive to deformation Quite simple descriptors Euler number Connected components - holes 36

Texture No standard to define texture Smoothness, coarseness, regularity Statistical approaches Histogram, entropy, etc. Spectral approaches Fourier representation Frequencies in the texture 37

Principal components The information is compacted in descending order The first principal component has most information The entire region is represented sparsely Principal information can be compared between different regions. 38

Regionprops Useful function in MATLAB Measures a set of properties for objects in an image The image can be binary or grayscale all Shape measurements Pixel value measurements Used for grayscale 39