J. Flusser, T. Suk, and B. Zitová Moments and Moment Invariants in Pattern Recognition

26
J. Flusser, T. Suk, and B. Zitová Moments and Moment Invariants in Pattern Recognition http://zoi.utia.cas.cz/ moment_invariants

description

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. © Jan Flusser, Tomas Suk, and Barbara Zitová, 2008

Transcript of J. Flusser, T. Suk, and B. Zitová Moments and Moment Invariants in Pattern Recognition

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

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

Moments and Moment Invariants in Pattern Recognition

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

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

Introduction to Moments

Slides to Chapter 1

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

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.

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

2008

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

General motivationHow can we recognize objects on non-ideal images?

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

Traffic surveillance - can we recognize the license plates?

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

Recognition (classification) = assigning a pattern/object to one of pre-defined classes

The object is described by its features

Features – measurable quantities, usually form an n-D vector in a metric space

Object recognition

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

Non-ideal imaging conditions degradation of the image

g = D(f)

D - unknown degradation operator

Problem formulation

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

Základní přístupy

• Brute force

• Normalized position inverse problem

• Description of the objects by invariants

Basic approaches

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

What are invariants?

Invariants are functionals defined on the image space such that

• I(f) = I(D(f)) for all admissible D

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

Example: TRS

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

What are invariants?

Invariants are functionals defined on the image space such that

• I(f) = I(D(f)) for all admissible D

• I(f1), I(f2) “different enough“ for different f1, f2

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

Discrimination power

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

Major categories of invariants

Simple shape descriptors- compactness, convexity, elongation, ...Transform coefficient invariants- Fourier descriptors, wavelet features, ...Point set invariants- positions of dominant points Differential invariants- derivatives of the boundaryMoment invariants

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

What are moment invariants?Functions of image moments, invariant to certain class of image degradations

• Rotation, translation, scaling• Affine transform• Elastic deformations• Convolution/blurring• Combined invariants

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

What are moments?

Moments are “projections” of the image function into a polynomial basis

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

The most common moments

Geometric moments

(p + q) - the order of the moment

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

Geometric moments – the meaning

0th order - area1st order - center of gravity

2nd order - moments of inertia 3rd order - skewness

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

Uniqueness theorem

Geometric moments

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

Complex moments

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

Basic relations between the moments

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

Invariants to translationCentral moments

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

Invariants to translationCentral moments

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

Invariants to translation and scaling

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

Invariants to translation and scaling

Normalized central moments

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

Invariants to translation and scaling

Normalized central moments

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

Invariants to translation and scaling

Normalized central moments