+ All Categories
Home > Documents > Mathematical Morphology - Set-theoretic representation for binary shapes Qigong Zheng Language and...

Mathematical Morphology - Set-theoretic representation for binary shapes Qigong Zheng Language and...

Date post: 30-Dec-2015
Category:
Upload: philip-cobb
View: 215 times
Download: 0 times
Share this document with a friend
Popular Tags:
35
Mathematical Morphology - Set-theoretic representation for binary shapes Qigong Zheng Language and Media Processing Lab Center for Automation Research University of Maryland College Park October 31, 2000
Transcript
Page 1: Mathematical Morphology - Set-theoretic representation for binary shapes Qigong Zheng Language and Media Processing Lab Center for Automation Research.

Mathematical Morphology - Set-theoretic representation for binary shapes

Qigong ZhengLanguage and Media Processing Lab

Center for Automation ResearchUniversity of Maryland College Park

October 31, 2000

Page 2: Mathematical Morphology - Set-theoretic representation for binary shapes Qigong Zheng Language and Media Processing Lab Center for Automation Research.

What is the mathematical morphology ?

An approach for processing digital image based on its shape

A mathematical tool for investigating geometric structure in image

The language of morphology is set theory

Page 3: Mathematical Morphology - Set-theoretic representation for binary shapes Qigong Zheng Language and Media Processing Lab Center for Automation Research.

Goal of morphological operations

Simplify image data, preserve essential shape characteristics and eliminate noise

Permits the underlying shape to be identified and optimally reconstructed from their distorted, noisy forms

Page 4: Mathematical Morphology - Set-theoretic representation for binary shapes Qigong Zheng Language and Media Processing Lab Center for Automation Research.

Shape Processing and Analysis

Identification of objects, object features and assembly defects correlate directly with shape

Shape is a prime carrier of information in machine vision

Page 5: Mathematical Morphology - Set-theoretic representation for binary shapes Qigong Zheng Language and Media Processing Lab Center for Automation Research.

Shape Operators Shapes are usually combined by means of :

X X X Xc2 1 1 2\ X2X1

Set Intersection (occluded objects):

X X1 2X1 X2

Set Union (overlapping objects):

Page 6: Mathematical Morphology - Set-theoretic representation for binary shapes Qigong Zheng Language and Media Processing Lab Center for Automation Research.

Morphological Operations

The primary morphological operations are dilation and erosion

More complicated morphological operators can be designed by means of combining erosions and dilations

Page 7: Mathematical Morphology - Set-theoretic representation for binary shapes Qigong Zheng Language and Media Processing Lab Center for Automation Research.

Dilation Dilation is the operation that combines two

sets using vector addition of set elements. Let A and B are subsets in 2-D space. A: image

