CoE4TN4 Image Processing

Similar documents
Chapter 11 Representation & Description

Chapter 11 Representation & Description

Image representation. 1. Introduction

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

Lecture 18 Representation and description I. 2. Boundary descriptors

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

Lecture 8 Object Descriptors

Topic 6 Representation and Description

Digital Image Processing

EECS490: Digital Image Processing. Lecture #23

Digital Image Processing Chapter 11: Image Description and Representation

Ulrik Söderström 21 Feb Representation and description

Lecture 10: Image Descriptors and Representation

Practical Image and Video Processing Using MATLAB

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

Digital Image Processing Fundamentals

ECEN 447 Digital Image Processing

Machine vision. Summary # 6: Shape descriptors

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

Lecture 6: Multimedia Information Retrieval Dr. Jian Zhang

Basic Algorithms for Digital Image Analysis: a course

Image and Multidimensional Signal Processing

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

COMPUTER AND ROBOT VISION

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

Digital Image Processing. Lecture # 15 Image Segmentation & Texture

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

EE 584 MACHINE VISION

Region-based Segmentation

Texture. Frequency Descriptors. Frequency Descriptors. Frequency Descriptors. Frequency Descriptors. Frequency Descriptors

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

ECE 176 Digital Image Processing Handout #14 Pamela Cosman 4/29/05 TEXTURE ANALYSIS

Texture Analysis. Selim Aksoy Department of Computer Engineering Bilkent University

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

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

OBJECT DESCRIPTION - FEATURE EXTRACTION

Examination in Image Processing

Binary Image Processing. Introduction to Computer Vision CSE 152 Lecture 5

Anne Solberg

EE795: Computer Vision and Intelligent Systems

FROM PIXELS TO REGIONS

Chapter 11 Arc Extraction and Segmentation

Digital Image Processing

Chapter 3: Intensity Transformations and Spatial Filtering

Motion Estimation and Optical Flow Tracking

Figure 1: Workflow of object-based classification

Problem definition Image acquisition Image segmentation Connected component analysis. Machine vision systems - 1

MPEG-7 Visual shape descriptors

Computer Graphics. The Two-Dimensional Viewing. Somsak Walairacht, Computer Engineering, KMITL

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

Processing of binary images

Analysis of Binary Images

Subset Warping: Rubber Sheeting with Cuts

Texture. Texture is a description of the spatial arrangement of color or intensities in an image or a selected region of an image.

Chapter 3. Sukhwinder Singh

CSCI 4620/8626. Coordinate Reference Frames

Unit 3 Transformations and Clipping

Announcements. Analysis of Binary Images. Color Reflectance

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

Anno accademico 2006/2007. Davide Migliore

ECG782: Multidimensional Digital Signal Processing

Glossary of dictionary terms in the AP geometry units

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

CAP 5415 Computer Vision Fall 2012

Multimedia Information Retrieval

Connected components - 1

Morphological Image Processing

Calypso Construction Features. Construction Features 1

OCCHIO USA WHITE STONE VA TEL(866)

Feature Detectors and Descriptors: Corners, Lines, etc.

CITS 4402 Computer Vision

ECG782: Multidimensional Digital Signal Processing

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

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

Image Processing Fundamentals. Nicolas Vazquez Principal Software Engineer National Instruments

Robot vision review. Martin Jagersand

Advanced Video Content Analysis and Video Compression (5LSH0), Module 4

A New Shape Matching Measure for Nonlinear Distorted Object Recognition

Announcements. Binary Image Processing. Binary System Summary. Histogram-based Segmentation. How do we select a Threshold?

Practice Exam Sample Solutions

Automated Particle Size & Shape Analysis System

Review for the Final

IEEE TRANSACTIONS ON IMAGE PROCESSING, VOL. 14, NO. 11, NOVEMBER Victor H. S. Ha, Member, IEEE, and José M. F. Moura, Fellow, IEEE

CSC418 / CSCD18 / CSC2504

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

