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

Slides:



Advertisements
Similar presentations
Binary Shape Clustering via Zernike Moments
Advertisements

Chapter 4 Euclidean Vector Spaces
Eigen Decomposition and Singular Value Decomposition
3D Geometry for Computer Graphics
Invariants (continued).
Hanjo Lim School of Electrical & Computer Engineering Lecture 3. Symmetries & Solid State Electromagnetism.
Mapping: Scaling Rotation Translation Warp
Image Indexing and Retrieval using Moment Invariants Imran Ahmad School of Computer Science University of Windsor – Canada.
2D Geometric Transformations
CSci 6971: Image Registration Lecture 3: Images and Transformations January 20, 2004 Prof. Chuck Stewart, RPI Dr. Luis Ibanez, Kitware Prof. Chuck Stewart,
Computer Graphics Recitation 5.
The 2D Projective Plane Points and Lines.
Digital Image Processing Chapter 4: Image Enhancement in the Frequency Domain.
Correspondence & Symmetry
Uncalibrated Geometry & Stratification Sastry and Yang
Ch 7.3: Systems of Linear Equations, Linear Independence, Eigenvalues
Chapter 3 Determinants and Matrices
Scale Invariant Feature Transform (SIFT)
Previously Two view geometry: epipolar geometry Stereo vision: 3D reconstruction epipolar lines Baseline O O’ epipolar plane.
3D Geometry for Computer Graphics
Transforms: Basis to Basis Normal Basis Hadamard Basis Basis functions Method to find coefficients (“Transform”) Inverse Transform.
CS 450: Computer Graphics 2D TRANSFORMATIONS
CS 450: COMPUTER GRAPHICS 3D TRANSFORMATIONS SPRING 2015 DR. MICHAEL J. REALE.
Point set alignment Closed-form solution of absolute orientation using unit quaternions Berthold K. P. Horn Department of Electrical Engineering, University.
CHAPTER SIX Eigenvalues
1 February 24 Matrices 3.2 Matrices; Row reduction Standard form of a set of linear equations: Chapter 3 Linear Algebra Matrix of coefficients: Augmented.
Orthogonal moments Motivation for using OG moments Stable calculation by recurrent relations Easier and stable image reconstruction - set of orthogonal.
CHAPTER FIVE Orthogonality Why orthogonal? Least square problem Accuracy of Numerical computation.
Geometric Transformation. So far…. We have been discussing the basic elements of geometric programming. We have discussed points, vectors and their operations.
Machine Vision for Robots
Course 12 Calibration. 1.Introduction In theoretic discussions, we have assumed: Camera is located at the origin of coordinate system of scene.
2003CS Hons RW778 Graphics1 Chapter 5: Transforming Objects 5.2 Introduction to Transformations 5.2 Introduction to Transformations –Affine transformations.
Intro to 3D Models Angel Angel: Interactive Computer Graphics5E © Addison-Wesley
PROBABILITY AND STATISTICS FOR ENGINEERING Hossein Sameti Department of Computer Engineering Sharif University of Technology Two Functions of Two Random.
CSE 681 Review: Transformations. CSE 681 Transformations Modeling transformations build complex models by positioning (transforming) simple components.
Unit 5: Geometric Transformations.
Invariants to affine transform What is affine transform ?
CSci 6971: Image Registration Lecture 3: Images and Transformations March 1, 2005 Prof. Charlene Tsai.
Invariants to translation and scaling Normalized central moments.
1 Registration algorithm based on image matching for outdoor AR system with fixed viewing position IEE Proc.-Vis. Image Signal Process., Vol. 153, No.
Geometric Transformations CSE 455 Ali Farhadi Many slides from Steve Seitz and Larry Zitnick.
Invariants to convolution. Motivation – template matching.
Chapter 10 Real Inner Products and Least-Square
1 Camera calibration based on arbitrary parallelograms 授課教授:連震杰 學生:鄭光位.
A Flexible New Technique for Camera Calibration Zhengyou Zhang Sung Huh CSPS 643 Individual Presentation 1 February 25,
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 The slides accompanying.
LESSON 5-1 I can draw reflected images. I can recognize and draw lines of symmetry.
CS654: Digital Image Analysis
J. Flusser, T. Suk, and B. Zitová Moments and Moment Invariants in Pattern Recognition
A function is a rule f that associates with each element in a set A one and only one element in a set B. If f associates the element b with the element.
Robotics Chapter 6 – Machine Vision Dr. Amit Goradia.
J. Flusser, T. Suk, and B. Zitová Moments and Moment Invariants in Pattern Recognition The slides accompanying.
1 Teaching Innovation - Entrepreneurial - Global The Centre for Technology enabled Teaching & Learning, N Y S S, India DTEL DTEL (Department for Technology.
Learning from the Past, Looking to the Future James R. (Jim) Beaty, PhD - NASA Langley Research Center Vehicle Analysis Branch, Systems Analysis & Concepts.
Sect. 4.5: Cayley-Klein Parameters 3 independent quantities are needed to specify a rigid body orientation. Most often, we choose them to be the Euler.
Tutorial 6. Eigenvalues & Eigenvectors Reminder: Eigenvectors A vector x invariant up to a scaling by λ to a multiplication by matrix A is called.
Transformations and Symmetry
Linear Algebra Review.
CS Visual Recognition Projective Geometry Projective Geometry is a mathematical framework describing image formation by perspective camera. Under.
A study of the paper Rui Rodrigues, João P
Geometric Transformations
Outline Linear Shift-invariant system Linear filters
Phase and Amplitude in Fourier Transforms, Meaning of frequencies
Chapter 3 Linear Algebra
Rotation: all points in the original figure rotate, or turn, an identical number of degrees around a fixed point.
Reflections in Coordinate Plane
43: Quadratic Trig Equations and Use of Identities
Transformations: Translations Reflections Rotations Dilations.
8th Grade: Chapter 6 TRANSFORMATIONS
Presentation transcript:

J. Flusser, T. Suk, and B. Zitová Moments and Moment Invariants in Pattern Recognition The slides accompanying the book

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

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

Chapter 2

Invariants to translation Central moments

Invariants to translation Central moments

Invariants to translation and scaling

Normalized central moments

Invariants to translation and scaling Normalized central moments

Invariants to translation and scaling Normalized central moments

Invariants to rotation

M.K. Hu, invariants of the 3rd order

Hard to find, easy to prove:

Invariants to TRS In any rotation invariant use the normalized moments instead of central ones

Drawbacks of the Hu’s invariants Dependence Incompleteness Insufficient number  low discriminability

Consequence of the incompleteness of the Hu’s set The images not distinguishable by the Hu’s set

General construction of rotation invariants Complex moment

Examples

Complex moments in polar coordinates

Rotation property of the complex moments The magnitude is preserved, the phase is shifted by (p-q)α. Invariants are constructed by a proper phase cancellation

Rotation invariants from complex moments Examples: How to select a complete and independent subset (basis) of the rotation invariants?

Construction of the basis This is the basis of invariants up to the order r

The basis of the 3rd order This is basis B 3 (contains six real elements)

Numerical properties

Comparing B 3 to the Hu’s set

Drawbacks of the Hu’s invariants are evident now Dependence Incompleteness

Comparing B 3 to the Hu’s set - Experiment The images distinguishable by B 3 but not by Hu’s set

Inverse problem Is it possible to resolve this system ?

Solution to the inverse problem The image orientation cannot be recovered in principle  one degree of freedom  let us constrain to be real and positive. Then

Pseudoinvariants How do the rotation invariants behave under mirror reflection?

Pseudoinvariants How do the rotation invariants behave under mirror reflection?

Pseudoinvariants How do the rotation invariants behave under mirror reflection?

Invariants to contrast changes

Invariants to contrast and TRS

N-fold rotation symmetry Recognition of symmetric objects

Difficulties with symmetric objects Many moments and many invariants are zero

Proof

Proof (continued)

Difficulties with symmetric objects The greater N, the less nontrivial invariants Particularly

Difficulties with symmetric objects It is very important to use only non-trivial invariants The choice of appropriate invariants (basis of invariants) depends on N

The basis for N-fold symmetric objects Generalization of the theorem about the basis is an integer

Recognition of symmetric objects – Experiment 1 5 objects with N = 3

Recognition of symmetric objects – Experiment 1 Bad choice: p 0 = 2, q 0 = 1

Recognition of symmetric objects – Experiment 1 Optimal choice: p 0 = 3, q 0 = 0

Recognition of symmetric objects – Experiment 2 2 objects with N = 1 2 objects with N = 2 2 objects with N = 3 1 object with N = 4 2 objects with N = ∞

Recognition of symmetric objects – Experiment 2 Bad choice: p 0 = 2, q 0 = 1

Recognition of symmetric objects – Experiment 2 Better but not optimal choice: p 0 = 4, q 0 = 0

Recognition of symmetric objects – Experiment 2 Theoretically optimal choice: p 0 = 12, q 0 = 0 Logarithmic scale

Recognition of symmetric objects – Experiment 2 The best choice: mixed orders

Recognition of symmetric objects – real data 100% recognition rate

TRS normalization using moments Constraints on certain moments

Normalized position to scaling Constraint

Normalized position to translation Constraints

Normalized position to rotation Rotation angle Constraint

Removing ambiguity Additional constraints

Moments after normalization The moments of the normalized image are invariants. Compare to the Hu’s set !

Moments after normalization An alternative approach to constructing invariants

Reference ellipse An ellipse having the same 2 nd order moments as the original object a, b – major/minor semiaxis

Normalization as an eigenproblem

Normalization by complex moments Constraint

Normalization by complex moments Constraint If s = 2, t = 0  traditional normalization

Normalization by complex moments Constraint Unambiguous only if s - t = 1 An example: s = 6, t = 0

Normalization by complex moments Constraint Unambiguous only if s - t = 1 An example: s = 6, t = 0

Normalization by complex moments Constraint Unambiguous only if s - t = 1 An example: s = 6, t = 0

Normalization by complex moments Constraint Unambiguous only if s - t = 1 An example: s = 6, t = 0

Normalization by complex moments Constraint Unambiguous only if s - t = 1 An example: s = 6, t = 0

Normalization by complex moments Constraint Unambiguous only if s - t = 1 An example: s = 6, t = 0

Rotation invariants via normalization Theoretically equivalent to the previous construction Leads to different basis (more complicated formulas) No need to actually transform the object

Normalization of symmetric objects by complex moments Constraint must be non-zero !

Nonuniform scaling

TRS invariants in 3D Important in medical imaging (MRI, CT,...) and stereovision 3D geometric moments

TRS invariants in 3D 3D central moments 3D scale-normalized moments

TRS invariants in 3D Simple 3D rotation invariants