20
1 Soft Morphological Filter Paper: Simple and Efficient Soft Morphol ogical Filter in Periodic Noise Reductio n Authors: Zhen Ji, Huilian Liao, Xinjun Z hang, Q.H. Wu 15 Nov. 2006

Soft Morphological Filter

  • Upload
    callia

  • View
    82

  • Download
    0

Embed Size (px)

DESCRIPTION

Soft Morphological Filter. Paper: Simple and Efficient Soft Morphological Filter in Periodic Noise Reduction Authors: Zhen Ji, Huilian Liao, Xinjun Zhang, Q.H. Wu 15 Nov. 2006. Outline. Introduction Mathematical morphology (MM) Soft morphology Soft morphological filters (SMF) - PowerPoint PPT Presentation

Citation preview

Page 1: Soft Morphological Filter

1

Soft Morphological Filter

Paper: Simple and Efficient Soft Morphological Filter in Periodic Noise Reduction

Authors: Zhen Ji, Huilian Liao, Xinjun Zhang, Q.H. Wu

15 Nov. 2006

Page 2: Soft Morphological Filter

2SZU-TI DSPs Lab

Outline

Introduction Mathematical morphology (MM) Soft morphology Soft morphological filters (SMF) Soft morphological filter* (SMF*) Results Conclusions Acknowledgement

Page 3: Soft Morphological Filter

3SZU-TI DSPs Lab

Introduction to filters

Introduction to filters 1. Spatial filters (including MM filter)

2. Frequency filters (including spectral median filter)

Fig. 1 Fig. 2

Page 4: Soft Morphological Filter

4SZU-TI DSPs Lab

Mathematical morphology (MM)

Structuring element (SE) Two basic operators of

morphology: Erosion Dilation

Binary morphology & Grey-scale morphology

Page 5: Soft Morphological Filter

5SZU-TI DSPs Lab

MM – Erosion of Grey-scale

morphology

The erosion of f by a SE g at a point x is:

