DIPlib Documentation - ©1995-2009 Quantitative Imaging Group, Delft University of Technology.

FeatureInertia

Measure the object's inertia

SYNOPSIS

#include "dip_measurement.h"

dip_int FeatureInertiaID ( void )

FUNCTION

dip_FeatureInertiaID returns the ID value of this measurement function, that is registered by Initialise.

This function calculates the inertia of an object by calculating the eigenvalues of the object's second order moments tensor. This measure only supports 2D and 3D objects. FeatureInteria supports a measurement parameter (see Measure). If a pointer to a non-zero boolean is supplied, this function will not only measure the eigenvalues of the second order moments tensor, but also the angles of its eigenvectors.

ARGUMENTS

Data typeNameDescription
dip_Boolean *anglesPointer to a boolean specifying that "eigenangles" should be measured (not yet implemented)

LITERATURE

"Pratical Handbook on Image Processing for Scientific Applications, chapter 16", Bernd Jahne, CRC Press, 1999.

SEE ALSO

Measure, FeatureSize, FeatureCenter, FeatureGravity, FeatureMean, FeatureSum, FeatureStdDev, FeatureMaximum, FeatureMinimum, FeatureMaxVal, FeatureMinVal, FeaturePerimeter, FeatureSurfaceArea, FeatureFeret, FeatureMass, FeatureGinertia, FeatureMu, FeatureGmu

DIPlib on-line documentation | Function reference | Global function index