j. flusser, t. suk, and b. zitová moments and moment invariants in pattern recognition the slides...

39
J. Flusser, T. Suk, and B. Zitová Moments and Moment Invariants in Pattern Recognition http://zoi.utia.cas.cz/ moment_invariants The slides accompanying the book

Upload: arleen-pearson

Post on 14-Jan-2016

213 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: J. Flusser, T. Suk, and B. Zitová Moments and Moment Invariants in Pattern Recognition  The slides accompanying

J. Flusser, T. Suk, and B. Zitová

Moments and Moment Invariants

in Pattern Recognition

http://zoi.utia.cas.cz/moment_invariants

The slides accompanying

the book

Page 2: J. Flusser, T. Suk, and B. Zitová Moments and Moment Invariants in Pattern Recognition  The slides accompanying

Copyright notice

The slides can be used freely for non-profit education provided that the source is appropriately cited. Please report any usage on a regular basis (namely in university courses) to the authors. For commercial usage ask the authors for permission.

The slides containing animations are not appropriate to print.

© Jan Flusser, Tomas Suk, and Barbara Zitová,

2009

Page 3: J. Flusser, T. Suk, and B. Zitová Moments and Moment Invariants in Pattern Recognition  The slides accompanying

Contents

1. Introduction to moments

2. Invariants to translation, rotation and scaling

3. Affine moment invariants

4. Implicit invariants to elastic transformations

5. Invariants to convolution

6. Orthogonal moments

7. Algorithms for moment computation

8. Applications

9. Conclusion

Page 4: J. Flusser, T. Suk, and B. Zitová Moments and Moment Invariants in Pattern Recognition  The slides accompanying

Chapter 5

Page 5: J. Flusser, T. Suk, and B. Zitová Moments and Moment Invariants in Pattern Recognition  The slides accompanying

Invariants to convolution

Page 6: J. Flusser, T. Suk, and B. Zitová Moments and Moment Invariants in Pattern Recognition  The slides accompanying

Motivation – character recognition

Page 7: J. Flusser, T. Suk, and B. Zitová Moments and Moment Invariants in Pattern Recognition  The slides accompanying

Motivation – template matching

Page 8: J. Flusser, T. Suk, and B. Zitová Moments and Moment Invariants in Pattern Recognition  The slides accompanying

Image degradation models

Space-variant

Space-invariant convolution

Page 9: J. Flusser, T. Suk, and B. Zitová Moments and Moment Invariants in Pattern Recognition  The slides accompanying

Two approaches

Traditional approach: Image restoration (blind deconvolution) and traditional invariants

Proposed approach: Invariants to convolution

Page 10: J. Flusser, T. Suk, and B. Zitová Moments and Moment Invariants in Pattern Recognition  The slides accompanying

Invariants to convolution

for any admissible h

Page 11: J. Flusser, T. Suk, and B. Zitová Moments and Moment Invariants in Pattern Recognition  The slides accompanying

The moments under convolution

Geometric/central

Complex

Page 12: J. Flusser, T. Suk, and B. Zitová Moments and Moment Invariants in Pattern Recognition  The slides accompanying

PSF is centrosymmetric with respect to its centroid and has a unit integral

Assumptions on the PSF

supp(h)

Page 13: J. Flusser, T. Suk, and B. Zitová Moments and Moment Invariants in Pattern Recognition  The slides accompanying

Common PSF’s are centrosymmetric

Page 14: J. Flusser, T. Suk, and B. Zitová Moments and Moment Invariants in Pattern Recognition  The slides accompanying

Invariants to centrosymmetric convolution

where (p + q) is odd

What is the intuitive meaning of the invariants?

“Measure of anti-symmetry”

Page 15: J. Flusser, T. Suk, and B. Zitová Moments and Moment Invariants in Pattern Recognition  The slides accompanying

Invariants to centrosymmetric convolution

Page 16: J. Flusser, T. Suk, and B. Zitová Moments and Moment Invariants in Pattern Recognition  The slides accompanying

Invariants to centrosymmetric convolution

Page 17: J. Flusser, T. Suk, and B. Zitová Moments and Moment Invariants in Pattern Recognition  The slides accompanying

Convolution invariants in FT domain

Page 18: J. Flusser, T. Suk, and B. Zitová Moments and Moment Invariants in Pattern Recognition  The slides accompanying

Convolution invariants in FT domain

Page 19: J. Flusser, T. Suk, and B. Zitová Moments and Moment Invariants in Pattern Recognition  The slides accompanying

