Lecture 10: Image Descriptors and Representation

Similar documents
Digital Image Processing Chapter 11: Image Description and Representation

Lecture 8 Object Descriptors

CoE4TN4 Image Processing

Chapter 11 Representation & Description

Chapter 11 Representation & Description

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

EECS490: Digital Image Processing. Lecture #23

Lecture 18 Representation and description I. 2. Boundary descriptors

Ulrik Söderström 21 Feb Representation and description

Digital Image Processing

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

Image representation. 1. Introduction

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

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

Machine vision. Summary # 6: Shape descriptors

Topic 6 Representation and Description

Image and Multidimensional Signal Processing

Digital Image Processing Fundamentals

Lecture 7: Morphological Image Processing

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

Lecture 6: Multimedia Information Retrieval Dr. Jian Zhang

ECEN 447 Digital Image Processing

Basic Algorithms for Digital Image Analysis: a course

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

Anne Solberg

Digital Image Processing

EE 584 MACHINE VISION

Practical Image and Video Processing Using MATLAB

EE795: Computer Vision and Intelligent Systems

EECS490: Digital Image Processing. Lecture #17

Digital Image Processing Lecture 7. Segmentation and labeling of objects. Methods for segmentation. Labeling, 2 different algorithms

FROM PIXELS TO REGIONS

Multimedia Information Retrieval

Morphological Image Processing

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

Image Processing, Analysis and Machine Vision

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

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

COMPUTER AND ROBOT VISION

Computer Vision I - Basics of Image Processing Part 2

OBJECT DESCRIPTION - FEATURE EXTRACTION

Computer Graphics and Image Processing

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

Image retrieval based on region shape similarity

Digital Image Processing. Lecture # 15 Image Segmentation & Texture

Geometric Transformations: Translation:

UNIVERSITY OF OSLO. Faculty of Mathematics and Natural Sciences

Motion Estimation and Optical Flow Tracking

Lecture 5 2D Transformation

Morphological Image Processing

Review for the Final

Chapter 3. Sukhwinder Singh

2D Spline Curves. CS 4620 Lecture 18

Morphological Image Processing

Chapter 3 Image Registration. Chapter 3 Image Registration

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

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

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

Feature Descriptors. CS 510 Lecture #21 April 29 th, 2013

OCCHIO USA WHITE STONE VA TEL(866)

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

a triangle with all acute angles acute triangle angles that share a common side and vertex adjacent angles alternate exterior angles

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

SI-100 Digital Microscope. User Manual

Chapter 3: Intensity Transformations and Spatial Filtering

Lecture 3: Binary Subtraction, Switching Algebra, Gates, and Algebraic Expressions

Local Features: Detection, Description & Matching

Dietrich Paulus Joachim Hornegger. Pattern Recognition of Images and Speech in C++

Requirements for region detection

Math 7, Unit 8: Geometric Figures Notes

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

CSE 167: Introduction to Computer Graphics Lecture 12: Bézier Curves. Jürgen P. Schulze, Ph.D. University of California, San Diego Fall Quarter 2013

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

Lecture IV Bézier Curves

Feature descriptors. Alain Pagani Prof. Didier Stricker. Computer Vision: Object and People Tracking

11. Gray-Scale Morphology. Computer Engineering, i Sejong University. Dongil Han

ELEC Dr Reji Mathew Electrical Engineering UNSW

BSB663 Image Processing Pinar Duygulu. Slides are adapted from Selim Aksoy

Analytical and Computer Cartography Winter Lecture 9: Geometric Map Transformations

Filtering Images. Contents

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

Mathematical Morphology and Distance Transforms. Robin Strand

Today s class. Geometric objects and transformations. Informationsteknologi. Wednesday, November 7, 2007 Computer Graphics - Class 5 1

Lecture 4: Spatial Domain Transformations

Image Enhancement: To improve the quality of images

Introduction. Computer Vision & Digital Image Processing. Preview. Basic Concepts from Set Theory

A taxonomy of boundary descriptions

CPSC 695. Geometric Algorithms in Biometrics. Dr. Marina L. Gavrilova

