Bob Fisher
Moments are a measure of the spatial distribution of 'mass' of a shape. In the case of binary digital datasets, this is the distribution of pixels (in 2D) and voxels (in 3D) of a shape.
It is possible to compute moment invariants of 3D point distributions (i.e. voxels) that are invariant to translation and rotation, in the same manner as 2D moment invariants.
Let be a local continuous density function.
For example, this can be 1 inside voxels belonging to an object
and 0 in free space.
Let
be the centroid of the object.
Using the centroid in the moment calculation below gives translation
invariance.
Define the central moment as:
Approximating this formula to digital voxel space is straightforward, using summation in place of integration.
With this, we can now define three second order moment invariants:
that are invariant to translation and rotation.
Fully closed shapes can have scale normalization applied to the
centralized moments, in the same manner as 2D moment invariants, i.e.
use:
The invariants can also be used to describe points on surfaces in a translation and rotationally invariant manner. Here, the center of a sphere of a fixed radius is placed at the surface point. The portion of the object within the sphere around that point is used for computing the density function, with 1 for points belonging to the object and 0 for free space.
F. A. Sadjadi and E. L Hall. Three-dimensional moment invariants. IEEE Trans. on Pattern Analysis and Machine Intelligence. 2(2), pp 127-136, March 1980.