Relationship between FT and moment invariants

where M(k,j) is the same as C(k,j) but with geometric moments

Page 20: J. Flusser, T. Suk, and B. Zitová Moments and Moment Invariants in Pattern Recognition  The slides accompanying

Template matching

sharp image

with the templates

the templates (close-up)

Page 21: J. Flusser, T. Suk, and B. Zitová Moments and Moment Invariants in Pattern Recognition  The slides accompanying

Template matching

a frame where

the templates were

located successfully

the templates (close-up)

Page 22: J. Flusser, T. Suk, and B. Zitová Moments and Moment Invariants in Pattern Recognition  The slides accompanying

Template matching performance

Page 23: J. Flusser, T. Suk, and B. Zitová Moments and Moment Invariants in Pattern Recognition  The slides accompanying

Valid region

Boundary effect in template matching

Page 24: J. Flusser, T. Suk, and B. Zitová Moments and Moment Invariants in Pattern Recognition  The slides accompanying

Invalid region

- invariance is

violated

Boundary effect in template matching

Page 25: J. Flusser, T. Suk, and B. Zitová Moments and Moment Invariants in Pattern Recognition  The slides accompanying

Boundary effect in template matching

zero-padding

Page 26: J. Flusser, T. Suk, and B. Zitová Moments and Moment Invariants in Pattern Recognition  The slides accompanying

Extension to n dimensions

where |p| is odd

Page 27: J. Flusser, T. Suk, and B. Zitová Moments and Moment Invariants in Pattern Recognition  The slides accompanying

• N-fold rotation symmetry, N > 2

• Circular symmetry

• Gaussian PSF

• Motion blur PSF

Other types of the blurring PSF

The more we know about the PSF, the more invariants and the higher discriminability we get

Page 28: J. Flusser, T. Suk, and B. Zitová Moments and Moment Invariants in Pattern Recognition  The slides accompanying

Invariants to N-fold PSF

If (p-q)/N is integer the invariant is zero

Page 29: J. Flusser, T. Suk, and B. Zitová Moments and Moment Invariants in Pattern Recognition  The slides accompanying

Invariants to circularly symmetric PSF

If p = q the invariant is zero (except p = q = 0)

Page 30: J. Flusser, T. Suk, and B. Zitová Moments and Moment Invariants in Pattern Recognition  The slides accompanying

Invariants to Gaussian PSF

If p = q = 1 the invariant is zero

Page 31: J. Flusser, T. Suk, and B. Zitová Moments and Moment Invariants in Pattern Recognition  The slides accompanying

Discrimination power

The null-space of the blur invariants = a set of all images having the same symmetry as the PSF.

One cannot distinguish among symmetric objects.

Page 32: J. Flusser, T. Suk, and B. Zitová Moments and Moment Invariants in Pattern Recognition  The slides accompanying

Recommendation for practice

It is important to learn as much as possible about the PSF and to use proper invariants for object recognition

Page 33: J. Flusser, T. Suk, and B. Zitová Moments and Moment Invariants in Pattern Recognition  The slides accompanying

Combined invariants

Convolution and rotation

For any N

Page 34: J. Flusser, T. Suk, and B. Zitová Moments and Moment Invariants in Pattern Recognition  The slides accompanying

Satellite image registration by combined invariants

Page 35: J. Flusser, T. Suk, and B. Zitová Moments and Moment Invariants in Pattern Recognition  The slides accompanying

( v11, v21, v31, …

)

( v12, v22, v32, …

)

min distance(( v1k, v2k, v3k, … ) , ( v1m, v2m, v3m, … ))k,m

Control point detection

Page 36: J. Flusser, T. Suk, and B. Zitová Moments and Moment Invariants in Pattern Recognition  The slides accompanying

Control point matching

Page 37: J. Flusser, T. Suk, and B. Zitová Moments and Moment Invariants in Pattern Recognition  The slides accompanying

Transformation and resampling

Page 38: J. Flusser, T. Suk, and B. Zitová Moments and Moment Invariants in Pattern Recognition  The slides accompanying

Combined blur-affine invariants

• Let I(μ00,…, μPQ) be an affine moment invariant. Then I(C(0,0),…,C(P,Q)), where C(p,q) are blur invariants, is a combined blur-affine invariant (CBAI).

Page 39: J. Flusser, T. Suk, and B. Zitová Moments and Moment Invariants in Pattern Recognition  The slides accompanying

Digit recognition by CBAI

CBAI AMI