CURVES OF CONSTANT WIDTH AND THEIR SHADOWS. Have you ever wondered why a manhole cover is in the shape of a circle? This

SIFT: SCALE INVARIANT FEATURE TRANSFORM SURF: SPEEDED UP ROBUST FEATURES BASHAR ALSADIK EOS DEPT. TOPMAP M13 3D GEOINFORMATION FROM IMAGES 2014

Computer Graphics Prof. Sukhendu Das Dept. of Computer Science and Engineering Indian Institute of Technology, Madras Lecture - 24 Solid Modelling

CSE 167: Introduction to Computer Graphics Lecture #11: Bezier Curves. Jürgen P. Schulze, Ph.D. University of California, San Diego Fall Quarter 2016

1/60. Geometric Algorithms. Lecture 1: Introduction. Convex Hulls

Math 7, Unit 08: Geometric Figures Notes

Raghuraman Gopalan Center for Automation Research University of Maryland, College Park

Glossary of dictionary terms in the AP geometry units

Automatic Image Alignment (feature-based)

2D Spline Curves. CS 4620 Lecture 13

Course Number: Course Title: Geometry

CSCI 4620/8626. Coordinate Reference Frames

Transcription:

I2200: Digital Image processing Lecture 10: Image Descriptors and Representation Prof. YingLi Tian Nov. 15, 2017 Department of Electrical Engineering The City College of New York The City University of New York (CUNY) Thanks to G&W website, Dr. Shahram Ebadollahi for slide materials 1

Image Representation and Description? Objective: To represent and describe information embedded in an image in other forms that are more suitable than the image itself. Benefits: Easier to understand Require fewer memory, faster to be processed More ready to be used 2

Outline Image Description Shape Descriptors Region Descriptors Texture & Texture Descriptors

Shape Description Shape Represented by its Boundary Shape Numbers, Fourier Descriptors, Statistical Moments Shape Represented by its Interior Topological Descriptors Moment Invariants 4

Boundary Representation: Chain Code Why boundary? The boundary is a good representation of an object shape and also requires a few memory. Chain codes: represent an object boundary by a connected sequence of straight line segments of specified length and direction. 5

Boundary Representation: Chain Code Object boundary (resampling) Boundary vertices 4-directional chain code 8-directional chain code 6

The First Difference of a Chain Codes Problem of a chain code: a chain code sequence depends on a starting point. Solution: treat a chain code as a circular sequence and redefine the starting point so that the resulting sequence of numbers forms an integer of minimum magnitude. The first difference of a chain code: counting the number of direction change (in counterclockwise) between 2 adjacent elements of the code. 7

The First Difference of a Chain Codes: Example 2 Example: Example: - a chain code: 10103322 - The first difference = 3133030 - Treating a chain code as a circular sequence, we get the first difference = 33133030 1 3 0 Chain code : The first difference 0 1 1 0 2 2 0 3 3 2 3 1 2 0 2 2 1 3 (counterclockwise) The first difference is rotational invariant. 8

Chain Code: example (First difference of chain code) 9

Boundary Descriptors 1. Simple boundary descriptors: we can use - Length of the boundary - The size of smallest circle or box that can totally enclosing the object 2. Shape number 3. Fourier descriptor 4. Statistical moments

Shape Numbers Shape number of the boundary definition: the first difference of smallest magnitude The order n of the shape number: the number of digits in the sequence 2 1 3 0

Shape Numbers Shape numbers of order 4, 6 and 8

Example: Shape Numbers 2. Find the smallest rectangle that fits the shape 1. Original boundary Chain code: 0 0 0 0 3 0 0 3 2 2 3 2 2 2 1 2 1 1 First difference: 3 0 0 0 3 1 0 3 3 0 1 3 0 0 3 1 3 0 3. Create grid 4. Find the nearest Grid. Shape No. 0 0 0 3 1 0 3 3 0 1 3 0 0 3 1 3 0 3