undergoing analysis, B: Structuring element, denotes dilation

},{ 2 BbAasomeforbacZcBA

Page 8: Mathematical Morphology - Set-theoretic representation for binary shapes Qigong Zheng Language and Media Processing Lab Center for Automation Research.

Dilation

• •

• •

• •

• • •

• •

• •B

A BA

Page 9: Mathematical Morphology - Set-theoretic representation for binary shapes Qigong Zheng Language and Media Processing Lab Center for Automation Research.

Dilation Let A be a Subset of and . The translation

of A by x is defined as

The dilation of A by B can be computed as the union of translation of A by the elements of B

2Z2Zx

},{)( 2 AasomeforxacZcA x

Aa

aBb

b BABA

)()(

Page 10: Mathematical Morphology - Set-theoretic representation for binary shapes Qigong Zheng Language and Media Processing Lab Center for Automation Research.

Dilation

• •

• •

•• •

• •

• • •

• •

)0,0(A )1,0(A

BA

• • B

Page 11: Mathematical Morphology - Set-theoretic representation for binary shapes Qigong Zheng Language and Media Processing Lab Center for Automation Research.

Dilation

xB)(

BA

A

Aa

aBb

b BABA

)()(

Page 12: Mathematical Morphology - Set-theoretic representation for binary shapes Qigong Zheng Language and Media Processing Lab Center for Automation Research.

Example of Dilation

Pablo Picasso, Pass with the Cape, 1960

StructuringElement

Page 13: Mathematical Morphology - Set-theoretic representation for binary shapes Qigong Zheng Language and Media Processing Lab Center for Automation Research.

Properties of Dilation Commutative

Associative

Extensivity

Dilation is increasing

BAABif ,0

DBDAimpliesBA

ABBA

CBACBA )()(

Page 14: Mathematical Morphology - Set-theoretic representation for binary shapes Qigong Zheng Language and Media Processing Lab Center for Automation Research.

Extensitivity

• •

• •

• •

• •

B

ABA

• •

Page 15: Mathematical Morphology - Set-theoretic representation for binary shapes Qigong Zheng Language and Media Processing Lab Center for Automation Research.

Properties of Dilation Translation Invariance

Linearity

Containment

Decomposition of structuring element

xx BABA )()(

)()()( CBCACBA

)()()( CBCACBA

)()()( CABACBA

Page 16: Mathematical Morphology - Set-theoretic representation for binary shapes Qigong Zheng Language and Media Processing Lab Center for Automation Research.

Erosion Erosion is the morphological dual to dilation. It

combines two sets using the vector subtraction of set elements.

Let denotes the erosion of A by BBA

){

}..,{2

2

BbeveryforAbxZx

baxtsAaanexistBbeveryforZxBA

Page 17: Mathematical Morphology - Set-theoretic representation for binary shapes Qigong Zheng Language and Media Processing Lab Center for Automation Research.

Erosion

• • • • •

• •

B

A BA

• • • •

Page 18: Mathematical Morphology - Set-theoretic representation for binary shapes Qigong Zheng Language and Media Processing Lab Center for Automation Research.

Erosion Erosion can also be defined in terms of

translation

In terms of intersection

))({ 2 ABZxBA x

Bb

bABA

)(

Page 19: Mathematical Morphology - Set-theoretic representation for binary shapes Qigong Zheng Language and Media Processing Lab Center for Automation Research.

Erosion

• • • • •

• •

BA

• •••

• • • • •

)1,0(1A )0,0(A

Page 20: Mathematical Morphology - Set-theoretic representation for binary shapes Qigong Zheng Language and Media Processing Lab Center for Automation Research.

Erosion

xB)(

A

BA

))({ 2 ABZxBA x

Page 21: Mathematical Morphology - Set-theoretic representation for binary shapes Qigong Zheng Language and Media Processing Lab Center for Automation Research.

Example of Erosion

Pablo Picasso, Pass with the Cape, 1960

Structuring

Element

Page 22: Mathematical Morphology - Set-theoretic representation for binary shapes Qigong Zheng Language and Media Processing Lab Center for Automation Research.

Properties of Erosion Erosion is not commutative!

Extensivity

Dilation is increasing

Chain rule

ABBA

ABABif ,0

)...)(...()...( 11 kk BBABBA

CABAimpliesCBBCBAimpliesCA ,

Page 23: Mathematical Morphology - Set-theoretic representation for binary shapes Qigong Zheng Language and Media Processing Lab Center for Automation Research.

Properties of Erosion Translation Invariance

Linearity

Containment

Decomposition of structuring element

)()()( CBCACBA

)()()( CBCACBA

)()()( CABACBA

xxxx BABABABA )(,)(

Page 24: Mathematical Morphology - Set-theoretic representation for binary shapes Qigong Zheng Language and Media Processing Lab Center for Automation Research.

Duality Relationship Dilation and Erosion transformation bear a

marked similarity, in that what one does to image foreground and the other does for the image background.

, the reflection of B, is defined as

Erosion and Dilation Duality Theorem

2ZB B

},{ bxBbsomeforxB

BABA cc )(

Page 25: Mathematical Morphology - Set-theoretic representation for binary shapes Qigong Zheng Language and Media Processing Lab Center for Automation Research.

Opening and Closing Opening and closing are iteratively applied

dilation and erosion

Opening

Closing

BBABA )(

BBABA )(

Page 26: Mathematical Morphology - Set-theoretic representation for binary shapes Qigong Zheng Language and Media Processing Lab Center for Automation Research.

Opening and Closing

xB

BA

ABBABA )(

}{ ABx

xx

BBA

Page 27: Mathematical Morphology - Set-theoretic representation for binary shapes Qigong Zheng Language and Media Processing Lab Center for Automation Research.

Opening and Closing They are idempotent. Their reapplication has

not further effects to the previously transformed result

BBABA )(

BBABA )(

Page 28: Mathematical Morphology - Set-theoretic representation for binary shapes Qigong Zheng Language and Media Processing Lab Center for Automation Research.

Opening and Closing Translation invariance

Antiextensivity of opening

Extensivity of closing

Duality

BABA x )( BABA x )(

ABA

BAA

BABA cc )(

Page 29: Mathematical Morphology - Set-theoretic representation for binary shapes Qigong Zheng Language and Media Processing Lab Center for Automation Research.

Example of Opening

Pablo Picasso, Pass with the Cape, 1960

StructuringElement

Page 30: Mathematical Morphology - Set-theoretic representation for binary shapes Qigong Zheng Language and Media Processing Lab Center for Automation Research.

Example of Closing

StructuringElement

Page 31: Mathematical Morphology - Set-theoretic representation for binary shapes Qigong Zheng Language and Media Processing Lab Center for Automation Research.

Morphological Filtering Main idea

Examine the geometrical structure of an image by matching it with small patterns called structuring elements at various locations

By varying the size and shape of the matching patterns, we can extract useful information about the shape of the different parts of the image and their interrelations.

Page 32: Mathematical Morphology - Set-theoretic representation for binary shapes Qigong Zheng Language and Media Processing Lab Center for Automation Research.

Morphological filtering Noisy image will break down OCR systems

Clean image Noisy image

Page 33: Mathematical Morphology - Set-theoretic representation for binary shapes Qigong Zheng Language and Media Processing Lab Center for Automation Research.

Morphological filtering

Restored image

By applying MF, we increase the OCR accuracy!

Page 34: Mathematical Morphology - Set-theoretic representation for binary shapes Qigong Zheng Language and Media Processing Lab Center for Automation Research.

Summary Mathematical morphology is an approach for

processing digital image based on its shape The language of morphology is set theory The basic morphological operations are

erosion and dilation Morphological filtering can be developed to

extract useful shape information

Page 35: Mathematical Morphology - Set-theoretic representation for binary shapes Qigong Zheng Language and Media Processing Lab Center for Automation Research.

THE END


Recommended