Bob Fisher
Moment invariants are properties of connected regions in binary images that are invariant to translation, rotation and scale. They are useful because they define a simply calculated set of region properties that can be used for shape classification and part recognition.
Many people have used the set of 7 moment invariants identified by Hu [1] but a recent book by Flusser, Suk and Zitová [2] has presented a related independent basis set of invariants of the same order containing only 6 invariants (and identifying the dependent invariant in the Hu set).
The new invariants are defined below. Let:
be a binary image indexed by
, with the foreground=1
be the area of the shape
be the center of mass
Define the complex central (translation invariant) moments:
From this we define some specific scale invariant moments:
These are combined and rescaled (so the values are in a similar range) to get 6 rotation invariants:
[1] M.-K. Hu. Visual pattern recognition by moment invariants, IRE Trans. on Information Theory, 8(2):179-187, 1962.
[2] J. Flusser, T. Suk, B. Zitová. Moment and Moment Invariants in Pattern Recognition. John Wiley and Sons, 2009.