Module: Moments Of Inertia 3D ()
For an introduction, see section Analysis.
This module computes some global characteristics of the shape.
The first order moments define the centroid or center of mass. Formulas are given for binary images but the Moments Of Inertia module works with all image types. For other cases, just replace the value by . They are defined as:
and in the discrete case as:
is the area and a point in the object.
The second order moments are defined in the discrete case as:
The orientation is defined as the direction of its major inertia axis. It is given as the eigenvector of the largest eigenvalue of the inertia matrix:
This is a good measure of the orientation for simple, roughly convex objects.
The result falls between -180 and +180 degree. The result falls between 0 and 90 degree.
Figure 1: Figure 1: Azimuthal and polar angles The secondary orientation (or orientation2) is defined as the direction of its minor inertia axis. It is given as the eigenvector of the smallest eigenvalue of the inertia matrix.
See also: Area, Euler Number, Fractal Dimension, Variance-Covariance matrix, Volume Fraction.
Input Image [required]
The image to be analyzed. Supported types include: grayscale/color image (Uniform Scalar Field/Uniform Color Field), binary (Uniform Label Field with 2 labels) and label (Uniform Label Field) images.
Interpretation
This port specifies whether the input will be interpreted as a 3D volume or a stack of 2D images for processing.
- "3D": the module configuration is set to 3D. The image will be processed as a whole in 3D.
- "XY planes": the module configuration is set to 2D. The image will be processed slice per slice.