z = {(1,2),(1,3),(0,2),(0,3)}

)21)(( ,gf min , , , )3 2 2 1 7 4 5 3 min , , ,11 3 2 1

)()(min))((

]D[]D[:],D[]D[

zgzfxgf

fg xgfzx

xx

Page 6: Soft Morphological Filter

6SZU-TI DSPs Lab

MM — Dilation of Grey-scale

morphology

The dilation of f by a SE g at a point x is: )()(max))((

)](D[]D[ zgzfxgfzgf z

x

x

z = {(1,2),(1,1),(2,2),(2,1)}

( )( , )f g 1 2 max , , , )3 2 6 1 8 4 5 3 max , , ,5 7 12 8 12

Page 7: Soft Morphological Filter

7SZU-TI DSPs Lab

Soft morphology

Differences between soft morphology and standard morphology: The SE g is divided into two parts: the

hard α and the soft β= g/α The min/max operators are

substituted by other order statistics Two basic operators:

Soft erosion & soft dilation

Page 8: Soft Morphological Filter

8SZU-TI DSPs Lab

Soft morphology — soft erosion

Soft erosion of f by SE g (hardα and softβ) at point x is:

]D[]D[ ]D[]D[

)()())()((min)])([(

2

1

2211)(

x

x

xxk

βf zαfz

zβzfzazfkxk,a,βf

D[α]={(0,0)}; D[β]={(0,1),(0,2),(1,0),(1,1)}

)11])(2[ ( ,β,α,f 24,48,89,68572min(2)

241,2,2,2,2,min 2,4,1,22,2 min (2)(2)

Page 9: Soft Morphological Filter

9SZU-TI DSPs Lab

Soft morphology — soft dilation

Soft dilation of f by SE g (hard α and softβ) at point x is:

]D[\]D[]D[ ]D[

)(-)())()((max)])([(

2

1

2211)(

αgβ x-zα x-z

zβzfzαzfkxβ,α,kf xxk

D[α]={(0,0)}; D[β]={(0,1),(0,2),(1,0),(1,1)}

)21])(2[( ,,β,αf 38,49,74,95672 max(2) 133,13,1411,11,13,1max 11,13,11,1413,13max (2)(2)

Page 10: Soft Morphological Filter

10SZU-TI DSPs Lab

Soft morphological filter

Soft morphological filter (SMF)

) / 2

]D[]D[ ]D[]D[

)()())()((min)])([(

2

1

2211)(

x

x

xxk

βf zαfz

zβzfzazfkxk,a,βf

]D[\]D[]D[ ]D[

)(-)())()((max)])([(

2

1

2211)(

αgβ x-zα x-z

zβzfzαzfkxβ,α,kf xxk

Standard morphological filter (StdMF)

( ) (smf x

) / 2; ( =1)k

]D[]D[ ]D[]D[

)()())()((min)])([(

2

1

2211)(

x

x

xxk

βf zαfz

zβzfzazfkxk,a,βf

]D[\]D[]D[ ]D[

)(-)())()((max)])([(

2

1

2211)(

αgβ x-zα x-z

zβzfzαzfkxβ,α,kf xxk

( ) (stdmf x

Page 11: Soft Morphological Filter

11SZU-TI DSPs Lab

Morphological filters — comparison

1 2 3 4 5 6 7 8 9 10-5

0

5Original signal

1 2 3 4 5 6 7 8 9 10-5

0

5Periodic noise

1 2 3 4 5 6 7 8 9 10-5

0

5Noisy signal

1 2 3 4 5 6 7 8 9 10-5

0

5Median filter

1 2 3 4 5 6 7 8 9 10-5

0

5Soft morphological filter

1 2 3 4 5 6 7 8 9 10-5

0

5Standard morphological filter

Page 12: Soft Morphological Filter

12SZU-TI DSPs Lab

Soft morphological filter* (SMF*)

Design procedure of SMF*

) / 2; ( =2)k( ) (smf x

]D[]D[ ]D[]D[

)()())()((min)])([(

2

1

2211)(

x

x

xxk

βf zαfz

zβzfzazfkxk,a,βf

]D[\]D[]D[ ]D[

)(-)())()((max)])([(

2

1

2211)(

αgβ x-zα x-z

zβzfzαzfkxβ,α,kf xxk

Design of SMF*’s parameters: SE g and hard α are symmetric to its origin

1 1 1 1 1 0 0 0 0 0

1 1 1 1 1 0 1 1 1 0

1 1 1 1 1 0 1 1 1 0

1 1 1 1 1 0 1 1 1 0

1 1 1 1 1 0 0 0 0 0

g

Page 13: Soft Morphological Filter

13SZU-TI DSPs Lab

Results

Filters: SMF*; Spectral median filter; median;

Standard MM Experimental image:

Pepper image with periodic noise Measure of performance:

Peak-Signal-Noise-Ratio (PSNR) Shape error Computation time

Page 14: Soft Morphological Filter

14SZU-TI DSPs Lab

Results — PSNR

Page 15: Soft Morphological Filter

15SZU-TI DSPs Lab

Results — Shape error

Page 16: Soft Morphological Filter

16SZU-TI DSPs Lab

Results — Computation time

0

5

10

15

20

25

30

SMF Spectral Medi an StandardMM

Computati onti me (ms)

Page 17: Soft Morphological Filter

17SZU-TI DSPs Lab

Conclusions

About SMF* Purposes: Reducing the periodic

noise Properties: Preserving details of

image Advantages: Filtering quality &

Computation efficiency & Simplicity

Page 18: Soft Morphological Filter

18SZU-TI DSPs Lab

Acknowledgement

My supervisor: Prof. Ji

All of you

Page 19: Soft Morphological Filter

19SZU-TI DSPs Lab

Thank you !

Page 20: Soft Morphological Filter

20SZU-TI DSPs Lab

Dilation expands the image foreground and shrinks its background, whilst erosion shrinks the image foreground and expands its background.

The Erosion filter is a morphological filter that changes the shape of objects in an image by eroding (reducing) the boundaries of bright objects, and enlarging the boundaries of dark ones. It is often used to reduce, or eliminate, small bright objects.

The Dilation filter is a morphological filter that changes the shape of objects in an image by dilating (enlarging) the boundaries of bright objects, and reducing the boundaries of dark ones. The dilation filter can be used to increase the size of small bright objects.

soft erosion is anti-extensive and soft dilation is extensive, provided that the structuring element includes the origin. In particular the smaller the repetition parameter k is the more the input image shrinks or expands. (also 1st property)