Measure the object's inertia
#include "dip_measurement.h"
dip_int FeatureGmuID ( void )
dip_FeatureGmuID returns the ID value of this measurement function, that is registered by Initialise.
This function calculates the inertia (weighted by its grey values) of an object by calculating the object's second order moments tensor. This measure only supports 2D and 3D objects. The output tensor is ordered as follows:
2D: xx, xy, yy
3D: xx, xy, xz, yy, yz, zz
"Mechanics", Florian Scheck, Springer, 1999.
Measure, FeatureSize, FeatureCenter, FeatureGravity, FeatureMean, FeatureSum, FeatureStdDev, FeatureMaximum, FeatureMinimum, FeatureMaxVal, FeatureMinVal, FeaturePerimeter, FeatureSurfaceArea, FeatureFeret, FeatureMass, FeatureInertia, FeatureGinertia, FeatureMu
DIPlib on-line documentation | Function reference | Global function index