Boundary descriptor Fourier Fourier descriptor: view a coordinate (x,y) as a complex number (x = real part and y = imaginary part) then apply the Fourier transform to a sequence of boundary points. Let s(k) be a coordinate s( k) x( k) jy( k) of a boundary point k : Fourier descriptor : a( u) 1 K K 1 k 0 s( k) e 2 uk / K Reconstruction formula Boundary points s( k) 1 K K 1 k 0 a( u) e 2 uk / K

Fourier Descriptor Properties

Boundary Reconstruction using Fourier Descriptors 2868 descriptors Only 8 descriptors 16

Polygon Approximation Represent an object boundary by a polygon Minimum perimeter polygon consists of line segments that minimize distances between boundary pixels. 17

Polygon Approximation: Splitting Techniques 1. Find the line joining 0. Object boundary two extreme points 2. Find the farthest points from the line 3. Draw a polygon 18

Boundary Representation: Signatures Represent 2-D boundary shape using 1-D signature signal 19

Boundary Representation: Signatures 20

Boundary Segments Concept: Partitioning an object boundary by using vertices of a convex hull. Partitioned boundary Convex hull (gray color) Object boundary 21

Skeletons Obtained from thinning or skeletonizing processes 22

Region Descriptors - Simple 23

Region Descriptors - Example White pixels represent light of the cities % of white pixels Region no. compared to the total white pixels 1 20.4% 2 64.0% 3 4.9% 4 10.7% Infrared image of America at night 24

Topological Region Descriptors Topological properties: Properties of image preserved under rubber-sheet distortions 25

Topological Descriptors: example Original image: Infrared image Of Washington D.C. area The largest connected area (8479 Pixels) (Hudson river) After intensity Thresholding (1591 connected components with 39 holes) Euler no. = 1552 After thinning 26

Boundary Description: Statistical Moments Definition: the n th moment where ( r ) n m K 1 i 0 ( r K 1 i 0 i m ) r g ( i r i ) n g ( r i ) Example of moment: The first moment = mean The second moment = variance Boundary segment 1D graph 1. Convert a boundary segment into 1D graph 2. View a 1D graph as a PDF function 3. Compute the n th order moment of the graph 27

Geometric Moment Invariants 28

Central Moments 29

Moment Invariants (translation, scale, mirroring, rotation) 30

Moment Invariants (translation, scale, mirroring, rotation) 31

Affine Transform & Affine Moment Invariants 32

Affine Transform & Affine Moment Invariants 33

Elliptical Shape Descriptors 34

Texture - Definition Purpose: to describe pattern of the region. 35

Texture Quantification Methods 36

Statistical Texture Analysis 1st order statistics 37

Texture Examples: optical microscope images: B C A Superconductor (smooth texture) Cholesterol (coarse texture) Microprocessor (regular texture) 38

Texture Example: The 2 nd moment = variance measure smoothness The 3 rd moment measure skewness The 4 th moment measure uniformity (flatness) A B C 39

Statistical Texture Analysis: 1st order statistics 40

Statistical Texture Analysis: 2nd order statistics: Co-occurrence 41

Statistical Texture Analysis: 2nd order statistics: Co-occurrence 42

Statistical Texture Analysis: 2nd order statistics: Co-occurrence 43

Statistical Texture Analysis (Example) 44

Statistical Texture Analysis (Example) 45

Statistical Texture Analysis 2nd order statistics: Difference Statistics 46

Statistical Texture Analysis 2nd order statistics: Autocorrelation 47

48

49

Fourier Approach for Texture Descriptor Concept: convert 2D spectrum into 1D graphs Original image FFT2D +FFTSHIFT Fourier coefficient image Divide into areas by angles Divide into areas by radius Sum all pixels in each area S( ) R 0 r 1 S r ( ) Sum all pixels in each area S( r) S ( r) 0 50

Fourier Approach for Texture Descriptor Original image 2D Spectrum (Fourier Tr.) S(r) S( ) Another image Another S( ) 51

Which descriptors? Image Feature Evaluation 52

Announcement Reading G&W Chapter 11 Next lecture: Object Recognition (Chapter 12) 53