Introduction to Image Processing and Analysis. Applications Scientist Nanotechnology Measurements Division Materials Science Solutions Unit

Learning Task: Exploring Reflections and Rotations

Chain Code Histogram based approach

4 Parametrization of closed curves and surfaces

Parallel Computation of Spherical Parameterizations for Mesh Analysis. Th. Athanasiadis and I. Fudos University of Ioannina, Greece

CHAPTER 2 TEXTURE CLASSIFICATION METHODS GRAY LEVEL CO-OCCURRENCE MATRIX AND TEXTURE UNIT

Other Voronoi/Delaunay Structures

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

You should be able to plot points on the coordinate axis. You should know that the the midpoint of the line segment joining (x, y 1 1

Chapter 3 Image Registration. Chapter 3 Image Registration

09/11/2017. Morphological image processing. Morphological image processing. Morphological image processing. Morphological image processing (binary)

Generic Fourier Descriptor for Shape-based Image Retrieval

EECS490: Digital Image Processing. Lecture #17

Schedule for Rest of Semester

Autoregressive and Random Field Texture Models

Transcription:

CoE4TN4 Image Processing Chapter 11 Image Representation & Description

Image Representation & Description After an image is segmented into regions, the regions are represented and described in a form suitable for computer processing (descriptors). Representing a region: 1. In terms of its external characteristics (boundary) 2. In term of its internal characteristics Exp: A region might be represented by the length of its boundary. External representations are used when the focus is on shape of the region. Internal representations are used when the focus is on color and texture. Representations should be insensitive to rotation and translation. 2

Chain Code Chain Code: Used to represent a boundary by a connected sequence of straight line segments. 4 or 8 connectivity is used The direction of each segment is coded by a numbering scheme. Method: Follow the boundary in a specific (clockwise) direction. Assign a direction to the segment connecting every pair of pixels. 2 3 4 5 6 1 3 2 1 7 0 0 3

Chain Code Exp: 003333232212111001 Problems: The chain code depends on the starting point. It changes with rotation. Starting Point 1 2 0 3 4

Solutions: Chain Code Treat the chain code as a circular sequence of numbers. Circulate until the number is of minimum magnitude. Use the difference of chain code instead of the code itself: count counterclockwise the number of directions that separates two adjacent elements (First difference) Exp: 10103322 First difference code: 33133030 0 2 1 3 5

Shape Number Shape number: first difference of smallest magnitude (in the chain code) Exp: chain code 003221 First difference code: 303303 Shape number: 033033 Starting Point 1 2 0 3 6

Signature Signature: a 1-D functional representation of a boundary Different ways of generating signature Plot distance form centroid to boundary as a function of angle 7

Signature Invariant to translation, depend on rotation and scaling To make it invariant to rotation we should select the same starting point regardless of the orientation Select starting point farthest from centroid (if unique) To make it invariant to scaling we can normalize to a particular range Other signatures: traverse the boundary, at each point plot the angle between a line tangent to the boundary and a reference line Slope-density-function: histogram of tangent-angle values Straight segments will form the peaks of histogram 8

Skeletons An important approach to representing structural shape of a plane region is to reduce it to a graph This may be accomplished by obtaining the skeleton of the region via a thinning algorithm. Applications in automated inspection. Definition of skeleton is based on medial axis transformation (MAT) 9

Skeletons MAT of a region R with border B: for each point p in R, find the closest neighbor in B. If p has more than one such neighbor, it belongs to medial axis (skeleton) MAT is based on prairie fire concept. Direct implementation of MAT is computationally expensive Alternative algorithms have been proposed that thin the boundary of a region until the skeleton is left 10

Skeletons An algorithm for thinning binary regions (assume region points are 1 and background points are 0) The algorithm has two steps which are applied to all the pixels on the contour of the region A contour point is any pixel with value 1 and having at least one 8-neighbor valued 0. In each step the boundary point that satisfy a set of conditions are flagged and then deleted 11

Skeletons Step 1 flags a contour point p1 if the following conditions are satisfied: N(p1): number of nonzero neighbors of p1 T(p1) : number of 0 to 1 transitions in ordered sequence p2,p3,.p8,p9,p2. 12

Skeletons After step 1 is applied to all border points those that are flagged are deleted (changed to 0) In step 2 conditions (a) and (b) remain the same but (c) and (d) are changed to: After step 2 is applied to all border points remaining after step 1, those that are flagged are deleted (changed to 0) This procedure is applied iteratively until no further points are deleted. 13

Skeletons 14

Simple boundary descriptors Length: number of pixels along the contour of a region Diameter: Dima(B)=max[D(p i,p j )] p i,p j are points on the boundary. Curvature: rate of change of slope. For digital images: the difference between the slopes of adjacent boundary segments. 15

Simple boundary descriptors Major axis: straight line segment joining the two points farthest from each other on the boundary Minor axis: Perpendicular to the major axis and of such length that a box could be formed to enclose the boundary. Eccentricity=Major axis/minor axis Basic rectangle (bounding box): the rectangle formed by minor and major axes enclosing the boundary. 16

Fourier Descriptor 17

Fourier Descriptor Fourier descriptors are not directly insensitive to translation, rotation and scaling. Magnitude of the Fourier descriptors is insensitive to rotation. 18

Fourier Descriptor 19

Regional Descriptors Area: number of pixels contained within a region Compactness: (perimeter) 2 /area Min and Max of the gray levels in the region Mean and median of gray levels 20

Topological Descriptors Topology: study of properties of a figure that are unaffected by any deformation, as long as there is no tearing or joining of the figure (rubber sheet distortions) Since stretching affects distance, topological properties do not depend on the notion of distance Number of holes in a region (H) Number of connected components (C) 21

Euler number: E=C-H Topological Descriptors Sometimes a region is represented by straight-line segments (polygonal network) V: number of vertices, Q: number of edges, F: number of faces => V-Q+F=C-H=E For the figure below right: 7-11+2=1-3=-2 22

Texture 23

Texture An important approach to region description is to quantify its texture content This descriptor provides measures of smoothness, coarseness and regularity 3 approaches in describing the texture of a region: statistical, structural, and spectral. 24

Texture (statistical) One of the simplest approaches for describing texture is to use statistical moments of the histogram of an image or a region is a measure of contrast 25

Texture (statistical) Third moment is a measure of skewness of histogram Measure of uniformity: U is maximum for an image in which all gray levels are equal Average entropy: a measure of variability and is zero for constant image 26

Texture (statistical) 27

Texture (statistical) Measures of texture computed using histogram carry no information regarding the relative position of pixels with respect to each other Let Q be a position operator and G a kxk matrix whose element a ij is the number of times that points with gray level z i occur (in position specified by Q) relative to points with gray level z j. 28

Q: one pixel to the right 29

Texture (statistical) Let n be the total number of point pairs in the image that satisfy Q (n=30 in the previous example) C=G/n : gray-level co-occurrence matrix C depends on Q C is analyzed to categorize texture over which C was computed 30

A simple texture primitive (texture elements) can be used to form more complex texture patterns by means of some rules Exp: S -> aa S, A: variables (symbols or primitives) a: some operation for example put a circle to the right Rule S -> aa says that starting point can be replaced by a circle to the right and a variable Exp: 1. S->aA 2. A-> ba, 3. A-> ca, 4. A->a, 5. A-> aa, a: circle right b: circle down Texture (structural) c: circle left 155233254 is a 3x3 square of circles 31

Texture (spectral) Three features of Fourier spectrum are useful in texture description: 1. Peaks in spectrum give the principle direction of texture pattern 2. Location of the peaks in the frequency plane gives spatial period of the pattern 3. Eliminating periodic components via filtering leaves non-periodic image elements that can be described by statistical techniques Spectrum is sometimes considered in polar coordinates: 32

Texture (spectral) 33

Texture (spectral) 34

Moments 35

Principle component analysis 36

Principle component analysis 37

Principle component analysis 38

Principle component analysis 39

Principle component analysis 40